Searched refs:nslot (Results 1 – 8 of 8) sorted by relevance
/kernel/linux/linux-5.10/drivers/nvdimm/ |
D | label.c | 42 static size_t __sizeof_namespace_index(u32 nslot) in __sizeof_namespace_index() argument 44 return ALIGN(sizeof(struct nd_namespace_index) + DIV_ROUND_UP(nslot, 8), in __sizeof_namespace_index() 67 u32 nslot, space, size; in sizeof_namespace_index() local 75 nslot = nvdimm_num_label_slots(ndd); in sizeof_namespace_index() 76 space = ndd->nsarea.config_size - nslot * sizeof_namespace_label(ndd); in sizeof_namespace_index() 77 size = __sizeof_namespace_index(nslot) * 2; in sizeof_namespace_index() 78 if (size <= space && nslot >= 2) in sizeof_namespace_index() 126 u32 nslot; in __nd_label_validate() local 196 nslot = __le32_to_cpu(nsindex[i]->nslot); in __nd_label_validate() 197 if (nslot * sizeof_namespace_label(ndd) in __nd_label_validate() [all …]
|
D | label.h | 61 __le32 nslot; member
|
/kernel/linux/linux-5.10/security/selinux/ss/ |
D | avtab.c | 112 if (!h || !h->nslot) in avtab_insert() 157 if (!h || !h->nslot) in avtab_insert_nonunique() 187 if (!h || !h->nslot) in avtab_search() 223 if (!h || !h->nslot) in avtab_search_node() 285 for (i = 0; i < h->nslot; i++) { in avtab_destroy() 299 h->nslot = 0; in avtab_destroy() 307 h->nslot = 0; in avtab_init() 311 static int avtab_alloc_common(struct avtab *h, u32 nslot) in avtab_alloc_common() argument 313 if (!nslot) in avtab_alloc_common() 316 h->htable = kvcalloc(nslot, sizeof(void *), GFP_KERNEL); in avtab_alloc_common() [all …]
|
D | avtab.h | 86 u32 nslot; /* number of hash slots */ member
|
/kernel/linux/linux-5.10/kernel/cgroup/ |
D | cpuset.c | 757 int nslot; /* next empty doms[] struct cpumask slot */ in generate_sched_domains() local 867 for (nslot = 0, i = 0; i < csn; i++) { in generate_sched_domains() 877 dp = doms[nslot]; in generate_sched_domains() 879 if (nslot == ndoms) { in generate_sched_domains() 883 nslot, ndoms, csn, i, apn); in generate_sched_domains() 891 *(dattr + nslot) = SD_ATTR_INIT; in generate_sched_domains() 899 update_domain_attr_tree(dattr + nslot, b); in generate_sched_domains() 905 nslot++; in generate_sched_domains() 907 BUG_ON(nslot != ndoms); in generate_sched_domains()
|
/kernel/linux/linux-5.10/drivers/input/misc/ |
D | uinput.c | 311 int error, nslot; in uinput_create_device() local 326 nslot = input_abs_get_max(dev, ABS_MT_SLOT) + 1; in uinput_create_device() 327 error = input_mt_init_slots(dev, nslot, 0); in uinput_create_device()
|
/kernel/linux/linux-5.10/mm/ |
D | percpu.c | 539 int nslot = pcpu_chunk_slot(chunk); in pcpu_chunk_relocate() local 541 if (oslot != nslot) in pcpu_chunk_relocate() 542 __pcpu_chunk_move(chunk, nslot, oslot < nslot); in pcpu_chunk_relocate()
|
/kernel/linux/linux-5.10/fs/jfs/ |
D | jfs_dtree.c | 105 s16 nslot; member 860 split.nslot = n; in dtInsert() 972 if (n <= split->nslot) in dtSplitUp() 1013 if ((n + sp->header.freecnt) <= split->nslot) in dtSplitUp() 1224 split->nslot = n; in dtSplitUp() 1507 n = split->nslot; in dtSplitPage()
|