Home
last modified time | relevance | path

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

/OK3568_Linux_fs/external/rk_pcba_test/cJSON/
H A DcJSON.c353 int numentries=0,i=0,fail=0; in print_array() local
356 while (child) numentries++,child=child->next; in print_array()
358 if (!numentries) in print_array()
365 entries=(char**)cJSON_malloc(numentries*sizeof(char*)); in print_array()
367 memset(entries,0,numentries*sizeof(char*)); in print_array()
386 for (i=0;i<numentries;i++) if (entries[i]) cJSON_free(entries[i]); in print_array()
394 for (i=0;i<numentries;i++) in print_array()
397 if (i!=numentries-1) {*ptr++=',';if(fmt)*ptr++=' ';*ptr=0;} in print_array()
447 int numentries=0,fail=0; in print_object() local
449 while (child) numentries++,child=child->next; in print_object()
[all …]
/OK3568_Linux_fs/kernel/mm/
H A Dpage_alloc.c8430 unsigned long numentries, in alloc_large_system_hash() argument
8445 if (!numentries) { in alloc_large_system_hash()
8447 numentries = nr_kernel_pages; in alloc_large_system_hash()
8448 numentries -= arch_reserved_kernel_pages(); in alloc_large_system_hash()
8452 numentries = round_up(numentries, (1<<20)/PAGE_SIZE); in alloc_large_system_hash()
8458 for (adapt = ADAPT_SCALE_NPAGES; adapt < numentries; in alloc_large_system_hash()
8466 numentries >>= (scale - PAGE_SHIFT); in alloc_large_system_hash()
8468 numentries <<= (PAGE_SHIFT - scale); in alloc_large_system_hash()
8474 if (!(numentries >> *_hash_shift)) { in alloc_large_system_hash()
8475 numentries = 1UL << *_hash_shift; in alloc_large_system_hash()
[all …]
/OK3568_Linux_fs/kernel/include/net/
H A Dinet_hashtables.h234 unsigned long numentries, int scale,
/OK3568_Linux_fs/kernel/net/ipv4/
H A Dinet_hashtables.c899 unsigned long numentries, int scale, in inet_hashinfo2_init() argument
905 numentries, in inet_hashinfo2_init()
/OK3568_Linux_fs/kernel/include/linux/
H A Dmemblock.h581 unsigned long numentries,