Home
last modified time | relevance | path

Searched refs:entry_count (Results 1 – 6 of 6) sorted by relevance

/fs/reiserfs/
Ditem_ops.c486 dir_u->entry_count = ih_entry_count(vi->vi_ih) + in direntry_create_vi()
490 for (i = 0; i < dir_u->entry_count; i++) { in direntry_create_vi()
498 size += (dir_u->entry_count * sizeof(short)); in direntry_create_vi()
510 for (k = 0; k < dir_u->entry_count; k++) in direntry_create_vi()
540 for (i = start_skip; i < dir_u->entry_count - end_skip; i++) { in direntry_check_left()
549 if (entries == dir_u->entry_count) { in direntry_check_left()
552 dir_u->entry_count); in direntry_check_left()
569 for (i = dir_u->entry_count - 1; i >= 0; i--) { in direntry_check_right()
577 BUG_ON(entries == dir_u->entry_count); in direntry_check_right()
581 && entries > dir_u->entry_count - 2) in direntry_check_right()
[all …]
Ddo_balan.c722 int entry_count; in balance_leaf_paste_right_shift_dirent() local
726 entry_count = ih_entry_count(item_head(tbS0, tb->item_pos)); in balance_leaf_paste_right_shift_dirent()
729 if (entry_count - tb->rbytes < tb->pos_in_item) { in balance_leaf_paste_right_shift_dirent()
732 RFALSE(tb->rbytes - 1 >= entry_count || !tb->insert_size[0], in balance_leaf_paste_right_shift_dirent()
734 "rbytes=%d, entry_count=%d", tb->rbytes, entry_count); in balance_leaf_paste_right_shift_dirent()
744 paste_entry_position = tb->pos_in_item - entry_count + in balance_leaf_paste_right_shift_dirent()
1029 int entry_count = ih_entry_count(aux_ih); in balance_leaf_new_nodes_paste_dirent() local
1032 if (entry_count - tb->sbytes[i] < tb->pos_in_item && in balance_leaf_new_nodes_paste_dirent()
1033 tb->pos_in_item <= entry_count) { in balance_leaf_new_nodes_paste_dirent()
1038 RFALSE(tb->sbytes[i] - 1 >= entry_count, in balance_leaf_new_nodes_paste_dirent()
[all …]
Dinode.c140 int entry_count /*or ih_free_space */ ) in make_le_item_head() argument
156 put_ih_entry_count(ih, entry_count); in make_le_item_head()
Dreiserfs.h2378 __u16 entry_count; member
3085 loff_t offset, int type, int length, int entry_count);
/fs/
Dbinfmt_misc.c66 static int entry_count; variable
624 simple_release_fs(&bm_mnt, &entry_count); in kill_node()
719 err = simple_pin_fs(&bm_fs_type, &bm_mnt, &entry_count); in bm_register_write()
733 simple_release_fs(&bm_mnt, &entry_count); in bm_register_write()
/fs/f2fs/
Dcheckpoint.c679 for (j = 0; j < le32_to_cpu(orphan_blk->entry_count); j++) { in f2fs_recover_orphan_inodes()
743 orphan_blk->entry_count = cpu_to_le32(nentries); in write_orphan_inodes()
755 orphan_blk->entry_count = cpu_to_le32(nentries); in write_orphan_inodes()