Home
last modified time | relevance | path

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

/fs/reiserfs/
Ditem_ops.c478 dir_u->entry_count = ih_entry_count(vi->vi_ih) + in direntry_create_vi()
482 for (i = 0; i < dir_u->entry_count; i++) { in direntry_create_vi()
490 size += (dir_u->entry_count * sizeof(short)); in direntry_create_vi()
502 for (k = 0; k < dir_u->entry_count; k++) in direntry_create_vi()
532 for (i = start_skip; i < dir_u->entry_count - end_skip; i++) { in direntry_check_left()
541 if (entries == dir_u->entry_count) { in direntry_check_left()
544 dir_u->entry_count); in direntry_check_left()
561 for (i = dir_u->entry_count - 1; i >= 0; i--) { in direntry_check_right()
569 BUG_ON(entries == dir_u->entry_count); in direntry_check_right()
573 && entries > dir_u->entry_count - 2) in direntry_check_right()
[all …]
Ddo_balan.c713 int entry_count; in balance_leaf_paste_right_shift_dirent() local
717 entry_count = ih_entry_count(item_head(tbS0, tb->item_pos)); in balance_leaf_paste_right_shift_dirent()
720 if (entry_count - tb->rbytes < tb->pos_in_item) { in balance_leaf_paste_right_shift_dirent()
723 RFALSE(tb->rbytes - 1 >= entry_count || !tb->insert_size[0], in balance_leaf_paste_right_shift_dirent()
725 "rbytes=%d, entry_count=%d", tb->rbytes, entry_count); in balance_leaf_paste_right_shift_dirent()
735 paste_entry_position = tb->pos_in_item - entry_count + in balance_leaf_paste_right_shift_dirent()
1018 int entry_count = ih_entry_count(aux_ih); in balance_leaf_new_nodes_paste_dirent() local
1021 if (entry_count - tb->sbytes[i] < tb->pos_in_item && in balance_leaf_new_nodes_paste_dirent()
1022 tb->pos_in_item <= entry_count) { in balance_leaf_new_nodes_paste_dirent()
1027 RFALSE(tb->sbytes[i] - 1 >= entry_count, in balance_leaf_new_nodes_paste_dirent()
[all …]
Dreiserfs.h2378 __u16 entry_count; member
3085 loff_t offset, int type, int length, int entry_count);
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()
/fs/
Dbinfmt_misc.c68 static int entry_count; variable
626 simple_release_fs(&bm_mnt, &entry_count); in kill_node()
721 err = simple_pin_fs(&bm_fs_type, &bm_mnt, &entry_count); in bm_register_write()
735 simple_release_fs(&bm_mnt, &entry_count); in bm_register_write()
/fs/f2fs/
Dcheckpoint.c714 for (j = 0; j < le32_to_cpu(orphan_blk->entry_count); j++) { in f2fs_recover_orphan_inodes()
778 orphan_blk->entry_count = cpu_to_le32(nentries); in write_orphan_inodes()
790 orphan_blk->entry_count = cpu_to_le32(nentries); in write_orphan_inodes()