Searched refs:nmemb (Results 1 – 8 of 8) sorted by relevance
/Linux-v4.19/tools/include/tools/ |
D | libc_compat.h | 11 static inline void *reallocarray(void *ptr, size_t nmemb, size_t size) in reallocarray() argument 15 if (unlikely(check_mul_overflow(nmemb, size, &bytes))) in reallocarray()
|
/Linux-v4.19/scripts/kconfig/ |
D | util.c | 92 void *xcalloc(size_t nmemb, size_t size) in xcalloc() argument 94 void *p = calloc(nmemb, size); in xcalloc()
|
D | lkc.h | 101 void *xcalloc(size_t nmemb, size_t size);
|
/Linux-v4.19/tools/perf/util/ |
D | annotate.c | 644 const int nmemb = arch->nr_instructions; in ins__sort() local 646 qsort(arch->instructions, nmemb, sizeof(struct ins), ins__cmp); in ins__sort() 652 const int nmemb = arch->nr_instructions; in __ins__find() local 659 ins = bsearch(name, arch->instructions, nmemb, sizeof(struct ins), ins__key_cmp); in __ins__find() 690 const int nmemb = ARRAY_SIZE(architectures); in arch__sort() local 692 qsort(architectures, nmemb, sizeof(struct arch), arch__cmp); in arch__sort() 697 const int nmemb = ARRAY_SIZE(architectures); in arch__find() local 705 return bsearch(name, architectures, nmemb, sizeof(struct arch), arch__key_cmp); in arch__find()
|
/Linux-v4.19/include/linux/ |
D | device-mapper.h | 514 void *dm_vcalloc(unsigned long nmemb, unsigned long elem_size);
|
/Linux-v4.19/drivers/gpu/drm/nouveau/ |
D | nouveau_gem.c | 581 u_memcpya(uint64_t user, unsigned nmemb, unsigned size) in u_memcpya() argument 586 size *= nmemb; in u_memcpya()
|
/Linux-v4.19/drivers/md/ |
D | dm-table.c | 138 void *dm_vcalloc(unsigned long nmemb, unsigned long elem_size) in dm_vcalloc() argument 146 if (nmemb > (ULONG_MAX / elem_size)) in dm_vcalloc() 149 size = nmemb * elem_size; in dm_vcalloc()
|
/Linux-v4.19/tools/perf/ |
D | builtin-trace.c | 852 const int nmemb = ARRAY_SIZE(syscall_fmts); in syscall_fmt__find() local 853 return bsearch(name, syscall_fmts, nmemb, sizeof(struct syscall_fmt), syscall_fmt__cmp); in syscall_fmt__find()
|