Searched refs:nslot (Results 1 – 8 of 8) sorted by relevance
/linux-6.1.9/drivers/nvdimm/ |
D | label.c | 50 static size_t __sizeof_namespace_index(u32 nslot) in __sizeof_namespace_index() argument 52 return ALIGN(sizeof(struct nd_namespace_index) + DIV_ROUND_UP(nslot, 8), in __sizeof_namespace_index() 75 u32 nslot, space, size; in sizeof_namespace_index() local 83 nslot = nvdimm_num_label_slots(ndd); in sizeof_namespace_index() 84 space = ndd->nsarea.config_size - nslot * sizeof_namespace_label(ndd); in sizeof_namespace_index() 85 size = __sizeof_namespace_index(nslot) * 2; in sizeof_namespace_index() 86 if (size <= space && nslot >= 2) in sizeof_namespace_index() 134 u32 nslot; in __nd_label_validate() local 204 nslot = __le32_to_cpu(nsindex[i]->nslot); in __nd_label_validate() 205 if (nslot * sizeof_namespace_label(ndd) in __nd_label_validate() [all …]
|
D | label.h | 62 __le32 nslot; member
|
/linux-6.1.9/security/selinux/ss/ |
D | avtab.c | 113 if (!h || !h->nslot) in avtab_insert() 159 if (!h || !h->nslot) in avtab_insert_nonunique() 189 if (!h || !h->nslot) in avtab_search() 225 if (!h || !h->nslot) in avtab_search_node() 287 for (i = 0; i < h->nslot; i++) { in avtab_destroy() 301 h->nslot = 0; in avtab_destroy() 309 h->nslot = 0; in avtab_init() 313 static int avtab_alloc_common(struct avtab *h, u32 nslot) in avtab_alloc_common() argument 315 if (!nslot) in avtab_alloc_common() 318 h->htable = kvcalloc(nslot, sizeof(void *), GFP_KERNEL); in avtab_alloc_common() [all …]
|
D | avtab.h | 86 u32 nslot; /* number of hash slots */ member
|
/linux-6.1.9/kernel/cgroup/ |
D | cpuset.c | 898 int nslot; /* next empty doms[] struct cpumask slot */ in generate_sched_domains() local 1008 for (nslot = 0, i = 0; i < csn; i++) { in generate_sched_domains() 1018 dp = doms[nslot]; in generate_sched_domains() 1020 if (nslot == ndoms) { in generate_sched_domains() 1024 nslot, ndoms, csn, i, apn); in generate_sched_domains() 1032 *(dattr + nslot) = SD_ATTR_INIT; in generate_sched_domains() 1040 update_domain_attr_tree(dattr + nslot, b); in generate_sched_domains() 1046 nslot++; in generate_sched_domains() 1048 BUG_ON(nslot != ndoms); in generate_sched_domains()
|
/linux-6.1.9/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()
|
/linux-6.1.9/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()
|
/linux-6.1.9/mm/ |
D | percpu.c | 561 int nslot = pcpu_chunk_slot(chunk); in pcpu_chunk_relocate() local 567 if (oslot != nslot) in pcpu_chunk_relocate() 568 __pcpu_chunk_move(chunk, nslot, oslot < nslot); in pcpu_chunk_relocate()
|