Lines Matching refs:part

17 	struct orangefs_dir_part *part;
40 * part and is stored in a linked list in case more than one part is
43 * The position pointer (ctx->pos) encodes the part and offset on which
44 * to begin reading at. Bits above PART_SHIFT encode the part and bits
51 * part list. Data is parsed from the current position as it is needed.
58 * first part of the part list.
134 struct orangefs_dir_part *part, *new;
138 part = od->part;
139 while (part) {
141 if (part->next)
142 part = part->next;
151 if (!od->part)
152 od->part = new;
154 part->next = new;
189 static int fill_from_part(struct orangefs_dir_part *part,
200 if (i > part->len)
210 while (i < part->len) {
211 if (part->len < i + sizeof *len)
213 len = (void *)part + offset + i;
220 if (part->len < i + padlen + sizeof *khandle)
222 s = (void *)part + offset + i + sizeof *len;
225 khandle = (void *)part + offset + i + padlen;
232 BUG_ON(i > part->len);
245 struct orangefs_dir_part *part;
250 part = od->part;
251 while (part->next && count) {
253 part = part->next;
261 while (part && part->len) {
263 r = fill_from_part(part, ctx);
272 * The part ran out of data. Move to the next
273 * part. */
276 part = part->next;
291 struct orangefs_dir_part *part = od->part;
292 while (part) {
293 struct orangefs_dir_part *next = part->next;
294 vfree(part);
295 part = next;
298 od->part = NULL;
331 * The seek position is in the first synthesized part but is not
379 od->part = NULL;
388 struct orangefs_dir_part *part = od->part;
389 while (part) {
390 struct orangefs_dir_part *next = part->next;
391 vfree(part);
392 part = next;