Home
last modified time | relevance | path

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

1234567891011

/linux/fs/minix/
H A 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 …]
H A 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()
H A 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/scripts/mod/
H A DMakefile9 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/crypto/async_tx/
H A Dasync_pq.c107 do_sync_gen_syndrome(struct page **blocks, unsigned int *offsets, int disks, in do_sync_gen_syndrome() argument
124 srcs[i] = page_address(blocks[i]) + offsets[i]; in do_sync_gen_syndrome()
177 async_gen_syndrome(struct page **blocks, unsigned int *offsets, int disks, in async_gen_syndrome() argument
196 is_dma_pq_aligned_offs(device, offsets, disks, len)) { in async_gen_syndrome()
214 offsets[i], len, DMA_TO_DEVICE); in async_gen_syndrome()
227 P(offsets, disks), in async_gen_syndrome()
237 Q(offsets, disks), in async_gen_syndrome()
259 P(offsets, disks) = 0; in async_gen_syndrome()
263 Q(offsets, disks) = 0; in async_gen_syndrome()
265 do_sync_gen_syndrome(blocks, offsets, disks, len, submit); in async_gen_syndrome()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dce120/
H A Ddce120_timing_generator.c43 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/fs/ext4/
H A 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 …]
/linux/drivers/hid/bpf/progs/
H A DWacom__ArtPen.bpf.c56 } offsets; member
69 .offsets = {
115 params.offsets.tip_switch >= PEN_REPORT_LEN || in SEC()
116 params.offsets.pressure >= PEN_REPORT_LEN - 1 || in SEC()
117 params.offsets.tool_type >= PEN_REPORT_LEN - 1) in SEC()
120 tool_type = get_u16(data, params.offsets.tool_type); in SEC()
124 tip_switch = get_u8(data, params.offsets.tip_switch); in SEC()
131 pressure = get_u16(data, params.offsets.pressure); in SEC()
/linux/arch/arm/mach-at91/
H A DMakefile22 $(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/sound/usb/
H A Dmixer_scarlett.c159 int offsets[SND_SCARLETT_OFFSETS_MAX]; member
190 .offsets = {},
199 .offsets = {},
208 .offsets = {},
217 .offsets = {},
226 .offsets = {},
360 static void scarlett_generate_name(int i, char *dst, size_t size, 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()
[all …]
/linux/arch/x86/hyperv/
H A DMakefile6 $(obj)/mshv_vtl_asm.o: $(obj)/mshv-asm-offsets.h
8 $(obj)/mshv-asm-offsets.h: $(obj)/mshv-asm-offsets.s FORCE
9 $(call filechk,offsets,__MSHV_ASM_OFFSETS_H__)
21 targets += mshv-asm-offsets.s
22 clean-files += mshv-asm-offsets.h
/linux/drivers/mtd/tests/
H A Dstresstest.c36 static int *offsets; variable
87 offs = offsets[eb]; in do_write()
92 offs = offsets[eb] = 0; in do_write()
103 offsets[eb + 1] = 0; in do_write()
112 offsets[eb++] = mtd->erasesize; in do_write()
115 offsets[eb] = offs; in do_write()
181 offsets = kmalloc_array(ebcnt, sizeof(int), GFP_KERNEL); in mtd_stresstest_init()
182 if (!readbuf || !writebuf || !offsets) in mtd_stresstest_init()
185 offsets[i] = mtd->erasesize; in mtd_stresstest_init()
211 kfree(offsets); in mtd_stresstest_init()
/linux/drivers/media/platform/microchip/
H A Dmicrochip-sama5d2-isc.c222 regmap_write(regmap, ISC_CSC_YR_YG + isc->offsets.csc, in isc_sama5d2_config_csc()
224 regmap_write(regmap, ISC_CSC_YB_OY + isc->offsets.csc, in isc_sama5d2_config_csc()
226 regmap_write(regmap, ISC_CSC_CBR_CBG + isc->offsets.csc, in isc_sama5d2_config_csc()
228 regmap_write(regmap, ISC_CSC_CBB_OCB + isc->offsets.csc, in isc_sama5d2_config_csc()
230 regmap_write(regmap, ISC_CSC_CRR_CRG + isc->offsets.csc, in isc_sama5d2_config_csc()
232 regmap_write(regmap, ISC_CSC_CRB_OCR + isc->offsets.csc, in isc_sama5d2_config_csc()
240 regmap_write(regmap, ISC_CBC_BRIGHT + isc->offsets.cbc, in isc_sama5d2_config_cbc()
242 regmap_write(regmap, ISC_CBC_CONTRAST + isc->offsets.cbc, in isc_sama5d2_config_cbc()
302 regmap_update_bits(regmap, ISC_RLP_CFG + isc->offsets.rlp, in isc_sama5d2_config_rlp()
459 isc->offsets.csc = ISC_SAMA5D2_CSC_OFFSET; in microchip_isc_probe()
[all …]
H A Dmicrochip-sama7g5-isc.c235 regmap_write(regmap, ISC_CSC_YR_YG + isc->offsets.csc, in isc_sama7g5_config_csc()
237 regmap_write(regmap, ISC_CSC_YB_OY + isc->offsets.csc, in isc_sama7g5_config_csc()
239 regmap_write(regmap, ISC_CSC_CBR_CBG + isc->offsets.csc, in isc_sama7g5_config_csc()
241 regmap_write(regmap, ISC_CSC_CBB_OCB + isc->offsets.csc, in isc_sama7g5_config_csc()
243 regmap_write(regmap, ISC_CSC_CRR_CRG + isc->offsets.csc, in isc_sama7g5_config_csc()
245 regmap_write(regmap, ISC_CSC_CRB_OCR + isc->offsets.csc, in isc_sama7g5_config_csc()
254 regmap_write(regmap, ISC_CBC_BRIGHT + isc->offsets.cbc, isc->ctrls.brightness); in isc_sama7g5_config_cbc()
255 regmap_write(regmap, ISC_CBC_CONTRAST + isc->offsets.cbc, isc->ctrls.contrast); in isc_sama7g5_config_cbc()
309 regmap_update_bits(regmap, ISC_RLP_CFG + isc->offsets.rlp, in isc_sama7g5_config_rlp()
448 isc->offsets.csc = ISC_SAMA7G5_CSC_OFFSET; in microchip_xisc_probe()
[all …]
/linux/include/linux/
H A Dtime_namespace.h27 struct timens_offsets offsets; member
72 struct proc_timens_offset *offsets, int n);
76 struct timens_offsets *ns_offsets = &current->nsproxy->time_ns->offsets; in timens_add_monotonic()
83 struct timens_offsets *ns_offsets = &current->nsproxy->time_ns->offsets; in timens_add_boottime()
90 struct timens_offsets *ns_offsets = &current->nsproxy->time_ns->offsets; in timens_add_boottime_ns()
97 struct timens_offsets *ns_offsets = &current->nsproxy->time_ns->offsets; in timens_sub_boottime()
103 struct timens_offsets *offsets);
112 return do_timens_ktime_to_host(clockid, tim, &ns->offsets); in timens_ktime_to_host()
/linux/arch/x86/kvm/
H A DMakefile40 $(obj)/svm/vmenter.o: $(obj)/kvm-asm-offsets.h
43 $(obj)/vmx/vmenter.o: $(obj)/kvm-asm-offsets.h
45 $(obj)/kvm-asm-offsets.h: $(obj)/kvm-asm-offsets.s FORCE
46 $(call filechk,offsets,__KVM_ASM_OFFSETS_H__)
48 targets += kvm-asm-offsets.s
49 clean-files += kvm-asm-offsets.h
/linux/drivers/staging/media/atomisp/pci/isp/kernels/ipu2_io_ls/yuv444_io_ls/
H A Dia_css_yuv444_io.host.c32 if (binary->info->mem_offsets.offsets.param) { in ia_css_yuv444_io_config()
33 size_get = binary->info->mem_offsets.offsets.param->dmem.get.size; in ia_css_yuv444_io_config()
34 offset = binary->info->mem_offsets.offsets.param->dmem.get.offset; in ia_css_yuv444_io_config()
61 if (binary->info->mem_offsets.offsets.param) { in ia_css_yuv444_io_config()
62 size_put = binary->info->mem_offsets.offsets.param->dmem.put.size; in ia_css_yuv444_io_config()
63 offset = binary->info->mem_offsets.offsets.param->dmem.put.offset; in ia_css_yuv444_io_config()
/linux/drivers/staging/media/atomisp/pci/isp/kernels/ipu2_io_ls/bayer_io_ls/
H A Dia_css_bayer_io.host.c31 if (binary->info->mem_offsets.offsets.param) { in ia_css_bayer_io_config()
32 size_get = binary->info->mem_offsets.offsets.param->dmem.get.size; in ia_css_bayer_io_config()
33 offset = binary->info->mem_offsets.offsets.param->dmem.get.offset; in ia_css_bayer_io_config()
59 if (binary->info->mem_offsets.offsets.param) { in ia_css_bayer_io_config()
60 size_put = binary->info->mem_offsets.offsets.param->dmem.put.size; in ia_css_bayer_io_config()
61 offset = binary->info->mem_offsets.offsets.param->dmem.put.offset; in ia_css_bayer_io_config()
/linux/drivers/memory/
H A DMakefile36 $(obj)/ti-emif-sram-pm.o: $(obj)/ti-emif-asm-offsets.h
38 $(obj)/ti-emif-asm-offsets.h: $(obj)/emif-asm-offsets.s FORCE
39 $(call filechk,offsets,__TI_EMIF_ASM_OFFSETS_H__)
41 targets += emif-asm-offsets.s
42 clean-files += ti-emif-asm-offsets.h
/linux/kernel/time/
H A Dnamespace.c106 ns->offsets = old_ns->offsets; in clone_time_ns()
182 struct timens_offset monotonic = offset_from_ts(ns->offsets.monotonic); in timens_setup_vdso_clock_data()
183 struct timens_offset boottime = offset_from_ts(ns->offsets.boottime); in timens_setup_vdso_clock_data()
378 show_offset(m, CLOCK_MONOTONIC, &time_ns->offsets.monotonic); in proc_timens_show_offsets()
379 show_offset(m, CLOCK_BOOTTIME, &time_ns->offsets.boottime); in proc_timens_show_offsets()
384 struct proc_timens_offset *offsets, int noffsets) in proc_timens_set_offset() argument
402 struct proc_timens_offset *off = &offsets[i]; in proc_timens_set_offset()
440 struct proc_timens_offset *off = &offsets[i]; in proc_timens_set_offset()
445 offset = &time_ns->offsets.monotonic; in proc_timens_set_offset()
448 offset = &time_ns->offsets.boottime; in proc_timens_set_offset()
/linux/drivers/memory/tegra/
H A Dtegra210-emc-cc-r21021.c749 const u16 *offsets = emc->offsets->burst; in tegra210_emc_r21021_set_clock() local
752 if (!offsets[i]) in tegra210_emc_r21021_set_clock()
756 offset = offsets[i]; in tegra210_emc_r21021_set_clock()
829 emc->offsets->burst_per_channel; in tegra210_emc_r21021_set_clock()
863 emc->offsets->vref_per_channel; in tegra210_emc_r21021_set_clock()
881 const u16 *offsets = emc->offsets->trim; in tegra210_emc_r21021_set_clock() local
883 if (!offsets[i]) in tegra210_emc_r21021_set_clock()
887 (offsets[i] == EMC_PMACRO_OB_DDLL_LONG_DQ_RANK0_0 || in tegra210_emc_r21021_set_clock()
888 offsets[i] == EMC_PMACRO_OB_DDLL_LONG_DQ_RANK0_1 || in tegra210_emc_r21021_set_clock()
889 offsets[i] == EMC_PMACRO_OB_DDLL_LONG_DQ_RANK0_2 || in tegra210_emc_r21021_set_clock()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dce60/
H A Ddce60_timing_generator.c83 #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()
249 const struct dce110_timing_generator_offsets *offsets) in dce60_timing_generator_construct() argument
253 tg110->offsets = *offsets; in dce60_timing_generator_construct()
/linux/drivers/clk/starfive/
H A Dclk-starfive-jh7110-pll.c98 } offsets; member
116 .offsets = { \
284 regmap_read(regmap, info->offsets.pd, &val); in jh7110_pll_regvals_get()
288 regmap_read(regmap, info->offsets.fbdiv, &val); in jh7110_pll_regvals_get()
291 regmap_read(regmap, info->offsets.frac, &val); in jh7110_pll_regvals_get()
295 regmap_read(regmap, info->offsets.prediv, &val); in jh7110_pll_regvals_get()
376 regmap_update_bits(priv->regmap, info->offsets.frac, JH7110_PLL_FRAC_MASK, in jh7110_pll_set_rate()
379 regmap_update_bits(priv->regmap, info->offsets.pd, info->masks.dacpd, in jh7110_pll_set_rate()
381 regmap_update_bits(priv->regmap, info->offsets.pd, info->masks.dsmpd, in jh7110_pll_set_rate()
383 regmap_update_bits(priv->regmap, info->offsets.prediv, JH7110_PLL_PREDIV_MASK, in jh7110_pll_set_rate()
[all …]
/linux/tools/testing/selftests/bpf/progs/
H A Dpyperf.h32 OffsetConfig offsets; member
94 frame_ptr + pidData->offsets.PyFrameObject_back); in get_frame_data()
97 frame_ptr + pidData->offsets.PyFrameObject_code); in get_frame_data()
104 frame->f_code + pidData->offsets.PyCodeObject_filename); in get_frame_data()
107 frame->f_code + pidData->offsets.PyCodeObject_name); in get_frame_data()
113 pidData->offsets.String_data); in get_frame_data()
118 pidData->offsets.String_data); in get_frame_data()
264 pidData->offsets.PyThreadState_thread);
279 pidData->offsets.PyThreadState_frame);
/linux/fs/ntfs3/lib/
H A Ddecompress_common.c115 u16 * const offsets = &working_space[1 * (max_codeword_len + 1)]; in make_huffman_decode_table() local
181 offsets[1] = 0; in make_huffman_decode_table()
183 offsets[len + 1] = offsets[len] + len_counts[len]; in make_huffman_decode_table()
191 sorted_syms[offsets[lens[sym]]++] = sym; in make_huffman_decode_table()

1234567891011