Lines Matching full:refs
50 struct ext2_inode_reference *refs; member
162 * If max_refs has changed, reallocate the refs array
165 if (ref_ent->refs && ent->max_refs !=
170 retval = ext2fs_resize_mem(old_size, size, &ref_ent->refs);
253 if (ref_ent->refs == 0) {
257 sizeof(struct ext2_inode_reference), &ref_ent->refs);
260 memset(ref_ent->refs, 0, size);
267 ref_ent->refs[(unsigned) ref_ent->num++] = *ref;
295 if ((ref_ent->refs == NULL) ||
301 *ref = ref_ent->refs[ma->ref_iter++];
317 if (ma->ref_entries[(unsigned) new].refs)
318 ext2fs_free_mem(&ma->ref_entries[(unsigned) new].refs);
323 ma->ref_entries[(unsigned) old].refs = 0;
340 if (ma->ref_entries[(unsigned) old].refs)
341 ext2fs_free_mem(&ma->ref_entries[(unsigned) old].refs);
345 ma->ref_entries[(unsigned) old].refs = 0;
366 if (ma->ref_entries[(unsigned) ino].refs)
367 ext2fs_free_mem(&ma->ref_entries[(unsigned) ino].refs);