Searched refs:nslot (Results 1 – 9 of 9) sorted by relevance
| /linux-4.4.14/drivers/nvdimm/ |
| D | label.c | 104 u32 nslot; in nd_label_validate() local 155 nslot = __le32_to_cpu(nsindex[i]->nslot); in nd_label_validate() 156 if (nslot * sizeof(struct nd_namespace_label) in nd_label_validate() 160 __func__, i, nslot, in nd_label_validate() 231 unsigned long **free, u32 *nslot) in preamble_index() argument 240 *nslot = __le32_to_cpu(nsindex->nslot); in preamble_index() 257 unsigned long **free, u32 *nslot) in preamble_current() argument 260 free, nslot); in preamble_current() 265 unsigned long **free, u32 *nslot) in preamble_next() argument 268 free, nslot); in preamble_next() [all …]
|
| D | label.h | 69 __le32 nslot; member
|
| /linux-4.4.14/security/selinux/ss/ |
| D | avtab.c | 287 for (i = 0; i < h->nslot; i++) { in avtab_destroy() 300 h->nslot = 0; in avtab_destroy() 316 u32 nslot = 0; in avtab_alloc() local 327 nslot = 1 << shift; in avtab_alloc() 328 if (nslot > MAX_AVTAB_HASH_BUCKETS) in avtab_alloc() 329 nslot = MAX_AVTAB_HASH_BUCKETS; in avtab_alloc() 330 mask = nslot - 1; in avtab_alloc() 332 h->htable = flex_array_alloc(sizeof(struct avtab_node *), nslot, in avtab_alloc() 339 h->nslot = nslot; in avtab_alloc() 342 h->nslot, nrules); in avtab_alloc() [all …]
|
| D | avtab.h | 89 u32 nslot; /* number of hash slots */ member
|
| /linux-4.4.14/kernel/ |
| D | cpuset.c | 630 int nslot; /* next empty doms[] struct cpumask slot */ in generate_sched_domains() local 730 for (nslot = 0, i = 0; i < csn; i++) { in generate_sched_domains() 740 dp = doms[nslot]; in generate_sched_domains() 742 if (nslot == ndoms) { in generate_sched_domains() 746 nslot, ndoms, csn, i, apn); in generate_sched_domains() 754 *(dattr + nslot) = SD_ATTR_INIT; in generate_sched_domains() 762 update_domain_attr_tree(dattr + nslot, b); in generate_sched_domains() 768 nslot++; in generate_sched_domains() 770 BUG_ON(nslot != ndoms); in generate_sched_domains()
|
| /linux-4.4.14/drivers/staging/lustre/lustre/ptlrpc/ |
| D | sec_config.c | 234 int nslot; in sptlrpc_rule_set_expand() local 241 nslot = rset->srs_nslot + 8; in sptlrpc_rule_set_expand() 244 rules = kcalloc(nslot, sizeof(*rset->srs_rules), GFP_NOFS); in sptlrpc_rule_set_expand() 257 rset->srs_nslot = nslot; in sptlrpc_rule_set_expand()
|
| /linux-4.4.14/drivers/input/misc/ |
| D | uinput.c | 314 int nslot; in uinput_validate_absbits() local 352 nslot = input_abs_get_max(dev, ABS_MT_SLOT) + 1; in uinput_validate_absbits() 353 input_mt_init_slots(dev, nslot, 0); in uinput_validate_absbits()
|
| /linux-4.4.14/mm/ |
| D | percpu.c | 367 int nslot = pcpu_chunk_slot(chunk); in pcpu_chunk_relocate() local 369 if (chunk != pcpu_reserved_chunk && oslot != nslot) { in pcpu_chunk_relocate() 370 if (oslot < nslot) in pcpu_chunk_relocate() 371 list_move(&chunk->list, &pcpu_slot[nslot]); in pcpu_chunk_relocate() 373 list_move_tail(&chunk->list, &pcpu_slot[nslot]); in pcpu_chunk_relocate()
|
| /linux-4.4.14/fs/jfs/ |
| D | jfs_dtree.c | 118 s16 nslot; member 872 split.nslot = n; in dtInsert() 984 if (n <= split->nslot) in dtSplitUp() 1025 if ((n + sp->header.freecnt) <= split->nslot) in dtSplitUp() 1236 split->nslot = n; in dtSplitUp() 1519 n = split->nslot; in dtSplitPage()
|