Home
last modified time | relevance | path

Searched refs:nslot (Results 1 – 7 of 7) sorted by relevance

/linux-4.1.27/security/selinux/ss/
Davtab.c269 for (i = 0; i < h->nslot; i++) { in avtab_destroy()
279 h->nslot = 0; in avtab_destroy()
295 u32 nslot = 0; in avtab_alloc() local
306 nslot = 1 << shift; in avtab_alloc()
307 if (nslot > MAX_AVTAB_HASH_BUCKETS) in avtab_alloc()
308 nslot = MAX_AVTAB_HASH_BUCKETS; in avtab_alloc()
309 mask = nslot - 1; in avtab_alloc()
311 h->htable = flex_array_alloc(sizeof(struct avtab_node *), nslot, in avtab_alloc()
318 h->nslot = nslot; in avtab_alloc()
321 h->nslot, nrules); in avtab_alloc()
[all …]
Davtab.h58 u32 nslot; /* number of hash slots */ member
/linux-4.1.27/kernel/
Dcpuset.c628 int nslot; /* next empty doms[] struct cpumask slot */ in generate_sched_domains() local
728 for (nslot = 0, i = 0; i < csn; i++) { in generate_sched_domains()
738 dp = doms[nslot]; in generate_sched_domains()
740 if (nslot == ndoms) { in generate_sched_domains()
744 nslot, ndoms, csn, i, apn); in generate_sched_domains()
752 *(dattr + nslot) = SD_ATTR_INIT; in generate_sched_domains()
760 update_domain_attr_tree(dattr + nslot, b); in generate_sched_domains()
766 nslot++; in generate_sched_domains()
768 BUG_ON(nslot != ndoms); in generate_sched_domains()
/linux-4.1.27/drivers/staging/lustre/lustre/ptlrpc/
Dsec_config.c258 int nslot; in sptlrpc_rule_set_expand() local
265 nslot = rset->srs_nslot + 8; in sptlrpc_rule_set_expand()
268 OBD_ALLOC(rules, nslot * sizeof(*rset->srs_rules)); in sptlrpc_rule_set_expand()
282 rset->srs_nslot = nslot; in sptlrpc_rule_set_expand()
/linux-4.1.27/drivers/input/misc/
Duinput.c314 int nslot; in uinput_validate_absbits() local
354 nslot = input_abs_get_max(dev, ABS_MT_SLOT) + 1; in uinput_validate_absbits()
355 input_mt_init_slots(dev, nslot, 0); in uinput_validate_absbits()
/linux-4.1.27/mm/
Dpercpu.c367 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.1.27/fs/jfs/
Djfs_dtree.c118 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()