Searched refs:nslot (Results 1 – 7 of 7) sorted by relevance
/linux-4.1.27/security/selinux/ss/ |
D | avtab.c | 269 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 …]
|
D | avtab.h | 58 u32 nslot; /* number of hash slots */ member
|
/linux-4.1.27/kernel/ |
D | cpuset.c | 628 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/ |
D | sec_config.c | 258 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/ |
D | uinput.c | 314 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/ |
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.1.27/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()
|