Home
last modified time | relevance | path

Searched refs:msz (Results 1 – 5 of 5) sorted by relevance

/linux-6.1.9/net/tipc/
Dmsg.c256 int msz, hsz; in tipc_msg_validate() local
283 msz = msg_size(hdr); in tipc_msg_validate()
284 if (unlikely(msz < hsz)) in tipc_msg_validate()
286 if (unlikely((msz - hsz) > TIPC_MAX_USER_MSG_SIZE)) in tipc_msg_validate()
288 if (unlikely(skb->len < msz)) in tipc_msg_validate()
373 int msz = mhsz + dsz; in tipc_msg_build() local
382 msg_set_size(mhdr, msz); in tipc_msg_build()
385 if (likely(msz <= pktmax)) { in tipc_msg_build()
386 skb = tipc_buf_acquire(msz, GFP_KERNEL); in tipc_msg_build()
484 u32 msz, bsz, offset, pad; in tipc_msg_bundle() local
[all …]
/linux-6.1.9/tools/perf/util/
Dutil.c510 int do_realloc_array_as_needed(void **arr, size_t *arr_sz, size_t x, size_t msz, const void *init_v… in do_realloc_array_as_needed() argument
517 new_sz = msz >= 64 ? 1 : roundup(64, msz); /* Start with at least 64 bytes */ in do_realloc_array_as_needed()
524 new_arr = calloc(new_sz, msz); in do_realloc_array_as_needed()
527 memcpy(new_arr, *arr, *arr_sz * msz); in do_realloc_array_as_needed()
530 memcpy(new_arr + (i * msz), init_val, msz); in do_realloc_array_as_needed()
Dutil.h84 size_t msz, const void *init_val);
Dheader.c1897 size_t msz; in read_event_desc() local
1916 msz = sizeof(evsel->core.attr); in read_event_desc()
1917 if (sz < msz) in read_event_desc()
1918 msz = sz; in read_event_desc()
1933 memcpy(&evsel->core.attr, buf, msz); in read_event_desc()
/linux-6.1.9/arch/x86/events/intel/
Dds.c409 size_t msz = 0; in ds_update_cea() local
414 for (; msz < size; msz += PAGE_SIZE, pa += PAGE_SIZE, cea += PAGE_SIZE) in ds_update_cea()
428 size_t msz = 0; in ds_clear_cea() local
431 for (; msz < size; msz += PAGE_SIZE, cea += PAGE_SIZE) in ds_clear_cea()