Searched refs:ix (Results 1 – 6 of 6) sorted by relevance
/fs/qnx4/ |
D | dir.c | 60 int ix, ino; in qnx4_readdir() local 73 ix = (ctx->pos >> QNX4_DIR_ENTRY_SIZE_BITS) % QNX4_INODES_PER_BLOCK; in qnx4_readdir() 74 for (; ix < QNX4_INODES_PER_BLOCK; ix++, ctx->pos += QNX4_DIR_ENTRY_SIZE) { in qnx4_readdir() 77 offset = ix * QNX4_DIR_ENTRY_SIZE; in qnx4_readdir() 86 ino = blknum * QNX4_INODES_PER_BLOCK + ix - 1; in qnx4_readdir()
|
D | inode.c | 79 int ix; in qnx4_block_map() local 93 ix = 0; in qnx4_block_map() 95 if ( ix == 0 ) { in qnx4_block_map() 108 block = try_extent(&xblk->xblk_xtnts[ix], &offset); in qnx4_block_map() 113 if ( ++ix >= xblk->xblk_num_xtnts ) { in qnx4_block_map() 115 ix = 0; in qnx4_block_map()
|
/fs/ext4/ |
D | ext4_extents.h | 237 static inline ext4_fsblk_t ext4_idx_pblock(struct ext4_extent_idx *ix) in ext4_idx_pblock() argument 241 block = le32_to_cpu(ix->ei_leaf_lo); in ext4_idx_pblock() 242 block |= ((ext4_fsblk_t) le16_to_cpu(ix->ei_leaf_hi) << 31) << 1; in ext4_idx_pblock() 264 static inline void ext4_idx_store_pblock(struct ext4_extent_idx *ix, in ext4_idx_store_pblock() argument 267 ix->ei_leaf_lo = cpu_to_le32((unsigned long) (pb & 0xffffffff)); in ext4_idx_store_pblock() 268 ix->ei_leaf_hi = cpu_to_le16((unsigned long) ((pb >> 31) >> 1) & in ext4_idx_store_pblock()
|
D | migrate.c | 384 struct ext4_extent_idx *ix) in free_ext_idx() argument 391 block = ext4_idx_pblock(ix); in free_ext_idx() 398 ix = EXT_FIRST_INDEX(eh); in free_ext_idx() 399 for (i = 0; i < le16_to_cpu(eh->eh_entries); i++, ix++) { in free_ext_idx() 400 retval = free_ext_idx(handle, inode, ix); in free_ext_idx() 420 struct ext4_extent_idx *ix; in free_ext_block() local 426 ix = EXT_FIRST_INDEX(eh); in free_ext_block() 427 for (i = 0; i < le16_to_cpu(eh->eh_entries); i++, ix++) { in free_ext_block() 428 retval = free_ext_idx(handle, inode, ix); in free_ext_block()
|
D | extents.c | 771 struct ext4_extent_idx *chix, *ix; in ext4_ext_binsearch_idx() local 774 chix = ix = EXT_FIRST_INDEX(eh); in ext4_ext_binsearch_idx() 775 for (k = 0; k < le16_to_cpu(eh->eh_entries); k++, ix++) { in ext4_ext_binsearch_idx() 777 le32_to_cpu(ix->ei_block) <= le32_to_cpu(ix[-1].ei_block)) { in ext4_ext_binsearch_idx() 780 ix, EXT_FIRST_INDEX(eh)); in ext4_ext_binsearch_idx() 782 le32_to_cpu(ix->ei_block), in ext4_ext_binsearch_idx() 783 le32_to_cpu(ix[-1].ei_block)); in ext4_ext_binsearch_idx() 785 BUG_ON(k && le32_to_cpu(ix->ei_block) in ext4_ext_binsearch_idx() 786 <= le32_to_cpu(ix[-1].ei_block)); in ext4_ext_binsearch_idx() 787 if (block < le32_to_cpu(ix->ei_block)) in ext4_ext_binsearch_idx() [all …]
|
/fs/hpfs/ |
D | hpfs.h | 209 __le16 ix; /* index */ member 235 __le16 ix; /* index */ member 356 u8 ix; /* code page index (of filename), see member
|