Home
last modified time | relevance | path

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

/linux-6.6.21/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.6.21/tools/perf/util/
Dutil.c512 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
519 new_sz = msz >= 64 ? 1 : roundup(64, msz); /* Start with at least 64 bytes */ in do_realloc_array_as_needed()
526 new_arr = calloc(new_sz, msz); in do_realloc_array_as_needed()
530 memcpy(new_arr, *arr, *arr_sz * msz); in do_realloc_array_as_needed()
533 memcpy(new_arr + (i * msz), init_val, msz); in do_realloc_array_as_needed()
Dutil.h92 size_t msz, const void *init_val);
Dheader.c1937 size_t msz; in read_event_desc() local
1956 msz = sizeof(evsel->core.attr); in read_event_desc()
1957 if (sz < msz) in read_event_desc()
1958 msz = sz; in read_event_desc()
1973 memcpy(&evsel->core.attr, buf, msz); in read_event_desc()
/linux-6.6.21/arch/x86/events/intel/
Dds.c464 size_t msz = 0; in ds_update_cea() local
469 for (; msz < size; msz += PAGE_SIZE, pa += PAGE_SIZE, cea += PAGE_SIZE) in ds_update_cea()
483 size_t msz = 0; in ds_clear_cea() local
486 for (; msz < size; msz += PAGE_SIZE, cea += PAGE_SIZE) in ds_clear_cea()