Lines Matching defs:nelem
97 int nelem = ARRAY_SIZE(get_attrs), a = 0;
118 osd_req_decode_get_attr_list(or, get_attrs, &nelem, &iter);
163 if (a >= nelem)
172 if (a < nelem) { /* IBM-OSD-SIM bug, Might not have it */
550 const struct osd_attr *oa, unsigned nelem, unsigned add_bytes)
554 for (; nelem; --nelem, ++oa)
642 osd_id initial_id, struct osd_obj_id_list *list, unsigned nelem)
644 return osd_req_list_partition_objects(or, 0, initial_id, list, nelem);
700 struct osd_obj_id_list *list, unsigned nelem)
703 u64 len = nelem * sizeof(osd_id) + sizeof(*list);
726 unsigned nelem)
734 nelem);
740 unsigned nelem)
748 nelem);
770 struct osd_obj_id_list *list, unsigned nelem)
773 initial_id, list, nelem);
807 struct osd_obj_id *first, struct osd_obj_id_list *list, unsigned nelem);
906 const struct osd_attr *oa, unsigned nelem)
921 ret = _alloc_set_attr_list(or, oa, nelem, total_bytes);
929 for (; nelem; --nelem) {
935 ret = _alloc_set_attr_list(or, oa, nelem, total_bytes);
1011 const struct osd_attr *oa, unsigned nelem)
1034 nelem * sizeof(struct osd_attributes_list_attrid);
1044 for (; nelem; --nelem) {
1052 total_bytes + nelem * sizeof(*attrid));
1134 struct osd_attr *oa, int *nelem, void **iterator)
1176 for (n = 0; (n < *nelem) && (cur_bytes < returned_bytes); ++n) {
1195 *nelem = n;