/Linux-v4.19/fs/minix/ |
D | itree_v2.c | 27 static int block_to_path(struct inode * inode, long block, int offsets[DEPTH]) in block_to_path() 42 offsets[n++] = block; in block_to_path() 44 offsets[n++] = DIRCOUNT; in block_to_path() 45 offsets[n++] = block; in block_to_path() 47 offsets[n++] = DIRCOUNT + 1; in block_to_path() 48 offsets[n++] = block / INDIRCOUNT(sb); in block_to_path() 49 offsets[n++] = block % INDIRCOUNT(sb); in block_to_path() 52 offsets[n++] = DIRCOUNT + 2; in block_to_path() 53 offsets[n++] = (block / INDIRCOUNT(sb)) / INDIRCOUNT(sb); in block_to_path() 54 offsets[n++] = (block / INDIRCOUNT(sb)) % INDIRCOUNT(sb); in block_to_path() [all …]
|
D | itree_v1.c | 25 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()
|
D | itree_common.c | 32 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 91 branch[n].p = (block_t*) bh->b_data + offsets[n]; in alloc_branch() 150 int offsets[DEPTH]; in get_block() local 154 int depth = block_to_path(inode, block, offsets); in get_block() 160 partial = get_branch(inode, depth, offsets, chain, &err); in get_block() 191 err = alloc_branch(inode, left, offsets+(partial-chain), partial); in get_block() 219 int offsets[DEPTH], in find_shared() [all …]
|
/Linux-v4.19/ |
D | Kbuild | 7 # 3) Generate asm-offsets.h (may need bounds.h and timeconst.h) 24 $(call filechk,offsets,__LINUX_BOUNDS_H__) 45 # 3) Generate asm-offsets.h 48 offsets-file := include/generated/asm-offsets.h 50 always += $(offsets-file) 51 targets += arch/$(SRCARCH)/kernel/asm-offsets.s 54 arch/$(SRCARCH)/kernel/asm-offsets.s: arch/$(SRCARCH)/kernel/asm-offsets.c \ 58 $(obj)/$(offsets-file): arch/$(SRCARCH)/kernel/asm-offsets.s FORCE 59 $(call filechk,offsets,__ASM_OFFSETS_H__) 71 missing-syscalls: scripts/checksyscalls.sh $(offsets-file) FORCE [all …]
|
/Linux-v4.19/scripts/mod/ |
D | Makefile | 9 devicetable-offsets-file := devicetable-offsets.h 11 $(obj)/$(devicetable-offsets-file): $(obj)/devicetable-offsets.s FORCE 12 $(call filechk,offsets,__DEVICETABLE_OFFSETS_H__) 14 targets += $(devicetable-offsets-file) devicetable-offsets.s 19 $(obj)/file2alias.o: $(obj)/$(devicetable-offsets-file)
|
/Linux-v4.19/fs/sysv/ |
D | itree.c | 23 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-v4.19/drivers/gpu/drm/vmwgfx/device_include/ |
D | svga_overlay.h | 143 uint32 *offsets) /* OUT (optional) */ in VMwareVideoGetAttributes() argument 149 if (offsets) { in VMwareVideoGetAttributes() 150 offsets[0] = 0; in VMwareVideoGetAttributes() 162 if (offsets) { in VMwareVideoGetAttributes() 163 offsets[1] = *size; in VMwareVideoGetAttributes() 175 if (offsets) { in VMwareVideoGetAttributes() 176 offsets[2] = *size; in VMwareVideoGetAttributes()
|
/Linux-v4.19/arch/arm/mach-at91/ |
D | Makefile | 22 arch/arm/mach-at91/pm_data-offsets.s: arch/arm/mach-at91/pm_data-offsets.c 25 include/generated/at91_pm_data-offsets.h: arch/arm/mach-at91/pm_data-offsets.s FORCE 26 $(call filechk,offsets,__PM_DATA_OFFSETS_H__) 28 arch/arm/mach-at91/pm_suspend.o: include/generated/at91_pm_data-offsets.h
|
/Linux-v4.19/drivers/memory/ |
D | Makefile.asm-offsets | 1 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__)
|
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/dce120/ |
D | dce120_timing_generator.c | 43 generic_reg_update_soc15(tg110->base.ctx, tg110->offsets.crtc, reg_name, n, __VA_ARGS__) 46 generic_reg_set_soc15(tg110->base.ctx, tg110->offsets.crtc, reg_name, n, __VA_ARGS__) 93 tg110->offsets.crtc); in dce120_timing_generator_is_in_vertical_blank() 176 tg110->offsets.crtc); in dce120_timing_generator_get_vblank_counter() 192 tg110->offsets.crtc); in dce120_timing_generator_get_crtc_position() 203 tg110->offsets.crtc); in dce120_timing_generator_get_crtc_position() 253 tg110->offsets.crtc); in dce120_timing_generator_setup_global_swap_lock() 261 dm_write_reg_soc15(tg->ctx, mmCRTC0_CRTC_GSL_WINDOW, tg110->offsets.crtc, 0); in dce120_timing_generator_setup_global_swap_lock() 315 tg110->offsets.crtc); in dce120_timing_generator_enable_reset_trigger() 377 tg110->offsets.crtc); in dce120_timing_generator_did_triggered_reset_occur() [all …]
|
/Linux-v4.19/fs/ext4/ |
D | indirect.c | 76 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 …]
|
/Linux-v4.19/drivers/mtd/tests/ |
D | stresstest.c | 48 static int *offsets; variable 108 offs = offsets[eb]; in do_write() 113 offs = offsets[eb] = 0; in do_write() 124 offsets[eb + 1] = 0; in do_write() 133 offsets[eb++] = mtd->erasesize; in do_write() 136 offsets[eb] = offs; in do_write() 202 offsets = kmalloc_array(ebcnt, sizeof(int), GFP_KERNEL); in mtd_stresstest_init() 203 if (!readbuf || !writebuf || !offsets) in mtd_stresstest_init() 206 offsets[i] = mtd->erasesize; in mtd_stresstest_init() 232 kfree(offsets); in mtd_stresstest_init()
|
/Linux-v4.19/sound/usb/ |
D | mixer_scarlett.c | 168 int offsets[SND_SCARLETT_OFFSETS_MAX]; member 199 .offsets = {}, 208 .offsets = {}, 217 .offsets = {}, 226 .offsets = {}, 360 static void scarlett_generate_name(int i, char *dst, int offsets[]) in scarlett_generate_name() argument 362 if (i > offsets[SCARLETT_OFFSET_MIX]) in scarlett_generate_name() 364 'A'+(i - offsets[SCARLETT_OFFSET_MIX] - 1)); in scarlett_generate_name() 365 else if (i > offsets[SCARLETT_OFFSET_ADAT]) in scarlett_generate_name() 366 sprintf(dst, "ADAT %d", i - offsets[SCARLETT_OFFSET_ADAT]); in scarlett_generate_name() [all …]
|
/Linux-v4.19/drivers/media/platform/rockchip/rga/ |
D | rga-hw.c | 57 struct rga_corners_addr_offset offsets; in rga_get_addr_offset() local 62 lt = &offsets.left_top; in rga_get_addr_offset() 63 lb = &offsets.left_bottom; in rga_get_addr_offset() 64 rt = &offsets.right_top; in rga_get_addr_offset() 65 rb = &offsets.right_bottom; in rga_get_addr_offset() 90 return offsets; in rga_get_addr_offset() 95 * offsets, u32 rotate_mode, in rga_lookup_draw_pos() 113 if (!offsets) in rga_lookup_draw_pos() 118 return &offsets->left_top; in rga_lookup_draw_pos() 120 return &offsets->left_bottom; in rga_lookup_draw_pos() [all …]
|
/Linux-v4.19/drivers/gpu/drm/i915/selftests/ |
D | i915_gem_coherency.c | 287 u32 *offsets, *values; in igt_gem_coherency() local 296 offsets = kmalloc_array(ncachelines, 2*sizeof(u32), GFP_KERNEL); in igt_gem_coherency() 297 if (!offsets) in igt_gem_coherency() 300 offsets[count] = count * 64 + 4 * (count % 16); in igt_gem_coherency() 302 values = offsets + ncachelines; in igt_gem_coherency() 333 i915_random_reorder(offsets, ncachelines, &prng); in igt_gem_coherency() 338 err = over->set(obj, offsets[n], ~values[n]); in igt_gem_coherency() 347 err = write->set(obj, offsets[n], values[n]); in igt_gem_coherency() 358 err = read->get(obj, offsets[n], &found); in igt_gem_coherency() 370 ~values[n], offsets[n]); in igt_gem_coherency() [all …]
|
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/dce80/ |
D | dce80_timing_generator.c | 83 #define CRTC_REG(reg) (reg + tg110->offsets.crtc) 84 #define DCP_REG(reg) (reg + tg110->offsets.dcp) 85 #define DMIF_REG(reg) (reg + tg110->offsets.dmif) 91 + DCE110TG_FROM_TG(tg)->offsets.dmif; in program_pix_dur() 223 const struct dce110_timing_generator_offsets *offsets) in dce80_timing_generator_construct() argument 227 tg110->offsets = *offsets; in dce80_timing_generator_construct()
|
/Linux-v4.19/fs/ext2/ |
D | inode.c | 164 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-v4.19/fs/ufs/ |
D | inode.c | 46 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-v4.19/drivers/crypto/inside-secure/ |
D | safexcel.c | 948 struct safexcel_register_offsets *offsets = &priv->offsets; in safexcel_init_register_offsets() local 953 offsets->hia_aic = EIP197_HIA_AIC_BASE; in safexcel_init_register_offsets() 954 offsets->hia_aic_g = EIP197_HIA_AIC_G_BASE; in safexcel_init_register_offsets() 955 offsets->hia_aic_r = EIP197_HIA_AIC_R_BASE; in safexcel_init_register_offsets() 956 offsets->hia_aic_xdr = EIP197_HIA_AIC_xDR_BASE; in safexcel_init_register_offsets() 957 offsets->hia_dfe = EIP197_HIA_DFE_BASE; in safexcel_init_register_offsets() 958 offsets->hia_dfe_thr = EIP197_HIA_DFE_THR_BASE; in safexcel_init_register_offsets() 959 offsets->hia_dse = EIP197_HIA_DSE_BASE; in safexcel_init_register_offsets() 960 offsets->hia_dse_thr = EIP197_HIA_DSE_THR_BASE; in safexcel_init_register_offsets() 961 offsets->hia_gen_cfg = EIP197_HIA_GEN_CFG_BASE; in safexcel_init_register_offsets() [all …]
|
D | safexcel.h | 42 #define EIP197_HIA_AIC(priv) ((priv)->base + (priv)->offsets.hia_aic) 43 #define EIP197_HIA_AIC_G(priv) ((priv)->base + (priv)->offsets.hia_aic_g) 44 #define EIP197_HIA_AIC_R(priv) ((priv)->base + (priv)->offsets.hia_aic_r) 45 #define EIP197_HIA_AIC_xDR(priv) ((priv)->base + (priv)->offsets.hia_aic_xdr) 46 #define EIP197_HIA_DFE(priv) ((priv)->base + (priv)->offsets.hia_dfe) 47 #define EIP197_HIA_DFE_THR(priv) ((priv)->base + (priv)->offsets.hia_dfe_thr) 48 #define EIP197_HIA_DSE(priv) ((priv)->base + (priv)->offsets.hia_dse) 49 #define EIP197_HIA_DSE_THR(priv) ((priv)->base + (priv)->offsets.hia_dse_thr) 50 #define EIP197_HIA_GEN_CFG(priv) ((priv)->base + (priv)->offsets.hia_gen_cfg) 51 #define EIP197_PE(priv) ((priv)->base + (priv)->offsets.pe) [all …]
|
/Linux-v4.19/scripts/ |
D | recordmcount.pl | 444 my @offsets; # Array of offsets of mcount callers 456 return unless ($ref_func and @offsets); 483 foreach my $cur_offset (@offsets) { 528 undef(@offsets); 555 push(@offsets, (hex $1) + $mcount_adjust);
|
/Linux-v4.19/drivers/bus/ |
D | ti-sysc.c | 77 int offsets[SYSC_MAX_REGS]; member 120 int offset = ddata->offsets[SYSC_REVISION]; in sysc_read_revision() 430 ddata->offsets[reg] = -ENODEV; in sysc_parse_one() 435 ddata->offsets[reg] = res->start - ddata->module_pa; in sysc_parse_one() 464 if (ddata->offsets[i] < 0) in sysc_check_registers() 467 if (ddata->offsets[i] > (ddata->module_size - 4)) { in sysc_check_registers() 474 if (ddata->offsets[j] < 0) in sysc_check_registers() 477 if (ddata->offsets[i] == ddata->offsets[j]) in sysc_check_registers() 514 size = max3(ddata->offsets[SYSC_REVISION], in sysc_ioremap() 515 ddata->offsets[SYSC_SYSCONFIG], in sysc_ioremap() [all …]
|
/Linux-v4.19/arch/um/ |
D | Makefile | 151 $(HOST_DIR)/um/user-offsets.s: __headers FORCE 154 define filechk_gen-asm-offsets 167 include/generated/user_constants.h: $(HOST_DIR)/um/user-offsets.s 168 $(call filechk,gen-asm-offsets)
|
/Linux-v4.19/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_binding.c | 142 const size_t *offsets; member 187 .offsets = vmw_binding_shader_offsets, 191 .offsets = vmw_binding_rt_offsets, 195 .offsets = vmw_binding_tex_offsets, 199 .offsets = vmw_binding_cb_offsets, 203 .offsets = vmw_binding_shader_offsets, 207 .offsets = vmw_binding_rt_offsets, 211 .offsets = vmw_binding_sr_offsets, 215 .offsets = vmw_binding_dx_ds_offsets, 219 .offsets = vmw_binding_so_offsets, [all …]
|
/Linux-v4.19/drivers/gpu/drm/radeon/ |
D | mkregtable.c | 112 struct list_head offsets; member 133 list_add_tail(&offset->list, &t->offsets); in table_offset_add() 138 INIT_LIST_HEAD(&t->offsets); in table_init() 179 list_for_each_entry(offset, &t->offsets, list) { in table_build()
|