Home
last modified time | relevance | path

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

/linux-2.6.39/security/selinux/ss/
Davtab.c230 for (i = 0; i < h->nslot; i++) { in avtab_destroy()
241 h->nslot = 0; in avtab_destroy()
257 u32 nslot = 0; in avtab_alloc() local
268 nslot = 1 << shift; in avtab_alloc()
269 if (nslot > MAX_AVTAB_HASH_BUCKETS) in avtab_alloc()
270 nslot = MAX_AVTAB_HASH_BUCKETS; in avtab_alloc()
271 mask = nslot - 1; in avtab_alloc()
273 h->htable = kcalloc(nslot, sizeof(*(h->htable)), GFP_KERNEL); in avtab_alloc()
279 h->nslot = nslot; in avtab_alloc()
282 h->nslot, nrules); in avtab_alloc()
[all …]
Davtab.h56 u32 nslot; /* number of hash slots */ member
/linux-2.6.39/kernel/
Dcpuset.c550 int nslot; /* next empty doms[] struct cpumask slot */ in generate_sched_domains() local
647 for (nslot = 0, i = 0; i < csn; i++) { in generate_sched_domains()
657 dp = doms[nslot]; in generate_sched_domains()
659 if (nslot == ndoms) { in generate_sched_domains()
666 nslot, ndoms, csn, i, apn); in generate_sched_domains()
674 *(dattr + nslot) = SD_ATTR_INIT; in generate_sched_domains()
681 update_domain_attr_tree(dattr + nslot, b); in generate_sched_domains()
687 nslot++; in generate_sched_domains()
689 BUG_ON(nslot != ndoms); in generate_sched_domains()
/linux-2.6.39/drivers/md/
Draid10.c491 int disk, slot, nslot; in read_balance() local
546 for (nslot = slot; nslot < conf->copies; nslot++) { in read_balance()
547 int ndisk = r10_bio->devs[nslot].devnum; in read_balance()
551 r10_bio->devs[nslot].bio == IO_BLOCKED || in read_balance()
561 slot = nslot; in read_balance()
567 new_distance = r10_bio->devs[nslot].addr; in read_balance()
569 new_distance = abs(r10_bio->devs[nslot].addr - in read_balance()
574 slot = nslot; in read_balance()
/linux-2.6.39/mm/
Dpercpu.c330 int nslot = pcpu_chunk_slot(chunk); in pcpu_chunk_relocate() local
332 if (chunk != pcpu_reserved_chunk && oslot != nslot) { in pcpu_chunk_relocate()
333 if (oslot < nslot) in pcpu_chunk_relocate()
334 list_move(&chunk->list, &pcpu_slot[nslot]); in pcpu_chunk_relocate()
336 list_move_tail(&chunk->list, &pcpu_slot[nslot]); in pcpu_chunk_relocate()
/linux-2.6.39/drivers/input/misc/
Duinput.c407 int nslot = input_abs_get_max(dev, ABS_MT_SLOT) + 1; in uinput_setup_device() local
408 input_mt_init_slots(dev, nslot); in uinput_setup_device()
/linux-2.6.39/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()