/linux-4.19.296/lib/ |
D | test_list_sort.c | 72 struct debug_el *el; in list_sort_test() local 83 el = kmalloc(sizeof(*el), GFP_KERNEL); in list_sort_test() 84 if (!el) in list_sort_test() 88 el->value = prandom_u32() % (TEST_LIST_LEN / 3); in list_sort_test() 89 el->serial = i; in list_sort_test() 90 el->poison1 = TEST_POISON1; in list_sort_test() 91 el->poison2 = TEST_POISON2; in list_sort_test() 92 elts[i] = el; in list_sort_test() 93 list_add_tail(&el->list, &head); in list_sort_test() 114 el = container_of(cur, struct debug_el, list); in list_sort_test() [all …]
|
/linux-4.19.296/fs/ocfs2/ |
D | alloc.c | 602 node->el = NULL; in ocfs2_reinit_path() 645 dest->p_node[i].el = src->p_node[i].el; in ocfs2_cp_path() 667 dest->p_node[i].el = src->p_node[i].el; in ocfs2_mv_path() 670 src->p_node[i].el = NULL; in ocfs2_mv_path() 693 path->p_node[index].el = &eb->h_list; in ocfs2_path_insert_eb() 782 int ocfs2_search_extent_list(struct ocfs2_extent_list *el, u32 v_cluster) in ocfs2_search_extent_list() argument 789 for(i = 0; i < le16_to_cpu(el->l_next_free_rec); i++) { in ocfs2_search_extent_list() 790 rec = &el->l_recs[i]; in ocfs2_search_extent_list() 793 clusters = ocfs2_rec_clusters(el, rec); in ocfs2_search_extent_list() 967 struct ocfs2_extent_list *el = NULL; in ocfs2_num_free_extents() local [all …]
|
D | extent_map.c | 296 struct ocfs2_extent_list *el; in ocfs2_last_eb_is_empty() local 305 el = &eb->h_list; in ocfs2_last_eb_is_empty() 307 if (el->l_tree_depth) { in ocfs2_last_eb_is_empty() 316 next_free = le16_to_cpu(el->l_next_free_rec); in ocfs2_last_eb_is_empty() 319 (next_free == 1 && ocfs2_is_empty_extent(&el->l_recs[0]))) in ocfs2_last_eb_is_empty() 331 static int ocfs2_search_for_hole_index(struct ocfs2_extent_list *el, in ocfs2_search_for_hole_index() argument 337 for(i = 0; i < le16_to_cpu(el->l_next_free_rec); i++) { in ocfs2_search_for_hole_index() 338 rec = &el->l_recs[i]; in ocfs2_search_for_hole_index() 359 struct ocfs2_extent_list *el, in ocfs2_figure_hole_clusters() argument 368 i = ocfs2_search_for_hole_index(el, v_cluster); in ocfs2_figure_hole_clusters() [all …]
|
D | alloc.h | 242 int ocfs2_search_extent_list(struct ocfs2_extent_list *el, u32 v_cluster); 248 static inline unsigned int ocfs2_rec_clusters(struct ocfs2_extent_list *el, in ocfs2_rec_clusters() argument 258 if (el->l_tree_depth) in ocfs2_rec_clusters() 287 struct ocfs2_extent_list *el; member 299 #define path_root_el(_path) ((_path)->p_node[0].el) 302 #define path_leaf_el(_path) ((_path)->p_node[(_path)->p_tree_depth].el)
|
D | extent_map.h | 63 struct ocfs2_extent_list *el, 71 struct ocfs2_extent_list *el,
|
D | refcounttree.c | 967 struct ocfs2_extent_list *el, in ocfs2_get_refcount_cpos_end() argument 978 if (index < le16_to_cpu(el->l_next_free_rec) - 1) { in ocfs2_get_refcount_cpos_end() 983 *cpos_end = le32_to_cpu(el->l_recs[index+1].e_cpos); in ocfs2_get_refcount_cpos_end() 1040 tmp_el = left_path->p_node[subtree_root].el; in ocfs2_get_refcount_cpos_end() 1073 struct ocfs2_extent_list *el; in ocfs2_get_refcount_rec() local 1089 el = &rb->rf_list; in ocfs2_get_refcount_rec() 1092 if (el->l_tree_depth) { in ocfs2_get_refcount_rec() 1093 ret = ocfs2_find_leaf(ci, el, low_cpos, &eb_bh); in ocfs2_get_refcount_rec() 1100 el = &eb->h_list; in ocfs2_get_refcount_rec() 1102 if (el->l_tree_depth) { in ocfs2_get_refcount_rec() [all …]
|
D | suballoc.c | 339 struct ocfs2_extent_list *el = &bg->bg_list; in ocfs2_bg_discontig_add_extent() local 343 if (!el->l_next_free_rec) in ocfs2_bg_discontig_add_extent() 344 el->l_count = cpu_to_le16(ocfs2_extent_recs_per_gd(osb->sb)); in ocfs2_bg_discontig_add_extent() 345 rec = &el->l_recs[le16_to_cpu(el->l_next_free_rec)]; in ocfs2_bg_discontig_add_extent() 353 le16_add_cpu(&el->l_next_free_rec, 1); in ocfs2_bg_discontig_add_extent() 512 struct ocfs2_extent_list *el = &bg->bg_list; in ocfs2_block_group_grow_discontig() local 523 while ((needed > 0) && (le16_to_cpu(el->l_next_free_rec) < in ocfs2_block_group_grow_discontig() 524 le16_to_cpu(el->l_count))) { in ocfs2_block_group_grow_discontig() 566 struct ocfs2_extent_list *el; in ocfs2_bg_alloc_cleanup() local 573 el = &bg->bg_list; in ocfs2_bg_alloc_cleanup() [all …]
|
D | xattr.c | 1119 struct ocfs2_extent_list *el; in ocfs2_xattr_get_value_outside() local 1121 el = &xv->xr_list; in ocfs2_xattr_get_value_outside() 1129 &num_clusters, el, NULL); in ocfs2_xattr_get_value_outside() 2664 struct ocfs2_extent_list *el = &di->id2.i_list; in ocfs2_xattr_has_space_inline() local 2665 free = (le16_to_cpu(el->l_count) - in ocfs2_xattr_has_space_inline() 2666 le16_to_cpu(el->l_next_free_rec)) * in ocfs2_xattr_has_space_inline() 2754 struct ocfs2_extent_list *el = &di->id2.i_list; in ocfs2_xattr_ibody_init() local 2755 le16_add_cpu(&el->l_count, -(xattrsize / in ocfs2_xattr_ibody_init() 3211 struct ocfs2_extent_list *el = in ocfs2_calc_xattr_set_need() local 3213 meta_add += ocfs2_extend_meta_needed(el); in ocfs2_calc_xattr_set_need() [all …]
|
D | move_extents.c | 69 struct ocfs2_extent_list *el; in __ocfs2_move_extent() local 99 el = path_leaf_el(path); in __ocfs2_move_extent() 101 index = ocfs2_search_extent_list(el, cpos); in __ocfs2_move_extent() 109 rec = &el->l_recs[index]; in __ocfs2_move_extent()
|
D | file.c | 1689 static int ocfs2_find_rec(struct ocfs2_extent_list *el, u32 pos) in ocfs2_find_rec() argument 1694 for (i = le16_to_cpu(el->l_next_free_rec) - 1; i >= 0; i--) { in ocfs2_find_rec() 1696 rec = &el->l_recs[i]; in ocfs2_find_rec() 1714 struct ocfs2_extent_list *el, in ocfs2_calc_trunc_pos() argument 1723 range = le32_to_cpu(rec->e_cpos) + ocfs2_rec_clusters(el, rec); in ocfs2_calc_trunc_pos() 1781 struct ocfs2_extent_list *el = NULL; in ocfs2_remove_inode_range() local 1861 el = path_leaf_el(path); in ocfs2_remove_inode_range() 1863 i = ocfs2_find_rec(el, trunc_end); in ocfs2_remove_inode_range() 1897 rec = &el->l_recs[i]; in ocfs2_remove_inode_range() 1899 ocfs2_calc_trunc_pos(inode, el, rec, trunc_start, &trunc_cpos, in ocfs2_remove_inode_range()
|
D | dir.c | 784 struct ocfs2_extent_list *el, in ocfs2_dx_dir_lookup_rec() argument 795 if (el->l_tree_depth) { in ocfs2_dx_dir_lookup_rec() 796 ret = ocfs2_find_leaf(INODE_CACHE(inode), el, major_hash, in ocfs2_dx_dir_lookup_rec() 804 el = &eb->h_list; in ocfs2_dx_dir_lookup_rec() 806 if (el->l_tree_depth) { in ocfs2_dx_dir_lookup_rec() 816 for (i = le16_to_cpu(el->l_next_free_rec) - 1; i >= 0; i--) { in ocfs2_dx_dir_lookup_rec() 817 rec = &el->l_recs[i]; in ocfs2_dx_dir_lookup_rec() 830 ocfs2_rec_clusters(el, rec)); in ocfs2_dx_dir_lookup_rec() 863 struct ocfs2_extent_list *el, in ocfs2_dx_dir_lookup() argument 874 ret = ocfs2_dx_dir_lookup_rec(inode, el, name_hash, &cpos, &blkno, in ocfs2_dx_dir_lookup() [all …]
|
/linux-4.19.296/fs/gfs2/ |
D | xattr.c | 179 struct gfs2_ea_location *el = ef->ef_el; in ea_find_i() local 181 el->el_bh = bh; in ea_find_i() 182 el->el_ea = ea; in ea_find_i() 183 el->el_prev = prev; in ea_find_i() 192 struct gfs2_ea_location *el) in gfs2_ea_find() argument 200 ef.ef_el = el; in gfs2_ea_find() 202 memset(el, 0, sizeof(struct gfs2_ea_location)); in gfs2_ea_find() 507 static int gfs2_ea_get_copy(struct gfs2_inode *ip, struct gfs2_ea_location *el, in gfs2_ea_get_copy() argument 511 size_t len = GFS2_EA_DATA_LEN(el->el_ea); in gfs2_ea_get_copy() 515 if (GFS2_EA_IS_STUFFED(el->el_ea)) { in gfs2_ea_get_copy() [all …]
|
/linux-4.19.296/lib/reed_solomon/ |
D | decode_rs.c | 14 int deg_lambda, el, deg_omega; variable 133 el = no_eras; 161 if (2 * el <= r + no_eras - 1) { 162 el = r + no_eras - el;
|
/linux-4.19.296/fs/cifs/ |
D | file.c | 1250 struct list_head locks_to_send, *el; in cifs_push_posix_locks() local 1260 list_for_each(el, &flctx->flc_posix) { in cifs_push_posix_locks() 1281 el = locks_to_send.next; in cifs_push_posix_locks() 1284 if (el == &locks_to_send) { in cifs_push_posix_locks() 1297 lck = list_entry(el, struct lock_to_push, llist); in cifs_push_posix_locks()
|