Lines Matching refs:packet

253 static inline size_t pack_int32(LMK_KILL_OCCURRED_PACKET packet,  in pack_int32()  argument
256 int32_t* int_buffer = (int32_t*)(packet + index); in pack_int32()
267 static inline size_t pack_int64(LMK_KILL_OCCURRED_PACKET packet, in pack_int64() argument
270 int64_t* int64_buffer = (int64_t*)(packet + index); in pack_int64()
285 static inline size_t pack_string(LMK_KILL_OCCURRED_PACKET packet, in pack_string() argument
289 int16_t* short_buffer = (int16_t*)(packet + index); in pack_string()
299 size_t lmkd_pack_set_kill_occurred(LMK_KILL_OCCURRED_PACKET packet, in lmkd_pack_set_kill_occurred() argument
309 index = pack_int32(packet, index, LMK_STAT_KILL_OCCURRED); in lmkd_pack_set_kill_occurred()
312 index = pack_int64(packet, index, mem_stat->pgfault); in lmkd_pack_set_kill_occurred()
313 index = pack_int64(packet, index, mem_stat->pgmajfault); in lmkd_pack_set_kill_occurred()
314 index = pack_int64(packet, index, mem_stat->rss_in_bytes); in lmkd_pack_set_kill_occurred()
315 index = pack_int64(packet, index, mem_stat->cache_in_bytes); in lmkd_pack_set_kill_occurred()
316 index = pack_int64(packet, index, mem_stat->swap_in_bytes); in lmkd_pack_set_kill_occurred()
317 index = pack_int64(packet, index, mem_stat->process_start_time_ns); in lmkd_pack_set_kill_occurred()
319 index = pack_int64(packet, index, -1); in lmkd_pack_set_kill_occurred()
320 index = pack_int64(packet, index, -1); in lmkd_pack_set_kill_occurred()
321 index = pack_int64(packet, index, -1); in lmkd_pack_set_kill_occurred()
322 index = pack_int64(packet, index, -1); in lmkd_pack_set_kill_occurred()
323 index = pack_int64(packet, index, -1); in lmkd_pack_set_kill_occurred()
324 index = pack_int64(packet, index, -1); in lmkd_pack_set_kill_occurred()
327 index = pack_int32(packet, index, kill_stat->uid); in lmkd_pack_set_kill_occurred()
328 index = pack_int32(packet, index, kill_stat->oom_score); in lmkd_pack_set_kill_occurred()
329 index = pack_int32(packet, index, kill_stat->min_oom_score); in lmkd_pack_set_kill_occurred()
330 index = pack_int32(packet, index, (int)kill_stat->free_mem_kb); in lmkd_pack_set_kill_occurred()
331 index = pack_int32(packet, index, (int)kill_stat->free_swap_kb); in lmkd_pack_set_kill_occurred()
332 index = pack_int32(packet, index, (int)kill_stat->kill_reason); in lmkd_pack_set_kill_occurred()
333 index = pack_int32(packet, index, kill_stat->thrashing); in lmkd_pack_set_kill_occurred()
334 index = pack_int32(packet, index, kill_stat->max_thrashing); in lmkd_pack_set_kill_occurred()
336 index = pack_string(packet, index, kill_stat->taskname); in lmkd_pack_set_kill_occurred()