Searched refs:msz (Results 1 – 5 of 5) sorted by relevance
| /linux/net/tipc/ |
| H A D | msg.c | 272 int msz, hsz; in tipc_msg_validate() 299 msz = msg_size(hdr); 300 if (unlikely(msz < hsz)) 302 if (unlikely((msz - hsz) > TIPC_MAX_USER_MSG_SIZE)) 304 if (unlikely(skb->len < msz)) 389 int msz = mhsz + dsz; in tipc_msg_build() 398 msg_set_size(mhdr, msz); in tipc_msg_build() 401 if (likely(msz <= pktmax)) { in tipc_msg_build() 402 skb = tipc_buf_acquire(msz, GFP_KERNEL); in tipc_msg_build() 500 u32 msz, bs in tipc_msg_bundle() 260 int msz, hsz; tipc_msg_validate() local 377 int msz = mhsz + dsz; tipc_msg_build() local 488 u32 msz, bsz, offset, pad; tipc_msg_bundle() local [all...] |
| /linux/tools/perf/util/ |
| H A D | util.c | 487 * x elements of size msz, initializing new entries to *init_val or zero if 490 int do_realloc_array_as_needed(void **arr, size_t *arr_sz, size_t x, size_t msz, const void *init_val) in do_realloc_array_as_needed() 497 new_sz = msz >= 64 ? 1 : roundup(64, msz); /* Start with at least 64 bytes */ in do_realloc_array_as_needed() 504 new_arr = calloc(new_sz, msz); in do_realloc_array_as_needed() 508 memcpy(new_arr, *arr, *arr_sz * msz); in do_realloc_array_as_needed() 511 memcpy(new_arr + (i * msz), init_val, msz); in do_realloc_array_as_needed() 488 do_realloc_array_as_needed(void ** arr,size_t * arr_sz,size_t x,size_t msz,const void * init_val) do_realloc_array_as_needed() argument
|
| H A D | util.h | 94 size_t msz, const void *init_val);
|
| H A D | header.c | 2204 size_t msz; in print_event_desc() 2242 msz = sizeof(evsel->core.attr); 2243 if (sz < msz) in print_auxtrace() 2244 msz = sz; in print_auxtrace() 2288 memcpy(&evsel->core.attr, buf, msz); in __print_pmu_caps() 2092 size_t msz; read_event_desc() local
|
| /linux/arch/x86/events/intel/ |
| H A D | ds.c | 800 size_t msz = 0; in ds_update_cea() local 805 for (; msz < size; msz += PAGE_SIZE, pa += PAGE_SIZE, cea += PAGE_SIZE) in ds_update_cea() 819 size_t msz = 0; in ds_clear_cea() local 822 for (; msz < size; msz += PAGE_SIZE, cea += PAGE_SIZE) in ds_clear_cea()
|