Searched refs:nslot (Results 1 – 3 of 3) sorted by relevance
42 static size_t __sizeof_namespace_index(u32 nslot) in __sizeof_namespace_index() argument44 return ALIGN(sizeof(struct nd_namespace_index) + DIV_ROUND_UP(nslot, 8), in __sizeof_namespace_index()67 u32 nslot, space, size; in sizeof_namespace_index() local75 nslot = nvdimm_num_label_slots(ndd); in sizeof_namespace_index()76 space = ndd->nsarea.config_size - nslot * sizeof_namespace_label(ndd); in sizeof_namespace_index()77 size = __sizeof_namespace_index(nslot) * 2; in sizeof_namespace_index()78 if (size <= space && nslot >= 2) in sizeof_namespace_index()126 u32 nslot; in __nd_label_validate() local196 nslot = __le32_to_cpu(nsindex[i]->nslot); in __nd_label_validate()197 if (nslot * sizeof_namespace_label(ndd) in __nd_label_validate()[all …]
61 __le32 nslot; member
312 int error, nslot; in uinput_create_device() local327 nslot = input_abs_get_max(dev, ABS_MT_SLOT) + 1; in uinput_create_device()328 error = input_mt_init_slots(dev, nslot, 0); in uinput_create_device()