Home
last modified time | relevance | path

Searched refs:offsets (Results 1 – 25 of 25) sorted by relevance

/linux-4.19.296/fs/minix/
Ditree_v2.c27 static int block_to_path(struct inode * inode, long block, int offsets[DEPTH]) in block_to_path()
41 offsets[n++] = block; in block_to_path()
43 offsets[n++] = DIRCOUNT; in block_to_path()
44 offsets[n++] = block; in block_to_path()
46 offsets[n++] = DIRCOUNT + 1; in block_to_path()
47 offsets[n++] = block / INDIRCOUNT(sb); in block_to_path()
48 offsets[n++] = block % INDIRCOUNT(sb); in block_to_path()
51 offsets[n++] = DIRCOUNT + 2; in block_to_path()
52 offsets[n++] = (block / INDIRCOUNT(sb)) / INDIRCOUNT(sb); in block_to_path()
53 offsets[n++] = (block / INDIRCOUNT(sb)) % INDIRCOUNT(sb); in block_to_path()
[all …]
Ditree_v1.c25 static int block_to_path(struct inode * inode, long block, int offsets[DEPTH]) in block_to_path()
38 offsets[n++] = block; in block_to_path()
40 offsets[n++] = 7; in block_to_path()
41 offsets[n++] = block; in block_to_path()
44 offsets[n++] = 8; in block_to_path()
45 offsets[n++] = block>>9; in block_to_path()
46 offsets[n++] = block & 511; in block_to_path()
Ditree_common.c32 int *offsets, in get_branch() argument
42 add_chain (chain, NULL, i_data(inode) + *offsets); in get_branch()
52 add_chain(++p, bh, (block_t *)bh->b_data + *++offsets); in get_branch()
72 int *offsets, in alloc_branch() argument
97 branch[n].p = (block_t*) bh->b_data + offsets[n]; in alloc_branch()
156 int offsets[DEPTH]; in get_block() local
160 int depth = block_to_path(inode, block, offsets); in get_block()
166 partial = get_branch(inode, depth, offsets, chain, &err); in get_block()
197 err = alloc_branch(inode, left, offsets+(partial-chain), partial); in get_block()
225 int offsets[DEPTH], in find_shared()
[all …]
/linux-4.19.296/fs/sysv/
Ditree.c23 static int block_to_path(struct inode *inode, long block, int offsets[DEPTH]) in block_to_path()
35 offsets[n++] = block; in block_to_path()
37 offsets[n++] = DIRECT; in block_to_path()
38 offsets[n++] = block; in block_to_path()
40 offsets[n++] = DIRECT+1; in block_to_path()
41 offsets[n++] = block >> ptrs_bits; in block_to_path()
42 offsets[n++] = block & (indirect_blocks - 1); in block_to_path()
44 offsets[n++] = DIRECT+2; in block_to_path()
45 offsets[n++] = block >> (ptrs_bits * 2); in block_to_path()
46 offsets[n++] = (block >> ptrs_bits) & (indirect_blocks - 1); in block_to_path()
[all …]
/linux-4.19.296/drivers/memory/
DMakefile.asm-offsets1 drivers/memory/emif-asm-offsets.s: drivers/memory/emif-asm-offsets.c
4 include/generated/ti-emif-asm-offsets.h: drivers/memory/emif-asm-offsets.s FORCE
5 $(call filechk,offsets,__TI_EMIF_ASM_OFFSETS_H__)
DMakefile30 include drivers/memory/Makefile.asm-offsets
32 drivers/memory/ti-emif-sram-pm.o: include/generated/ti-emif-asm-offsets.h
/linux-4.19.296/fs/ext4/
Dindirect.c76 ext4_lblk_t offsets[4], int *boundary) in ext4_block_to_path()
87 offsets[n++] = i_block; in ext4_block_to_path()
90 offsets[n++] = EXT4_IND_BLOCK; in ext4_block_to_path()
91 offsets[n++] = i_block; in ext4_block_to_path()
94 offsets[n++] = EXT4_DIND_BLOCK; in ext4_block_to_path()
95 offsets[n++] = i_block >> ptrs_bits; in ext4_block_to_path()
96 offsets[n++] = i_block & (ptrs - 1); in ext4_block_to_path()
99 offsets[n++] = EXT4_TIND_BLOCK; in ext4_block_to_path()
100 offsets[n++] = i_block >> (ptrs_bits * 2); in ext4_block_to_path()
101 offsets[n++] = (i_block >> ptrs_bits) & (ptrs - 1); in ext4_block_to_path()
[all …]
Dnamei.c296 struct dx_map_entry *offsets, int count, unsigned blocksize);
/linux-4.19.296/fs/ext2/
Dinode.c164 long i_block, int offsets[4], int *boundary) in ext2_block_to_path()
178 offsets[n++] = i_block; in ext2_block_to_path()
181 offsets[n++] = EXT2_IND_BLOCK; in ext2_block_to_path()
182 offsets[n++] = i_block; in ext2_block_to_path()
185 offsets[n++] = EXT2_DIND_BLOCK; in ext2_block_to_path()
186 offsets[n++] = i_block >> ptrs_bits; in ext2_block_to_path()
187 offsets[n++] = i_block & (ptrs - 1); in ext2_block_to_path()
190 offsets[n++] = EXT2_TIND_BLOCK; in ext2_block_to_path()
191 offsets[n++] = i_block >> (ptrs_bits * 2); in ext2_block_to_path()
192 offsets[n++] = (i_block >> ptrs_bits) & (ptrs - 1); in ext2_block_to_path()
[all …]
/linux-4.19.296/fs/ufs/
Dinode.c46 static int ufs_block_to_path(struct inode *inode, sector_t i_block, unsigned offsets[4]) in ufs_block_to_path()
59 offsets[n++] = i_block; in ufs_block_to_path()
61 offsets[n++] = UFS_IND_BLOCK; in ufs_block_to_path()
62 offsets[n++] = i_block; in ufs_block_to_path()
64 offsets[n++] = UFS_DIND_BLOCK; in ufs_block_to_path()
65 offsets[n++] = i_block >> ptrs_bits; in ufs_block_to_path()
66 offsets[n++] = i_block & (ptrs - 1); in ufs_block_to_path()
68 offsets[n++] = UFS_TIND_BLOCK; in ufs_block_to_path()
69 offsets[n++] = i_block >> (ptrs_bits * 2); in ufs_block_to_path()
70 offsets[n++] = (i_block >> ptrs_bits) & (ptrs - 1); in ufs_block_to_path()
[all …]
/linux-4.19.296/drivers/bus/
Dti-sysc.c77 int offsets[SYSC_MAX_REGS]; member
123 int offset = ddata->offsets[SYSC_REVISION]; in sysc_read_revision()
439 ddata->offsets[reg] = -ENODEV; in sysc_parse_one()
444 ddata->offsets[reg] = res->start - ddata->module_pa; in sysc_parse_one()
473 if (ddata->offsets[i] < 0) in sysc_check_registers()
476 if (ddata->offsets[i] > (ddata->module_size - 4)) { in sysc_check_registers()
483 if (ddata->offsets[j] < 0) in sysc_check_registers()
486 if (ddata->offsets[i] == ddata->offsets[j]) in sysc_check_registers()
523 size = max3(ddata->offsets[SYSC_REVISION], in sysc_ioremap()
524 ddata->offsets[SYSC_SYSCONFIG], in sysc_ioremap()
[all …]
/linux-4.19.296/include/linux/
Dvmalloc.h180 struct vm_struct **pcpu_get_vm_areas(const unsigned long *offsets,
187 pcpu_get_vm_areas(const unsigned long *offsets, in pcpu_get_vm_areas() argument
/linux-4.19.296/include/linux/platform_data/
Dti-sysc.h117 int *offsets; member
/linux-4.19.296/include/linux/soc/qcom/
Dllcc-qcom.h91 u32 *offsets; member
/linux-4.19.296/include/drm/
Ddrm_framebuffer.h160 unsigned int offsets[4]; member
Ddrm_fb_helper.h127 struct drm_fb_offset *offsets,
/linux-4.19.296/include/uapi/linux/android/
Dbinder.h263 binder_uintptr_t offsets; member
/linux-4.19.296/include/linux/netfilter/
Dx_tables.h287 bool xt_find_jump_offset(const unsigned int *offsets,
/linux-4.19.296/include/uapi/drm/
Ddrm_mode.h512 __u32 offsets[4]; /* offset of each plane */ member
/linux-4.19.296/fs/xfs/libxfs/
Dxfs_btree.h334 const short *offsets,/* table of field offsets */
Dxfs_ialloc.c2451 static const short offsets[] = { /* field starting offsets */ in xfs_ialloc_log_agi() local
2481 xfs_btree_offsets(fields, offsets, XFS_AGI_NUM_BITS_R1, in xfs_ialloc_log_agi()
2492 xfs_btree_offsets(fields, offsets, XFS_AGI_NUM_BITS_R2, in xfs_ialloc_log_agi()
Dxfs_btree.c810 const short *offsets, /* table of field offsets */ in xfs_btree_offsets() argument
824 *first = offsets[i]; in xfs_btree_offsets()
833 *last = offsets[i + 1] - 1; in xfs_btree_offsets()
Dxfs_alloc.c2465 static const short offsets[] = { in xfs_alloc_log_agf() local
2492 xfs_btree_offsets(fields, offsets, XFS_AGF_NUM_BITS, &first, &last); in xfs_alloc_log_agf()
/linux-4.19.296/include/linux/mlx5/
Ddriver.h1233 size_t *offsets);
/linux-4.19.296/fs/befs/
DChangeLog234 uses befs_get_block() by way of befs_readpage() to find the disk offsets