Home
last modified time | relevance | path

Searched refs:dir_index (Results 1 – 9 of 9) sorted by relevance

/openbmc/linux/fs/squashfs/
H A Ddir.c45 struct squashfs_dir_index dir_index; in get_dir_index_using_offset() local
60 err = squashfs_read_metadata(sb, &dir_index, &index_start, in get_dir_index_using_offset()
61 &index_offset, sizeof(dir_index)); in get_dir_index_using_offset()
65 index = le32_to_cpu(dir_index.index); in get_dir_index_using_offset()
72 size = le32_to_cpu(dir_index.size) + 1; in get_dir_index_using_offset()
84 *next_block = le32_to_cpu(dir_index.start_block) + in get_dir_index_using_offset()
/openbmc/qemu/block/
H A Dvvfat.c264 unsigned int dir_index; member
838 s->current_mapping->dir_index=s->directory.next-1; in read_directory()
880 direntry = array_get(&(s->directory), mapping->dir_index); in read_directory()
942 mapping->dir_index = 0; in init_directories()
974 mapping->dir_index); in init_directories()
1465 mapping, mapping->begin, mapping->end, mapping->dir_index, in print_mapping()
1592 struct { int dir_index; uint32_t modified_offset; } writeout; member
1628 int dir_index, uint32_t modified_offset) in schedule_writeout() argument
1632 commit->param.writeout.dir_index = dir_index; in schedule_writeout()
1952 schedule_writeout(s, mapping->dir_index, offset); in get_cluster_count_for_direntry()
[all …]
/openbmc/linux/drivers/iommu/intel/
H A Dpasid.c192 int dir_index, index; in intel_pasid_get_entry() local
200 dir_index = pasid >> PASID_PDE_SHIFT; in intel_pasid_get_entry()
204 entries = get_pasid_table_from_pde(&dir[dir_index]); in intel_pasid_get_entry()
216 if (cmpxchg64(&dir[dir_index].val, 0ULL, in intel_pasid_get_entry()
223 clflush_cache_range(&dir[dir_index].val, sizeof(*dir)); in intel_pasid_get_entry()
H A Diommu.c841 int i, dir_index, index, level; in dmar_fault_dump_ptes() local
894 dir_index = pasid >> PASID_PDE_SHIFT; in dmar_fault_dump_ptes()
895 pde = &dir[dir_index]; in dmar_fault_dump_ptes()
/openbmc/linux/fs/jfs/
H A Djfs_dtree.c2725 u32 dir_index; in jfs_readdir() local
2745 dir_index = (u32) ctx->pos; in jfs_readdir()
2752 if (dir_index) in jfs_readdir()
2753 dir_index--; in jfs_readdir()
2755 if (dir_index > 1) { in jfs_readdir()
2759 (dir_index >= JFS_IP(ip)->next_index)) { in jfs_readdir()
2765 rc = read_index(ip, dir_index, &dirtab_slot); in jfs_readdir()
2776 dir_index = le32_to_cpu(dirtab_slot.addr2); in jfs_readdir()
2777 if (dir_index == -1) { in jfs_readdir()
2797 if (dir_index == 0) { in jfs_readdir()
/openbmc/linux/fs/btrfs/
H A Dbtrfs_inode.h208 u64 dir_index; member
H A Dinode.c3867 BTRFS_I(inode)->dir_index = btrfs_inode_ref_index(leaf, ref); in btrfs_read_locked_inode()
3872 BTRFS_I(inode)->dir_index = btrfs_inode_extref_index(leaf, in btrfs_read_locked_inode()
4097 if (inode->dir_index) { in __btrfs_unlink_inode()
4100 index = inode->dir_index; in __btrfs_unlink_inode()
6238 ret = btrfs_set_inode_index(BTRFS_I(dir), &BTRFS_I(inode)->dir_index); in btrfs_create_new_inode()
6344 BTRFS_I(inode)->dir_index); in btrfs_create_new_inode()
6407 0, BTRFS_I(inode)->dir_index); in btrfs_create_new_inode()
6623 BTRFS_I(inode)->dir_index = 0ULL; in btrfs_link()
8534 ei->dir_index = 0; in btrfs_alloc_inode()
8839 BTRFS_I(old_inode)->dir_index = 0ULL; in btrfs_rename_exchange()
[all …]
/openbmc/linux/Documentation/filesystems/caching/
H A Dcachefiles.rst81 It is strongly recommended that the "dir_index" option is enabled on Ext3
/openbmc/linux/fs/ext4/
H A Dext4.h2107 EXT4_FEATURE_COMPAT_FUNCS(dir_index, DIR_INDEX) in EXT4_FEATURE_COMPAT_FUNCS()