Searched refs:nslot (Results 1 - 8 of 8) sorted by relevance

/linux-master/drivers/nvdimm/
H A Dlabel.c50 static size_t __sizeof_namespace_index(u32 nslot) argument
52 return ALIGN(sizeof(struct nd_namespace_index) + DIV_ROUND_UP(nslot, 8),
75 u32 nslot, space, size; local
83 nslot = nvdimm_num_label_slots(ndd);
84 space = ndd->nsarea.config_size - nslot * sizeof_namespace_label(ndd);
85 size = __sizeof_namespace_index(nslot) * 2;
86 if (size <= space && nslot >= 2)
117 * ....nslot...
134 u32 nslot; local
204 nslot
315 preamble_index(struct nvdimm_drvdata *ndd, int idx, struct nd_namespace_index **nsindex_out, unsigned long **free, u32 *nslot) argument
341 preamble_current(struct nvdimm_drvdata *ndd, struct nd_namespace_index **nsindex, unsigned long **free, u32 *nslot) argument
349 preamble_next(struct nvdimm_drvdata *ndd, struct nd_namespace_index **nsindex, unsigned long **free, u32 *nslot) argument
402 u32 nslot, slot; local
440 u32 nslot; local
560 u32 nslot, slot; local
590 u32 nslot, slot; local
613 u32 nslot, slot; local
633 u32 nslot; local
649 u32 nslot; local
665 u32 nslot; local
886 u32 nslot, slot; local
1018 u32 nslot, slot; local
[all...]
H A Dlabel.h43 * @nslot: total number of label slots
62 __le32 nslot; member in struct:nd_namespace_index
/linux-master/security/selinux/ss/
H A Davtab.c127 if (!h || !h->nslot || h->nel == U32_MAX)
161 if (!h || !h->nslot || h->nel == U32_MAX)
184 if (!h || !h->nslot)
227 for (i = 0; i < h->nslot; i++) {
241 h->nslot = 0;
249 h->nslot = 0;
253 static int avtab_alloc_common(struct avtab *h, u32 nslot) argument
255 if (!nslot)
258 h->htable = kvcalloc(nslot, sizeof(void *), GFP_KERNEL);
262 h->nslot
270 u32 nslot = 0; local
[all...]
H A Davtab.h86 u32 nslot; /* number of hash slots */ member in struct:avtab
/linux-master/drivers/input/misc/
H A Duinput.c312 int error, nslot; local
327 nslot = input_abs_get_max(dev, ABS_MT_SLOT) + 1;
328 error = input_mt_init_slots(dev, nslot, 0);
/linux-master/kernel/cgroup/
H A Dcpuset.c966 int nslot; /* next empty doms[] struct cpumask slot */ local
1076 for (nslot = 0, i = 0; i < csn; i++) {
1086 dp = doms[nslot];
1088 if (nslot == ndoms) {
1091 pr_warn("rebuild_sched_domains confused: nslot %d, ndoms %d, csn %d, i %d, apn %d\n",
1092 nslot, ndoms, csn, i, apn);
1100 *(dattr + nslot) = SD_ATTR_INIT;
1108 update_domain_attr_tree(dattr + nslot, b);
1114 nslot++;
1116 BUG_ON(nslot !
[all...]
/linux-master/mm/
H A Dpercpu.c557 int nslot = pcpu_chunk_slot(chunk); local
563 if (oslot != nslot)
564 __pcpu_chunk_move(chunk, nslot, oslot < nslot);
/linux-master/fs/jfs/
H A Djfs_dtree.c105 s16 nslot; member in struct:dtsplit
865 split.nslot = n;
977 if (n <= split->nslot)
1018 if ((n + sp->header.freecnt) <= split->nslot)
1229 split->nslot = n;
1512 n = split->nslot;

Completed in 155 milliseconds