Home
last modified time | relevance | path

Searched refs:el (Results 1 – 12 of 12) sorted by relevance

/fs/ocfs2/
Dalloc.c586 node->el = NULL; in ocfs2_reinit_path()
629 dest->p_node[i].el = src->p_node[i].el; in ocfs2_cp_path()
651 dest->p_node[i].el = src->p_node[i].el; in ocfs2_mv_path()
654 src->p_node[i].el = NULL; in ocfs2_mv_path()
677 path->p_node[index].el = &eb->h_list; in ocfs2_path_insert_eb()
766 int ocfs2_search_extent_list(struct ocfs2_extent_list *el, u32 v_cluster) in ocfs2_search_extent_list() argument
773 for(i = 0; i < le16_to_cpu(el->l_next_free_rec); i++) { in ocfs2_search_extent_list()
774 rec = &el->l_recs[i]; in ocfs2_search_extent_list()
777 clusters = ocfs2_rec_clusters(el, rec); in ocfs2_search_extent_list()
951 struct ocfs2_extent_list *el = NULL; in ocfs2_num_free_extents() local
[all …]
Dextent_map.c281 struct ocfs2_extent_list *el; in ocfs2_last_eb_is_empty() local
290 el = &eb->h_list; in ocfs2_last_eb_is_empty()
292 if (el->l_tree_depth) { in ocfs2_last_eb_is_empty()
301 next_free = le16_to_cpu(el->l_next_free_rec); in ocfs2_last_eb_is_empty()
304 (next_free == 1 && ocfs2_is_empty_extent(&el->l_recs[0]))) in ocfs2_last_eb_is_empty()
316 static int ocfs2_search_for_hole_index(struct ocfs2_extent_list *el, in ocfs2_search_for_hole_index() argument
322 for(i = 0; i < le16_to_cpu(el->l_next_free_rec); i++) { in ocfs2_search_for_hole_index()
323 rec = &el->l_recs[i]; in ocfs2_search_for_hole_index()
344 struct ocfs2_extent_list *el, in ocfs2_figure_hole_clusters() argument
353 i = ocfs2_search_for_hole_index(el, v_cluster); in ocfs2_figure_hole_clusters()
[all …]
Dalloc.h226 int ocfs2_search_extent_list(struct ocfs2_extent_list *el, u32 v_cluster);
232 static inline unsigned int ocfs2_rec_clusters(struct ocfs2_extent_list *el, in ocfs2_rec_clusters() argument
242 if (el->l_tree_depth) in ocfs2_rec_clusters()
271 struct ocfs2_extent_list *el; member
283 #define path_root_el(_path) ((_path)->p_node[0].el)
286 #define path_leaf_el(_path) ((_path)->p_node[(_path)->p_tree_depth].el)
Dextent_map.h48 struct ocfs2_extent_list *el,
56 struct ocfs2_extent_list *el,
Drefcounttree.c959 struct ocfs2_extent_list *el, in ocfs2_get_refcount_cpos_end() argument
970 if (index < le16_to_cpu(el->l_next_free_rec) - 1) { in ocfs2_get_refcount_cpos_end()
975 *cpos_end = le32_to_cpu(el->l_recs[index+1].e_cpos); in ocfs2_get_refcount_cpos_end()
1032 tmp_el = left_path->p_node[subtree_root].el; in ocfs2_get_refcount_cpos_end()
1065 struct ocfs2_extent_list *el; in ocfs2_get_refcount_rec() local
1081 el = &rb->rf_list; in ocfs2_get_refcount_rec()
1084 if (el->l_tree_depth) { in ocfs2_get_refcount_rec()
1085 ret = ocfs2_find_leaf(ci, el, low_cpos, &eb_bh); in ocfs2_get_refcount_rec()
1092 el = &eb->h_list; in ocfs2_get_refcount_rec()
1094 if (el->l_tree_depth) { in ocfs2_get_refcount_rec()
[all …]
Dxattr.c1105 struct ocfs2_extent_list *el; in ocfs2_xattr_get_value_outside() local
1107 el = &xv->xr_list; in ocfs2_xattr_get_value_outside()
1115 &num_clusters, el, NULL); in ocfs2_xattr_get_value_outside()
2650 struct ocfs2_extent_list *el = &di->id2.i_list; in ocfs2_xattr_has_space_inline() local
2651 free = (le16_to_cpu(el->l_count) - in ocfs2_xattr_has_space_inline()
2652 le16_to_cpu(el->l_next_free_rec)) * in ocfs2_xattr_has_space_inline()
2740 struct ocfs2_extent_list *el = &di->id2.i_list; in ocfs2_xattr_ibody_init() local
2741 le16_add_cpu(&el->l_count, -(xattrsize / in ocfs2_xattr_ibody_init()
3197 struct ocfs2_extent_list *el = in ocfs2_calc_xattr_set_need() local
3199 meta_add += ocfs2_extend_meta_needed(el); in ocfs2_calc_xattr_set_need()
[all …]
Dsuballoc.c323 struct ocfs2_extent_list *el = &bg->bg_list; in ocfs2_bg_discontig_add_extent() local
327 if (!el->l_next_free_rec) in ocfs2_bg_discontig_add_extent()
328 el->l_count = cpu_to_le16(ocfs2_extent_recs_per_gd(osb->sb)); in ocfs2_bg_discontig_add_extent()
329 rec = &el->l_recs[le16_to_cpu(el->l_next_free_rec)]; in ocfs2_bg_discontig_add_extent()
337 le16_add_cpu(&el->l_next_free_rec, 1); in ocfs2_bg_discontig_add_extent()
496 struct ocfs2_extent_list *el = &bg->bg_list; in ocfs2_block_group_grow_discontig() local
507 while ((needed > 0) && (le16_to_cpu(el->l_next_free_rec) < in ocfs2_block_group_grow_discontig()
508 le16_to_cpu(el->l_count))) { in ocfs2_block_group_grow_discontig()
550 struct ocfs2_extent_list *el; in ocfs2_bg_alloc_cleanup() local
557 el = &bg->bg_list; in ocfs2_bg_alloc_cleanup()
[all …]
Dmove_extents.c59 struct ocfs2_extent_list *el; in __ocfs2_move_extent() local
89 el = path_leaf_el(path); in __ocfs2_move_extent()
91 index = ocfs2_search_extent_list(el, cpos); in __ocfs2_move_extent()
99 rec = &el->l_recs[index]; in __ocfs2_move_extent()
Dfile.c1677 static int ocfs2_find_rec(struct ocfs2_extent_list *el, u32 pos) in ocfs2_find_rec() argument
1682 for (i = le16_to_cpu(el->l_next_free_rec) - 1; i >= 0; i--) { in ocfs2_find_rec()
1684 rec = &el->l_recs[i]; in ocfs2_find_rec()
1702 struct ocfs2_extent_list *el, in ocfs2_calc_trunc_pos() argument
1711 range = le32_to_cpu(rec->e_cpos) + ocfs2_rec_clusters(el, rec); in ocfs2_calc_trunc_pos()
1769 struct ocfs2_extent_list *el = NULL; in ocfs2_remove_inode_range() local
1849 el = path_leaf_el(path); in ocfs2_remove_inode_range()
1851 i = ocfs2_find_rec(el, trunc_end); in ocfs2_remove_inode_range()
1885 rec = &el->l_recs[i]; in ocfs2_remove_inode_range()
1887 ocfs2_calc_trunc_pos(inode, el, rec, trunc_start, &trunc_cpos, in ocfs2_remove_inode_range()
Ddir.c770 struct ocfs2_extent_list *el, in ocfs2_dx_dir_lookup_rec() argument
781 if (el->l_tree_depth) { in ocfs2_dx_dir_lookup_rec()
782 ret = ocfs2_find_leaf(INODE_CACHE(inode), el, major_hash, in ocfs2_dx_dir_lookup_rec()
790 el = &eb->h_list; in ocfs2_dx_dir_lookup_rec()
792 if (el->l_tree_depth) { in ocfs2_dx_dir_lookup_rec()
802 for (i = le16_to_cpu(el->l_next_free_rec) - 1; i >= 0; i--) { in ocfs2_dx_dir_lookup_rec()
803 rec = &el->l_recs[i]; in ocfs2_dx_dir_lookup_rec()
816 ocfs2_rec_clusters(el, rec)); in ocfs2_dx_dir_lookup_rec()
849 struct ocfs2_extent_list *el, in ocfs2_dx_dir_lookup() argument
860 ret = ocfs2_dx_dir_lookup_rec(inode, el, name_hash, &cpos, &blkno, in ocfs2_dx_dir_lookup()
[all …]
/fs/gfs2/
Dxattr.c187 struct gfs2_ea_location *el = ef->ef_el; in ea_find_i() local
189 el->el_bh = bh; in ea_find_i()
190 el->el_ea = ea; in ea_find_i()
191 el->el_prev = prev; in ea_find_i()
200 struct gfs2_ea_location *el) in gfs2_ea_find() argument
208 ef.ef_el = el; in gfs2_ea_find()
210 memset(el, 0, sizeof(struct gfs2_ea_location)); in gfs2_ea_find()
518 static int gfs2_ea_get_copy(struct gfs2_inode *ip, struct gfs2_ea_location *el, in gfs2_ea_get_copy() argument
522 size_t len = GFS2_EA_DATA_LEN(el->el_ea); in gfs2_ea_get_copy()
526 if (GFS2_EA_IS_STUFFED(el->el_ea)) { in gfs2_ea_get_copy()
[all …]
/fs/smb/client/
Dfile.c1644 struct list_head locks_to_send, *el; in cifs_push_posix_locks() local
1654 list_for_each(el, &flctx->flc_posix) { in cifs_push_posix_locks()
1675 el = locks_to_send.next; in cifs_push_posix_locks()
1678 if (el == &locks_to_send) { in cifs_push_posix_locks()
1691 lck = list_entry(el, struct lock_to_push, llist); in cifs_push_posix_locks()