Home
last modified time | relevance | path

Searched refs:num_used (Results 1 – 4 of 4) sorted by relevance

/fs/ocfs2/
Ddir.c1214 int num_used = le16_to_cpu(entry_list->de_num_used); in ocfs2_dx_list_remove_entry() local
1216 if (num_used == 1 || index == (num_used - 1)) in ocfs2_dx_list_remove_entry()
1221 (num_used - index - 1)*sizeof(struct ocfs2_dx_entry)); in ocfs2_dx_list_remove_entry()
1223 num_used--; in ocfs2_dx_list_remove_entry()
1224 memset(&entry_list->de_entries[num_used], 0, in ocfs2_dx_list_remove_entry()
1226 entry_list->de_num_used = cpu_to_le16(num_used); in ocfs2_dx_list_remove_entry()
3543 int i, num_used = le16_to_cpu(dl_list->de_num_used); in ocfs2_dx_dir_find_leaf_split() local
3608 for (i = (num_used / 2); i < num_used; i++) in ocfs2_dx_dir_find_leaf_split()
3613 BUG_ON(i == num_used); /* Should be impossible */ in ocfs2_dx_dir_find_leaf_split()
3634 int i, j, num_used; in ocfs2_dx_dir_transfer_leaf() local
[all …]
Dlocalalloc.c273 u32 num_used; in ocfs2_load_local_alloc() local
325 num_used = ocfs2_local_alloc_count_bits(alloc); in ocfs2_load_local_alloc()
329 if (num_used in ocfs2_load_local_alloc()
336 num_used, le32_to_cpu(alloc->id1.bitmap1.i_used), in ocfs2_load_local_alloc()
Docfs2_trace.h2124 int namelen, const char *name, unsigned int num_used),
2125 TP_ARGS(dir, major_hash, minor_hash, namelen, name, num_used),
2132 __field(unsigned int, num_used)
2140 __entry->num_used = num_used;
2144 __entry->namelen, __get_str(name), __entry->num_used)
Drefcounttree.c1414 int num_used = le16_to_cpu(rl->rl_used); in ocfs2_find_refcount_split_pos() local
1415 int delta, middle = num_used / 2; in ocfs2_find_refcount_split_pos()
1427 if ((middle + delta + 1) == num_used) in ocfs2_find_refcount_split_pos()