/Linux-v5.4/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-v5.4/ |
D | Kbuild | 14 $(call filechk,offsets,__LINUX_BOUNDS_H__) 27 # Generate asm-offsets.h 29 offsets-file := include/generated/asm-offsets.h 31 always += $(offsets-file) 32 targets += arch/$(SRCARCH)/kernel/asm-offsets.s 34 arch/$(SRCARCH)/kernel/asm-offsets.s: $(timeconst-file) $(bounds-file) 36 $(offsets-file): arch/$(SRCARCH)/kernel/asm-offsets.s FORCE 37 $(call filechk,offsets,__ASM_OFFSETS_H__) 47 missing-syscalls: scripts/checksyscalls.sh $(offsets-file) FORCE
|
/Linux-v5.4/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-v5.4/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-v5.4/arch/arm/mach-at91/ |
D | Makefile | 22 $(obj)/pm_data-offsets.h: $(obj)/pm_data-offsets.s FORCE 23 $(call filechk,offsets,__PM_DATA_OFFSETS_H__) 25 $(obj)/pm_suspend.o: $(obj)/pm_data-offsets.h 27 targets += pm_data-offsets.s 28 clean-files += pm_data-offsets.h
|
/Linux-v5.4/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-v5.4/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-v5.4/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-v5.4/drivers/mtd/tests/ |
D | stresstest.c | 36 static int *offsets; variable 96 offs = offsets[eb]; in do_write() 101 offs = offsets[eb] = 0; in do_write() 112 offsets[eb + 1] = 0; in do_write() 121 offsets[eb++] = mtd->erasesize; in do_write() 124 offsets[eb] = offs; in do_write() 190 offsets = kmalloc_array(ebcnt, sizeof(int), GFP_KERNEL); in mtd_stresstest_init() 191 if (!readbuf || !writebuf || !offsets) in mtd_stresstest_init() 194 offsets[i] = mtd->erasesize; in mtd_stresstest_init() 220 kfree(offsets); in mtd_stresstest_init()
|
/Linux-v5.4/sound/usb/ |
D | mixer_scarlett.c | 158 int offsets[SND_SCARLETT_OFFSETS_MAX]; member 189 .offsets = {}, 198 .offsets = {}, 207 .offsets = {}, 216 .offsets = {}, 350 static void scarlett_generate_name(int i, char *dst, int offsets[]) in scarlett_generate_name() argument 352 if (i > offsets[SCARLETT_OFFSET_MIX]) in scarlett_generate_name() 354 'A'+(i - offsets[SCARLETT_OFFSET_MIX] - 1)); in scarlett_generate_name() 355 else if (i > offsets[SCARLETT_OFFSET_ADAT]) in scarlett_generate_name() 356 sprintf(dst, "ADAT %d", i - offsets[SCARLETT_OFFSET_ADAT]); in scarlett_generate_name() [all …]
|
/Linux-v5.4/drivers/memory/ |
D | Makefile | 32 $(obj)/ti-emif-sram-pm.o: $(obj)/ti-emif-asm-offsets.h 34 $(obj)/ti-emif-asm-offsets.h: $(obj)/emif-asm-offsets.s FORCE 35 $(call filechk,offsets,__TI_EMIF_ASM_OFFSETS_H__) 37 targets += emif-asm-offsets.s 38 clean-files += ti-emif-asm-offsets.h
|
/Linux-v5.4/drivers/media/platform/rockchip/rga/ |
D | rga-hw.c | 49 struct rga_corners_addr_offset offsets; in rga_get_addr_offset() local 54 lt = &offsets.left_top; in rga_get_addr_offset() 55 lb = &offsets.left_bottom; in rga_get_addr_offset() 56 rt = &offsets.right_top; in rga_get_addr_offset() 57 rb = &offsets.right_bottom; in rga_get_addr_offset() 82 return offsets; in rga_get_addr_offset() 87 * offsets, u32 rotate_mode, in rga_lookup_draw_pos() 105 if (!offsets) in rga_lookup_draw_pos() 110 return &offsets->left_top; in rga_lookup_draw_pos() 112 return &offsets->left_bottom; in rga_lookup_draw_pos() [all …]
|
/Linux-v5.4/tools/testing/selftests/bpf/progs/ |
D | pyperf.h | 30 OffsetConfig offsets; member 87 frame_ptr + pidData->offsets.PyFrameObject_back); in get_frame_data() 90 frame_ptr + pidData->offsets.PyFrameObject_code); in get_frame_data() 97 frame->f_code + pidData->offsets.PyCodeObject_filename); in get_frame_data() 100 frame->f_code + pidData->offsets.PyCodeObject_name); in get_frame_data() 105 frame->co_filename + pidData->offsets.String_data); in get_frame_data() 109 frame->co_name + pidData->offsets.String_data); in get_frame_data() 195 thread_state + pidData->offsets.PyThreadState_thread); in __on_event() 209 thread_state + pidData->offsets.PyThreadState_frame); in __on_event()
|
/Linux-v5.4/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() 228 const struct dce110_timing_generator_offsets *offsets) in dce80_timing_generator_construct() argument 232 tg110->offsets = *offsets; in dce80_timing_generator_construct()
|
/Linux-v5.4/drivers/gpu/drm/i915/gem/selftests/ |
D | i915_gem_coherency.c | 285 u32 *offsets, *values; in igt_gem_coherency() local 294 offsets = kmalloc_array(ncachelines, 2*sizeof(u32), GFP_KERNEL); in igt_gem_coherency() 295 if (!offsets) in igt_gem_coherency() 298 offsets[count] = count * 64 + 4 * (count % 16); in igt_gem_coherency() 300 values = offsets + ncachelines; in igt_gem_coherency() 332 i915_random_reorder(offsets, ncachelines, &prng); in igt_gem_coherency() 337 err = over->set(obj, offsets[n], ~values[n]); in igt_gem_coherency() 346 err = write->set(obj, offsets[n], values[n]); in igt_gem_coherency() 357 err = read->get(obj, offsets[n], &found); in igt_gem_coherency() 369 ~values[n], offsets[n]); in igt_gem_coherency() [all …]
|
/Linux-v5.4/drivers/bus/ |
D | ti-sysc.c | 84 int offsets[SYSC_MAX_REGS]; member 116 if (ddata->offsets[SYSC_REVISION] >= 0 && in sysc_write() 117 offset == ddata->offsets[SYSC_REVISION]) { in sysc_write() 137 if (ddata->offsets[SYSC_REVISION] >= 0 && in sysc_read() 138 offset == ddata->offsets[SYSC_REVISION]) { in sysc_read() 157 int offset = ddata->offsets[SYSC_REVISION]; in sysc_read_revision() 167 int offset = ddata->offsets[SYSC_SYSCONFIG]; in sysc_read_sysconfig() 177 int offset = ddata->offsets[SYSC_SYSSTATUS]; in sysc_read_sysstatus() 673 ddata->offsets[reg] = -ENODEV; in sysc_parse_one() 678 ddata->offsets[reg] = res->start - ddata->module_pa; in sysc_parse_one() [all …]
|
/Linux-v5.4/arch/x86/um/ |
D | Makefile | 37 $(obj)/user-offsets.s: c_flags = -Wp,-MD,$(depfile) $(USER_CFLAGS) \ 39 targets += user-offsets.s 41 include/generated/user_constants.h: $(obj)/user-offsets.s 42 $(call filechk,offsets,__USER_CONSTANT_H__)
|
/Linux-v5.4/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-v5.4/drivers/gpu/drm/ |
D | drm_client_modeset.c | 232 struct drm_client_offset *offsets, in drm_client_target_cloned() argument 311 struct drm_client_offset *offsets, in drm_client_get_tile_offsets() argument 335 offsets[idx].x = hoffset; in drm_client_get_tile_offsets() 336 offsets[idx].y = voffset; in drm_client_get_tile_offsets() 344 struct drm_client_offset *offsets, in drm_client_target_preferred() argument 384 drm_client_get_tile_offsets(connectors, connector_count, modes, offsets, i, in drm_client_target_preferred() 508 struct drm_client_offset *offsets, in drm_client_firmware_config() argument 696 struct drm_client_offset *offsets; in drm_client_modeset_probe() local 731 offsets = kcalloc(connector_count, sizeof(*offsets), GFP_KERNEL); in drm_client_modeset_probe() 733 if (!crtcs || !modes || !enabled || !offsets) { in drm_client_modeset_probe() [all …]
|
/Linux-v5.4/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-v5.4/scripts/ |
D | recordmcount.pl | 452 my @offsets; # Array of offsets of mcount callers 464 return unless ($ref_func and @offsets); 491 foreach my $cur_offset (@offsets) { 544 undef(@offsets); 571 push(@offsets, (hex $1) + $mcount_adjust);
|
/Linux-v5.4/drivers/crypto/inside-secure/ |
D | safexcel.h | 72 #define EIP197_HIA_AIC(priv) ((priv)->base + (priv)->offsets.hia_aic) 73 #define EIP197_HIA_AIC_G(priv) ((priv)->base + (priv)->offsets.hia_aic_g) 74 #define EIP197_HIA_AIC_R(priv) ((priv)->base + (priv)->offsets.hia_aic_r) 75 #define EIP197_HIA_AIC_xDR(priv) ((priv)->base + (priv)->offsets.hia_aic_xdr) 76 #define EIP197_HIA_DFE(priv) ((priv)->base + (priv)->offsets.hia_dfe) 77 #define EIP197_HIA_DFE_THR(priv) ((priv)->base + (priv)->offsets.hia_dfe_thr) 78 #define EIP197_HIA_DSE(priv) ((priv)->base + (priv)->offsets.hia_dse) 79 #define EIP197_HIA_DSE_THR(priv) ((priv)->base + (priv)->offsets.hia_dse_thr) 80 #define EIP197_HIA_GEN_CFG(priv) ((priv)->base + (priv)->offsets.hia_gen_cfg) 81 #define EIP197_PE(priv) ((priv)->base + (priv)->offsets.pe) [all …]
|
/Linux-v5.4/drivers/gpu/drm/selftests/ |
D | test-drm_framebuffer.c | 75 .handles = { 1, 0, 0 }, .offsets = { UINT_MAX - 1, 0, 0 }, .pitches = { 4 * MAX_WIDTH, 0, 0 }, 80 .handles = { 1, 0, 0 }, .offsets = { UINT_MAX / 2, 0, 0 }, .pitches = { 4 * MAX_WIDTH, 0, 0 }, 85 .handles = { 1, 0, 0 }, .offsets = { UINT_MAX / 2, 0, 0 }, 91 .handles = { 1, 0, 0 }, .offsets = { UINT_MAX / 2, 0, 0 }, .pitches = { 4 * MAX_WIDTH, 0, 0 }, 97 .handles = { 1, 0, 0 }, .offsets = { UINT_MAX / 2, 0, 0 }, 104 .handles = { 1, 0, 0 }, .offsets = { UINT_MAX / 2, 0, 0 }, 205 .handles = { 1, 1, 1 }, .offsets = { MAX_WIDTH, MAX_WIDTH + MAX_WIDTH * MAX_HEIGHT, 280 .handles = { 1, 0, 0 }, .offsets = { 0, 0, 3 },
|