Searched refs:entry_size (Results 1 – 10 of 10) sorted by relevance
/fs/hfsplus/ |
D | catalog.c | 259 int entry_size; in hfsplus_create_cat() local 277 entry_size = hfsplus_fill_cat_thread(sb, &entry, in hfsplus_create_cat() 281 if (unlikely(entry_size < 0)) { in hfsplus_create_cat() 282 err = entry_size; in hfsplus_create_cat() 292 err = hfs_brec_insert(&fd, &entry, entry_size); in hfsplus_create_cat() 300 entry_size = hfsplus_cat_build_record(&entry, cnid, inode); in hfsplus_create_cat() 308 err = hfs_brec_insert(&fd, &entry, entry_size); in hfsplus_create_cat() 441 int entry_size, type; in hfsplus_rename_cat() local 528 entry_size = hfsplus_fill_cat_thread(sb, &entry, type, in hfsplus_rename_cat() 530 if (unlikely(entry_size < 0)) { in hfsplus_rename_cat() [all …]
|
D | attributes.c | 201 int entry_size; in hfsplus_create_attr() local 236 entry_size = hfsplus_attr_build_record(entry_ptr, in hfsplus_create_attr() 240 if (entry_size == HFSPLUS_INVALID_ATTR_RECORD) { in hfsplus_create_attr() 252 err = hfs_brec_insert(&fd, entry_ptr, entry_size); in hfsplus_create_attr()
|
D | bnode.c | 472 int entry_size, key_size; in hfs_bnode_find() local 532 entry_size = next_off - off; in hfs_bnode_find() 537 if (key_size >= entry_size || key_size & 1) in hfs_bnode_find()
|
/fs/hfs/ |
D | catalog.c | 87 int entry_size; in hfs_cat_create() local 109 entry_size = hfs_cat_build_thread(sb, &entry, S_ISDIR(inode->i_mode) ? in hfs_cat_create() 118 err = hfs_brec_insert(&fd, &entry, entry_size); in hfs_cat_create() 123 entry_size = hfs_cat_build_record(&entry, cnid, inode); in hfs_cat_create() 131 err = hfs_brec_insert(&fd, &entry, entry_size); in hfs_cat_create() 294 int entry_size, type; in hfs_cat_move() local 370 entry_size = hfs_cat_build_thread(sb, &entry, type == HFS_CDR_FIL ? HFS_CDR_FTH : HFS_CDR_THD, in hfs_cat_move() 378 err = hfs_brec_insert(&dst_fd, &entry, entry_size); in hfs_cat_move()
|
D | bnode.c | 322 int entry_size, key_size; in hfs_bnode_find() local 381 entry_size = next_off - off; in hfs_bnode_find() 386 if (key_size >= entry_size /*|| key_size & 1*/) in hfs_bnode_find()
|
/fs/nilfs2/ |
D | dat.c | 479 int nilfs_dat_read(struct super_block *sb, size_t entry_size, in nilfs_dat_read() argument 487 if (entry_size > sb->s_blocksize) { in nilfs_dat_read() 489 entry_size); in nilfs_dat_read() 491 } else if (entry_size < NILFS_MIN_DAT_ENTRY_SIZE) { in nilfs_dat_read() 493 entry_size); in nilfs_dat_read() 507 err = nilfs_palloc_init_blockgroup(dat, entry_size); in nilfs_dat_read()
|
D | mdt.c | 501 void nilfs_mdt_set_entry_size(struct inode *inode, unsigned int entry_size, in nilfs_mdt_set_entry_size() argument 506 mi->mi_entry_size = entry_size; in nilfs_mdt_set_entry_size() 507 mi->mi_entries_per_block = i_blocksize(inode) / entry_size; in nilfs_mdt_set_entry_size() 508 mi->mi_first_entry_offset = DIV_ROUND_UP(header_size, entry_size); in nilfs_mdt_set_entry_size()
|
D | dat.h | 44 int nilfs_dat_read(struct super_block *sb, size_t entry_size,
|
D | alloc.c | 47 int nilfs_palloc_init_blockgroup(struct inode *inode, unsigned int entry_size) in nilfs_palloc_init_blockgroup() argument 57 nilfs_mdt_set_entry_size(inode, entry_size, 0); in nilfs_palloc_init_blockgroup()
|
/fs/ext4/ |
D | xattr.c | 2649 unsigned int entry_size; /* EA entry size */ in ext4_xattr_make_inode_space() local 2687 entry_size = EXT4_XATTR_LEN(entry->e_name_len); in ext4_xattr_make_inode_space() 2688 total_size = entry_size; in ext4_xattr_make_inode_space() 2697 *total_ino -= entry_size; in ext4_xattr_make_inode_space()
|