offs               53 arch/arc/kernel/unwind.c 	unsigned offs:BITS_PER_LONG / 2;
offs              145 arch/arc/kernel/unwind.c 		uleb128_t reg, offs;
offs              832 arch/arc/kernel/unwind.c 				state->cfa.offs = get_uleb128(&ptr.p8, end);
offs              834 arch/arc/kernel/unwind.c 					  state->cfa.offs);
offs              840 arch/arc/kernel/unwind.c 				state->cfa.offs = get_sleb128(&ptr.p8, end)
offs              901 arch/arc/kernel/unwind.c #define FRAME_REG(r, t) (((t *)frame)[reg_info[r].offs])
offs             1150 arch/arc/kernel/unwind.c 	    || state.cfa.offs % sizeof(unsigned long))
offs             1186 arch/arc/kernel/unwind.c 	cfa = FRAME_REG(state.cfa.reg, unsigned long) + state.cfa.offs;
offs             1195 arch/arc/kernel/unwind.c 		  state.cfa.reg, state.cfa.offs, cfa);
offs              211 arch/arm/mach-cns3xxx/cns3xxx.h #define MISC_MEM_MAP(offs) (void __iomem *)(CNS3XXX_MISC_BASE_VIRT + (offs))
offs              264 arch/arm/mach-cns3xxx/cns3xxx.h #define PMU_MEM_MAP(offs) (void __iomem *)(CNS3XXX_PM_BASE_VIRT + (offs))
offs              277 arch/arm/mach-davinci/board-da830-evm.c 	.offs		= 2,
offs              288 arch/arm/mach-davinci/board-da830-evm.c 	.offs		= 2,
offs               91 arch/arm/mach-imx/avic.c 		u8 offs = d->hwirq < AVIC_NUM_IRQS / 2 ?
offs               99 arch/arm/mach-imx/avic.c 		imx_writel(~gc->wake_active, mx25_ccm_base + offs);
offs              112 arch/arm/mach-imx/avic.c 		u8 offs = d->hwirq < AVIC_NUM_IRQS / 2 ?
offs              115 arch/arm/mach-imx/avic.c 		imx_writel(0xffffffff, mx25_ccm_base + offs);
offs              208 arch/arm/mach-omap2/cm2xxx.c 	unsigned long offs;
offs              223 arch/arm/mach-omap2/cm2xxx.c 	offs = idlest_reg->offset;
offs              224 arch/arm/mach-omap2/cm2xxx.c 	offs &= 0xff00;
offs              225 arch/arm/mach-omap2/cm2xxx.c 	*prcm_inst = offs;
offs              122 arch/arm/mach-omap2/cm3xxx.c 	unsigned long offs;
offs              137 arch/arm/mach-omap2/cm3xxx.c 	offs = idlest_reg->offset;
offs              138 arch/arm/mach-omap2/cm3xxx.c 	offs &= 0xff00;
offs              139 arch/arm/mach-omap2/cm3xxx.c 	*prcm_inst = offs;
offs              622 arch/arm/mach-pxa/corgi.c 	.offs = 4,
offs              296 arch/arm/mach-pxa/eseries.c 	.offs = 4,
offs              345 arch/arm/mach-pxa/poodle.c 	.offs = 4,
offs              752 arch/arm/mach-pxa/spitz.c 	.offs		= 4,
offs              687 arch/arm/mach-pxa/tosa.c 	.offs		= 4,
offs              281 arch/arm/mach-s3c64xx/common.c 	int offs = eint_offset(data->irq);
offs              288 arch/arm/mach-s3c64xx/common.c 	if (offs > 27)
offs              291 arch/arm/mach-s3c64xx/common.c 	if (offs <= 15)
offs              326 arch/arm/mach-s3c64xx/common.c 	if (offs <= 15)
offs              327 arch/arm/mach-s3c64xx/common.c 		shift = (offs / 2) * 4;
offs              329 arch/arm/mach-s3c64xx/common.c 		shift = ((offs - 16) / 2) * 4;
offs              339 arch/arm/mach-s3c64xx/common.c 	if (offs < 16) {
offs              340 arch/arm/mach-s3c64xx/common.c 		pin = S3C64XX_GPN(offs);
offs              342 arch/arm/mach-s3c64xx/common.c 	} else if (offs < 23) {
offs              343 arch/arm/mach-s3c64xx/common.c 		pin = S3C64XX_GPL(offs + 8 - 16);
offs              346 arch/arm/mach-s3c64xx/common.c 		pin = S3C64XX_GPM(offs - 23);
offs               52 arch/arm/plat-samsung/include/plat/gpio-cfg.h 	samsung_gpio_pull_t	(*get_pull)(struct samsung_gpio_chip *chip, unsigned offs);
offs               53 arch/arm/plat-samsung/include/plat/gpio-cfg.h 	int		(*set_pull)(struct samsung_gpio_chip *chip, unsigned offs,
offs               56 arch/arm/plat-samsung/include/plat/gpio-cfg.h 	unsigned (*get_config)(struct samsung_gpio_chip *chip, unsigned offs);
offs               57 arch/arm/plat-samsung/include/plat/gpio-cfg.h 	int	 (*set_config)(struct samsung_gpio_chip *chip, unsigned offs,
offs               15 arch/mips/include/asm/mach-pnx833x/pnx833x.h #define PNX833X_REG(offs)	(*((volatile unsigned long *)(PNX833X_BASE + offs)))
offs               65 arch/mips/include/asm/mach-pnx833x/pnx833x.h #define PNX833X_PIC_REG(offs)		PNX833X_REG(0x01000 + (offs))
offs               63 arch/nios2/kernel/time.c static u16 timer_readw(struct nios2_timer *timer, u32 offs)
offs               65 arch/nios2/kernel/time.c 	return readw(timer->base + offs);
offs               68 arch/nios2/kernel/time.c static void timer_writew(struct nios2_timer *timer, u16 val, u32 offs)
offs               70 arch/nios2/kernel/time.c 	writew(val, timer->base + offs);
offs              408 arch/powerpc/kernel/rtas-proc.c 		int llen, offs;
offs              414 arch/powerpc/kernel/rtas-proc.c 		for (j = 0, offs = 0; j <= p->quant; j++) {
offs              421 arch/powerpc/kernel/rtas-proc.c 				offs += strlen(loc) + 1;
offs              423 arch/powerpc/kernel/rtas-proc.c 				if (offs >= llen)
offs              169 arch/s390/mm/maccess.c 	int offs = 0, size, rc;
offs              176 arch/s390/mm/maccess.c 	while (offs < count) {
offs              177 arch/s390/mm/maccess.c 		size = min(PAGE_SIZE, count - offs);
offs              178 arch/s390/mm/maccess.c 		if (memcpy_real(buf, src + offs, size))
offs              180 arch/s390/mm/maccess.c 		if (copy_to_user(dest + offs, buf, size))
offs              182 arch/s390/mm/maccess.c 		offs += size;
offs               31 arch/sh/kernel/cpu/sh4a/smp-shx3.c 	unsigned int offs = 4 * cpu;
offs               34 arch/sh/kernel/cpu/sh4a/smp-shx3.c 	x = __raw_readl(0xfe410070 + offs); /* C0INITICI..CnINTICI */
offs               36 arch/sh/kernel/cpu/sh4a/smp-shx3.c 	__raw_writel(x, 0xfe410080 + offs); /* C0INTICICLR..CnINTICICLR */
offs               38 arch/sparc/kernel/apc.c #define apc_readb(offs)		(sbus_readb(regs+offs))
offs               39 arch/sparc/kernel/apc.c #define apc_writeb(val, offs) 	(sbus_writeb(val, regs+offs))
offs               37 arch/sparc/kernel/pmc.c #define pmc_readb(offs)		(sbus_readb(regs+offs))
offs               38 arch/sparc/kernel/pmc.c #define pmc_writeb(val, offs)	(sbus_writeb(val, regs+offs))
offs               35 arch/x86/include/asm/uprobes.h 			s32	offs;
offs               60 arch/x86/kernel/dumpstack_64.c 	u32	offs;
offs               68 arch/x86/kernel/dumpstack_64.c 		.offs	= CEA_ESTACK_OFFS(st),				\
offs              117 arch/x86/kernel/dumpstack_64.c 	begin += (unsigned long)ep->offs;
offs               38 arch/x86/kernel/kprobes/opt.c 	long offs;
offs               67 arch/x86/kernel/kprobes/opt.c 		offs = addr - (unsigned long)kp->addr - 1;
offs               68 arch/x86/kernel/kprobes/opt.c 		memcpy(buf, op->optinsn.copied_insn + offs, RELATIVE_ADDR_SIZE - offs);
offs              640 arch/x86/kernel/uprobes.c 	unsigned long offs = (long)auprobe->branch.offs;
offs              655 arch/x86/kernel/uprobes.c 		offs = 0;
offs              658 arch/x86/kernel/uprobes.c 	regs->ip = new_ip + offs;
offs              756 arch/x86/kernel/uprobes.c 	auprobe->branch.offs = insn->immediate.value;
offs              393 arch/xtensa/include/asm/pgtable.h #define __swp_entry(type,offs)	\
offs              394 arch/xtensa/include/asm/pgtable.h 	((swp_entry_t){((type) << 6) | ((offs) << 11) | \
offs             1408 block/bio.c    		size_t offs, added = 0;
offs             1411 block/bio.c    		bytes = iov_iter_get_pages_alloc(iter, &pages, LONG_MAX, &offs);
offs             1417 block/bio.c    		npages = DIV_ROUND_UP(offs + bytes, PAGE_SIZE);
offs             1419 block/bio.c    		if (unlikely(offs & queue_dma_alignment(q))) {
offs             1425 block/bio.c    				unsigned int n = PAGE_SIZE - offs;
offs             1431 block/bio.c    				if (!__bio_add_pc_page(q, bio, page, n, offs,
offs             1440 block/bio.c    				offs = 0;
offs              164 block/partitions/msdos.c 			sector_t offs, size, next;
offs              171 block/partitions/msdos.c 			offs = start_sect(p)*sector_size;
offs              173 block/partitions/msdos.c 			next = this_sector + offs;
offs              175 block/partitions/msdos.c 				if (offs + size > this_size)
offs               95 drivers/acpi/cppc_acpi.c #define GET_PCC_VADDR(offs, pcc_ss_id) (pcc_data[pcc_ss_id]->pcc_comm_addr + \
offs               96 drivers/acpi/cppc_acpi.c 						0x8 + (offs))
offs              101 drivers/block/paride/paride.h #define out_p(offs,byte)	outb(byte,pi->port+offs); delay_p;
offs              102 drivers/block/paride/paride.h #define in_p(offs)		(delay_p,inb(pi->port+offs))
offs              603 drivers/block/paride/pf.c static void xs(char *buf, char *targ, int offs, int len)
offs              610 drivers/block/paride/pf.c 		if ((buf[k + offs] != 0x20) || (buf[k + offs] != l))
offs              611 drivers/block/paride/pf.c 			l = targ[j++] = buf[k + offs];
offs              617 drivers/block/paride/pf.c static int xl(char *buf, int offs)
offs              623 drivers/block/paride/pf.c 		v = v * 256 + (buf[k + offs] & 0xff);
offs              504 drivers/block/paride/pt.c static void xs(char *buf, char *targ, int offs, int len)
offs              511 drivers/block/paride/pt.c 		if ((buf[k + offs] != 0x20) || (buf[k + offs] != l))
offs              512 drivers/block/paride/pt.c 			l = targ[j++] = buf[k + offs];
offs              518 drivers/block/paride/pt.c static int xn(char *buf, int offs, int size)
offs              524 drivers/block/paride/pt.c 		v = v * 256 + (buf[k + offs] & 0xff);
offs               29 drivers/clk/renesas/clk-emev2.c static void __init emev2_smu_write(unsigned long value, int offs)
offs               31 drivers/clk/renesas/clk-emev2.c 	BUG_ON(!smu_base || (offs >= PAGE_SIZE));
offs               32 drivers/clk/renesas/clk-emev2.c 	writel_relaxed(value, smu_base + offs);
offs              208 drivers/clk/sifive/fu540-prci.c static u32 __prci_readl(struct __prci_data *pd, u32 offs)
offs              210 drivers/clk/sifive/fu540-prci.c 	return readl_relaxed(pd->va + offs);
offs              213 drivers/clk/sifive/fu540-prci.c static void __prci_writel(u32 v, u32 offs, struct __prci_data *pd)
offs              215 drivers/clk/sifive/fu540-prci.c 	writel_relaxed(v, pd->va + offs);
offs              330 drivers/clk/tegra/clk-dfll.c static inline u32 dfll_readl(struct tegra_dfll *td, u32 offs)
offs              332 drivers/clk/tegra/clk-dfll.c 	return __raw_readl(td->base + offs);
offs              335 drivers/clk/tegra/clk-dfll.c static inline void dfll_writel(struct tegra_dfll *td, u32 val, u32 offs)
offs              337 drivers/clk/tegra/clk-dfll.c 	WARN_ON(offs >= DFLL_I2C_CFG);
offs              338 drivers/clk/tegra/clk-dfll.c 	__raw_writel(val, td->base + offs);
offs              348 drivers/clk/tegra/clk-dfll.c static inline u32 dfll_i2c_readl(struct tegra_dfll *td, u32 offs)
offs              350 drivers/clk/tegra/clk-dfll.c 	return __raw_readl(td->i2c_base + offs);
offs              353 drivers/clk/tegra/clk-dfll.c static inline void dfll_i2c_writel(struct tegra_dfll *td, u32 val, u32 offs)
offs              355 drivers/clk/tegra/clk-dfll.c 	__raw_writel(val, td->i2c_base + offs);
offs             1325 drivers/clk/tegra/clk-dfll.c 	u32 val, offs;
offs             1329 drivers/clk/tegra/clk-dfll.c 	for (offs = 0; offs <= DFLL_MONITOR_DATA; offs += 4) {
offs             1330 drivers/clk/tegra/clk-dfll.c 		if (offs == DFLL_OUTPUT_CFG)
offs             1331 drivers/clk/tegra/clk-dfll.c 			val = dfll_i2c_readl(td, offs);
offs             1333 drivers/clk/tegra/clk-dfll.c 			val = dfll_readl(td, offs);
offs             1334 drivers/clk/tegra/clk-dfll.c 		seq_printf(s, "[0x%02x] = 0x%08x\n", offs, val);
offs             1338 drivers/clk/tegra/clk-dfll.c 	for (offs = DFLL_I2C_CFG; offs <= DFLL_I2C_STS; offs += 4)
offs             1339 drivers/clk/tegra/clk-dfll.c 		seq_printf(s, "[0x%02x] = 0x%08x\n", offs,
offs             1340 drivers/clk/tegra/clk-dfll.c 			   dfll_i2c_readl(td, offs));
offs             1341 drivers/clk/tegra/clk-dfll.c 	for (offs = DFLL_INTR_STS; offs <= DFLL_INTR_EN; offs += 4)
offs             1342 drivers/clk/tegra/clk-dfll.c 		seq_printf(s, "[0x%02x] = 0x%08x\n", offs,
offs             1343 drivers/clk/tegra/clk-dfll.c 			   dfll_i2c_readl(td, offs));
offs             1347 drivers/clk/tegra/clk-dfll.c 		offs = DFLL_I2C_CLK_DIVISOR;
offs             1348 drivers/clk/tegra/clk-dfll.c 		seq_printf(s, "[0x%02x] = 0x%08x\n", offs,
offs             1349 drivers/clk/tegra/clk-dfll.c 			   __raw_readl(td->i2c_controller_base + offs));
offs             1352 drivers/clk/tegra/clk-dfll.c 		for (offs = 0; offs <  4 * MAX_DFLL_VOLTAGES; offs += 4)
offs             1353 drivers/clk/tegra/clk-dfll.c 			seq_printf(s, "[0x%02x] = 0x%08x\n", offs,
offs             1354 drivers/clk/tegra/clk-dfll.c 				   __raw_readl(td->lut_base + offs));
offs               49 drivers/clocksource/dw_apb_timer.c static inline u32 apbt_readl(struct dw_apb_timer *timer, unsigned long offs)
offs               51 drivers/clocksource/dw_apb_timer.c 	return readl(timer->base + offs);
offs               55 drivers/clocksource/dw_apb_timer.c 			unsigned long offs)
offs               57 drivers/clocksource/dw_apb_timer.c 	writel(val, timer->base + offs);
offs               60 drivers/clocksource/dw_apb_timer.c static inline u32 apbt_readl_relaxed(struct dw_apb_timer *timer, unsigned long offs)
offs               62 drivers/clocksource/dw_apb_timer.c 	return readl_relaxed(timer->base + offs);
offs               66 drivers/clocksource/dw_apb_timer.c 			unsigned long offs)
offs               68 drivers/clocksource/dw_apb_timer.c 	writel_relaxed(val, timer->base + offs);
offs               53 drivers/clocksource/em_sti.c static inline unsigned long em_sti_read(struct em_sti_priv *p, int offs)
offs               55 drivers/clocksource/em_sti.c 	return ioread32(p->base + offs);
offs               58 drivers/clocksource/em_sti.c static inline void em_sti_write(struct em_sti_priv *p, int offs,
offs               61 drivers/clocksource/em_sti.c 	iowrite32(value, p->base + offs);
offs               77 drivers/clocksource/sh_cmt.c 	u32 (*read_control)(void __iomem *base, unsigned long offs);
offs               78 drivers/clocksource/sh_cmt.c 	void (*write_control)(void __iomem *base, unsigned long offs,
offs               82 drivers/clocksource/sh_cmt.c 	u32 (*read_count)(void __iomem *base, unsigned long offs);
offs               83 drivers/clocksource/sh_cmt.c 	void (*write_count)(void __iomem *base, unsigned long offs, u32 value);
offs              154 drivers/clocksource/sh_cmt.c static u32 sh_cmt_read16(void __iomem *base, unsigned long offs)
offs              156 drivers/clocksource/sh_cmt.c 	return ioread16(base + (offs << 1));
offs              159 drivers/clocksource/sh_cmt.c static u32 sh_cmt_read32(void __iomem *base, unsigned long offs)
offs              161 drivers/clocksource/sh_cmt.c 	return ioread32(base + (offs << 2));
offs              164 drivers/clocksource/sh_cmt.c static void sh_cmt_write16(void __iomem *base, unsigned long offs, u32 value)
offs              166 drivers/clocksource/sh_cmt.c 	iowrite16(value, base + (offs << 1));
offs              169 drivers/clocksource/sh_cmt.c static void sh_cmt_write32(void __iomem *base, unsigned long offs, u32 value)
offs              171 drivers/clocksource/sh_cmt.c 	iowrite32(value, base + (offs << 2));
offs              154 drivers/clocksource/sh_mtu2.c 	unsigned long offs;
offs              159 drivers/clocksource/sh_mtu2.c 	offs = mtu2_reg_offs[reg_nr];
offs              162 drivers/clocksource/sh_mtu2.c 		return ioread16(ch->base + offs);
offs              164 drivers/clocksource/sh_mtu2.c 		return ioread8(ch->base + offs);
offs              170 drivers/clocksource/sh_mtu2.c 	unsigned long offs;
offs              175 drivers/clocksource/sh_mtu2.c 	offs = mtu2_reg_offs[reg_nr];
offs              178 drivers/clocksource/sh_mtu2.c 		iowrite16(value, ch->base + offs);
offs              180 drivers/clocksource/sh_mtu2.c 		iowrite8(value, ch->base + offs);
offs               82 drivers/clocksource/sh_tmu.c 	unsigned long offs;
offs               93 drivers/clocksource/sh_tmu.c 	offs = reg_nr << 2;
offs               96 drivers/clocksource/sh_tmu.c 		return ioread16(ch->base + offs);
offs               98 drivers/clocksource/sh_tmu.c 		return ioread32(ch->base + offs);
offs              104 drivers/clocksource/sh_tmu.c 	unsigned long offs;
offs              115 drivers/clocksource/sh_tmu.c 	offs = reg_nr << 2;
offs              118 drivers/clocksource/sh_tmu.c 		iowrite16(value, ch->base + offs);
offs              120 drivers/clocksource/sh_tmu.c 		iowrite32(value, ch->base + offs);
offs             2097 drivers/crypto/atmel-aes.c 	u32 offs, authsize;
offs             2104 drivers/crypto/atmel-aes.c 	offs = req->assoclen + rctx->textlen;
offs             2107 drivers/crypto/atmel-aes.c 		scatterwalk_map_and_copy(odigest, req->dst, offs, authsize, 1);
offs             2109 drivers/crypto/atmel-aes.c 		scatterwalk_map_and_copy(idigest, req->src, offs, authsize, 0);
offs              333 drivers/dma/ioat/dma.c 	off_t offs;
offs              337 drivers/dma/ioat/dma.c 	offs = idx * IOAT_DESC_SZ;
offs              338 drivers/dma/ioat/dma.c 	pos = (u8 *)ioat_chan->descs[chunk].virt + offs;
offs              339 drivers/dma/ioat/dma.c 	phys = ioat_chan->descs[chunk].hw + offs;
offs              576 drivers/dma/ti/edma.c 	u32 offs;
offs              579 drivers/dma/ti/edma.c 	offs = PARM_OFFSET(slot);
offs              580 drivers/dma/ti/edma.c 	offs += dst ? PARM_DST : PARM_SRC;
offs              582 drivers/dma/ti/edma.c 	return edma_read(ecc, offs);
offs              414 drivers/edac/thunderx_edac.c 	unsigned int offs, timeout = 100000;
offs              433 drivers/edac/thunderx_edac.c 		for (offs = 0; offs < PAGE_SIZE; offs += cline_size) {
offs              438 drivers/edac/thunderx_edac.c 			memcpy(tmp, addr + offs, cline_size);
offs              154 drivers/gpio/gpio-dwapb.c static struct dwapb_gpio_port *dwapb_offs_to_port(struct dwapb_gpio *gpio, unsigned int offs)
offs              161 drivers/gpio/gpio-dwapb.c 		if (port->idx == offs / 32)
offs              168 drivers/gpio/gpio-dwapb.c static void dwapb_toggle_trigger(struct dwapb_gpio *gpio, unsigned int offs)
offs              170 drivers/gpio/gpio-dwapb.c 	struct dwapb_gpio_port *port = dwapb_offs_to_port(gpio, offs);
offs              181 drivers/gpio/gpio-dwapb.c 	val = gc->get(gc, offs % 32);
offs              183 drivers/gpio/gpio-dwapb.c 		pol &= ~BIT(offs);
offs              185 drivers/gpio/gpio-dwapb.c 		pol |= BIT(offs);
offs              492 drivers/gpio/gpio-dwapb.c 			       unsigned int offs)
offs              498 drivers/gpio/gpio-dwapb.c 	port = &gpio->ports[offs];
offs               58 drivers/gpio/gpio-em.c static inline unsigned long em_gio_read(struct em_gio_priv *p, int offs)
offs               60 drivers/gpio/gpio-em.c 	if (offs < GIO_IDT0)
offs               61 drivers/gpio/gpio-em.c 		return ioread32(p->base0 + offs);
offs               63 drivers/gpio/gpio-em.c 		return ioread32(p->base1 + (offs - GIO_IDT0));
offs               66 drivers/gpio/gpio-em.c static inline void em_gio_write(struct em_gio_priv *p, int offs,
offs               69 drivers/gpio/gpio-em.c 	if (offs < GIO_IDT0)
offs               70 drivers/gpio/gpio-em.c 		iowrite32(value, p->base0 + offs);
offs               72 drivers/gpio/gpio-em.c 		iowrite32(value, p->base1 + (offs - GIO_IDT0));
offs               64 drivers/gpio/gpio-rcar.c static inline u32 gpio_rcar_read(struct gpio_rcar_priv *p, int offs)
offs               66 drivers/gpio/gpio-rcar.c 	return ioread32(p->base + offs);
offs               69 drivers/gpio/gpio-rcar.c static inline void gpio_rcar_write(struct gpio_rcar_priv *p, int offs,
offs               72 drivers/gpio/gpio-rcar.c 	iowrite32(value, p->base + offs);
offs               75 drivers/gpio/gpio-rcar.c static void gpio_rcar_modify_bit(struct gpio_rcar_priv *p, int offs,
offs               78 drivers/gpio/gpio-rcar.c 	u32 tmp = gpio_rcar_read(p, offs);
offs               85 drivers/gpio/gpio-rcar.c 	gpio_rcar_write(p, offs, tmp);
offs               61 drivers/gpio/gpio-syscon.c 	unsigned int val, offs;
offs               64 drivers/gpio/gpio-syscon.c 	offs = priv->dreg_offset + priv->data->dat_bit_offset + offset;
offs               67 drivers/gpio/gpio-syscon.c 			  (offs / SYSCON_REG_BITS) * SYSCON_REG_SIZE, &val);
offs               71 drivers/gpio/gpio-syscon.c 	return !!(val & BIT(offs % SYSCON_REG_BITS));
offs               77 drivers/gpio/gpio-syscon.c 	unsigned int offs;
offs               79 drivers/gpio/gpio-syscon.c 	offs = priv->dreg_offset + priv->data->dat_bit_offset + offset;
offs               82 drivers/gpio/gpio-syscon.c 			   (offs / SYSCON_REG_BITS) * SYSCON_REG_SIZE,
offs               83 drivers/gpio/gpio-syscon.c 			   BIT(offs % SYSCON_REG_BITS),
offs               84 drivers/gpio/gpio-syscon.c 			   val ? BIT(offs % SYSCON_REG_BITS) : 0);
offs               92 drivers/gpio/gpio-syscon.c 		unsigned int offs;
offs               94 drivers/gpio/gpio-syscon.c 		offs = priv->dir_reg_offset +
offs               98 drivers/gpio/gpio-syscon.c 				   (offs / SYSCON_REG_BITS) * SYSCON_REG_SIZE,
offs               99 drivers/gpio/gpio-syscon.c 				   BIT(offs % SYSCON_REG_BITS), 0);
offs              110 drivers/gpio/gpio-syscon.c 		unsigned int offs;
offs              112 drivers/gpio/gpio-syscon.c 		offs = priv->dir_reg_offset +
offs              116 drivers/gpio/gpio-syscon.c 				   (offs / SYSCON_REG_BITS) * SYSCON_REG_SIZE,
offs              117 drivers/gpio/gpio-syscon.c 				   BIT(offs % SYSCON_REG_BITS),
offs              118 drivers/gpio/gpio-syscon.c 				   BIT(offs % SYSCON_REG_BITS));
offs              138 drivers/gpio/gpio-syscon.c 	unsigned int offs;
offs              143 drivers/gpio/gpio-syscon.c 	offs = priv->dreg_offset + priv->data->dat_bit_offset + offset;
offs              144 drivers/gpio/gpio-syscon.c 	bit = offs % SYSCON_REG_BITS;
offs              147 drivers/gpio/gpio-syscon.c 			   (offs / SYSCON_REG_BITS) * SYSCON_REG_SIZE,
offs              166 drivers/gpio/gpio-syscon.c 	unsigned int offs;
offs              169 drivers/gpio/gpio-syscon.c 	offs = priv->dreg_offset + priv->data->dat_bit_offset + offset;
offs              176 drivers/gpio/gpio-syscon.c 			(offs / SYSCON_REG_BITS) * SYSCON_REG_SIZE,
offs              177 drivers/gpio/gpio-syscon.c 			BIT(offs % SYSCON_REG_BITS) | KEYSTONE_LOCK_BIT,
offs              178 drivers/gpio/gpio-syscon.c 			BIT(offs % SYSCON_REG_BITS) | KEYSTONE_LOCK_BIT);
offs               48 drivers/gpio/gpio-tb10x.c static inline u32 tb10x_reg_read(struct tb10x_gpio *gpio, unsigned int offs)
offs               50 drivers/gpio/gpio-tb10x.c 	return ioread32(gpio->base + offs);
offs               53 drivers/gpio/gpio-tb10x.c static inline void tb10x_reg_write(struct tb10x_gpio *gpio, unsigned int offs,
offs               56 drivers/gpio/gpio-tb10x.c 	iowrite32(val, gpio->base + offs);
offs               59 drivers/gpio/gpio-tb10x.c static inline void tb10x_set_bits(struct tb10x_gpio *gpio, unsigned int offs,
offs               67 drivers/gpio/gpio-tb10x.c 	r = tb10x_reg_read(gpio, offs);
offs               70 drivers/gpio/gpio-tb10x.c 	tb10x_reg_write(gpio, offs, r);
offs              781 drivers/gpu/drm/radeon/radeon_uvd.c 	uint64_t offs = radeon_bo_size(rdev->uvd.vcpu_bo) -
offs              784 drivers/gpu/drm/radeon/radeon_uvd.c 	uint32_t *msg = rdev->uvd.cpu_addr + offs;
offs              785 drivers/gpu/drm/radeon/radeon_uvd.c 	uint64_t addr = rdev->uvd.gpu_addr + offs;
offs              817 drivers/gpu/drm/radeon/radeon_uvd.c 	uint64_t offs = radeon_bo_size(rdev->uvd.vcpu_bo) -
offs              820 drivers/gpu/drm/radeon/radeon_uvd.c 	uint32_t *msg = rdev->uvd.cpu_addr + offs;
offs              821 drivers/gpu/drm/radeon/radeon_uvd.c 	uint64_t addr = rdev->uvd.gpu_addr + offs;
offs              260 drivers/gpu/drm/vmwgfx/vmwgfx_blit.c 	size_t offs = (diff_offs + diff->line_offset) / diff->cpp;
offs              263 drivers/gpu/drm/vmwgfx/vmwgfx_blit.c 	rect->x1 = min_t(int, rect->x1, offs);
offs              264 drivers/gpu/drm/vmwgfx/vmwgfx_blit.c 	rect->x2 = max_t(int, rect->x2, offs + 1);
offs              972 drivers/hid/hid-asus.c 		int offs;
offs              976 drivers/hid/hid-asus.c 			offs = 388;
offs              979 drivers/hid/hid-asus.c 			offs = 291;
offs              989 drivers/hid/hid-asus.c 			rdesc[offs] == 0x09 && rdesc[offs + 1] == 0x76) {
offs              998 drivers/hid/hid-asus.c 			memmove(rdesc + offs + 4, rdesc + offs + 2, 12);
offs              999 drivers/hid/hid-asus.c 			rdesc[offs] = 0x19;
offs             1000 drivers/hid/hid-asus.c 			rdesc[offs + 1] = 0x00;
offs             1001 drivers/hid/hid-asus.c 			rdesc[offs + 2] = 0x29;
offs             1002 drivers/hid/hid-asus.c 			rdesc[offs + 3] = 0xff;
offs             1003 drivers/hid/hid-asus.c 			rdesc[offs + 14] = 0x00;
offs             1401 drivers/hid/hid-wiimote-modules.c 	__u8 buf[24], offs;
offs             1421 drivers/hid/hid-wiimote-modules.c 	offs = 0;
offs             1424 drivers/hid/hid-wiimote-modules.c 			wdata->state.calib_bboard[j][i] = buf[offs];
offs             1426 drivers/hid/hid-wiimote-modules.c 			wdata->state.calib_bboard[j][i] |= buf[offs + 1];
offs             1427 drivers/hid/hid-wiimote-modules.c 			offs += 2;
offs             1452 drivers/hid/hid-wiimote-modules.c 	__u8 buf[24], offs;
offs             1469 drivers/hid/hid-wiimote-modules.c 	offs = 0;
offs             1472 drivers/hid/hid-wiimote-modules.c 			wdata->state.calib_bboard[j][i] = buf[offs];
offs             1474 drivers/hid/hid-wiimote-modules.c 			wdata->state.calib_bboard[j][i] |= buf[offs + 1];
offs             1475 drivers/hid/hid-wiimote-modules.c 			offs += 2;
offs              443 drivers/hid/intel-ish-hid/ishtp/hbm.c 	uint64_t	offs;
offs              451 drivers/hid/intel-ish-hid/ishtp/hbm.c 		offs = dma_xfer->msg_addr - dev->ishtp_host_dma_tx_buf_phys;
offs              452 drivers/hid/intel-ish-hid/ishtp/hbm.c 		if (offs > dev->ishtp_host_dma_tx_buf_size) {
offs              457 drivers/hid/intel-ish-hid/ishtp/hbm.c 				dev->ishtp_host_dma_tx_buf_size - offs) {
offs              463 drivers/hid/intel-ish-hid/ishtp/hbm.c 		msg = (unsigned char *)dev->ishtp_host_dma_tx_buf + offs;
offs              506 drivers/hid/intel-ish-hid/ishtp/hbm.c 	uint64_t	offs;
offs              516 drivers/hid/intel-ish-hid/ishtp/hbm.c 		offs = dma_xfer->msg_addr - dev->ishtp_host_dma_rx_buf_phys;
offs              517 drivers/hid/intel-ish-hid/ishtp/hbm.c 		if (offs > dev->ishtp_host_dma_rx_buf_size) {
offs              522 drivers/hid/intel-ish-hid/ishtp/hbm.c 				dev->ishtp_host_dma_rx_buf_size - offs) {
offs              526 drivers/hid/intel-ish-hid/ishtp/hbm.c 		msg = dev->ishtp_host_dma_rx_buf + offs;
offs              112 drivers/i2c/busses/i2c-mlxcpld.c static void mlxcpld_i2c_read_comm(struct mlxcpld_i2c_priv *priv, u8 offs,
offs              115 drivers/i2c/busses/i2c-mlxcpld.c 	u32 addr = priv->base_addr + offs;
offs              137 drivers/i2c/busses/i2c-mlxcpld.c static void mlxcpld_i2c_write_comm(struct mlxcpld_i2c_priv *priv, u8 offs,
offs              140 drivers/i2c/busses/i2c-mlxcpld.c 	u32 addr = priv->base_addr + offs;
offs              187 drivers/i2c/busses/i2c-sh_mobile.c static void iic_wr(struct sh_mobile_i2c_data *pd, int offs, unsigned char data)
offs              189 drivers/i2c/busses/i2c-sh_mobile.c 	if (offs == ICIC)
offs              192 drivers/i2c/busses/i2c-sh_mobile.c 	iowrite8(data, pd->reg + offs);
offs              195 drivers/i2c/busses/i2c-sh_mobile.c static unsigned char iic_rd(struct sh_mobile_i2c_data *pd, int offs)
offs              197 drivers/i2c/busses/i2c-sh_mobile.c 	return ioread8(pd->reg + offs);
offs              200 drivers/i2c/busses/i2c-sh_mobile.c static void iic_set_clr(struct sh_mobile_i2c_data *pd, int offs,
offs              203 drivers/i2c/busses/i2c-sh_mobile.c 	iic_wr(pd, offs, (iic_rd(pd, offs) | set) & ~clr);
offs              207 drivers/infiniband/hw/mthca/mthca_cmd.c 	u16 *offs = dev->cmd.dbell_offsets;
offs              209 drivers/infiniband/hw/mthca/mthca_cmd.c 	__raw_writel((__force u32) cpu_to_be32(in_param >> 32),           ptr + offs[0]);
offs              211 drivers/infiniband/hw/mthca/mthca_cmd.c 	__raw_writel((__force u32) cpu_to_be32(in_param & 0xfffffffful),  ptr + offs[1]);
offs              213 drivers/infiniband/hw/mthca/mthca_cmd.c 	__raw_writel((__force u32) cpu_to_be32(in_modifier),              ptr + offs[2]);
offs              215 drivers/infiniband/hw/mthca/mthca_cmd.c 	__raw_writel((__force u32) cpu_to_be32(out_param >> 32),          ptr + offs[3]);
offs              217 drivers/infiniband/hw/mthca/mthca_cmd.c 	__raw_writel((__force u32) cpu_to_be32(out_param & 0xfffffffful), ptr + offs[4]);
offs              219 drivers/infiniband/hw/mthca/mthca_cmd.c 	__raw_writel((__force u32) cpu_to_be32(token << 16),              ptr + offs[5]);
offs              224 drivers/infiniband/hw/mthca/mthca_cmd.c 						op),			  ptr + offs[6]);
offs              226 drivers/infiniband/hw/mthca/mthca_cmd.c 	__raw_writel((__force u32) 0,                                     ptr + offs[7]);
offs              693 drivers/infiniband/hw/qib/qib.h 	u32 offs, u64 *data, u64 mask, int only_32);
offs             3863 drivers/infiniband/hw/qib/qib_iba7220.c 			 u32 offs, u64 *data, u64 mask, int only_32)
offs             3866 drivers/infiniband/hw/qib/qib_iba7220.c 	unsigned idx = offs / sizeof(u64);
offs             3871 drivers/infiniband/hw/qib/qib_iba7220.c 			    offs, only_32 ? "32" : "64");
offs             5838 drivers/infiniband/hw/qib/qib_iba7322.c 			 const struct diag_observer *op, u32 offs,
offs             5863 drivers/infiniband/hw/qib/qib_iba7322.c 		if (psoffs == offs)
offs             5872 drivers/infiniband/hw/qib/qib_iba7322.c 	idx = offs / sizeof(u64);
offs              256 drivers/iommu/omap-iommu.h static inline u32 iommu_read_reg(struct omap_iommu *obj, size_t offs)
offs              258 drivers/iommu/omap-iommu.h 	return __raw_readl(obj->regbase + offs);
offs              261 drivers/iommu/omap-iommu.h static inline void iommu_write_reg(struct omap_iommu *obj, u32 val, size_t offs)
offs              263 drivers/iommu/omap-iommu.h 	__raw_writel(val, obj->regbase + offs);
offs              388 drivers/irqchip/irq-s3c24xx.c 	unsigned offs;
offs              391 drivers/irqchip/irq-s3c24xx.c 		offs = irq - FIQ_START;
offs              392 drivers/irqchip/irq-s3c24xx.c 		if (offs > 31)
offs              395 drivers/irqchip/irq-s3c24xx.c 		intmod = 1 << offs;
offs               75 drivers/mailbox/imx-mailbox.c static void imx_mu_write(struct imx_mu_priv *priv, u32 val, u32 offs)
offs               77 drivers/mailbox/imx-mailbox.c 	iowrite32(val, priv->base + offs);
offs               80 drivers/mailbox/imx-mailbox.c static u32 imx_mu_read(struct imx_mu_priv *priv, u32 offs)
offs               82 drivers/mailbox/imx-mailbox.c 	return ioread32(priv->base + offs);
offs              475 drivers/media/dvb-frontends/dib9000.c 	u16 offs;
offs              478 drivers/media/dvb-frontends/dib9000.c 		offs = 16;
offs              480 drivers/media/dvb-frontends/dib9000.c 		offs = 0;
offs              483 drivers/media/dvb-frontends/dib9000.c 	dib9000_write_word(state, 1024 + offs, 0x000f);
offs              484 drivers/media/dvb-frontends/dib9000.c 	dib9000_write_word(state, 1025 + offs, 0);
offs              485 drivers/media/dvb-frontends/dib9000.c 	dib9000_write_word(state, 1031 + offs, key);
offs              488 drivers/media/dvb-frontends/dib9000.c 	if (dib9000_write16_noinc(state, 1026 + offs, (u8 *) code, (u16) len) != 0) {
offs             1137 drivers/media/dvb-frontends/stv0910.c 	u16 offs = state->nr ? 0x40 : 0; /* Address offset */
offs             1141 drivers/media/dvb-frontends/stv0910.c 	write_reg(state, RSTV0910_P1_DISRXCFG + offs, 0x00);
offs             1142 drivers/media/dvb-frontends/stv0910.c 	write_reg(state, RSTV0910_P1_DISTXCFG + offs, 0xBA); /* Reset = 1 */
offs             1143 drivers/media/dvb-frontends/stv0910.c 	write_reg(state, RSTV0910_P1_DISTXCFG + offs, 0x3A); /* Reset = 0 */
offs             1144 drivers/media/dvb-frontends/stv0910.c 	write_reg(state, RSTV0910_P1_DISTXF22 + offs, freq);
offs             1649 drivers/media/dvb-frontends/stv0910.c 	u16 offs = state->nr ? 0x40 : 0;
offs             1653 drivers/media/dvb-frontends/stv0910.c 		return write_reg(state, RSTV0910_P1_DISTXCFG + offs, 0x38);
offs             1655 drivers/media/dvb-frontends/stv0910.c 		return write_reg(state, RSTV0910_P1_DISTXCFG + offs, 0x3a);
offs             1666 drivers/media/dvb-frontends/stv0910.c 	u16 offs = state->nr ? 0x40 : 0;
offs             1669 drivers/media/dvb-frontends/stv0910.c 		read_reg(state, RSTV0910_P1_DISTXSTATUS + offs, &stat);
offs              221 drivers/media/usb/dvb-usb/dibusb-common.c int dibusb_read_eeprom_byte(struct dvb_usb_device *d, u8 offs, u8 *val)
offs              230 drivers/media/usb/dvb-usb/dibusb-common.c 	buf[0] = offs;
offs               38 drivers/media/usb/pvrusb2/pvrusb2-eeprom.c 	unsigned int offs;
offs               80 drivers/media/usb/pvrusb2/pvrusb2-eeprom.c 		offs = tcnt + (eepromSize - EEPROM_SIZE);
offs               82 drivers/media/usb/pvrusb2/pvrusb2-eeprom.c 			iadd[0] = offs >> 8;
offs               83 drivers/media/usb/pvrusb2/pvrusb2-eeprom.c 			iadd[1] = offs;
offs               85 drivers/media/usb/pvrusb2/pvrusb2-eeprom.c 			iadd[0] = offs;
offs               27 drivers/media/usb/pvrusb2/pvrusb2-encoder.c 				    unsigned int offs,
offs               52 drivers/media/usb/pvrusb2/pvrusb2-encoder.c 			addr = idx + offs;
offs               65 drivers/media/usb/pvrusb2/pvrusb2-encoder.c 		offs += chunkCnt;
offs               73 drivers/media/usb/pvrusb2/pvrusb2-encoder.c 				   unsigned int offs,
offs              101 drivers/media/usb/pvrusb2/pvrusb2-encoder.c 		hdw->cmd_buffer[5] = ((offs>>16) & 0xffu);
offs              102 drivers/media/usb/pvrusb2/pvrusb2-encoder.c 		hdw->cmd_buffer[6] = ((offs>>8) & 0xffu);
offs              103 drivers/media/usb/pvrusb2/pvrusb2-encoder.c 		hdw->cmd_buffer[7] = (offs & 0xffu);
offs              115 drivers/media/usb/pvrusb2/pvrusb2-encoder.c 		offs += chunkCnt;
offs             3328 drivers/media/usb/pvrusb2/pvrusb2-hdw.c 	unsigned int offs;
offs             3370 drivers/media/usb/pvrusb2/pvrusb2-hdw.c 		offs = tcnt + (eepromSize - EEPROM_SIZE);
offs             3372 drivers/media/usb/pvrusb2/pvrusb2-hdw.c 			iadd[0] = offs >> 8;
offs             3373 drivers/media/usb/pvrusb2/pvrusb2-hdw.c 			iadd[1] = offs;
offs             3375 drivers/media/usb/pvrusb2/pvrusb2-hdw.c 			iadd[0] = offs;
offs             3473 drivers/media/usb/pvrusb2/pvrusb2-hdw.c int pvr2_hdw_cpufw_get(struct pvr2_hdw *hdw,unsigned int offs,
offs             3486 drivers/media/usb/pvrusb2/pvrusb2-hdw.c 		if (offs >= hdw->fw_size) {
offs             3489 drivers/media/usb/pvrusb2/pvrusb2-hdw.c 				   offs);
offs             3494 drivers/media/usb/pvrusb2/pvrusb2-hdw.c 		if (offs + cnt > hdw->fw_size) cnt = hdw->fw_size - offs;
offs             3496 drivers/media/usb/pvrusb2/pvrusb2-hdw.c 		memcpy(buf,hdw->fw_buffer+offs,cnt);
offs             3500 drivers/media/usb/pvrusb2/pvrusb2-hdw.c 			   offs,cnt);
offs              218 drivers/media/usb/pvrusb2/pvrusb2-hdw.h int pvr2_hdw_cpufw_get(struct pvr2_hdw *,unsigned int offs,
offs              385 drivers/media/usb/pvrusb2/pvrusb2-i2c-core.c 			u16 tcnt,bcnt,offs;
offs              399 drivers/media/usb/pvrusb2/pvrusb2-i2c-core.c 			offs = 0;
offs              406 drivers/media/usb/pvrusb2/pvrusb2-i2c-core.c 					  msgs[0].buf+offs,bcnt)) {
offs              410 drivers/media/usb/pvrusb2/pvrusb2-i2c-core.c 				offs += bcnt;
offs              432 drivers/media/usb/pvrusb2/pvrusb2-i2c-core.c 			u16 tcnt,bcnt,wcnt,offs;
offs              439 drivers/media/usb/pvrusb2/pvrusb2-i2c-core.c 			offs = 0;
offs              447 drivers/media/usb/pvrusb2/pvrusb2-i2c-core.c 					  msgs[1].buf+offs,bcnt)) {
offs              451 drivers/media/usb/pvrusb2/pvrusb2-i2c-core.c 				offs += bcnt;
offs              468 drivers/media/usb/pvrusb2/pvrusb2-i2c-core.c 		unsigned int idx,offs,cnt;
offs              480 drivers/media/usb/pvrusb2/pvrusb2-i2c-core.c 				for (offs = 0; offs < cnt; offs++) {
offs              481 drivers/media/usb/pvrusb2/pvrusb2-i2c-core.c 					if (offs) pr_cont(" ");
offs              482 drivers/media/usb/pvrusb2/pvrusb2-i2c-core.c 					pr_cont("%02x", msgs[idx].buf[offs]);
offs              484 drivers/media/usb/pvrusb2/pvrusb2-i2c-core.c 				if (offs < cnt) pr_cont(" ...");
offs             1092 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 		unsigned int offs = *ppos;
offs             1100 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 			c2 = pvr2_hdw_cpufw_get(hdw,offs,tbuf,c1);
offs             1110 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 			offs += c2;
offs              346 drivers/mfd/88pm860x-core.c 	int	offs;		/* bit offset in mask register */
offs              353 drivers/mfd/88pm860x-core.c 		.offs		= 1 << 0,
offs              358 drivers/mfd/88pm860x-core.c 		.offs		= 1 << 1,
offs              363 drivers/mfd/88pm860x-core.c 		.offs		= 1 << 2,
offs              368 drivers/mfd/88pm860x-core.c 		.offs		= 1 << 3,
offs              373 drivers/mfd/88pm860x-core.c 		.offs		= 1 << 4,
offs              378 drivers/mfd/88pm860x-core.c 		.offs		= 1 << 5,
offs              383 drivers/mfd/88pm860x-core.c 		.offs		= 1 << 0,
offs              388 drivers/mfd/88pm860x-core.c 		.offs		= 1 << 1,
offs              393 drivers/mfd/88pm860x-core.c 		.offs		= 1 << 2,
offs              398 drivers/mfd/88pm860x-core.c 		.offs		= 1 << 3,
offs              403 drivers/mfd/88pm860x-core.c 		.offs		= 1 << 4,
offs              408 drivers/mfd/88pm860x-core.c 		.offs		= 1 << 5,
offs              413 drivers/mfd/88pm860x-core.c 		.offs		= 1 << 6,
offs              418 drivers/mfd/88pm860x-core.c 		.offs		= 1 << 7,
offs              423 drivers/mfd/88pm860x-core.c 		.offs		= 1 << 0,
offs              428 drivers/mfd/88pm860x-core.c 		.offs		= 1 << 1,
offs              433 drivers/mfd/88pm860x-core.c 		.offs		= 1 << 2,
offs              438 drivers/mfd/88pm860x-core.c 		.offs		= 1 << 3,
offs              443 drivers/mfd/88pm860x-core.c 		.offs		= 1 << 4,
offs              448 drivers/mfd/88pm860x-core.c 		.offs		= 1 << 5,
offs              453 drivers/mfd/88pm860x-core.c 		.offs		= 1 << 6,
offs              458 drivers/mfd/88pm860x-core.c 		.offs		= 1 << 7,
offs              507 drivers/mfd/88pm860x-core.c 			mask[0] &= ~irq_data->offs;
offs              511 drivers/mfd/88pm860x-core.c 			mask[1] &= ~irq_data->offs;
offs              515 drivers/mfd/88pm860x-core.c 			mask[2] &= ~irq_data->offs;
offs              536 drivers/mfd/88pm860x-core.c 	pm860x_irqs[data->hwirq].enable = pm860x_irqs[data->hwirq].offs;
offs              333 drivers/mfd/max8925-core.c 	int	offs;		/* bit offset in mask register */
offs              342 drivers/mfd/max8925-core.c 		.offs		= 1 << 0,
offs              347 drivers/mfd/max8925-core.c 		.offs		= 1 << 1,
offs              352 drivers/mfd/max8925-core.c 		.offs		= 1 << 2,
offs              357 drivers/mfd/max8925-core.c 		.offs		= 1 << 0,
offs              362 drivers/mfd/max8925-core.c 		.offs		= 1 << 1,
offs              367 drivers/mfd/max8925-core.c 		.offs		= 1 << 2,
offs              372 drivers/mfd/max8925-core.c 		.offs		= 1 << 3,
offs              377 drivers/mfd/max8925-core.c 		.offs		= 1 << 4,
offs              382 drivers/mfd/max8925-core.c 		.offs		= 1 << 5,
offs              387 drivers/mfd/max8925-core.c 		.offs		= 1 << 6,
offs              392 drivers/mfd/max8925-core.c 		.offs		= 1 << 7,
offs              397 drivers/mfd/max8925-core.c 		.offs		= 1 << 0,
offs              402 drivers/mfd/max8925-core.c 		.offs		= 1 << 1,
offs              407 drivers/mfd/max8925-core.c 		.offs		= 1 << 2,
offs              412 drivers/mfd/max8925-core.c 		.offs		= 1 << 3,
offs              417 drivers/mfd/max8925-core.c 		.offs		= 1 << 4,
offs              422 drivers/mfd/max8925-core.c 		.offs		= 1 << 5,
offs              427 drivers/mfd/max8925-core.c 		.offs		= 1 << 6,
offs              432 drivers/mfd/max8925-core.c 		.offs		= 1 << 7,
offs              437 drivers/mfd/max8925-core.c 		.offs		= 1 << 0,
offs              442 drivers/mfd/max8925-core.c 		.offs		= 1 << 1,
offs              447 drivers/mfd/max8925-core.c 		.offs		= 1 << 2,
offs              453 drivers/mfd/max8925-core.c 		.offs		= 1 << 3,
offs              459 drivers/mfd/max8925-core.c 		.offs		= 1 << 0,
offs              466 drivers/mfd/max8925-core.c 		.offs		= 1 << 1,
offs              626 drivers/mfd/max8925-core.c 		= max8925_irqs[data->irq - chip->irq_base].offs;
offs              764 drivers/mfd/sm501.c 			       resource_size_t offs,
offs              769 drivers/mfd/sm501.c 	res->start = sm->io_res->start + offs;
offs              780 drivers/mfd/sm501.c 			     resource_size_t *offs,
offs              783 drivers/mfd/sm501.c 	*offs -= size;		/* adjust memory size */
offs              787 drivers/mfd/sm501.c 	res->start = sm->mem_res->start + *offs;
offs              767 drivers/mfd/tps65010.c 	unsigned led_on, led_per, offs;
offs              773 drivers/mfd/tps65010.c 		offs = 0;
offs              775 drivers/mfd/tps65010.c 		offs = 2;
offs              783 drivers/mfd/tps65010.c 				TPS_LED1_ON + offs));
offs              787 drivers/mfd/tps65010.c 				TPS_LED1_PER + offs));
offs              810 drivers/mfd/tps65010.c 			TPS_LED1_ON + offs, led_on);
offs              820 drivers/mfd/tps65010.c 		i2c_smbus_read_byte_data(the_tps->client, TPS_LED1_ON + offs));
offs              823 drivers/mfd/tps65010.c 			TPS_LED1_PER + offs, led_per);
offs              834 drivers/mfd/tps65010.c 				TPS_LED1_PER + offs));
offs              568 drivers/misc/genwqe/card_utils.c 	unsigned long data, offs;
offs              580 drivers/misc/genwqe/card_utils.c 	offs = offset_in_page(data);
offs              581 drivers/misc/genwqe/card_utils.c 	if (size > ULONG_MAX - PAGE_SIZE - offs) {
offs              585 drivers/misc/genwqe/card_utils.c 	m->nr_pages = DIV_ROUND_UP(offs + size, PAGE_SIZE);
offs               20 drivers/misc/mei/mei-trace.h 	TP_PROTO(const struct device *dev, const char *reg, u32 offs, u32 val),
offs               21 drivers/misc/mei/mei-trace.h 	TP_ARGS(dev, reg, offs, val),
offs               25 drivers/misc/mei/mei-trace.h 		__field(u32, offs)
offs               31 drivers/misc/mei/mei-trace.h 		__entry->offs = offs;
offs               35 drivers/misc/mei/mei-trace.h 		  __get_str(dev), __entry->reg, __entry->offs, __entry->val)
offs               39 drivers/misc/mei/mei-trace.h 	TP_PROTO(const struct device *dev, const char *reg, u32 offs, u32 val),
offs               40 drivers/misc/mei/mei-trace.h 	TP_ARGS(dev, reg, offs, val),
offs               44 drivers/misc/mei/mei-trace.h 		__field(u32, offs)
offs               50 drivers/misc/mei/mei-trace.h 		__entry->offs = offs;
offs               54 drivers/misc/mei/mei-trace.h 		  __get_str(dev), __entry->reg,  __entry->offs, __entry->val)
offs               58 drivers/misc/mei/mei-trace.h 	TP_PROTO(const struct device *dev, const char *reg, u32 offs, u32 val),
offs               59 drivers/misc/mei/mei-trace.h 	TP_ARGS(dev, reg, offs, val),
offs               63 drivers/misc/mei/mei-trace.h 		__field(u32, offs)
offs               69 drivers/misc/mei/mei-trace.h 		__entry->offs = offs;
offs               73 drivers/misc/mei/mei-trace.h 		  __get_str(dev), __entry->reg, __entry->offs, __entry->val)
offs               53 drivers/mmc/host/mvsdio.c #define mvsd_write(offs, val)	writel(val, iobase + (offs))
offs               54 drivers/mmc/host/mvsdio.c #define mvsd_read(offs)		readl(iobase + (offs))
offs              701 drivers/mtd/chips/cfi_cmdset_0001.c 		int offs, numregions, numparts, partshift, numvirtchips, i, j;
offs              704 drivers/mtd/chips/cfi_cmdset_0001.c 		offs = (extp->NumProtectionFields - 1) *
offs              708 drivers/mtd/chips/cfi_cmdset_0001.c 		offs += extp->extra[offs+1]+2;
offs              711 drivers/mtd/chips/cfi_cmdset_0001.c 		numregions = extp->extra[offs];
offs              712 drivers/mtd/chips/cfi_cmdset_0001.c 		offs += 1;
offs              716 drivers/mtd/chips/cfi_cmdset_0001.c 			offs += 2;
offs              722 drivers/mtd/chips/cfi_cmdset_0001.c 			rinfo = (struct cfi_intelext_regioninfo *)&extp->extra[offs];
offs              724 drivers/mtd/chips/cfi_cmdset_0001.c 			offs += sizeof(*rinfo)
offs              735 drivers/mtd/chips/cfi_cmdset_0001.c 			prinfo = (struct cfi_intelext_programming_regioninfo *)&extp->extra[offs];
offs             1285 drivers/mtd/devices/st_spi_fsm.c static void stfsm_s25fl_read_dyb(struct stfsm *fsm, uint32_t offs, uint8_t *dby)
offs             1297 drivers/mtd/devices/st_spi_fsm.c 		.addr1 = (offs >> 16) & 0xffff,
offs             1298 drivers/mtd/devices/st_spi_fsm.c 		.addr2 = offs & 0xffff,
offs             1321 drivers/mtd/devices/st_spi_fsm.c static void stfsm_s25fl_write_dyb(struct stfsm *fsm, uint32_t offs, uint8_t dby)
offs             1334 drivers/mtd/devices/st_spi_fsm.c 		.addr1 = (offs >> 16) & 0xffff,
offs             1335 drivers/mtd/devices/st_spi_fsm.c 		.addr2 = offs & 0xffff,
offs             1392 drivers/mtd/devices/st_spi_fsm.c 	uint32_t offs;
offs             1428 drivers/mtd/devices/st_spi_fsm.c 		offs = 0;
offs             1429 drivers/mtd/devices/st_spi_fsm.c 		for (offs = 0; offs < info->sector_size * info->n_sectors;) {
offs             1430 drivers/mtd/devices/st_spi_fsm.c 			stfsm_s25fl_read_dyb(fsm, offs, &dyb);
offs             1432 drivers/mtd/devices/st_spi_fsm.c 				stfsm_s25fl_write_dyb(fsm, offs, 0xff);
offs             1435 drivers/mtd/devices/st_spi_fsm.c 			if ((offs < info->sector_size * 2) ||
offs             1436 drivers/mtd/devices/st_spi_fsm.c 			    (offs >= (info->sector_size - info->n_sectors * 4)))
offs             1437 drivers/mtd/devices/st_spi_fsm.c 				offs += 0x1000;
offs             1439 drivers/mtd/devices/st_spi_fsm.c 				offs += 0x10000;
offs              136 drivers/mtd/inftlcore.c int inftl_read_oob(struct mtd_info *mtd, loff_t offs, size_t len,
offs              143 drivers/mtd/inftlcore.c 	ops.ooboffs = offs & (mtd->writesize - 1);
offs              148 drivers/mtd/inftlcore.c 	res = mtd_read_oob(mtd, offs & ~(mtd->writesize - 1), &ops);
offs              156 drivers/mtd/inftlcore.c int inftl_write_oob(struct mtd_info *mtd, loff_t offs, size_t len,
offs              163 drivers/mtd/inftlcore.c 	ops.ooboffs = offs & (mtd->writesize - 1);
offs              168 drivers/mtd/inftlcore.c 	res = mtd_write_oob(mtd, offs & ~(mtd->writesize - 1), &ops);
offs              176 drivers/mtd/inftlcore.c static int inftl_write(struct mtd_info *mtd, loff_t offs, size_t len,
offs              183 drivers/mtd/inftlcore.c 	ops.ooboffs = offs;
offs              189 drivers/mtd/inftlcore.c 	res = mtd_write_oob(mtd, offs & ~(mtd->writesize - 1), &ops);
offs              841 drivers/mtd/mtdchar.c 		loff_t offs;
offs              843 drivers/mtd/mtdchar.c 		if (copy_from_user(&offs, argp, sizeof(loff_t)))
offs              845 drivers/mtd/mtdchar.c 		return mtd_block_isbad(mtd, offs);
offs              851 drivers/mtd/mtdchar.c 		loff_t offs;
offs              853 drivers/mtd/mtdchar.c 		if (copy_from_user(&offs, argp, sizeof(loff_t)))
offs              855 drivers/mtd/mtdchar.c 		return mtd_block_markbad(mtd, offs);
offs             1202 drivers/mtd/mtdcore.c static int mtd_check_oob_ops(struct mtd_info *mtd, loff_t offs,
offs             1216 drivers/mtd/mtdcore.c 	if (offs < 0 || offs + ops->len > mtd->size)
offs             1226 drivers/mtd/mtdcore.c 				      mtd_div_by_ws(offs, mtd)) *
offs              541 drivers/mtd/mtdpart.c 		uint64_t offs = 0;
offs              543 drivers/mtd/mtdpart.c 		while (offs < slave->mtd.size) {
offs              544 drivers/mtd/mtdpart.c 			if (mtd_block_isreserved(parent, offs + slave->offset))
offs              546 drivers/mtd/mtdpart.c 			else if (mtd_block_isbad(parent, offs + slave->offset))
offs              548 drivers/mtd/mtdpart.c 			offs += slave->mtd.erasesize;
offs               80 drivers/mtd/nand/bbt.c 	unsigned int offs = (entry * bits_per_block) % BITS_PER_LONG;
offs               86 drivers/mtd/nand/bbt.c 	status = pos[0] >> offs;
offs               87 drivers/mtd/nand/bbt.c 	if (bits_per_block + offs > BITS_PER_LONG)
offs               88 drivers/mtd/nand/bbt.c 		status |= pos[1] << (BITS_PER_LONG - offs);
offs              113 drivers/mtd/nand/bbt.c 	unsigned int offs = (entry * bits_per_block) % BITS_PER_LONG;
offs              119 drivers/mtd/nand/bbt.c 	pos[0] &= ~GENMASK(offs + bits_per_block - 1, offs);
offs              120 drivers/mtd/nand/bbt.c 	pos[0] |= val << offs;
offs              122 drivers/mtd/nand/bbt.c 	if (bits_per_block + offs > BITS_PER_LONG) {
offs              123 drivers/mtd/nand/bbt.c 		unsigned int rbits = bits_per_block + offs - BITS_PER_LONG;
offs              189 drivers/mtd/nand/core.c int nanddev_mtd_max_bad_blocks(struct mtd_info *mtd, loff_t offs, size_t len)
offs              198 drivers/mtd/nand/core.c 	nanddev_offs_to_pos(nand, offs, &pos);
offs              199 drivers/mtd/nand/core.c 	nanddev_offs_to_pos(nand, offs + len, &end);
offs              201 drivers/mtd/nand/core.c 	for (nanddev_offs_to_pos(nand, offs, &pos);
offs               95 drivers/mtd/nand/onenand/onenand_bbt.c 				from + j * this->writesize + bd->offs, &ops);
offs              144 drivers/mtd/nand/onenand/onenand_bbt.c static int onenand_isbad_bbt(struct mtd_info *mtd, loff_t offs, int allowbbt)
offs              152 drivers/mtd/nand/onenand/onenand_bbt.c 	block = (int) (onenand_block(this, offs) << 1);
offs              156 drivers/mtd/nand/onenand/onenand_bbt.c 		(unsigned int) offs, block >> 1, res);
offs              217 drivers/mtd/nand/onenand/onenand_bbt.c 	.offs = 0,
offs              234 drivers/mtd/nand/raw/atmel/nand-controller.c 	u32 offs;
offs             1520 drivers/mtd/nand/raw/atmel/nand-controller.c 				   smc_nc->ebi_csa->offs,
offs             1525 drivers/mtd/nand/raw/atmel/nand-controller.c 				   smc_nc->ebi_csa->offs,
offs             1848 drivers/mtd/nand/raw/atmel/nand-controller.c 	.offs = AT91SAM9260_MATRIX_EBICSA,
offs             1852 drivers/mtd/nand/raw/atmel/nand-controller.c 	.offs = AT91SAM9261_MATRIX_EBICSA,
offs             1856 drivers/mtd/nand/raw/atmel/nand-controller.c 	.offs = AT91SAM9263_MATRIX_EBI0CSA,
offs             1860 drivers/mtd/nand/raw/atmel/nand-controller.c 	.offs = AT91SAM9RL_MATRIX_EBICSA,
offs             1864 drivers/mtd/nand/raw/atmel/nand-controller.c 	.offs = AT91SAM9G45_MATRIX_EBICSA,
offs             1868 drivers/mtd/nand/raw/atmel/nand-controller.c 	.offs = AT91SAM9N12_MATRIX_EBICSA,
offs             1872 drivers/mtd/nand/raw/atmel/nand-controller.c 	.offs = AT91SAM9X5_MATRIX_EBICSA,
offs             1876 drivers/mtd/nand/raw/atmel/nand-controller.c 	.offs = AT91_SFR_CCFG_EBICSA,
offs             2064 drivers/mtd/nand/raw/atmel/nand-controller.c 		nc->ebi_csa->offs += 4;
offs              134 drivers/mtd/nand/raw/atmel/pmecc.c #define ATMEL_PMERRLOC_EL(offs, x)		(((x) * 0x4) + (offs))
offs              490 drivers/mtd/nand/raw/brcmnand/brcmnand.c static inline u32 nand_readreg(struct brcmnand_controller *ctrl, u32 offs)
offs              492 drivers/mtd/nand/raw/brcmnand/brcmnand.c 	return brcmnand_readl(ctrl->nand_base + offs);
offs              495 drivers/mtd/nand/raw/brcmnand/brcmnand.c static inline void nand_writereg(struct brcmnand_controller *ctrl, u32 offs,
offs              498 drivers/mtd/nand/raw/brcmnand/brcmnand.c 	brcmnand_writel(val, ctrl->nand_base + offs);
offs              607 drivers/mtd/nand/raw/brcmnand/brcmnand.c 	u16 offs = ctrl->reg_offsets[reg];
offs              609 drivers/mtd/nand/raw/brcmnand/brcmnand.c 	if (offs)
offs              610 drivers/mtd/nand/raw/brcmnand/brcmnand.c 		return nand_readreg(ctrl, offs);
offs              618 drivers/mtd/nand/raw/brcmnand/brcmnand.c 	u16 offs = ctrl->reg_offsets[reg];
offs              620 drivers/mtd/nand/raw/brcmnand/brcmnand.c 	if (offs)
offs              621 drivers/mtd/nand/raw/brcmnand/brcmnand.c 		nand_writereg(ctrl, offs, val);
offs              807 drivers/mtd/nand/raw/brcmnand/brcmnand.c 	u16 offs = brcmnand_cs_offset(ctrl, host->cs, BRCMNAND_CS_ACC_CONTROL);
offs              808 drivers/mtd/nand/raw/brcmnand/brcmnand.c 	u32 acc_control = nand_readreg(ctrl, offs);
offs              820 drivers/mtd/nand/raw/brcmnand/brcmnand.c 	nand_writereg(ctrl, offs, acc_control);
offs              938 drivers/mtd/nand/raw/brcmnand/brcmnand.c 	u16 offs = ctrl->flash_dma_offsets[dma_reg];
offs              940 drivers/mtd/nand/raw/brcmnand/brcmnand.c 	brcmnand_writel(val, ctrl->flash_dma_base + offs);
offs              946 drivers/mtd/nand/raw/brcmnand/brcmnand.c 	u16 offs = ctrl->flash_dma_offsets[dma_reg];
offs              948 drivers/mtd/nand/raw/brcmnand/brcmnand.c 	return brcmnand_readl(ctrl->flash_dma_base + offs);
offs             1200 drivers/mtd/nand/raw/brcmnand/brcmnand.c static inline u8 oob_reg_read(struct brcmnand_controller *ctrl, u32 offs)
offs             1207 drivers/mtd/nand/raw/brcmnand/brcmnand.c 	if (offs >= ctrl->max_oob)
offs             1210 drivers/mtd/nand/raw/brcmnand/brcmnand.c 	if (offs >= 16 && offset10)
offs             1211 drivers/mtd/nand/raw/brcmnand/brcmnand.c 		reg_offs = offset10 + ((offs - 0x10) & ~0x03);
offs             1213 drivers/mtd/nand/raw/brcmnand/brcmnand.c 		reg_offs = offset0 + (offs & ~0x03);
offs             1215 drivers/mtd/nand/raw/brcmnand/brcmnand.c 	return nand_readreg(ctrl, reg_offs) >> (24 - ((offs & 0x03) << 3));
offs             1218 drivers/mtd/nand/raw/brcmnand/brcmnand.c static inline void oob_reg_write(struct brcmnand_controller *ctrl, u32 offs,
offs             1226 drivers/mtd/nand/raw/brcmnand/brcmnand.c 	if (offs >= ctrl->max_oob)
offs             1229 drivers/mtd/nand/raw/brcmnand/brcmnand.c 	if (offs >= 16 && offset10)
offs             1230 drivers/mtd/nand/raw/brcmnand/brcmnand.c 		reg_offs = offset10 + ((offs - 0x10) & ~0x03);
offs             1232 drivers/mtd/nand/raw/brcmnand/brcmnand.c 		reg_offs = offset0 + (offs & ~0x03);
offs             1556 drivers/mtd/nand/raw/brcmnand/brcmnand.c 	int addr, offs;
offs             1582 drivers/mtd/nand/raw/brcmnand/brcmnand.c 		offs = addr & (FC_BYTES - 1);
offs             1585 drivers/mtd/nand/raw/brcmnand/brcmnand.c 		if (host->last_byte > 0 && offs == 0)
offs             1588 drivers/mtd/nand/raw/brcmnand/brcmnand.c 		ret = ctrl->flash_cache[offs];
offs             2209 drivers/mtd/nand/raw/brcmnand/brcmnand.c 	u32 offs, tmp, oob_sector;
offs             2316 drivers/mtd/nand/raw/brcmnand/brcmnand.c 	offs = brcmnand_cs_offset(ctrl, host->cs, BRCMNAND_CS_ACC_CONTROL);
offs             2317 drivers/mtd/nand/raw/brcmnand/brcmnand.c 	tmp = nand_readreg(ctrl, offs);
offs             2328 drivers/mtd/nand/raw/brcmnand/brcmnand.c 	nand_writereg(ctrl, offs, tmp);
offs              495 drivers/mtd/nand/raw/cafe_nand.c 	.offs =	14,
offs              505 drivers/mtd/nand/raw/cafe_nand.c 	.offs =	14,
offs              515 drivers/mtd/nand/raw/cafe_nand.c 	.offs =	14,
offs              525 drivers/mtd/nand/raw/cafe_nand.c 	.offs =	14,
offs              989 drivers/mtd/nand/raw/diskonchip.c 	unsigned offs;
offs              993 drivers/mtd/nand/raw/diskonchip.c 	for (offs = 0; offs < mtd->size; offs += mtd->erasesize) {
offs              994 drivers/mtd/nand/raw/diskonchip.c 		ret = mtd_read(mtd, offs, mtd->writesize, &retlen, buf);
offs              998 drivers/mtd/nand/raw/diskonchip.c 			pr_warn("ECC error scanning DOC at 0x%x\n", offs);
offs             1002 drivers/mtd/nand/raw/diskonchip.c 		pr_info("Found DiskOnChip %s Media Header at 0x%x\n", id, offs);
offs             1004 drivers/mtd/nand/raw/diskonchip.c 			doc->mh0_page = offs >> this->page_shift;
offs             1009 drivers/mtd/nand/raw/diskonchip.c 		doc->mh1_page = offs >> this->page_shift;
offs             1018 drivers/mtd/nand/raw/diskonchip.c 	offs = doc->mh0_page << this->page_shift;
offs             1019 drivers/mtd/nand/raw/diskonchip.c 	ret = mtd_read(mtd, offs, mtd->writesize, &retlen, buf);
offs             1039 drivers/mtd/nand/raw/diskonchip.c 	int offs, numheaders;
offs             1102 drivers/mtd/nand/raw/diskonchip.c 	offs = max(doc->mh0_page, doc->mh1_page);
offs             1103 drivers/mtd/nand/raw/diskonchip.c 	offs <<= this->page_shift;
offs             1104 drivers/mtd/nand/raw/diskonchip.c 	offs += mtd->erasesize;
offs             1109 drivers/mtd/nand/raw/diskonchip.c 		parts[0].size = offs;
offs             1114 drivers/mtd/nand/raw/diskonchip.c 	parts[numparts].offset = offs;
offs             1117 drivers/mtd/nand/raw/diskonchip.c 	offs += parts[numparts].size;
offs             1120 drivers/mtd/nand/raw/diskonchip.c 	if (offs < mtd->size) {
offs             1122 drivers/mtd/nand/raw/diskonchip.c 		parts[numparts].offset = offs;
offs             1123 drivers/mtd/nand/raw/diskonchip.c 		parts[numparts].size = mtd->size - offs;
offs             1310 drivers/mtd/nand/raw/diskonchip.c 		this->bbt_td->offs = 8;
offs             1320 drivers/mtd/nand/raw/diskonchip.c 		this->bbt_md->offs = 8;
offs              129 drivers/mtd/nand/raw/fsl_elbc_nand.c 	.offs =	11,
offs              139 drivers/mtd/nand/raw/fsl_elbc_nand.c 	.offs =	11,
offs               67 drivers/mtd/nand/raw/fsl_ifc_nand.c 	.offs =	2, /* 0 on 8-bit small page */
offs               77 drivers/mtd/nand/raw/fsl_ifc_nand.c 	.offs =	2, /* 0 on 8-bit small page */
offs              889 drivers/mtd/nand/raw/fsl_ifc_nand.c 			bbt_main_descr.offs = 0;
offs              890 drivers/mtd/nand/raw/fsl_ifc_nand.c 			bbt_mirror_descr.offs = 0;
offs              993 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	.offs		= 0,
offs             1494 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c static int gpmi_ecc_read_subpage(struct nand_chip *chip, uint32_t offs,
offs             1512 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	first = offs / size;
offs             1513 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	last = (offs + len - 1) / size;
offs             1563 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 		page, offs, len, col, first, n, page_size);
offs              133 drivers/mtd/nand/raw/internals.h int nand_markbad_bbt(struct nand_chip *chip, loff_t offs);
offs              134 drivers/mtd/nand/raw/internals.h int nand_isreserved_bbt(struct nand_chip *chip, loff_t offs);
offs              135 drivers/mtd/nand/raw/internals.h int nand_isbad_bbt(struct nand_chip *chip, loff_t offs, int allowbbt);
offs              183 drivers/mtd/nand/raw/lpc32xx_slc.c 	.offs =	0,
offs              193 drivers/mtd/nand/raw/lpc32xx_slc.c 	.offs =	0,
offs             2291 drivers/mtd/nand/raw/marvell_nand.c 	.offs =	8,
offs             2301 drivers/mtd/nand/raw/marvell_nand.c 	.offs =	8,
offs             1444 drivers/mtd/nand/raw/mxc_nand.c 	.offs = 0,
offs             1454 drivers/mtd/nand/raw/mxc_nand.c 	.offs = 0,
offs             4280 drivers/mtd/nand/raw/nand_base.c static int nand_block_isbad(struct mtd_info *mtd, loff_t offs)
offs             4283 drivers/mtd/nand/raw/nand_base.c 	int chipnr = (int)(offs >> chip->chip_shift);
offs             4293 drivers/mtd/nand/raw/nand_base.c 	ret = nand_block_checkbad(chip, offs, 0);
offs              113 drivers/mtd/nand/raw/nand_bbt.c 	if (memcmp(buf + paglen + td->offs, td->pattern, td->len))
offs              131 drivers/mtd/nand/raw/nand_bbt.c 	if (memcmp(buf + td->offs, td->pattern, td->len))
offs              167 drivers/mtd/nand/raw/nand_bbt.c 		    struct nand_bbt_descr *td, int offs)
offs              218 drivers/mtd/nand/raw/nand_bbt.c 						 (loff_t)(offs + act) <<
offs              220 drivers/mtd/nand/raw/nand_bbt.c 					bbt_mark_entry(this, offs + act,
offs              230 drivers/mtd/nand/raw/nand_bbt.c 					 (loff_t)(offs + act) <<
offs              234 drivers/mtd/nand/raw/nand_bbt.c 					bbt_mark_entry(this, offs + act,
offs              237 drivers/mtd/nand/raw/nand_bbt.c 					bbt_mark_entry(this, offs + act,
offs              267 drivers/mtd/nand/raw/nand_bbt.c 		int offs = 0;
offs              272 drivers/mtd/nand/raw/nand_bbt.c 					td, offs);
offs              275 drivers/mtd/nand/raw/nand_bbt.c 			offs += targetsize >> this->bbt_erase_shift;
offs              287 drivers/mtd/nand/raw/nand_bbt.c static int scan_read_data(struct nand_chip *this, uint8_t *buf, loff_t offs,
offs              298 drivers/mtd/nand/raw/nand_bbt.c 	return mtd_read(mtd, offs, len, &retlen, buf);
offs              312 drivers/mtd/nand/raw/nand_bbt.c static int scan_read_oob(struct nand_chip *this, uint8_t *buf, loff_t offs,
offs              328 drivers/mtd/nand/raw/nand_bbt.c 		res = mtd_read_oob(mtd, offs, &ops);
offs              338 drivers/mtd/nand/raw/nand_bbt.c 		offs += mtd->writesize;
offs              343 drivers/mtd/nand/raw/nand_bbt.c static int scan_read(struct nand_chip *this, uint8_t *buf, loff_t offs,
offs              347 drivers/mtd/nand/raw/nand_bbt.c 		return scan_read_data(this, buf, offs, td);
offs              349 drivers/mtd/nand/raw/nand_bbt.c 		return scan_read_oob(this, buf, offs, len);
offs              353 drivers/mtd/nand/raw/nand_bbt.c static int scan_write_bbt(struct nand_chip *this, loff_t offs, size_t len,
offs              366 drivers/mtd/nand/raw/nand_bbt.c 	return mtd_write_oob(mtd, offs, &ops);
offs              415 drivers/mtd/nand/raw/nand_bbt.c 			   loff_t offs, uint8_t *buf)
offs              435 drivers/mtd/nand/raw/nand_bbt.c 		ret = mtd_read_oob(mtd, offs + (page_offset * mtd->writesize),
offs              561 drivers/mtd/nand/raw/nand_bbt.c 			loff_t offs = (loff_t)actblock << this->bbt_erase_shift;
offs              564 drivers/mtd/nand/raw/nand_bbt.c 			scan_read(this, buf, offs, mtd->writesize, td);
offs              568 drivers/mtd/nand/raw/nand_bbt.c 					offs = bbt_get_ver_offs(this, td);
offs              569 drivers/mtd/nand/raw/nand_bbt.c 					td->version[i] = buf[offs];
offs              720 drivers/mtd/nand/raw/nand_bbt.c 	int bits, page, offs, numblocks, sft, sftmsk;
offs              810 drivers/mtd/nand/raw/nand_bbt.c 			offs = pageoffs << this->page_shift;
offs              812 drivers/mtd/nand/raw/nand_bbt.c 			memset(&buf[offs], 0xff, (size_t)(numblocks >> sft));
offs              817 drivers/mtd/nand/raw/nand_bbt.c 			offs = td->len;
offs              820 drivers/mtd/nand/raw/nand_bbt.c 				offs++;
offs              823 drivers/mtd/nand/raw/nand_bbt.c 			len += offs;
offs              838 drivers/mtd/nand/raw/nand_bbt.c 			offs = 0;
offs              841 drivers/mtd/nand/raw/nand_bbt.c 			memcpy(&buf[ooboffs + td->offs], td->pattern, td->len);
offs              853 drivers/mtd/nand/raw/nand_bbt.c 			buf[offs + (i >> sft)] &= ~(msk[dat] << sftcnt);
offs             1041 drivers/mtd/nand/raw/nand_bbt.c static int nand_update_bbt(struct nand_chip *this, loff_t offs)
offs             1062 drivers/mtd/nand/raw/nand_bbt.c 		chip = (int)(offs >> this->chip_shift);
offs             1182 drivers/mtd/nand/raw/nand_bbt.c 		BUG_ON(bd->offs);
offs             1292 drivers/mtd/nand/raw/nand_bbt.c 	.offs =	8,
offs             1302 drivers/mtd/nand/raw/nand_bbt.c 	.offs =	8,
offs             1350 drivers/mtd/nand/raw/nand_bbt.c 	bd->offs = this->badblockpos;
offs             1401 drivers/mtd/nand/raw/nand_bbt.c int nand_isreserved_bbt(struct nand_chip *this, loff_t offs)
offs             1405 drivers/mtd/nand/raw/nand_bbt.c 	block = (int)(offs >> this->bbt_erase_shift);
offs             1415 drivers/mtd/nand/raw/nand_bbt.c int nand_isbad_bbt(struct nand_chip *this, loff_t offs, int allowbbt)
offs             1419 drivers/mtd/nand/raw/nand_bbt.c 	block = (int)(offs >> this->bbt_erase_shift);
offs             1423 drivers/mtd/nand/raw/nand_bbt.c 		 (unsigned int)offs, block, res);
offs             1441 drivers/mtd/nand/raw/nand_bbt.c int nand_markbad_bbt(struct nand_chip *this, loff_t offs)
offs             1445 drivers/mtd/nand/raw/nand_bbt.c 	block = (int)(offs >> this->bbt_erase_shift);
offs             1452 drivers/mtd/nand/raw/nand_bbt.c 		ret = nand_update_bbt(this, offs);
offs              228 drivers/mtd/nand/raw/nand_micron.c 		unsigned int offs, i, nbitflips = 0;
offs              231 drivers/mtd/nand/raw/nand_micron.c 		offs = step * chip->ecc.size;
offs              232 drivers/mtd/nand/raw/nand_micron.c 		rawbuf = micron->ecc.rawbuf + offs;
offs              233 drivers/mtd/nand/raw/nand_micron.c 		corrbuf = buf + offs;
offs              238 drivers/mtd/nand/raw/nand_micron.c 		offs = (step * 16) + 4;
offs              239 drivers/mtd/nand/raw/nand_micron.c 		rawbuf = micron->ecc.rawbuf + mtd->writesize + offs;
offs              240 drivers/mtd/nand/raw/nand_micron.c 		corrbuf = chip->oob_poi + offs;
offs               33 drivers/mtd/nand/raw/orion_nand.c 	u32 offs;
offs               39 drivers/mtd/nand/raw/orion_nand.c 		offs = (1 << board->cle);
offs               41 drivers/mtd/nand/raw/orion_nand.c 		offs = (1 << board->ale);
offs               46 drivers/mtd/nand/raw/orion_nand.c 		offs <<= 1;
offs               48 drivers/mtd/nand/raw/orion_nand.c 	writeb(cmd, nc->legacy.IO_ADDR_W + offs);
offs              104 drivers/mtd/nand/raw/sh_flctl.c 	.offs = 11,
offs              110 drivers/mtd/nand/raw/sh_flctl.c 	.offs = 0,
offs              442 drivers/mtd/nand/raw/sunxi_nand.c 	int offs = 0;
offs              445 drivers/mtd/nand/raw/sunxi_nand.c 	while (len > offs) {
offs              448 drivers/mtd/nand/raw/sunxi_nand.c 		cnt = min(len - offs, NFC_SRAM_SIZE);
offs              467 drivers/mtd/nand/raw/sunxi_nand.c 			memcpy_fromio(buf + offs, nfc->regs + NFC_RAM0_BASE,
offs              469 drivers/mtd/nand/raw/sunxi_nand.c 		offs += cnt;
offs              480 drivers/mtd/nand/raw/sunxi_nand.c 	int offs = 0;
offs              483 drivers/mtd/nand/raw/sunxi_nand.c 	while (len > offs) {
offs              486 drivers/mtd/nand/raw/sunxi_nand.c 		cnt = min(len - offs, NFC_SRAM_SIZE);
offs              493 drivers/mtd/nand/raw/sunxi_nand.c 		memcpy_toio(nfc->regs + NFC_RAM0_BASE, buf + offs, cnt);
offs              506 drivers/mtd/nand/raw/sunxi_nand.c 		offs += cnt;
offs              588 drivers/mtd/nand/spi/core.c static int spinand_mtd_block_isbad(struct mtd_info *mtd, loff_t offs)
offs              595 drivers/mtd/nand/spi/core.c 	nanddev_offs_to_pos(nand, offs, &pos);
offs              627 drivers/mtd/nand/spi/core.c static int spinand_mtd_block_markbad(struct mtd_info *mtd, loff_t offs)
offs              634 drivers/mtd/nand/spi/core.c 	nanddev_offs_to_pos(nand, offs, &pos);
offs              680 drivers/mtd/nand/spi/core.c static int spinand_mtd_block_isreserved(struct mtd_info *mtd, loff_t offs)
offs              687 drivers/mtd/nand/spi/core.c 	nanddev_offs_to_pos(nand, offs, &pos);
offs              123 drivers/mtd/nftlcore.c int nftl_read_oob(struct mtd_info *mtd, loff_t offs, size_t len,
offs              131 drivers/mtd/nftlcore.c 	ops.ooboffs = offs & mask;
offs              136 drivers/mtd/nftlcore.c 	res = mtd_read_oob(mtd, offs & ~mask, &ops);
offs              144 drivers/mtd/nftlcore.c int nftl_write_oob(struct mtd_info *mtd, loff_t offs, size_t len,
offs              152 drivers/mtd/nftlcore.c 	ops.ooboffs = offs & mask;
offs              157 drivers/mtd/nftlcore.c 	res = mtd_write_oob(mtd, offs & ~mask, &ops);
offs              167 drivers/mtd/nftlcore.c static int nftl_write(struct mtd_info *mtd, loff_t offs, size_t len,
offs              175 drivers/mtd/nftlcore.c 	ops.ooboffs = offs & mask;
offs              181 drivers/mtd/nftlcore.c 	res = mtd_write_oob(mtd, offs & ~mask, &ops);
offs               98 drivers/mtd/parsers/sharpslpart.c static int sharpsl_nand_read_oob(struct mtd_info *mtd, loff_t offs, u8 *buf)
offs              107 drivers/mtd/parsers/sharpslpart.c 	ret = mtd_read_oob(mtd, offs, &ops);
offs             1044 drivers/mtd/spi-nor/cadence-quadspi.c static int cqspi_erase(struct spi_nor *nor, loff_t offs)
offs             1058 drivers/mtd/spi-nor/cadence-quadspi.c 	ret = cqspi_command_write_addr(nor, nor->erase_opcode, offs);
offs              740 drivers/mtd/spi-nor/intel-spi.c static int intel_spi_erase(struct spi_nor *nor, loff_t offs)
offs              758 drivers/mtd/spi-nor/intel-spi.c 			writel(offs, ispi->base + FADDR);
offs              765 drivers/mtd/spi-nor/intel-spi.c 			offs += erase_size;
offs              776 drivers/mtd/spi-nor/intel-spi.c 		writel(offs, ispi->base + FADDR);
offs              795 drivers/mtd/spi-nor/intel-spi.c 		offs += erase_size;
offs              217 drivers/mtd/spi-nor/nxp-spifi.c static int nxp_spifi_erase(struct spi_nor *nor, loff_t offs)
offs              227 drivers/mtd/spi-nor/nxp-spifi.c 	writel(offs, spifi->io_base + SPIFI_ADDR);
offs              164 drivers/mtd/ssfdc.c static int read_raw_oob(struct mtd_info *mtd, loff_t offs, uint8_t *buf)
offs              175 drivers/mtd/ssfdc.c 	ret = mtd_read_oob(mtd, offs, &ops);
offs               58 drivers/mtd/tests/stresstest.c 	unsigned int offs;
offs               60 drivers/mtd/tests/stresstest.c 	offs = prandom_u32();
offs               61 drivers/mtd/tests/stresstest.c 	offs %= bufsize;
offs               62 drivers/mtd/tests/stresstest.c 	return offs;
offs               65 drivers/mtd/tests/stresstest.c static int rand_len(int offs)
offs               70 drivers/mtd/tests/stresstest.c 	len %= (bufsize - offs);
offs               77 drivers/mtd/tests/stresstest.c 	int offs = rand_offs();
offs               78 drivers/mtd/tests/stresstest.c 	int len = rand_len(offs);
offs               82 drivers/mtd/tests/stresstest.c 		if (offs >= mtd->erasesize)
offs               83 drivers/mtd/tests/stresstest.c 			offs -= mtd->erasesize;
offs               84 drivers/mtd/tests/stresstest.c 		if (offs + len > mtd->erasesize)
offs               85 drivers/mtd/tests/stresstest.c 			len = mtd->erasesize - offs;
offs               87 drivers/mtd/tests/stresstest.c 	addr = (loff_t)eb * mtd->erasesize + offs;
offs               93 drivers/mtd/tests/stresstest.c 	int eb = rand_eb(), offs, err, len;
offs               96 drivers/mtd/tests/stresstest.c 	offs = offsets[eb];
offs               97 drivers/mtd/tests/stresstest.c 	if (offs >= mtd->erasesize) {
offs              101 drivers/mtd/tests/stresstest.c 		offs = offsets[eb] = 0;
offs              103 drivers/mtd/tests/stresstest.c 	len = rand_len(offs);
offs              105 drivers/mtd/tests/stresstest.c 	if (offs + len > mtd->erasesize) {
offs              107 drivers/mtd/tests/stresstest.c 			len = mtd->erasesize - offs;
offs              115 drivers/mtd/tests/stresstest.c 	addr = (loff_t)eb * mtd->erasesize + offs;
offs              119 drivers/mtd/tests/stresstest.c 	offs += len;
offs              120 drivers/mtd/tests/stresstest.c 	while (offs > mtd->erasesize) {
offs              122 drivers/mtd/tests/stresstest.c 		offs -= mtd->erasesize;
offs              124 drivers/mtd/tests/stresstest.c 	offsets[eb] = offs;
offs              156 drivers/mtd/ubi/gluebi.c 	int err = 0, lnum, offs, bytes_left;
offs              160 drivers/mtd/ubi/gluebi.c 	lnum = div_u64_rem(from, mtd->erasesize, &offs);
offs              163 drivers/mtd/ubi/gluebi.c 		size_t to_read = mtd->erasesize - offs;
offs              168 drivers/mtd/ubi/gluebi.c 		err = ubi_read(gluebi->desc, lnum, buf, offs, to_read);
offs              173 drivers/mtd/ubi/gluebi.c 		offs = 0;
offs              196 drivers/mtd/ubi/gluebi.c 	int err = 0, lnum, offs, bytes_left;
offs              200 drivers/mtd/ubi/gluebi.c 	lnum = div_u64_rem(to, mtd->erasesize, &offs);
offs              202 drivers/mtd/ubi/gluebi.c 	if (len % mtd->writesize || offs % mtd->writesize)
offs              207 drivers/mtd/ubi/gluebi.c 		size_t to_write = mtd->erasesize - offs;
offs              212 drivers/mtd/ubi/gluebi.c 		err = ubi_leb_write(gluebi->desc, lnum, buf, offs, to_write);
offs              217 drivers/mtd/ubi/gluebi.c 		offs = 0;
offs              268 drivers/mtd/ubi/upd.c 	int lnum, offs, err = 0, len, to_write = count;
offs              276 drivers/mtd/ubi/upd.c 	lnum = div_u64_rem(vol->upd_received,  vol->usable_leb_size, &offs);
offs              284 drivers/mtd/ubi/upd.c 	if (offs != 0) {
offs              292 drivers/mtd/ubi/upd.c 		len = vol->usable_leb_size - offs;
offs              296 drivers/mtd/ubi/upd.c 		err = copy_from_user(vol->upd_buf + offs, buf, len);
offs              300 drivers/mtd/ubi/upd.c 		if (offs + len == vol->usable_leb_size ||
offs              302 drivers/mtd/ubi/upd.c 			int flush_len = offs + len;
offs              282 drivers/net/can/softing/softing_fw.c 		memcpy_toio(&card->dpram[card->pdat->app.offs], dat, len);
offs              283 drivers/net/can/softing/softing_fw.c 		iowrite32(card->pdat->app.offs + card->pdat->app.addr,
offs              508 drivers/net/can/softing/softing_main.c 				card->pdat->boot.offs - card->pdat->boot.addr);
offs              514 drivers/net/can/softing/softing_main.c 				card->pdat->load.offs - card->pdat->load.addr);
offs               29 drivers/net/can/softing/softing_platform.h 		unsigned long offs;
offs              410 drivers/net/ethernet/altera/altera_sgdma.c 	uintptr_t offs = (uintptr_t)desc - (uintptr_t)priv->tx_dma_desc;
offs              411 drivers/net/ethernet/altera/altera_sgdma.c 	return (dma_addr_t)((uintptr_t)paddr + offs);
offs              419 drivers/net/ethernet/altera/altera_sgdma.c 	uintptr_t offs = (uintptr_t)desc - (uintptr_t)priv->rx_dma_desc;
offs              420 drivers/net/ethernet/altera/altera_sgdma.c 	return (dma_addr_t)((uintptr_t)paddr + offs);
offs              490 drivers/net/ethernet/altera/altera_tse.h u32 csrrd32(void __iomem *mac, size_t offs)
offs              492 drivers/net/ethernet/altera/altera_tse.h 	void __iomem *paddr = (void __iomem *)((uintptr_t)mac + offs);
offs              497 drivers/net/ethernet/altera/altera_tse.h u16 csrrd16(void __iomem *mac, size_t offs)
offs              499 drivers/net/ethernet/altera/altera_tse.h 	void __iomem *paddr = (void __iomem *)((uintptr_t)mac + offs);
offs              504 drivers/net/ethernet/altera/altera_tse.h u8 csrrd8(void __iomem *mac, size_t offs)
offs              506 drivers/net/ethernet/altera/altera_tse.h 	void __iomem *paddr = (void __iomem *)((uintptr_t)mac + offs);
offs              511 drivers/net/ethernet/altera/altera_tse.h void csrwr32(u32 val, void __iomem *mac, size_t offs)
offs              513 drivers/net/ethernet/altera/altera_tse.h 	void __iomem *paddr = (void __iomem *)((uintptr_t)mac + offs);
offs              519 drivers/net/ethernet/altera/altera_tse.h void csrwr16(u16 val, void __iomem *mac, size_t offs)
offs              521 drivers/net/ethernet/altera/altera_tse.h 	void __iomem *paddr = (void __iomem *)((uintptr_t)mac + offs);
offs              527 drivers/net/ethernet/altera/altera_tse.h void csrwr8(u8 val, void __iomem *mac, size_t offs)
offs              529 drivers/net/ethernet/altera/altera_tse.h 	void __iomem *paddr = (void __iomem *)((uintptr_t)mac + offs);
offs                9 drivers/net/ethernet/altera/altera_utils.c void tse_set_bit(void __iomem *ioaddr, size_t offs, u32 bit_mask)
offs               11 drivers/net/ethernet/altera/altera_utils.c 	u32 value = csrrd32(ioaddr, offs);
offs               13 drivers/net/ethernet/altera/altera_utils.c 	csrwr32(value, ioaddr, offs);
offs               16 drivers/net/ethernet/altera/altera_utils.c void tse_clear_bit(void __iomem *ioaddr, size_t offs, u32 bit_mask)
offs               18 drivers/net/ethernet/altera/altera_utils.c 	u32 value = csrrd32(ioaddr, offs);
offs               20 drivers/net/ethernet/altera/altera_utils.c 	csrwr32(value, ioaddr, offs);
offs               23 drivers/net/ethernet/altera/altera_utils.c int tse_bit_is_set(void __iomem *ioaddr, size_t offs, u32 bit_mask)
offs               25 drivers/net/ethernet/altera/altera_utils.c 	u32 value = csrrd32(ioaddr, offs);
offs               29 drivers/net/ethernet/altera/altera_utils.c int tse_bit_is_clear(void __iomem *ioaddr, size_t offs, u32 bit_mask)
offs               31 drivers/net/ethernet/altera/altera_utils.c 	u32 value = csrrd32(ioaddr, offs);
offs               11 drivers/net/ethernet/altera/altera_utils.h void tse_set_bit(void __iomem *ioaddr, size_t offs, u32 bit_mask);
offs               12 drivers/net/ethernet/altera/altera_utils.h void tse_clear_bit(void __iomem *ioaddr, size_t offs, u32 bit_mask);
offs               13 drivers/net/ethernet/altera/altera_utils.h int tse_bit_is_set(void __iomem *ioaddr, size_t offs, u32 bit_mask);
offs               14 drivers/net/ethernet/altera/altera_utils.h int tse_bit_is_clear(void __iomem *ioaddr, size_t offs, u32 bit_mask);
offs             1648 drivers/net/ethernet/cortina/gemini.c 	unsigned int offs, val;
offs             1651 drivers/net/ethernet/cortina/gemini.c 	offs = i * (GLOBAL_INTERRUPT_STATUS_1_REG -
offs             1654 drivers/net/ethernet/cortina/gemini.c 	irqif_reg = geth->base + GLOBAL_INTERRUPT_STATUS_0_REG + offs;
offs             1655 drivers/net/ethernet/cortina/gemini.c 	irqen_reg = geth->base + GLOBAL_INTERRUPT_ENABLE_0_REG + offs;
offs               49 drivers/net/ethernet/marvell/mvneta.c #define      MVNETA_RXQ_PKT_OFFSET_MASK(offs)   ((offs) << 8)
offs             1237 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c 	int offs = 0;
offs             1249 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c 			rule->c2_tcam |= ((u64)match.key->vlan_id) << offs;
offs             1250 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c 			rule->c2_tcam_mask |= ((u64)match.mask->vlan_id) << offs;
offs             1262 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c 				(offs + 13);
offs             1264 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c 				(offs + 13);
offs             1273 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c 		offs += 16;
offs             1283 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c 			rule->c2_tcam |= ((u64)ntohs(match.key->src)) << offs;
offs             1284 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c 			rule->c2_tcam_mask |= ((u64)ntohs(match.mask->src)) << offs;
offs             1285 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c 			offs += mvpp2_cls_hek_field_size(MVPP22_CLS_HEK_OPT_L4SIP);
offs             1291 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c 			rule->c2_tcam |= ((u64)ntohs(match.key->dst)) << offs;
offs             1292 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c 			rule->c2_tcam_mask |= ((u64)ntohs(match.mask->dst)) << offs;
offs             1293 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c 			offs += mvpp2_cls_hek_field_size(MVPP22_CLS_HEK_OPT_L4DIP);
offs              136 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c 					 unsigned int offs, unsigned char byte,
offs              139 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c 	int pos = MVPP2_PRS_BYTE_IN_WORD(offs) * BITS_PER_BYTE;
offs              141 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c 	pe->tcam[MVPP2_PRS_BYTE_TO_WORD(offs)] &= ~(0xff << pos);
offs              142 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c 	pe->tcam[MVPP2_PRS_BYTE_TO_WORD(offs)] &= ~(MVPP2_PRS_TCAM_EN(0xff) << pos);
offs              143 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c 	pe->tcam[MVPP2_PRS_BYTE_TO_WORD(offs)] |= byte << pos;
offs              144 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c 	pe->tcam[MVPP2_PRS_BYTE_TO_WORD(offs)] |= MVPP2_PRS_TCAM_EN(enable << pos);
offs              149 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c 				  unsigned int offs, unsigned char *byte,
offs              152 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c 	int pos = MVPP2_PRS_BYTE_IN_WORD(offs) * BITS_PER_BYTE;
offs              154 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c 	*byte = (pe->tcam[MVPP2_PRS_BYTE_TO_WORD(offs)] >> pos) & 0xff;
offs              155 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c 	*enable = (pe->tcam[MVPP2_PRS_BYTE_TO_WORD(offs)] >> (pos + 16)) & 0xff;
offs              159 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c static bool mvpp2_prs_tcam_data_cmp(struct mvpp2_prs_entry *pe, int offs,
offs              164 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c 	tcam_data = pe->tcam[MVPP2_PRS_BYTE_TO_WORD(offs)] & 0xffff;
offs              303 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.h 				  unsigned int offs, unsigned char *byte,
offs              482 drivers/net/ethernet/marvell/skge.h #define Q_ADDR(reg, offs) (B8_Q_REGS + (reg) + (offs))
offs              538 drivers/net/ethernet/marvell/skge.h #define RB_ADDR(offs, queue) ((u16)B16_RAM_REGS + (u16)(queue) + (offs))
offs             4458 drivers/net/ethernet/marvell/sky2.c 	loff_t offs;
offs             4489 drivers/net/ethernet/marvell/sky2.c 	offs = len + 3;
offs             4491 drivers/net/ethernet/marvell/sky2.c 	while (offs < vpd_size - 4) {
offs             4494 drivers/net/ethernet/marvell/sky2.c 		if (!memcmp("RW", buf + offs, 2))	/* end marker */
offs             4496 drivers/net/ethernet/marvell/sky2.c 		len = buf[offs + 2];
offs             4497 drivers/net/ethernet/marvell/sky2.c 		if (offs + len + 3 >= vpd_size)
offs             4501 drivers/net/ethernet/marvell/sky2.c 			if (!memcmp(vpd_tags[i].tag, buf + offs, 2)) {
offs             4503 drivers/net/ethernet/marvell/sky2.c 					   vpd_tags[i].label, len, buf + offs + 3);
offs             4507 drivers/net/ethernet/marvell/sky2.c 		offs += len + 3;
offs              757 drivers/net/ethernet/marvell/sky2.h #define Q_ADDR(reg, offs) (B8_Q_REGS + (reg) + (offs))
offs              824 drivers/net/ethernet/marvell/sky2.h #define RB_ADDR(offs, queue) ((u16) B16_RAM_REGS + (queue) + (offs))
offs              575 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c 		__le32 offs = cpu_to_le32(directory->findex) +
offs              577 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c 		__le32 tab_type = cpu_to_le32(*((u32 *)&unirom[offs] + 8));
offs              580 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c 			return (struct uni_table_desc *) &unirom[offs];
offs              619 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c 	u32 offs;
offs              634 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c 	offs = cpu_to_le32(tab_desc->findex) +
offs              636 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c 	descr = (struct uni_data_desc *)&unirom[offs];
offs              654 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c 	u32 offs;
offs              669 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c 	offs = cpu_to_le32(tab_desc->findex) +
offs              671 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c 	descr = (struct uni_data_desc *)&unirom[offs];
offs              707 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c 		__le32 flags, file_chiprev, offs;
offs              711 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c 		offs = cpu_to_le32(ptab_descr->findex) +
offs              713 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c 		flags = cpu_to_le32(*((int *)&unirom[offs] + NX_UNI_FLAGS_OFF));
offs              714 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c 		file_chiprev = cpu_to_le32(*((int *)&unirom[offs] +
offs              721 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c 			adapter->file_prd_off = offs;
offs              771 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c 	__le32 offs;
offs              778 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c 	offs = cpu_to_le32(tab_desc->findex) +
offs              781 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c 	return (struct uni_data_desc *)&unirom[offs];
offs              787 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c 	u32 offs = NETXEN_BOOTLD_START;
offs              790 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c 		offs = cpu_to_le32((nx_get_data_desc(adapter,
offs              794 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c 	return (u8 *)&adapter->fw->data[offs];
offs              800 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c 	u32 offs = NETXEN_IMAGE_START;
offs              803 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c 		offs = cpu_to_le32((nx_get_data_desc(adapter,
offs              807 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c 	return (u8 *)&adapter->fw->data[offs];
offs              756 drivers/net/ethernet/qlogic/qlcnic/qlcnic_init.c 		u32 offs = le32_to_cpu(directory->findex) +
offs              758 drivers/net/ethernet/qlogic/qlcnic/qlcnic_init.c 		u32 tab_type = le32_to_cpu(*((__le32 *)&unirom[offs] + 8));
offs              761 drivers/net/ethernet/qlogic/qlcnic/qlcnic_init.c 			return (struct uni_table_desc *) &unirom[offs];
offs              796 drivers/net/ethernet/qlogic/qlcnic/qlcnic_init.c 	u32 offs, tab_size, data_size, idx;
offs              814 drivers/net/ethernet/qlogic/qlcnic/qlcnic_init.c 	offs = le32_to_cpu(tab_desc->findex) +
offs              816 drivers/net/ethernet/qlogic/qlcnic/qlcnic_init.c 	descr = (struct uni_data_desc *)&unirom[offs];
offs              832 drivers/net/ethernet/qlogic/qlcnic/qlcnic_init.c 	u32 offs, tab_size, data_size, idx;
offs              849 drivers/net/ethernet/qlogic/qlcnic/qlcnic_init.c 	offs = le32_to_cpu(tab_desc->findex) +
offs              851 drivers/net/ethernet/qlogic/qlcnic/qlcnic_init.c 	descr = (struct uni_data_desc *)&unirom[offs];
offs              884 drivers/net/ethernet/qlogic/qlcnic/qlcnic_init.c 		u32 flags, file_chiprev, offs;
offs              888 drivers/net/ethernet/qlogic/qlcnic/qlcnic_init.c 		offs = le32_to_cpu(ptab_descr->findex) +
offs              890 drivers/net/ethernet/qlogic/qlcnic/qlcnic_init.c 		temp = *((__le32 *)&unirom[offs] + QLCNIC_UNI_FLAGS_OFF);
offs              892 drivers/net/ethernet/qlogic/qlcnic/qlcnic_init.c 		temp = *((__le32 *)&unirom[offs] + QLCNIC_UNI_CHIP_REV_OFF);
offs              899 drivers/net/ethernet/qlogic/qlcnic/qlcnic_init.c 			adapter->file_prd_off = offs;
offs              946 drivers/net/ethernet/qlogic/qlcnic/qlcnic_init.c 	u32 offs, idx;
offs              957 drivers/net/ethernet/qlogic/qlcnic/qlcnic_init.c 	offs = le32_to_cpu(tab_desc->findex) +
offs              960 drivers/net/ethernet/qlogic/qlcnic/qlcnic_init.c 	return (struct uni_data_desc *)&unirom[offs];
offs              966 drivers/net/ethernet/qlogic/qlcnic/qlcnic_init.c 	u32 offs = QLCNIC_BOOTLD_START;
offs              973 drivers/net/ethernet/qlogic/qlcnic/qlcnic_init.c 		offs = le32_to_cpu(data_desc->findex);
offs              975 drivers/net/ethernet/qlogic/qlcnic/qlcnic_init.c 	return (u8 *)&adapter->fw->data[offs];
offs              981 drivers/net/ethernet/qlogic/qlcnic/qlcnic_init.c 	u32 offs = QLCNIC_IMAGE_START;
offs              987 drivers/net/ethernet/qlogic/qlcnic/qlcnic_init.c 		offs = le32_to_cpu(data_desc->findex);
offs              989 drivers/net/ethernet/qlogic/qlcnic/qlcnic_init.c 	return (u8 *)&adapter->fw->data[offs];
offs             1610 drivers/net/wireless/ath/ath10k/mac.c 	struct ieee80211_mutable_offsets offs = {};
offs             1621 drivers/net/wireless/ath/ath10k/mac.c 	bcn = ieee80211_beacon_get_template(hw, vif, &offs);
offs             1642 drivers/net/wireless/ath/ath10k/mac.c 	ret = ath10k_wmi_bcn_tmpl(ar, arvif->vdev_id, offs.tim_offset, bcn, 0,
offs               66 drivers/net/wireless/ath/carl9170/cmd.c 	__le32 *offs, *res;
offs               69 drivers/net/wireless/ath/carl9170/cmd.c 	offs = (__le32 *)out;
offs               71 drivers/net/wireless/ath/carl9170/cmd.c 		offs[i] = cpu_to_le32(regs[i]);
offs               77 drivers/net/wireless/ath/carl9170/cmd.c 				4 * nregs, (u8 *)offs,
offs             1576 drivers/net/wireless/ath/carl9170/phy.c 	u32 tmp, offs = 0, new_ht = 0;
offs             1638 drivers/net/wireless/ath/carl9170/phy.c 		offs = 3;
offs             1644 drivers/net/wireless/ath/carl9170/phy.c 		offs = 1;
offs             1672 drivers/net/wireless/ath/carl9170/phy.c 		SET_VAL(CARL9170FW_PHY_HT_EXT_CHAN_OFF, rf.ht_settings, offs);
offs             1233 drivers/net/wireless/intel/iwlwifi/fw/dbg.c 	u32 offs = le32_to_cpu(reg->offset), addr;
offs             1250 drivers/net/wireless/intel/iwlwifi/fw/dbg.c 	iwl_write_prph_no_grab(fwrt->trans, TXF_LARC_NUM + offs, iter->fifo);
offs             1257 drivers/net/wireless/intel/iwlwifi/fw/dbg.c 		addr = le32_to_cpu(reg->start_addr[i]) + offs;
offs             1272 drivers/net/wireless/intel/iwlwifi/fw/dbg.c 	iwl_write_prph_no_grab(fwrt->trans, TXF_READ_MODIFY_ADDR + offs,
offs             1273 drivers/net/wireless/intel/iwlwifi/fw/dbg.c 			       TXF_WR_PTR + offs);
offs             1276 drivers/net/wireless/intel/iwlwifi/fw/dbg.c 	iwl_read_prph_no_grab(fwrt->trans, TXF_READ_MODIFY_DATA + offs);
offs             1279 drivers/net/wireless/intel/iwlwifi/fw/dbg.c 	addr = TXF_READ_MODIFY_DATA + offs;
offs             1339 drivers/net/wireless/intel/iwlwifi/fw/dbg.c 	u32 offs = le32_to_cpu(reg->offset), addr;
offs             1362 drivers/net/wireless/intel/iwlwifi/fw/dbg.c 		addr = le32_to_cpu(reg->start_addr[i]) + offs;
offs             1376 drivers/net/wireless/intel/iwlwifi/fw/dbg.c 	offs = rxf_data.offset;
offs             1379 drivers/net/wireless/intel/iwlwifi/fw/dbg.c 	iwl_write_prph_no_grab(fwrt->trans, RXF_SET_FENCE_MODE + offs, 0x1);
offs             1381 drivers/net/wireless/intel/iwlwifi/fw/dbg.c 	iwl_write_prph_no_grab(fwrt->trans, RXF_LD_WR2FENCE + offs, 0x1);
offs             1383 drivers/net/wireless/intel/iwlwifi/fw/dbg.c 	iwl_write_prph_no_grab(fwrt->trans, RXF_LD_FENCE_OFFSET_ADDR + offs,
offs             1387 drivers/net/wireless/intel/iwlwifi/fw/dbg.c 	addr =  RXF_FIFO_RD_FENCE_INC + offs;
offs             2009 drivers/net/wireless/intel/iwlwifi/fw/dbg.c 		u32 offs = 0;
offs             2013 drivers/net/wireless/intel/iwlwifi/fw/dbg.c 					     entry->data, entry->size, offs);
offs             2014 drivers/net/wireless/intel/iwlwifi/fw/dbg.c 			offs += entry->size;
offs               51 drivers/net/wireless/intel/iwlwifi/iwl-devtrace-data.h 		size_t offs = iwl_rx_trace_len(trans, rxbuf, len, NULL);
offs               53 drivers/net/wireless/intel/iwlwifi/iwl-devtrace-data.h 		if (offs < len)
offs               55 drivers/net/wireless/intel/iwlwifi/iwl-devtrace-data.h 			       ((u8 *)rxbuf) + offs, len - offs);
offs               23 drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h 	TP_PROTO(const struct device *dev, u32 offs, u32 val),
offs               24 drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h 	TP_ARGS(dev, offs, val),
offs               27 drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h 		__field(u32, offs)
offs               32 drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h 		__entry->offs = offs;
offs               36 drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h 		  __get_str(dev), __entry->offs, __entry->val)
offs               40 drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h 	TP_PROTO(const struct device *dev, u32 offs, u8 val),
offs               41 drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h 	TP_ARGS(dev, offs, val),
offs               44 drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h 		__field(u32, offs)
offs               49 drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h 		__entry->offs = offs;
offs               53 drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h 		  __get_str(dev), __entry->offs, __entry->val)
offs               57 drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h 	TP_PROTO(const struct device *dev, u32 offs, u32 val),
offs               58 drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h 	TP_ARGS(dev, offs, val),
offs               61 drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h 		__field(u32, offs)
offs               66 drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h 		__entry->offs = offs;
offs               70 drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h 		  __get_str(dev), __entry->offs, __entry->val)
offs               74 drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h 	TP_PROTO(const struct device *dev, u64 offs, u64 val),
offs               75 drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h 	TP_ARGS(dev, offs, val),
offs               78 drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h 		__field(u64, offs)
offs               83 drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h 		__entry->offs = offs;
offs               87 drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h 		  __get_str(dev), __entry->offs, __entry->val)
offs               91 drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h 	TP_PROTO(const struct device *dev, u32 offs, u32 val),
offs               92 drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h 	TP_ARGS(dev, offs, val),
offs               95 drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h 		__field(u32, offs)
offs              100 drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h 		__entry->offs = offs;
offs              104 drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h 		  __get_str(dev), __entry->offs, __entry->val)
offs              108 drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h 	TP_PROTO(const struct device *dev, u64 offs, u64 val),
offs              109 drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h 	TP_ARGS(dev, offs, val),
offs              112 drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h 		__field(u64, offs)
offs              117 drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h 		__entry->offs = offs;
offs              121 drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h 		  __get_str(dev), __entry->offs, __entry->val)
offs              125 drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h 	TP_PROTO(const struct device *dev, u32 offs, u32 val),
offs              126 drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h 	TP_ARGS(dev, offs, val),
offs              129 drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h 		__field(u32, offs)
offs              134 drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h 		__entry->offs = offs;
offs              138 drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h 		  __get_str(dev), __entry->offs, __entry->val)
offs               24 drivers/net/wireless/intel/iwlwifi/iwl-devtrace.h 	int offs = 24; /* start with normal header length */
offs               36 drivers/net/wireless/intel/iwlwifi/iwl-devtrace.h 		offs += 6;
offs               38 drivers/net/wireless/intel/iwlwifi/iwl-devtrace.h 		offs += 2;
offs               42 drivers/net/wireless/intel/iwlwifi/iwl-devtrace.h 	offs += 6;
offs               44 drivers/net/wireless/intel/iwlwifi/iwl-devtrace.h 	return skb->len <= offs + 2 ||
offs               45 drivers/net/wireless/intel/iwlwifi/iwl-devtrace.h 		*(__be16 *)(skb->data + offs) != cpu_to_be16(ETH_P_PAE);
offs             1181 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 	u8 offs = 0;
offs             1190 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 		offs = ru;
offs             1194 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 		offs = ru - 37;
offs             1198 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 		offs = ru - 53;
offs             1202 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 		offs = ru - 61;
offs             1206 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 		offs = ru - 65;
offs             1215 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 	he->data2 |= le16_encode_bits(offs,
offs              752 drivers/net/wireless/intel/iwlwifi/mvm/scan.c 	size_t offs;
offs              760 drivers/net/wireless/intel/iwlwifi/mvm/scan.c 	offs = ieee80211_ie_split(ies, len,
offs              765 drivers/net/wireless/intel/iwlwifi/mvm/scan.c 	memcpy(newpos, ies, offs);
offs              766 drivers/net/wireless/intel/iwlwifi/mvm/scan.c 	newpos += offs;
offs              773 drivers/net/wireless/intel/iwlwifi/mvm/scan.c 	memcpy(newpos, ies + offs, len - offs);
offs              774 drivers/net/wireless/intel/iwlwifi/mvm/scan.c 	newpos += len - offs;
offs             2181 drivers/net/wireless/intel/iwlwifi/pcie/trans.c 	int offs, ret = 0;
offs             2186 drivers/net/wireless/intel/iwlwifi/pcie/trans.c 		for (offs = 0; offs < dwords; offs++)
offs             2187 drivers/net/wireless/intel/iwlwifi/pcie/trans.c 			vals[offs] = iwl_read32(trans, HBUS_TARG_MEM_RDAT);
offs             2199 drivers/net/wireless/intel/iwlwifi/pcie/trans.c 	int offs, ret = 0;
offs             2204 drivers/net/wireless/intel/iwlwifi/pcie/trans.c 		for (offs = 0; offs < dwords; offs++)
offs             2206 drivers/net/wireless/intel/iwlwifi/pcie/trans.c 				    vals ? vals[offs] : 0);
offs             2321 drivers/net/wireless/intel/iwlwifi/pcie/tx.c 		int offs = skb_checksum_start_offset(skb);
offs             2322 drivers/net/wireless/intel/iwlwifi/pcie/tx.c 		int csum_offs = offs + skb->csum_offset;
offs             2328 drivers/net/wireless/intel/iwlwifi/pcie/tx.c 		csum = skb_checksum(skb, offs, skb->len - offs, 0);
offs             1099 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c 	struct ieee80211_mutable_offsets offs;
offs             1123 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c 	skb = ieee80211_beacon_get_template(mt76_hw(dev), vif, &offs);
offs             1137 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c 	req.tim_ie_pos = cpu_to_le16(MT_TXD_SIZE + offs.tim_offset);
offs             1138 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c 	if (offs.csa_counter_offs[0]) {
offs             1141 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c 		csa_offs = MT_TXD_SIZE + offs.csa_counter_offs[0] - 4;
offs             1143 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c 		req.csa_cnt = skb->data[offs.csa_counter_offs[0]];
offs               24 drivers/nvmem/uniphier-efuse.c 	int offs;
offs               26 drivers/nvmem/uniphier-efuse.c 	for (offs = 0; offs < bytes; offs += sizeof(u8))
offs               27 drivers/nvmem/uniphier-efuse.c 		*val++ = readb(priv->base + reg + offs);
offs              297 drivers/pci/controller/pcie-iproc-msi.c 	unsigned int offs;
offs              299 drivers/pci/controller/pcie-iproc-msi.c 	offs = iproc_msi_eq_offset(msi, eq) + head * sizeof(u32);
offs              300 drivers/pci/controller/pcie-iproc-msi.c 	msg = (u32 *)(msi->eq_cpu + offs);
offs               60 drivers/pinctrl/samsung/pinctrl-exynos.h #define EXYNOS_PIN_BANK_EINTG(pins, reg, id, offs)	\
offs               66 drivers/pinctrl/samsung/pinctrl-exynos.h 		.eint_offset	= offs,			\
offs               70 drivers/pinctrl/samsung/pinctrl-exynos.h #define EXYNOS_PIN_BANK_EINTW(pins, reg, id, offs)	\
offs               76 drivers/pinctrl/samsung/pinctrl-exynos.h 		.eint_offset	= offs,			\
offs               80 drivers/pinctrl/samsung/pinctrl-exynos.h #define EXYNOS5433_PIN_BANK_EINTG(pins, reg, id, offs)		\
offs               86 drivers/pinctrl/samsung/pinctrl-exynos.h 		.eint_offset	= offs,				\
offs               90 drivers/pinctrl/samsung/pinctrl-exynos.h #define EXYNOS5433_PIN_BANK_EINTW(pins, reg, id, offs)		\
offs               96 drivers/pinctrl/samsung/pinctrl-exynos.h 		.eint_offset	= offs,				\
offs              100 drivers/pinctrl/samsung/pinctrl-exynos.h #define EXYNOS5433_PIN_BANK_EINTW_EXT(pins, reg, id, offs, pctl_idx) \
offs              106 drivers/pinctrl/samsung/pinctrl-exynos.h 		.eint_offset    = offs,				\
offs             1156 drivers/pinctrl/samsung/pinctrl-samsung.c 		const u8 *offs = bank->type->reg_offset;
offs             1166 drivers/pinctrl/samsung/pinctrl-samsung.c 				bank->pm_save[type] = readl(reg + offs[type]);
offs             1171 drivers/pinctrl/samsung/pinctrl-samsung.c 				readl(reg + offs[PINCFG_TYPE_FUNC] + 4);
offs             1209 drivers/pinctrl/samsung/pinctrl-samsung.c 		const u8 *offs = bank->type->reg_offset;
offs             1221 drivers/pinctrl/samsung/pinctrl-samsung.c 				 readl(reg + offs[PINCFG_TYPE_FUNC]),
offs             1222 drivers/pinctrl/samsung/pinctrl-samsung.c 				 readl(reg + offs[PINCFG_TYPE_FUNC] + 4),
offs             1226 drivers/pinctrl/samsung/pinctrl-samsung.c 			       reg + offs[PINCFG_TYPE_FUNC] + 4);
offs             1229 drivers/pinctrl/samsung/pinctrl-samsung.c 				 reg, readl(reg + offs[PINCFG_TYPE_FUNC]),
offs             1234 drivers/pinctrl/samsung/pinctrl-samsung.c 				writel(bank->pm_save[type], reg + offs[type]);
offs              398 drivers/rtc/rtc-isl1208.c 	const int offs = ISL1208_REG_SCA;
offs              413 drivers/rtc/rtc-isl1208.c 	regs[ISL1208_REG_SCA - offs] = bin2bcd(alarm_tm->tm_sec) | enable;
offs              414 drivers/rtc/rtc-isl1208.c 	regs[ISL1208_REG_MNA - offs] = bin2bcd(alarm_tm->tm_min) | enable;
offs              415 drivers/rtc/rtc-isl1208.c 	regs[ISL1208_REG_HRA - offs] = bin2bcd(alarm_tm->tm_hour) |
offs              418 drivers/rtc/rtc-isl1208.c 	regs[ISL1208_REG_DTA - offs] = bin2bcd(alarm_tm->tm_mday) | enable;
offs              419 drivers/rtc/rtc-isl1208.c 	regs[ISL1208_REG_MOA - offs] = bin2bcd(alarm_tm->tm_mon + 1) | enable;
offs              420 drivers/rtc/rtc-isl1208.c 	regs[ISL1208_REG_DWA - offs] = bin2bcd(alarm_tm->tm_wday & 7) | enable;
offs              423 drivers/rtc/rtc-isl1208.c 	err = isl1208_i2c_set_regs(client, offs, regs,
offs             4379 drivers/s390/block/dasd_eckd.c 	unsigned int offs;
offs             4457 drivers/s390/block/dasd_eckd.c 					offs = sector_div(trkid, blk_per_trk);
offs             4458 drivers/s390/block/dasd_eckd.c 					count_to_trk_end = blk_per_trk - offs;
offs              511 drivers/s390/char/vmur.c 			   loff_t *offs)
offs              522 drivers/s390/char/vmur.c 	rc = diag_position_to_record(urd->dev_id.devno, *offs / PAGE_SIZE + 1);
offs              534 drivers/s390/char/vmur.c 	res = (size_t) (*offs % PAGE_SIZE);
offs              542 drivers/s390/char/vmur.c 		if (reclen && (copied == 0) && (*offs < PAGE_SIZE))
offs              553 drivers/s390/char/vmur.c 	*offs += copied;
offs              561 drivers/s390/char/vmur.c 		       loff_t *offs)
offs              566 drivers/s390/char/vmur.c 	TRACE("ur_read: count=%zu ppos=%li\n", count, (unsigned long) *offs);
offs              575 drivers/s390/char/vmur.c 	rc = diag14_read(file, ubuf, count, offs);
offs               30 drivers/scsi/aic94xx/aic94xx_dump.c 	u32	offs;
offs              452 drivers/scsi/aic94xx/aic94xx_dump.c 			   LSEQmCIOREGS[i].offs,
offs              454 drivers/scsi/aic94xx/aic94xx_dump.c 					     LSEQmCIOREGS[i].offs));
offs              459 drivers/scsi/aic94xx/aic94xx_dump.c 			   LSEQmCIOREGS[i].offs,
offs              461 drivers/scsi/aic94xx/aic94xx_dump.c 					     LSEQmCIOREGS[i].offs));
offs              466 drivers/scsi/aic94xx/aic94xx_dump.c 			   LSEQmCIOREGS[i].offs,
offs              468 drivers/scsi/aic94xx/aic94xx_dump.c 					      LSEQmCIOREGS[i].offs));
offs               18 drivers/scsi/aic94xx/aic94xx_reg.c 			   unsigned long offs, u8 val)
offs               22 drivers/scsi/aic94xx/aic94xx_reg.c 		     (unsigned long)asd_ha->io_handle[0].addr + (offs & 0xFF));
offs               24 drivers/scsi/aic94xx/aic94xx_reg.c 		writeb(val, asd_ha->io_handle[0].addr + offs);
offs               29 drivers/scsi/aic94xx/aic94xx_reg.c 			   unsigned long offs, u16 val)
offs               33 drivers/scsi/aic94xx/aic94xx_reg.c 		     (unsigned long)asd_ha->io_handle[0].addr + (offs & 0xFF));
offs               35 drivers/scsi/aic94xx/aic94xx_reg.c 		writew(val, asd_ha->io_handle[0].addr + offs);
offs               40 drivers/scsi/aic94xx/aic94xx_reg.c 			    unsigned long offs, u32 val)
offs               44 drivers/scsi/aic94xx/aic94xx_reg.c 		     (unsigned long)asd_ha->io_handle[0].addr + (offs & 0xFF));
offs               46 drivers/scsi/aic94xx/aic94xx_reg.c 		writel(val, asd_ha->io_handle[0].addr + offs);
offs               52 drivers/scsi/aic94xx/aic94xx_reg.c static u8 asd_read_byte(struct asd_ha_struct *asd_ha, unsigned long offs)
offs               57 drivers/scsi/aic94xx/aic94xx_reg.c 			  + (offs & 0xFF));
offs               59 drivers/scsi/aic94xx/aic94xx_reg.c 		val = readb(asd_ha->io_handle[0].addr + offs);
offs               65 drivers/scsi/aic94xx/aic94xx_reg.c 			 unsigned long offs)
offs               70 drivers/scsi/aic94xx/aic94xx_reg.c 			  + (offs & 0xFF));
offs               72 drivers/scsi/aic94xx/aic94xx_reg.c 		val = readw(asd_ha->io_handle[0].addr + offs);
offs               78 drivers/scsi/aic94xx/aic94xx_reg.c 			  unsigned long offs)
offs               83 drivers/scsi/aic94xx/aic94xx_reg.c 			  + (offs & 0xFF));
offs               85 drivers/scsi/aic94xx/aic94xx_reg.c 		val = readl(asd_ha->io_handle[0].addr + offs);
offs              285 drivers/scsi/aic94xx/aic94xx_reg.c 			 u32 offs, int count)
offs              291 drivers/scsi/aic94xx/aic94xx_reg.c 	for ( ; count > 0; count--, offs++, p++)
offs              292 drivers/scsi/aic94xx/aic94xx_reg.c 		*p = __asd_read_reg_byte(asd_ha, offs);
offs              304 drivers/scsi/aic94xx/aic94xx_reg.c 			  u32 offs, int count)
offs              310 drivers/scsi/aic94xx/aic94xx_reg.c 	for ( ; count > 0; count--, offs++, p++)
offs              311 drivers/scsi/aic94xx/aic94xx_reg.c 		__asd_write_reg_byte(asd_ha, offs, *p);
offs               55 drivers/scsi/aic94xx/aic94xx_reg.h 			 u32 offs, int count);
offs               57 drivers/scsi/aic94xx/aic94xx_reg.h 			  u32 offs, int count);
offs               61 drivers/scsi/aic94xx/aic94xx_reg.h 					 u32 offs)                    \
offs               64 drivers/scsi/aic94xx/aic94xx_reg.h 	type val = read##S (io_handle->addr + (unsigned long) offs);  \
offs               75 drivers/scsi/aic94xx/aic94xx_reg.h 					 u32 offs, type val)          \
offs               78 drivers/scsi/aic94xx/aic94xx_reg.h 	write##S (val, io_handle->addr + (unsigned long) offs);       \
offs               89 drivers/scsi/aic94xx/aic94xx_reg.h 					   u16 offs)                       \
offs               91 drivers/scsi/aic94xx/aic94xx_reg.h 	asd_write_reg_word(asd_ha, ALTCIOADR, MnDDB_SITE + offs);          \
offs              101 drivers/scsi/aic94xx/aic94xx_reg.h 				       u16 offs)
offs              103 drivers/scsi/aic94xx/aic94xx_reg.h 	if (offs & 1)
offs              105 drivers/scsi/aic94xx/aic94xx_reg.h 					     offs & ~1) >> 8;
offs              108 drivers/scsi/aic94xx/aic94xx_reg.h 					     offs) & 0xFF;
offs              115 drivers/scsi/aic94xx/aic94xx_reg.h 					u16 offs, type val)                \
offs              117 drivers/scsi/aic94xx/aic94xx_reg.h 	asd_write_reg_word(asd_ha, ALTCIOADR, MnDDB_SITE + offs);          \
offs              127 drivers/scsi/aic94xx/aic94xx_reg.h 					  u16 offs, u8 val)
offs              129 drivers/scsi/aic94xx/aic94xx_reg.h 	u16 base = offs & ~1;
offs              131 drivers/scsi/aic94xx/aic94xx_reg.h 	if (offs & 1)
offs              142 drivers/scsi/aic94xx/aic94xx_reg.h 					   u16 offs)                       \
offs              144 drivers/scsi/aic94xx/aic94xx_reg.h 	asd_write_reg_word(asd_ha, ALTCIOADR, MnSCB_SITE + offs);          \
offs              154 drivers/scsi/aic94xx/aic94xx_reg.h 				       u16 offs)
offs              156 drivers/scsi/aic94xx/aic94xx_reg.h 	if (offs & 1)
offs              158 drivers/scsi/aic94xx/aic94xx_reg.h 					     offs & ~1) >> 8;
offs              161 drivers/scsi/aic94xx/aic94xx_reg.h 					     offs) & 0xFF;
offs              168 drivers/scsi/aic94xx/aic94xx_reg.h 					u16 offs, type val)                \
offs              170 drivers/scsi/aic94xx/aic94xx_reg.h 	asd_write_reg_word(asd_ha, ALTCIOADR, MnSCB_SITE + offs);          \
offs              180 drivers/scsi/aic94xx/aic94xx_reg.h 					  u16 offs, u8 val)
offs              182 drivers/scsi/aic94xx/aic94xx_reg.h 	u16 base = offs & ~1;
offs              184 drivers/scsi/aic94xx/aic94xx_reg.h 	if (offs & 1)
offs              207 drivers/scsi/aic94xx/aic94xx_reg.h 					  u16 ddb_site_no, u16 offs,
offs              211 drivers/scsi/aic94xx/aic94xx_reg.h 	u16 oval = asd_ddbsite_read_word(asd_ha, ddb_site_no, offs);
offs              228 drivers/scsi/aic94xx/aic94xx_reg.h 					  u16 ddb_site_no, u16 offs,
offs              231 drivers/scsi/aic94xx/aic94xx_reg.h 	u16 base = offs & ~1;
offs              234 drivers/scsi/aic94xx/aic94xx_reg.h 	if (offs & 1) {
offs               22 drivers/scsi/aic94xx/aic94xx_sds.c 	u8 offs[3];
offs               66 drivers/scsi/aic94xx/aic94xx_sds.c 		.offs = {128},			/* Offset */
offs               71 drivers/scsi/aic94xx/aic94xx_sds.c 		.offs = {128, 4},		/* Offset */
offs               76 drivers/scsi/aic94xx/aic94xx_sds.c 		.offs = {128, 8},		/* Offset */
offs               81 drivers/scsi/aic94xx/aic94xx_sds.c 		.offs = {128, 12},		/* Offset */
offs               86 drivers/scsi/aic94xx/aic94xx_sds.c 		.offs = {128, 16},		/* Offset */
offs              117 drivers/scsi/aic94xx/aic94xx_sds.c 			    u32 offs, int size)
offs              121 drivers/scsi/aic94xx/aic94xx_sds.c 		asd_read_reg_string(asd_ha, buffer, offs+OCM_BASE_ADDR, size);
offs              123 drivers/scsi/aic94xx/aic94xx_sds.c 		for ( ; size > 0; size--, offs++, p++)
offs              124 drivers/scsi/aic94xx/aic94xx_sds.c 			*p = asd_read_ocm_byte(asd_ha, offs);
offs              130 drivers/scsi/aic94xx/aic94xx_sds.c 			    struct asd_ocm_dir *dir, u32 offs)
offs              132 drivers/scsi/aic94xx/aic94xx_sds.c 	int err = asd_read_ocm_seg(asd_ha, dir, offs, sizeof(*dir));
offs              162 drivers/scsi/aic94xx/aic94xx_sds.c 			    u32 offs, int size)
offs              166 drivers/scsi/aic94xx/aic94xx_sds.c 		asd_write_reg_string(asd_ha, buffer, offs+OCM_BASE_ADDR, size);
offs              168 drivers/scsi/aic94xx/aic94xx_sds.c 		for ( ; size > 0; size--, offs++, p++)
offs              169 drivers/scsi/aic94xx/aic94xx_sds.c 			asd_write_ocm_byte(asd_ha, offs, *p);
offs              177 drivers/scsi/aic94xx/aic94xx_sds.c 			      u32 *offs, u32 *size)
offs              189 drivers/scsi/aic94xx/aic94xx_sds.c 	*offs = (u32) THREE_TO_NUM(ent->offs);
offs              202 drivers/scsi/aic94xx/aic94xx_sds.c 	u32 offs, size;
offs              204 drivers/scsi/aic94xx/aic94xx_sds.c 	err = asd_find_dir_entry(dir, OCM_BIOS_CHIM_DE, &offs, &size);
offs              215 drivers/scsi/aic94xx/aic94xx_sds.c 	err = asd_read_ocm_seg(asd_ha, (void *)bc_struct, offs,
offs              256 drivers/scsi/aic94xx/aic94xx_sds.c 				       offs + sizeof(*bc_struct), size);
offs              375 drivers/scsi/aic94xx/aic94xx_sds.c 	__le32   offs;
offs              577 drivers/scsi/aic94xx/aic94xx_sds.c 			      void *buffer, u32 offs, int size)
offs              579 drivers/scsi/aic94xx/aic94xx_sds.c 	asd_read_reg_string(asd_ha, buffer, asd_ha->hw_prof.flash.bar+offs,
offs              645 drivers/scsi/aic94xx/aic94xx_sds.c 			     u32 *offs, u32 *size)
offs              660 drivers/scsi/aic94xx/aic94xx_sds.c 	*offs = le32_to_cpu(de->offs);
offs              855 drivers/scsi/aic94xx/aic94xx_sds.c 	u32 offs, size;
offs              857 drivers/scsi/aic94xx/aic94xx_sds.c 	err = asd_find_flash_de(flash_dir, FLASH_DE_MS, &offs, &size);
offs              873 drivers/scsi/aic94xx/aic94xx_sds.c 	err = asd_read_flash_seg(asd_ha, (void *)manuf_sec, offs, size);
offs              876 drivers/scsi/aic94xx/aic94xx_sds.c 			    offs, size);
offs              967 drivers/scsi/aic94xx/aic94xx_sds.c 	u32 offs, size;
offs              972 drivers/scsi/aic94xx/aic94xx_sds.c 	err = asd_find_flash_de(flash_dir, FLASH_DE_CTRL_A_USER, &offs, &size);
offs             1002 drivers/scsi/aic94xx/aic94xx_sds.c 	err = asd_read_flash_seg(asd_ha, (void *)el, offs, size);
offs             6885 drivers/scsi/ips.c 		uint32_t offs;
offs             6888 drivers/scsi/ips.c 		offs = mem_addr - base;
offs             6892 drivers/scsi/ips.c 		mem_ptr = ioremap_ptr + offs;
offs              199 drivers/scsi/mvsas/mv_64xx.c 		u32 offs;
offs              201 drivers/scsi/mvsas/mv_64xx.c 			offs = PCR_PHY_CTL;
offs              203 drivers/scsi/mvsas/mv_64xx.c 			offs = PCR_PHY_CTL2;
offs              206 drivers/scsi/mvsas/mv_64xx.c 		pci_read_config_dword(mvi->pdev, offs, &tmp);
offs              208 drivers/scsi/mvsas/mv_64xx.c 		pci_write_config_dword(mvi->pdev, offs, tmp);
offs              221 drivers/scsi/mvsas/mv_64xx.c 		u32 offs;
offs              223 drivers/scsi/mvsas/mv_64xx.c 			offs = PCR_PHY_CTL;
offs              225 drivers/scsi/mvsas/mv_64xx.c 			offs = PCR_PHY_CTL2;
offs              228 drivers/scsi/mvsas/mv_64xx.c 		pci_read_config_dword(mvi->pdev, offs, &tmp);
offs              230 drivers/scsi/mvsas/mv_64xx.c 		pci_write_config_dword(mvi->pdev, offs, tmp);
offs              498 drivers/scsi/mvsas/mv_64xx.c 	u32 tmp, offs;
offs              503 drivers/scsi/mvsas/mv_64xx.c 	offs = 1U << ((*tfs & 0x0f) + PCS_EN_SATA_REG_SHIFT);
offs              506 drivers/scsi/mvsas/mv_64xx.c 		mw32(MVS_PCS, tmp & ~offs);
offs              509 drivers/scsi/mvsas/mv_64xx.c 		mw32(MVS_CTL, tmp & ~offs);
offs              523 drivers/scsi/mvsas/mv_64xx.c 	u32 tmp, offs;
offs              534 drivers/scsi/mvsas/mv_64xx.c 		offs = 1U << ((i & 0x0f) + PCS_EN_SATA_REG_SHIFT);
offs              535 drivers/scsi/mvsas/mv_64xx.c 		if (!(tmp & offs)) {
offs              539 drivers/scsi/mvsas/mv_64xx.c 				mw32(MVS_PCS, tmp | offs);
offs              541 drivers/scsi/mvsas/mv_64xx.c 				mw32(MVS_CTL, tmp | offs);
offs              443 drivers/spi/spi-mem.c 				      u64 offs, size_t len, void *buf)
offs              448 drivers/spi/spi-mem.c 	op.addr.val = desc->info.offset + offs;
offs              463 drivers/spi/spi-mem.c 				       u64 offs, size_t len, const void *buf)
offs              468 drivers/spi/spi-mem.c 	op.addr.val = desc->info.offset + offs;
offs              641 drivers/spi/spi-mem.c 			    u64 offs, size_t len, void *buf)
offs              653 drivers/spi/spi-mem.c 		ret = spi_mem_no_dirmap_read(desc, offs, len, buf);
offs              659 drivers/spi/spi-mem.c 		ret = ctlr->mem_ops->dirmap_read(desc, offs, len, buf);
offs              687 drivers/spi/spi-mem.c 			     u64 offs, size_t len, const void *buf)
offs              699 drivers/spi/spi-mem.c 		ret = spi_mem_no_dirmap_write(desc, offs, len, buf);
offs              705 drivers/spi/spi-mem.c 		ret = ctlr->mem_ops->dirmap_write(desc, offs, len, buf);
offs              268 drivers/spi/spi-npcm-fiu.c 				    u64 offs, size_t len, void *buf)
offs              274 drivers/spi/spi-npcm-fiu.c 					     offs);
offs              295 drivers/spi/spi-npcm-fiu.c 				     u64 offs, size_t len, const void *buf)
offs              301 drivers/spi/spi-npcm-fiu.c 					     offs);
offs              506 drivers/spi/spi-stm32.c 		u32 offs = spi->cur_xferlen - spi->tx_len;
offs              509 drivers/spi/spi-stm32.c 			const u16 *tx_buf16 = (const u16 *)(spi->tx_buf + offs);
offs              514 drivers/spi/spi-stm32.c 			const u8 *tx_buf8 = (const u8 *)(spi->tx_buf + offs);
offs              536 drivers/spi/spi-stm32.c 		u32 offs = spi->cur_xferlen - spi->tx_len;
offs              539 drivers/spi/spi-stm32.c 			const u32 *tx_buf32 = (const u32 *)(spi->tx_buf + offs);
offs              544 drivers/spi/spi-stm32.c 			const u16 *tx_buf16 = (const u16 *)(spi->tx_buf + offs);
offs              549 drivers/spi/spi-stm32.c 			const u8 *tx_buf8 = (const u8 *)(spi->tx_buf + offs);
offs              570 drivers/spi/spi-stm32.c 		u32 offs = spi->cur_xferlen - spi->rx_len;
offs              573 drivers/spi/spi-stm32.c 			u16 *rx_buf16 = (u16 *)(spi->rx_buf + offs);
offs              578 drivers/spi/spi-stm32.c 			u8 *rx_buf8 = (u8 *)(spi->rx_buf + offs);
offs              604 drivers/spi/spi-stm32.c 		u32 offs = spi->cur_xferlen - spi->rx_len;
offs              608 drivers/spi/spi-stm32.c 			u32 *rx_buf32 = (u32 *)(spi->rx_buf + offs);
offs              614 drivers/spi/spi-stm32.c 			u16 *rx_buf16 = (u16 *)(spi->rx_buf + offs);
offs              619 drivers/spi/spi-stm32.c 			u8 *rx_buf8 = (u8 *)(spi->rx_buf + offs);
offs              433 drivers/spi/spi-ti-qspi.c static int ti_qspi_dma_bounce_buffer(struct ti_qspi *qspi, loff_t offs,
offs              436 drivers/spi/spi-ti-qspi.c 	dma_addr_t dma_src = qspi->mmap_phys_base + offs;
offs              215 drivers/staging/isdn/hysdn/boardergo.c 		  unsigned long offs)
offs              222 drivers/staging/isdn/hysdn/boardergo.c 		hysdn_addlog(card, "ERGO: write bootldr offs=0x%lx ", offs);
offs              225 drivers/staging/isdn/hysdn/boardergo.c 	dst += (offs + ERG_DPRAM_FILL_SIZE);	/* offset in the DPRAM */
offs              235 drivers/staging/isdn/hysdn/boardergo.c 	if (offs) {
offs              469 drivers/staging/most/core.c 	int offs;
offs              476 drivers/staging/most/core.c 	int offs = d->offs;
offs              483 drivers/staging/most/core.c 			offs += snprintf(buf + offs,
offs              484 drivers/staging/most/core.c 					 PAGE_SIZE - offs,
offs              491 drivers/staging/most/core.c 			offs += snprintf(buf + offs,
offs              492 drivers/staging/most/core.c 					 PAGE_SIZE - offs,
offs              499 drivers/staging/most/core.c 	d->offs = offs;
offs              508 drivers/staging/most/core.c 	return d.offs;
offs              514 drivers/staging/most/core.c 	int offs = 0;
offs              517 drivers/staging/most/core.c 		offs += snprintf(buf + offs, PAGE_SIZE - offs, "%s\n",
offs              520 drivers/staging/most/core.c 	return offs;
offs              133 drivers/staging/most/dim2/hal.c static void free_dbr(int offs, int size)
offs              135 drivers/staging/most/dim2/hal.c 	int block_idx = offs / DBR_BLOCK_SIZE;
offs               53 drivers/staging/most/video/video.c 	u32 offs;
offs              176 drivers/staging/most/video/video.c 		int const rem = mbo->processed_length - fh->offs;
offs              179 drivers/staging/most/video/video.c 		if (copy_to_user(buf, mbo->virt_address + fh->offs, cnt)) {
offs              186 drivers/staging/most/video/video.c 		fh->offs += cnt;
offs              192 drivers/staging/most/video/video.c 			fh->offs = 0;
offs              106 drivers/tee/optee/core.c 			p->u.memref.shm_offs = mp->u.rmem.offs;
offs              154 drivers/tee/optee/core.c 	mp->u.rmem.offs = p->u.memref.shm_offs;
offs              127 drivers/tee/optee/optee_msg.h 	u64 offs;
offs              713 drivers/tee/tee_core.c 	int offs = 0;
offs              729 drivers/tee/tee_core.c 		offs = TEE_NUM_DEVICES / 2;
offs              734 drivers/tee/tee_core.c 	teedev->id = find_next_zero_bit(dev_mask, max_id, offs);
offs              746 drivers/tee/tee_core.c 		 teedev->id - offs);
offs              433 drivers/tee/tee_shm.c void *tee_shm_get_va(struct tee_shm *shm, size_t offs)
offs              437 drivers/tee/tee_shm.c 	if (offs >= shm->size)
offs              439 drivers/tee/tee_shm.c 	return (char *)shm->kaddr + offs;
offs              451 drivers/tee/tee_shm.c int tee_shm_get_pa(struct tee_shm *shm, size_t offs, phys_addr_t *pa)
offs              453 drivers/tee/tee_shm.c 	if (offs >= shm->size)
offs              456 drivers/tee/tee_shm.c 		*pa = shm->paddr + offs;
offs              172 drivers/tty/mips_ejtag_fdc.c 					unsigned int offs, unsigned int data)
offs              174 drivers/tty/mips_ejtag_fdc.c 	__raw_writel(data, priv->reg + offs);
offs              178 drivers/tty/mips_ejtag_fdc.c 					       unsigned int offs)
offs              180 drivers/tty/mips_ejtag_fdc.c 	return __raw_readl(priv->reg + offs);
offs             1311 drivers/tty/serial/max310x.c 		unsigned int offs = i << 5;
offs             1314 drivers/tty/serial/max310x.c 		regmap_write(s->regmap, MAX310X_MODE2_REG + offs,
offs             1317 drivers/tty/serial/max310x.c 		regmap_write(s->regmap, MAX310X_MODE2_REG + offs, 0);
offs             1322 drivers/tty/serial/max310x.c 				    MAX310X_BRGDIVLSB_REG + offs, &ret);
offs             1325 drivers/tty/serial/max310x.c 		regmap_write(s->regmap, MAX310X_MODE1_REG + offs,
offs              200 drivers/tty/serial/sifive.c static void __ssp_early_writel(u32 v, u16 offs, struct uart_port *port)
offs              202 drivers/tty/serial/sifive.c 	writel_relaxed(v, port->membase + offs);
offs              220 drivers/tty/serial/sifive.c static u32 __ssp_early_readl(struct uart_port *port, u16 offs)
offs              222 drivers/tty/serial/sifive.c 	return readl_relaxed(port->membase + offs);
offs              236 drivers/tty/serial/sifive.c static void __ssp_writel(u32 v, u16 offs, struct sifive_serial_port *ssp)
offs              238 drivers/tty/serial/sifive.c 	__ssp_early_writel(v, offs, &ssp->port);
offs              253 drivers/tty/serial/sifive.c static u32 __ssp_readl(struct sifive_serial_port *ssp, u16 offs)
offs              255 drivers/tty/serial/sifive.c 	return __ssp_early_readl(&ssp->port, offs);
offs               68 drivers/uio/uio.c 	return sprintf(buf, "0x%llx\n", (unsigned long long)mem->offs);
offs              124 drivers/uio/uio_mf624.c 	mem->offs = start & ~PAGE_MASK;
offs              227 drivers/usb/gadget/udc/renesas_usb3.c #define PN_RAMMAP_BASEAD(offs)	(((offs) >> 3) & PN_RAMMAP_BASEAD_MASK)
offs              396 drivers/usb/gadget/udc/renesas_usb3.c static void usb3_write(struct renesas_usb3 *usb3, u32 data, u32 offs)
offs              398 drivers/usb/gadget/udc/renesas_usb3.c 	iowrite32(data, usb3->reg + offs);
offs              401 drivers/usb/gadget/udc/renesas_usb3.c static u32 usb3_read(struct renesas_usb3 *usb3, u32 offs)
offs              403 drivers/usb/gadget/udc/renesas_usb3.c 	return ioread32(usb3->reg + offs);
offs              406 drivers/usb/gadget/udc/renesas_usb3.c static void usb3_set_bit(struct renesas_usb3 *usb3, u32 bits, u32 offs)
offs              408 drivers/usb/gadget/udc/renesas_usb3.c 	u32 val = usb3_read(usb3, offs);
offs              411 drivers/usb/gadget/udc/renesas_usb3.c 	usb3_write(usb3, val, offs);
offs              414 drivers/usb/gadget/udc/renesas_usb3.c static void usb3_clear_bit(struct renesas_usb3 *usb3, u32 bits, u32 offs)
offs              416 drivers/usb/gadget/udc/renesas_usb3.c 	u32 val = usb3_read(usb3, offs);
offs              419 drivers/usb/gadget/udc/renesas_usb3.c 	usb3_write(usb3, val, offs);
offs              464 drivers/usb/serial/garmin_gps.c 	int offs = 0;
offs              489 drivers/usb/serial/garmin_gps.c 	while (offs < count) {
offs              491 drivers/usb/serial/garmin_gps.c 		data = *(buf+offs);
offs              492 drivers/usb/serial/garmin_gps.c 		offs++;
offs              737 drivers/usb/serial/garmin_gps.c 	int offs = 0;
offs              741 drivers/usb/serial/garmin_gps.c 	while (offs < count) {
offs              760 drivers/usb/serial/garmin_gps.c 			if (len > (count-offs))
offs              761 drivers/usb/serial/garmin_gps.c 				len = (count-offs);
offs              765 drivers/usb/serial/garmin_gps.c 				memcpy(dest, buf+offs, len);
offs              767 drivers/usb/serial/garmin_gps.c 				offs += len;
offs              444 drivers/video/console/sticore.c 			unsigned char offs = sti->rm_entry[i];
offs              446 drivers/video/console/sticore.c 			if (offs == 0)
offs              448 drivers/video/console/sticore.c 			if (offs != PCI_ROM_ADDRESS &&
offs              449 drivers/video/console/sticore.c 			    (offs < PCI_BASE_ADDRESS_0 ||
offs              450 drivers/video/console/sticore.c 			     offs > PCI_BASE_ADDRESS_5)) {
offs              456 drivers/video/console/sticore.c 			newhpa = pci_resource_start (sti->pd, (offs - PCI_BASE_ADDRESS_0) / 4);
offs               26 drivers/video/fbdev/core/fb_defio.c static struct page *fb_deferred_io_page(struct fb_info *info, unsigned long offs)
offs               31 drivers/video/fbdev/core/fb_defio.c 	if (is_vmalloc_addr(screen_base + offs))
offs               32 drivers/video/fbdev/core/fb_defio.c 		page = vmalloc_to_page(screen_base + offs);
offs               34 drivers/video/fbdev/core/fb_defio.c 		page = pfn_to_page((info->fix.smem_start + offs) >> PAGE_SHIFT);
offs             1284 drivers/video/fbdev/matrox/matroxfb_base.c 	unsigned int offs;
offs             1303 drivers/video/fbdev/matrox/matroxfb_base.c 	for (offs = 0x100000; offs < maxSize; offs += 0x200000)
offs             1304 drivers/video/fbdev/matrox/matroxfb_base.c 		*tmp++ = mga_readb(vm, offs);
offs             1305 drivers/video/fbdev/matrox/matroxfb_base.c 	for (offs = 0x100000; offs < maxSize; offs += 0x200000)
offs             1306 drivers/video/fbdev/matrox/matroxfb_base.c 		mga_writeb(vm, offs, 0x02);
offs             1308 drivers/video/fbdev/matrox/matroxfb_base.c 	for (offs = 0x100000; offs < maxSize; offs += 0x200000) {
offs             1309 drivers/video/fbdev/matrox/matroxfb_base.c 		if (mga_readb(vm, offs) != 0x02)
offs             1311 drivers/video/fbdev/matrox/matroxfb_base.c 		mga_writeb(vm, offs, mga_readb(vm, offs) - 0x02);
offs             1312 drivers/video/fbdev/matrox/matroxfb_base.c 		if (mga_readb(vm, offs))
offs             1322 drivers/video/fbdev/matrox/matroxfb_base.c 	*realSize = offs - 0x100000;
offs             1324 drivers/video/fbdev/matrox/matroxfb_base.c 	minfo->interleave = !(!isMillenium(minfo) || ((offs - 0x100000) & 0x3FFFFF));
offs              128 drivers/video/fbdev/matrox/matroxfb_base.h static inline unsigned int mga_readb(vaddr_t va, unsigned int offs) {
offs              129 drivers/video/fbdev/matrox/matroxfb_base.h 	return readb(va.vaddr + offs);
offs              132 drivers/video/fbdev/matrox/matroxfb_base.h static inline void mga_writeb(vaddr_t va, unsigned int offs, u_int8_t value) {
offs              133 drivers/video/fbdev/matrox/matroxfb_base.h 	writeb(value, va.vaddr + offs);
offs              136 drivers/video/fbdev/matrox/matroxfb_base.h static inline void mga_writew(vaddr_t va, unsigned int offs, u_int16_t value) {
offs              137 drivers/video/fbdev/matrox/matroxfb_base.h 	writew(value, va.vaddr + offs);
offs              140 drivers/video/fbdev/matrox/matroxfb_base.h static inline u_int32_t mga_readl(vaddr_t va, unsigned int offs) {
offs              141 drivers/video/fbdev/matrox/matroxfb_base.h 	return readl(va.vaddr + offs);
offs              144 drivers/video/fbdev/matrox/matroxfb_base.h static inline void mga_writel(vaddr_t va, unsigned int offs, u_int32_t value) {
offs              145 drivers/video/fbdev/matrox/matroxfb_base.h 	writel(value, va.vaddr + offs);
offs              179 drivers/video/fbdev/matrox/matroxfb_base.h static inline void vaddr_add(vaddr_t* va, unsigned long offs) {
offs              180 drivers/video/fbdev/matrox/matroxfb_base.h 	va->vaddr += offs;
offs              155 fs/crypto/crypto.c 			unsigned int offs, gfp_t gfp_flags)
offs              181 fs/crypto/crypto.c 	sg_set_page(&dst, dest_page, len, offs);
offs              183 fs/crypto/crypto.c 	sg_set_page(&src, src_page, len, offs);
offs              219 fs/crypto/crypto.c 					      unsigned int offs,
offs              228 fs/crypto/crypto.c 		       (offs >> blockbits);
offs              235 fs/crypto/crypto.c 	if (WARN_ON_ONCE(len <= 0 || !IS_ALIGNED(len | offs, blocksize)))
offs              242 fs/crypto/crypto.c 	for (i = offs; i < offs + len; i += blocksize, lblk_num++) {
offs              275 fs/crypto/crypto.c 				  unsigned int len, unsigned int offs,
offs              279 fs/crypto/crypto.c 				   len, offs, gfp_flags);
offs              300 fs/crypto/crypto.c 				     unsigned int offs)
offs              306 fs/crypto/crypto.c 		       (offs >> blockbits);
offs              313 fs/crypto/crypto.c 	if (WARN_ON_ONCE(len <= 0 || !IS_ALIGNED(len | offs, blocksize)))
offs              316 fs/crypto/crypto.c 	for (i = offs; i < offs + len; i += blocksize, lblk_num++) {
offs              343 fs/crypto/crypto.c 				  unsigned int len, unsigned int offs,
offs              347 fs/crypto/crypto.c 				   len, offs, GFP_NOFS);
offs              238 fs/crypto/fscrypt_private.h 			       unsigned int len, unsigned int offs,
offs              122 fs/ext2/dir.c  	unsigned offs, rec_len;
offs              134 fs/ext2/dir.c  	for (offs = 0; offs <= limit - EXT2_DIR_REC_LEN(1); offs += rec_len) {
offs              135 fs/ext2/dir.c  		p = (ext2_dirent *)(kaddr + offs);
offs              144 fs/ext2/dir.c  		if (unlikely(((offs + rec_len - 1) ^ offs) & ~(chunk_size-1)))
offs              149 fs/ext2/dir.c  	if (offs != limit)
offs              181 fs/ext2/dir.c  			dir->i_ino, error, (page->index<<PAGE_SHIFT)+offs,
offs              187 fs/ext2/dir.c  		p = (ext2_dirent *)(kaddr + offs);
offs              191 fs/ext2/dir.c  			dir->i_ino, (page->index<<PAGE_SHIFT)+offs,
offs              470 fs/ext2/xattr.c 				size_t offs = le16_to_cpu(last->e_value_offs);
offs              471 fs/ext2/xattr.c 				if (offs < min_offs)
offs              472 fs/ext2/xattr.c 					min_offs = offs;
offs              573 fs/ext2/xattr.c 			size_t offs = le16_to_cpu(here->e_value_offs);
offs              574 fs/ext2/xattr.c 			char *val = (char *)header + offs;
offs              598 fs/ext2/xattr.c 				if (o < offs)
offs               59 fs/ext4/inline.c 			size_t offs = le16_to_cpu(entry->e_value_offs);
offs               60 fs/ext4/inline.c 			if (offs < min_offs)
offs               61 fs/ext4/inline.c 				min_offs = offs;
offs             3469 fs/ext4/inode.c 				ext4_lblk_t offs = 0;
offs             3472 fs/ext4/inode.c 					offs = map.m_lblk - es.es_lblk;
offs             3473 fs/ext4/inode.c 				map.m_lblk = es.es_lblk + offs;
offs             3474 fs/ext4/inode.c 				map.m_len = es.es_len - offs;
offs             3667 fs/ext4/mballoc.c 		int offs;
offs             3686 fs/ext4/mballoc.c 		offs = ac->ac_o_ex.fe_logical %
offs             3688 fs/ext4/mballoc.c 		if (offs && offs < win)
offs             3689 fs/ext4/mballoc.c 			win = offs;
offs              249 fs/ext4/namei.c 	u16 offs;
offs             1221 fs/ext4/namei.c 			map_tail->offs = ((char *) de - base)>>2;
offs             1769 fs/ext4/namei.c 						(from + (map->offs<<2));
offs              206 fs/ext4/xattr.c 			u16 offs = le16_to_cpu(entry->e_value_offs);
offs              215 fs/ext4/xattr.c 			if (offs > end - value_start)
offs              217 fs/ext4/xattr.c 			value = value_start + offs;
offs             1329 fs/ext4/xattr.c 			size_t offs = le16_to_cpu(last->e_value_offs);
offs             1330 fs/ext4/xattr.c 			if (offs < *min_offs)
offs             1331 fs/ext4/xattr.c 				*min_offs = offs;
offs             1584 fs/ext4/xattr.c 		size_t offs = le16_to_cpu(here->e_value_offs);
offs             1585 fs/ext4/xattr.c 		void *val = s->base + offs;
offs             1608 fs/ext4/xattr.c 			size_t offs = le16_to_cpu(last->e_value_offs);
offs             1609 fs/ext4/xattr.c 			if (offs < min_offs)
offs             1610 fs/ext4/xattr.c 				min_offs = offs;
offs             1702 fs/ext4/xattr.c 		size_t offs = le16_to_cpu(here->e_value_offs);
offs             1703 fs/ext4/xattr.c 		void *val = s->base + offs;
offs             1715 fs/ext4/xattr.c 			    last->e_value_size && o < offs)
offs             1381 fs/gfs2/bmap.c 		unsigned int offs;
offs             1387 fs/gfs2/bmap.c 		offs = oldsize & ~PAGE_MASK;
offs             1388 fs/gfs2/bmap.c 		if (offs && chunk > PAGE_SIZE)
offs             1389 fs/gfs2/bmap.c 			chunk = offs + ((chunk - offs) & PAGE_MASK);
offs             1433 fs/gfs2/bmap.c 		unsigned int offs = newsize & (blocksize - 1);
offs             1434 fs/gfs2/bmap.c 		if (offs) {
offs             1436 fs/gfs2/bmap.c 						      blocksize - offs);
offs             2414 fs/gfs2/bmap.c 		unsigned int offs;
offs             2420 fs/gfs2/bmap.c 		offs = offset & ~PAGE_MASK;
offs             2421 fs/gfs2/bmap.c 		if (offs && chunk > PAGE_SIZE)
offs             2422 fs/gfs2/bmap.c 			chunk = offs + ((chunk - offs) & PAGE_MASK);
offs              233 fs/hpfs/hpfs.h   __le16 offs[3];			/* offsets from start of sector
offs               89 fs/hpfs/map.c  	if (le16_to_cpu(cpd->offs[cpi]) > 0x178) {
offs               94 fs/hpfs/map.c  	ptr = (unsigned char *)cpd + le16_to_cpu(cpd->offs[cpi]) + 6;
offs              737 fs/jffs2/debug.c __jffs2_dbg_dump_buffer(unsigned char *buf, int len, uint32_t offs)
offs              743 fs/jffs2/debug.c 		offs, offs + len, len);
offs              744 fs/jffs2/debug.c 	i = skip = offs % JFFS2_BUFDUMP_BYTES_PER_LINE;
offs              745 fs/jffs2/debug.c 	offs = offs & ~(JFFS2_BUFDUMP_BYTES_PER_LINE - 1);
offs              748 fs/jffs2/debug.c 		printk(JFFS2_DBG "%#08x: ", offs);
offs              757 fs/jffs2/debug.c 			offs += JFFS2_BUFDUMP_BYTES_PER_LINE;
offs              758 fs/jffs2/debug.c 			printk(JFFS2_DBG "%0#8x: ", offs);
offs              214 fs/jffs2/debug.h __jffs2_dbg_dump_buffer(unsigned char *buf, int len, uint32_t offs);
offs              250 fs/jffs2/debug.h #define jffs2_dbg_dump_buffer(buf, len, offs)			\
offs              251 fs/jffs2/debug.h 	__jffs2_dbg_dump_buffer(*buf, len, offs);
offs              261 fs/jffs2/debug.h #define jffs2_dbg_dump_buffer(buf, len, offs)
offs              929 fs/jffs2/readinode.c 	uint32_t offs;
offs              939 fs/jffs2/readinode.c 	offs = ref_offset(ref) + *rdlen;
offs              943 fs/jffs2/readinode.c 	err = jffs2_flash_read(c, offs, to_read, &retlen, buf + *rdlen);
offs              946 fs/jffs2/readinode.c 			"error code: %d.\n", to_read, offs, err);
offs              952 fs/jffs2/readinode.c 				offs, retlen, to_read);
offs              122 fs/nilfs2/dir.c 	unsigned int offs, rec_len;
offs              134 fs/nilfs2/dir.c 	for (offs = 0; offs <= limit - NILFS_DIR_REC_LEN(1); offs += rec_len) {
offs              135 fs/nilfs2/dir.c 		p = (struct nilfs_dir_entry *)(kaddr + offs);
offs              144 fs/nilfs2/dir.c 		if (((offs + rec_len - 1) ^ offs) & ~(chunk_size-1))
offs              147 fs/nilfs2/dir.c 	if (offs != limit)
offs              174 fs/nilfs2/dir.c 		    dir->i_ino, error, (page->index << PAGE_SHIFT) + offs,
offs              179 fs/nilfs2/dir.c 	p = (struct nilfs_dir_entry *)(kaddr + offs);
offs              182 fs/nilfs2/dir.c 		    dir->i_ino, (page->index << PAGE_SHIFT) + offs,
offs             3017 fs/ocfs2/xattr.c 		size_t offs = le16_to_cpu(last->xe_name_offset);
offs             3018 fs/ocfs2/xattr.c 		if (offs < min_offs)
offs             3019 fs/ocfs2/xattr.c 			min_offs = offs;
offs              525 fs/proc/base.c 			    size_t count, loff_t *offs)
offs               53 fs/qnx6/dir.c  	u32 offs = (s << sb->s_blocksize_bits) & ~PAGE_MASK;
offs               59 fs/qnx6/dir.c  	return (struct qnx6_long_filename *)(page_address(page) + offs);
offs              530 fs/qnx6/inode.c 	u32 n, offs;
offs              549 fs/qnx6/inode.c 	offs = (ino - 1) & (~PAGE_MASK >> QNX6_INODE_SIZE_BITS);
offs              559 fs/qnx6/inode.c 	raw_inode = ((struct qnx6_inode_entry *)page_address(page)) + offs;
offs              255 fs/seq_file.c  		size_t offs = m->count;
offs              270 fs/seq_file.c  			m->count = offs;
offs              153 fs/ubifs/auth.c 		    int lnum, int offs)
offs              163 fs/ubifs/auth.c 	ubifs_err(c, "hash mismatch on node at LEB %d:%d", lnum, offs);
offs              164 fs/ubifs/commit.c 	c->mst_node->root_offs   = cpu_to_le32(zroot.offs);
offs              517 fs/ubifs/commit.c 	int lnum, offs, len, err = 0;
offs              522 fs/ubifs/commit.c 	offs = d->old_zroot.offs;
offs              529 fs/ubifs/commit.c 	err = ubifs_read_node(c, idx, UBIFS_IDX_NODE, len, lnum, offs);
offs              555 fs/ubifs/commit.c 	int lnum, offs, len, err = 0, uninitialized_var(last_level), child_cnt;
offs              575 fs/ubifs/commit.c 	offs = d->old_zroot.offs;
offs              597 fs/ubifs/commit.c 		err = ubifs_read_node(c, idx, UBIFS_IDX_NODE, len, lnum, offs);
offs              686 fs/ubifs/commit.c 		offs = le32_to_cpu(br->offs);
offs              404 fs/ubifs/debug.c 		pr_err("\toffs           %u\n", le32_to_cpu(ref->offs));
offs              510 fs/ubifs/debug.c 			       i, le32_to_cpu(br->lnum), le32_to_cpu(br->offs),
offs              795 fs/ubifs/debug.c 		     const struct ubifs_scan_leb *sleb, int offs)
offs              800 fs/ubifs/debug.c 	       current->pid, sleb->lnum, offs);
offs              805 fs/ubifs/debug.c 		       sleb->lnum, snod->offs, snod->len);
offs              836 fs/ubifs/debug.c 		       snod->offs, snod->len);
offs              862 fs/ubifs/debug.c 	       znode, zbr->lnum, zbr->offs, zbr->len, znode->parent, znode->iip,
offs              875 fs/ubifs/debug.c 			       n, zbr->znode, zbr->lnum, zbr->offs, zbr->len,
offs              880 fs/ubifs/debug.c 			       n, zbr->znode, zbr->lnum, zbr->offs, zbr->len,
offs             1209 fs/ubifs/debug.c 			  zbr1->offs, dbg_snprintf_key(c, &key, key_buf,
offs             1221 fs/ubifs/debug.c 			  zbr1->offs, dbg_snprintf_key(c, &key, key_buf,
offs             1244 fs/ubifs/debug.c 	ubifs_msg(c, "first node at %d:%d\n", zbr1->lnum, zbr1->offs);
offs             1246 fs/ubifs/debug.c 	ubifs_msg(c, "second node at %d:%d\n", zbr2->lnum, zbr2->offs);
offs             1433 fs/ubifs/debug.c 		    znode->zbranch[n].offs != 0) {
offs             1620 fs/ubifs/debug.c 						  err, zbr->lnum, zbr->offs);
offs             1675 fs/ubifs/debug.c 	ubifs_msg(c, "dump of znode at LEB %d:%d", zbr->lnum, zbr->offs);
offs             1943 fs/ubifs/debug.c 			  zbr->lnum, zbr->offs, err);
offs             1986 fs/ubifs/debug.c 			  zbr->len, zbr->lnum, zbr->offs);
offs             1997 fs/ubifs/debug.c 			  zbr->lnum, zbr->offs, err);
offs             2015 fs/ubifs/debug.c 			  type, zbr->lnum, zbr->offs);
offs             2053 fs/ubifs/debug.c 				  zbr->lnum, zbr->offs, fscki->size);
offs             2111 fs/ubifs/debug.c 	ubifs_msg(c, "dump of node at LEB %d:%d", zbr->lnum, zbr->offs);
offs             2238 fs/ubifs/debug.c 			  zbr->lnum, zbr->offs, err);
offs             2244 fs/ubifs/debug.c 		  (unsigned long)fscki->inum, zbr->lnum, zbr->offs);
offs             2569 fs/ubifs/debug.c 		  int offs, int len)
offs             2580 fs/ubifs/debug.c 			   len, lnum, offs);
offs             2582 fs/ubifs/debug.c 	err = ubi_leb_write(c->ubi, lnum, buf, offs, len);
offs              255 fs/ubifs/debug.h 		     const struct ubifs_scan_leb *sleb, int offs);
offs              293 fs/ubifs/debug.h int dbg_leb_write(struct ubifs_info *c, int lnum, const void *buf, int offs,
offs              609 fs/ubifs/file.c 	int i = 0, nn = *n, offs = bu->zbranch[0].offs, hole = 0, read = 0;
offs              638 fs/ubifs/file.c 			dn = bu->buf + (bu->zbranch[nn].offs - offs);
offs              756 fs/ubifs/file.c 			bu->buf_len = bu->zbranch[bu->cnt - 1].offs +
offs              758 fs/ubifs/file.c 				      bu->zbranch[0].offs;
offs              481 fs/ubifs/find.c int ubifs_find_free_space(struct ubifs_info *c, int min_space, int *offs,
offs              549 fs/ubifs/find.c 	*offs = c->leb_size - lprops->free;
offs              552 fs/ubifs/find.c 	if (*offs == 0) {
offs              564 fs/ubifs/find.c 	dbg_find("found LEB %d, free %d", lnum, c->leb_size - *offs);
offs              565 fs/ubifs/find.c 	ubifs_assert(c, *offs <= c->leb_size - min_space);
offs               76 fs/ubifs/gc.c  	       wbuf->lnum, wbuf->offs + wbuf->used, gc_lnum,
offs               77 fs/ubifs/gc.c  	       c->leb_size - wbuf->offs - wbuf->used);
offs              264 fs/ubifs/gc.c  					 snod->offs, 0);
offs              309 fs/ubifs/gc.c  	int err, new_lnum = wbuf->lnum, new_offs = wbuf->offs + wbuf->used;
offs              317 fs/ubifs/gc.c  				snod->offs, new_lnum, new_offs,
offs              361 fs/ubifs/gc.c  			avail = c->leb_size - wbuf->offs - wbuf->used -
offs              383 fs/ubifs/gc.c  			avail = c->leb_size - wbuf->offs - wbuf->used -
offs              501 fs/ubifs/gc.c  	ubifs_assert(c, c->gc_lnum != -1 || wbuf->offs + wbuf->used == 0 ||
offs              560 fs/ubifs/gc.c  						   snod->offs);
offs              745 fs/ubifs/gc.c  		space_before = c->leb_size - wbuf->offs - wbuf->used;
offs              785 fs/ubifs/gc.c  		space_after = c->leb_size - wbuf->offs - wbuf->used;
offs               87 fs/ubifs/io.c  int ubifs_leb_read(const struct ubifs_info *c, int lnum, void *buf, int offs,
offs               92 fs/ubifs/io.c  	err = ubi_read(c->ubi, lnum, buf, offs, len);
offs               99 fs/ubifs/io.c  			  len, lnum, offs, err);
offs              105 fs/ubifs/io.c  int ubifs_leb_write(struct ubifs_info *c, int lnum, const void *buf, int offs,
offs              114 fs/ubifs/io.c  		err = ubi_leb_write(c->ubi, lnum, buf, offs, len);
offs              116 fs/ubifs/io.c  		err = dbg_leb_write(c, lnum, buf, offs, len);
offs              119 fs/ubifs/io.c  			  len, lnum, offs, err);
offs              226 fs/ubifs/io.c  		     int offs, int quiet, int must_chk_crc)
offs              232 fs/ubifs/io.c  	ubifs_assert(c, lnum >= 0 && lnum < c->leb_cnt && offs >= 0);
offs              233 fs/ubifs/io.c  	ubifs_assert(c, !(offs & 7) && offs < c->leb_size);
offs              252 fs/ubifs/io.c  	if (node_len + offs > c->leb_size)
offs              283 fs/ubifs/io.c  		ubifs_err(c, "bad node at LEB %d:%d", lnum, offs);
offs              547 fs/ubifs/io.c  	       wbuf->lnum, wbuf->offs, wbuf->used, dbg_jhead(wbuf->jhead));
offs              549 fs/ubifs/io.c  	ubifs_assert(c, wbuf->offs + wbuf->size <= c->leb_size);
offs              554 fs/ubifs/io.c  	if (c->leb_size - wbuf->offs >= c->max_write_size)
offs              555 fs/ubifs/io.c  		ubifs_assert(c, !((wbuf->offs + wbuf->size) % c->max_write_size));
offs              568 fs/ubifs/io.c  	err = ubifs_leb_write(c, wbuf->lnum, wbuf->buf, wbuf->offs, sync_len);
offs              573 fs/ubifs/io.c  	wbuf->offs += sync_len;
offs              584 fs/ubifs/io.c  	if (c->leb_size - wbuf->offs < c->max_write_size)
offs              585 fs/ubifs/io.c  		wbuf->size = c->leb_size - wbuf->offs;
offs              586 fs/ubifs/io.c  	else if (wbuf->offs & (c->max_write_size - 1))
offs              587 fs/ubifs/io.c  		wbuf->size = ALIGN(wbuf->offs, c->max_write_size) - wbuf->offs;
offs              597 fs/ubifs/io.c  					  c->leb_size - wbuf->offs, dirt);
offs              611 fs/ubifs/io.c  int ubifs_wbuf_seek_nolock(struct ubifs_wbuf *wbuf, int lnum, int offs)
offs              615 fs/ubifs/io.c  	dbg_io("LEB %d:%d, jhead %s", lnum, offs, dbg_jhead(wbuf->jhead));
offs              617 fs/ubifs/io.c  	ubifs_assert(c, offs >= 0 && offs <= c->leb_size);
offs              618 fs/ubifs/io.c  	ubifs_assert(c, offs % c->min_io_size == 0 && !(offs & 7));
offs              624 fs/ubifs/io.c  	wbuf->offs = offs;
offs              625 fs/ubifs/io.c  	if (c->leb_size - wbuf->offs < c->max_write_size)
offs              626 fs/ubifs/io.c  		wbuf->size = c->leb_size - wbuf->offs;
offs              627 fs/ubifs/io.c  	else if (wbuf->offs & (c->max_write_size - 1))
offs              628 fs/ubifs/io.c  		wbuf->size = ALIGN(wbuf->offs, c->max_write_size) - wbuf->offs;
offs              725 fs/ubifs/io.c  	       dbg_jhead(wbuf->jhead), wbuf->lnum, wbuf->offs + wbuf->used);
offs              727 fs/ubifs/io.c  	ubifs_assert(c, wbuf->offs >= 0 && wbuf->offs % c->min_io_size == 0);
offs              728 fs/ubifs/io.c  	ubifs_assert(c, !(wbuf->offs & 7) && wbuf->offs <= c->leb_size);
offs              736 fs/ubifs/io.c  	if (c->leb_size - wbuf->offs >= c->max_write_size)
offs              737 fs/ubifs/io.c  		ubifs_assert(c, !((wbuf->offs + wbuf->size) % c->max_write_size));
offs              739 fs/ubifs/io.c  	if (c->leb_size - wbuf->offs - wbuf->used < aligned_len) {
offs              758 fs/ubifs/io.c  			       dbg_jhead(wbuf->jhead), wbuf->lnum, wbuf->offs);
offs              760 fs/ubifs/io.c  					      wbuf->offs, wbuf->size);
offs              765 fs/ubifs/io.c  			wbuf->offs += wbuf->size;
offs              766 fs/ubifs/io.c  			if (c->leb_size - wbuf->offs >= c->max_write_size)
offs              769 fs/ubifs/io.c  				wbuf->size = c->leb_size - wbuf->offs;
offs              793 fs/ubifs/io.c  		       dbg_jhead(wbuf->jhead), wbuf->lnum, wbuf->offs);
offs              795 fs/ubifs/io.c  		err = ubifs_leb_write(c, wbuf->lnum, wbuf->buf, wbuf->offs,
offs              800 fs/ubifs/io.c  		wbuf->offs += wbuf->size;
offs              804 fs/ubifs/io.c  	} else if (wbuf->offs & (c->max_write_size - 1)) {
offs              813 fs/ubifs/io.c  		       wbuf->size, wbuf->lnum, wbuf->offs);
offs              814 fs/ubifs/io.c  		err = ubifs_leb_write(c, wbuf->lnum, buf, wbuf->offs,
offs              819 fs/ubifs/io.c  		wbuf->offs += wbuf->size;
offs              835 fs/ubifs/io.c  		       wbuf->offs);
offs              837 fs/ubifs/io.c  				      wbuf->offs, n);
offs              840 fs/ubifs/io.c  		wbuf->offs += n;
offs              855 fs/ubifs/io.c  	if (c->leb_size - wbuf->offs >= c->max_write_size)
offs              858 fs/ubifs/io.c  		wbuf->size = c->leb_size - wbuf->offs;
offs              866 fs/ubifs/io.c  		int free = c->leb_size - wbuf->offs - wbuf->used;
offs              880 fs/ubifs/io.c  		  len, wbuf->lnum, wbuf->offs, err);
offs              903 fs/ubifs/io.c  			  int offs, int hmac_offs)
offs              908 fs/ubifs/io.c  	       lnum, offs, dbg_ntype(((struct ubifs_ch *)buf)->node_type), len,
offs              910 fs/ubifs/io.c  	ubifs_assert(c, lnum >= 0 && lnum < c->leb_cnt && offs >= 0);
offs              911 fs/ubifs/io.c  	ubifs_assert(c, offs % c->min_io_size == 0 && offs < c->leb_size);
offs              922 fs/ubifs/io.c  	err = ubifs_leb_write(c, lnum, buf, offs, buf_len);
offs              944 fs/ubifs/io.c  		     int offs)
offs              946 fs/ubifs/io.c  	return ubifs_write_node_hmac(c, buf, len, lnum, offs, -1);
offs              965 fs/ubifs/io.c  			 int lnum, int offs)
offs              971 fs/ubifs/io.c  	dbg_io("LEB %d:%d, %s, length %d, jhead %s", lnum, offs,
offs              973 fs/ubifs/io.c  	ubifs_assert(c, wbuf && lnum >= 0 && lnum < c->leb_cnt && offs >= 0);
offs              974 fs/ubifs/io.c  	ubifs_assert(c, !(offs & 7) && offs < c->leb_size);
offs              978 fs/ubifs/io.c  	overlap = (lnum == wbuf->lnum && offs + len > wbuf->offs);
offs              982 fs/ubifs/io.c  		return ubifs_read_node(c, buf, type, len, lnum, offs);
offs              986 fs/ubifs/io.c  	rlen = wbuf->offs - offs;
offs              991 fs/ubifs/io.c  	memcpy(buf + rlen, wbuf->buf + offs + rlen - wbuf->offs, len - rlen);
offs              996 fs/ubifs/io.c  		err = ubifs_leb_read(c, lnum, buf, offs, rlen, 0);
offs             1007 fs/ubifs/io.c  	err = ubifs_check_node(c, buf, lnum, offs, 0, 0);
offs             1022 fs/ubifs/io.c  	ubifs_err(c, "bad node at LEB %d:%d", lnum, offs);
offs             1042 fs/ubifs/io.c  		    int lnum, int offs)
offs             1047 fs/ubifs/io.c  	dbg_io("LEB %d:%d, %s, length %d", lnum, offs, dbg_ntype(type), len);
offs             1048 fs/ubifs/io.c  	ubifs_assert(c, lnum >= 0 && lnum < c->leb_cnt && offs >= 0);
offs             1049 fs/ubifs/io.c  	ubifs_assert(c, len >= UBIFS_CH_SZ && offs + len <= c->leb_size);
offs             1050 fs/ubifs/io.c  	ubifs_assert(c, !(offs & 7) && offs < c->leb_size);
offs             1053 fs/ubifs/io.c  	err = ubifs_leb_read(c, lnum, buf, offs, len, 0);
offs             1063 fs/ubifs/io.c  	err = ubifs_check_node(c, buf, lnum, offs, 0, 0);
offs             1079 fs/ubifs/io.c  		   offs, ubi_is_mapped(c->ubi, lnum));
offs             1112 fs/ubifs/io.c  	wbuf->lnum = wbuf->offs = -1;
offs              100 fs/ubifs/journal.c 	int err = 0, err1, retries = 0, avail, lnum, offs, squeeze;
offs              118 fs/ubifs/journal.c 	avail = c->leb_size - wbuf->offs - wbuf->used;
offs              126 fs/ubifs/journal.c 	lnum = ubifs_find_free_space(c, len, &offs, squeeze);
offs              167 fs/ubifs/journal.c 	avail = c->leb_size - wbuf->offs - wbuf->used;
offs              176 fs/ubifs/journal.c 			lnum, wbuf->lnum, wbuf->offs + wbuf->used);
offs              183 fs/ubifs/journal.c 	offs = 0;
offs              197 fs/ubifs/journal.c 	err = ubifs_add_bud_to_log(c, jhead, lnum, offs);
offs              200 fs/ubifs/journal.c 	err = ubifs_wbuf_seek_nolock(wbuf, lnum, offs);
offs              269 fs/ubifs/journal.c 		      int *lnum, int *offs, int sync)
offs              277 fs/ubifs/journal.c 	*offs = c->jheads[jhead].wbuf.offs + c->jheads[jhead].wbuf.used;
offs              279 fs/ubifs/journal.c 		dbg_jhead(jhead), *lnum, *offs, len);
offs              726 fs/ubifs/journal.c 	int err, lnum, offs, compr_type, out_len, compr_len, auth_len;
offs              794 fs/ubifs/journal.c 	err = write_head(c, DATAHD, data, write_len, &lnum, &offs, 0);
offs              807 fs/ubifs/journal.c 	err = ubifs_tnc_add(c, key, lnum, offs, dlen, hash);
offs              842 fs/ubifs/journal.c 	int err, lnum, offs;
offs              929 fs/ubifs/journal.c 	err = write_head(c, BASEHD, ino_start, write_len, &lnum, &offs, sync);
offs              949 fs/ubifs/journal.c 		err = ubifs_tnc_add(c, &key, lnum, offs, ilen, hash);
offs             1055 fs/ubifs/journal.c 	int err, dlen1, dlen2, lnum, offs, len, plen = UBIFS_INO_NODE_SZ;
offs             1138 fs/ubifs/journal.c 	err = write_head(c, BASEHD, dent1, len, &lnum, &offs, sync);
offs             1152 fs/ubifs/journal.c 	err = ubifs_tnc_add_nm(c, &key, lnum, offs, dlen1, hash_dent1, snd_nm);
offs             1156 fs/ubifs/journal.c 	offs += aligned_dlen1;
offs             1158 fs/ubifs/journal.c 	err = ubifs_tnc_add_nm(c, &key, lnum, offs, dlen2, hash_dent2, fst_nm);
offs             1162 fs/ubifs/journal.c 	offs += aligned_dlen2;
offs             1165 fs/ubifs/journal.c 	err = ubifs_tnc_add(c, &key, lnum, offs, plen, hash_p1);
offs             1170 fs/ubifs/journal.c 		offs += ALIGN(plen, 8);
offs             1172 fs/ubifs/journal.c 		err = ubifs_tnc_add(c, &key, lnum, offs, plen, hash_p2);
offs             1220 fs/ubifs/journal.c 	int err, dlen1, dlen2, ilen, lnum, offs, len;
offs             1338 fs/ubifs/journal.c 	err = write_head(c, BASEHD, dent, len, &lnum, &offs, sync);
offs             1355 fs/ubifs/journal.c 	err = ubifs_tnc_add_nm(c, &key, lnum, offs, dlen1, hash_dent1, new_nm);
offs             1359 fs/ubifs/journal.c 	offs += aligned_dlen1;
offs             1362 fs/ubifs/journal.c 		err = ubifs_tnc_add_nm(c, &key, lnum, offs, dlen2, hash_dent2, old_nm);
offs             1378 fs/ubifs/journal.c 	offs += aligned_dlen2;
offs             1381 fs/ubifs/journal.c 		err = ubifs_tnc_add(c, &key, lnum, offs, ilen, hash_new_inode);
offs             1384 fs/ubifs/journal.c 		offs += ALIGN(ilen, 8);
offs             1388 fs/ubifs/journal.c 	err = ubifs_tnc_add(c, &key, lnum, offs, plen, hash_old_dir);
offs             1393 fs/ubifs/journal.c 		offs += ALIGN(plen, 8);
offs             1395 fs/ubifs/journal.c 		err = ubifs_tnc_add(c, &key, lnum, offs, plen, hash_new_dir);
offs             1510 fs/ubifs/journal.c 	int err, dlen, len, lnum, offs, bit, sz, sync = IS_SYNC(inode);
offs             1596 fs/ubifs/journal.c 	err = write_head(c, BASEHD, ino, len, &lnum, &offs, sync);
offs             1606 fs/ubifs/journal.c 		sz = offs + UBIFS_INO_NODE_SZ + UBIFS_TRUN_NODE_SZ;
offs             1613 fs/ubifs/journal.c 	err = ubifs_tnc_add(c, &key, lnum, offs, UBIFS_INO_NODE_SZ, hash_ino);
offs             1789 fs/ubifs/journal.c 	int err, len1, len2, aligned_len, aligned_len1, lnum, offs;
offs             1827 fs/ubifs/journal.c 	err = write_head(c, BASEHD, ino, aligned_len, &lnum, &offs, 0);
offs             1841 fs/ubifs/journal.c 	err = ubifs_tnc_add(c, &key, lnum, offs, len1, hash_host);
offs             1846 fs/ubifs/journal.c 	err = ubifs_tnc_add(c, &key, lnum, offs + aligned_len1, len2, hash);
offs              164 fs/ubifs/log.c int ubifs_add_bud_to_log(struct ubifs_info *c, int jhead, int lnum, int offs)
offs              204 fs/ubifs/log.c 	if (c->bud_bytes + c->leb_size - offs > c->max_bud_bytes) {
offs              225 fs/ubifs/log.c 	bud->start = offs;
offs              231 fs/ubifs/log.c 	ref->offs = cpu_to_le32(bud->start);
offs              319 fs/ubifs/log.c 			c->cmt_bud_bytes += wbuf->offs - bud->start;
offs              322 fs/ubifs/log.c 				wbuf->offs - bud->start, c->cmt_bud_bytes);
offs              323 fs/ubifs/log.c 			bud->start = wbuf->offs;
offs              395 fs/ubifs/log.c 		int offs = c->jheads[i].wbuf.offs;
offs              397 fs/ubifs/log.c 		if (lnum == -1 || offs == c->leb_size)
offs              401 fs/ubifs/log.c 			lnum, offs, dbg_jhead(i));
offs              405 fs/ubifs/log.c 		ref->offs = cpu_to_le32(offs);
offs              611 fs/ubifs/log.c static int add_node(struct ubifs_info *c, void *buf, int *lnum, int *offs,
offs              615 fs/ubifs/log.c 	int len = le32_to_cpu(ch->len), remains = c->leb_size - *offs;
offs              618 fs/ubifs/log.c 		int sz = ALIGN(*offs, c->min_io_size), err;
offs              620 fs/ubifs/log.c 		ubifs_pad(c, buf + *offs, sz - *offs);
offs              625 fs/ubifs/log.c 		*offs = 0;
offs              627 fs/ubifs/log.c 	memcpy(buf + *offs, node, len);
offs              628 fs/ubifs/log.c 	*offs += ALIGN(len, 8);
offs              647 fs/ubifs/log.c 	int lnum, err, first = 1, write_lnum, offs = 0;
offs              674 fs/ubifs/log.c 						       &offs, snod->node);
offs              683 fs/ubifs/log.c 				err = add_node(c, buf, &write_lnum, &offs,
offs              696 fs/ubifs/log.c 	if (offs) {
offs              697 fs/ubifs/log.c 		int sz = ALIGN(offs, c->min_io_size);
offs              699 fs/ubifs/log.c 		ubifs_pad(c, buf + offs, sz - offs);
offs              703 fs/ubifs/log.c 		offs = ALIGN(offs, c->min_io_size);
offs              720 fs/ubifs/log.c 	c->lhead_offs = offs;
offs             1123 fs/ubifs/lprops.c 				  lnum, snod->offs);
offs             1135 fs/ubifs/lprops.c 					   snod->offs, is_idx);
offs              389 fs/ubifs/lpt.c 		pack_bits(c, &addr, &pos, nnode->nbranch[i].offs,
offs              758 fs/ubifs/lpt.c 					nnode->nbranch[j].offs = boffs;
offs              763 fs/ubifs/lpt.c 					nnode->nbranch[j].offs = 0;
offs             1030 fs/ubifs/lpt.c 		nnode->nbranch[i].offs = ubifs_unpack_bits(c, &addr, &pos,
offs             1124 fs/ubifs/lpt.c 		int offs = nnode->nbranch[i].offs;
offs             1127 fs/ubifs/lpt.c 			if (offs != 0)
offs             1133 fs/ubifs/lpt.c 		if (offs < 0 || offs > max_offs)
offs             1208 fs/ubifs/lpt.c 	int err, lnum, offs;
offs             1213 fs/ubifs/lpt.c 		offs = branch->offs;
offs             1216 fs/ubifs/lpt.c 		offs = c->lpt_offs;
offs             1233 fs/ubifs/lpt.c 		err = ubifs_leb_read(c, lnum, buf, offs, c->nnode_sz, 1);
offs             1257 fs/ubifs/lpt.c 	ubifs_err(c, "error %d reading nnode at %d:%d", err, lnum, offs);
offs             1276 fs/ubifs/lpt.c 	int err, lnum, offs;
offs             1280 fs/ubifs/lpt.c 	offs = branch->offs;
offs             1302 fs/ubifs/lpt.c 		err = ubifs_leb_read(c, lnum, buf, offs, c->pnode_sz, 1);
offs             1322 fs/ubifs/lpt.c 	ubifs_err(c, "error %d reading pnode at %d:%d", err, lnum, offs);
offs             1980 fs/ubifs/lpt.c 		err = ubifs_leb_read(c, branch->lnum, buf, branch->offs,
offs             2048 fs/ubifs/lpt.c 		ubifs_assert(c, branch->offs >= 0 && branch->offs < c->leb_size);
offs             2049 fs/ubifs/lpt.c 		err = ubifs_leb_read(c, branch->lnum, buf, branch->offs,
offs              184 fs/ubifs/lpt_commit.c 	int lnum, offs, len, alen, done_lsave, done_ltab, err;
offs              194 fs/ubifs/lpt_commit.c 	offs = c->nhead_offs;
offs              198 fs/ubifs/lpt_commit.c 	if (!done_lsave && offs + c->lsave_sz <= c->leb_size) {
offs              201 fs/ubifs/lpt_commit.c 		c->lsave_offs = offs;
offs              202 fs/ubifs/lpt_commit.c 		offs += c->lsave_sz;
offs              206 fs/ubifs/lpt_commit.c 	if (offs + c->ltab_sz <= c->leb_size) {
offs              209 fs/ubifs/lpt_commit.c 		c->ltab_offs = offs;
offs              210 fs/ubifs/lpt_commit.c 		offs += c->ltab_sz;
offs              222 fs/ubifs/lpt_commit.c 		while (offs + len > c->leb_size) {
offs              223 fs/ubifs/lpt_commit.c 			alen = ALIGN(offs, c->min_io_size);
offs              224 fs/ubifs/lpt_commit.c 			upd_ltab(c, lnum, c->leb_size - alen, alen - offs);
offs              225 fs/ubifs/lpt_commit.c 			dbg_chk_lpt_sz(c, 2, c->leb_size - offs);
offs              229 fs/ubifs/lpt_commit.c 			offs = 0;
offs              236 fs/ubifs/lpt_commit.c 				c->lsave_offs = offs;
offs              237 fs/ubifs/lpt_commit.c 				offs += c->lsave_sz;
offs              244 fs/ubifs/lpt_commit.c 				c->ltab_offs = offs;
offs              245 fs/ubifs/lpt_commit.c 				offs += c->ltab_sz;
offs              253 fs/ubifs/lpt_commit.c 			cnode->parent->nbranch[cnode->iip].offs = offs;
offs              256 fs/ubifs/lpt_commit.c 			c->lpt_offs = offs;
offs              258 fs/ubifs/lpt_commit.c 		offs += len;
offs              265 fs/ubifs/lpt_commit.c 		if (offs + c->lsave_sz > c->leb_size) {
offs              266 fs/ubifs/lpt_commit.c 			alen = ALIGN(offs, c->min_io_size);
offs              267 fs/ubifs/lpt_commit.c 			upd_ltab(c, lnum, c->leb_size - alen, alen - offs);
offs              268 fs/ubifs/lpt_commit.c 			dbg_chk_lpt_sz(c, 2, c->leb_size - offs);
offs              272 fs/ubifs/lpt_commit.c 			offs = 0;
offs              278 fs/ubifs/lpt_commit.c 		c->lsave_offs = offs;
offs              279 fs/ubifs/lpt_commit.c 		offs += c->lsave_sz;
offs              285 fs/ubifs/lpt_commit.c 		if (offs + c->ltab_sz > c->leb_size) {
offs              286 fs/ubifs/lpt_commit.c 			alen = ALIGN(offs, c->min_io_size);
offs              287 fs/ubifs/lpt_commit.c 			upd_ltab(c, lnum, c->leb_size - alen, alen - offs);
offs              288 fs/ubifs/lpt_commit.c 			dbg_chk_lpt_sz(c, 2, c->leb_size - offs);
offs              292 fs/ubifs/lpt_commit.c 			offs = 0;
offs              297 fs/ubifs/lpt_commit.c 		c->ltab_offs = offs;
offs              298 fs/ubifs/lpt_commit.c 		offs += c->ltab_sz;
offs              302 fs/ubifs/lpt_commit.c 	alen = ALIGN(offs, c->min_io_size);
offs              303 fs/ubifs/lpt_commit.c 	upd_ltab(c, lnum, c->leb_size - alen, alen - offs);
offs              304 fs/ubifs/lpt_commit.c 	dbg_chk_lpt_sz(c, 4, alen - offs);
offs              312 fs/ubifs/lpt_commit.c 		  lnum, offs, len, done_ltab, done_lsave);
offs              362 fs/ubifs/lpt_commit.c 	int lnum, offs, len, from, err, wlen, alen, done_ltab, done_lsave;
offs              370 fs/ubifs/lpt_commit.c 	offs = c->nhead_offs;
offs              371 fs/ubifs/lpt_commit.c 	from = offs;
offs              373 fs/ubifs/lpt_commit.c 	if (offs == 0) {
offs              381 fs/ubifs/lpt_commit.c 	if (!done_lsave && offs + c->lsave_sz <= c->leb_size) {
offs              383 fs/ubifs/lpt_commit.c 		ubifs_pack_lsave(c, buf + offs, c->lsave);
offs              384 fs/ubifs/lpt_commit.c 		offs += c->lsave_sz;
offs              388 fs/ubifs/lpt_commit.c 	if (offs + c->ltab_sz <= c->leb_size) {
offs              390 fs/ubifs/lpt_commit.c 		ubifs_pack_ltab(c, buf + offs, c->ltab_cmt);
offs              391 fs/ubifs/lpt_commit.c 		offs += c->ltab_sz;
offs              401 fs/ubifs/lpt_commit.c 		while (offs + len > c->leb_size) {
offs              402 fs/ubifs/lpt_commit.c 			wlen = offs - from;
offs              405 fs/ubifs/lpt_commit.c 				memset(buf + offs, 0xff, alen - wlen);
offs              411 fs/ubifs/lpt_commit.c 			dbg_chk_lpt_sz(c, 2, c->leb_size - offs);
offs              415 fs/ubifs/lpt_commit.c 			offs = from = 0;
offs              424 fs/ubifs/lpt_commit.c 				ubifs_pack_lsave(c, buf + offs, c->lsave);
offs              425 fs/ubifs/lpt_commit.c 				offs += c->lsave_sz;
offs              431 fs/ubifs/lpt_commit.c 				ubifs_pack_ltab(c, buf + offs, c->ltab_cmt);
offs              432 fs/ubifs/lpt_commit.c 				offs += c->ltab_sz;
offs              439 fs/ubifs/lpt_commit.c 			ubifs_pack_nnode(c, buf + offs,
offs              442 fs/ubifs/lpt_commit.c 			ubifs_pack_pnode(c, buf + offs,
offs              454 fs/ubifs/lpt_commit.c 		offs += len;
offs              461 fs/ubifs/lpt_commit.c 		if (offs + c->lsave_sz > c->leb_size) {
offs              462 fs/ubifs/lpt_commit.c 			wlen = offs - from;
offs              464 fs/ubifs/lpt_commit.c 			memset(buf + offs, 0xff, alen - wlen);
offs              468 fs/ubifs/lpt_commit.c 			dbg_chk_lpt_sz(c, 2, c->leb_size - offs);
offs              472 fs/ubifs/lpt_commit.c 			offs = from = 0;
offs              480 fs/ubifs/lpt_commit.c 		ubifs_pack_lsave(c, buf + offs, c->lsave);
offs              481 fs/ubifs/lpt_commit.c 		offs += c->lsave_sz;
offs              487 fs/ubifs/lpt_commit.c 		if (offs + c->ltab_sz > c->leb_size) {
offs              488 fs/ubifs/lpt_commit.c 			wlen = offs - from;
offs              490 fs/ubifs/lpt_commit.c 			memset(buf + offs, 0xff, alen - wlen);
offs              494 fs/ubifs/lpt_commit.c 			dbg_chk_lpt_sz(c, 2, c->leb_size - offs);
offs              498 fs/ubifs/lpt_commit.c 			offs = from = 0;
offs              505 fs/ubifs/lpt_commit.c 		ubifs_pack_ltab(c, buf + offs, c->ltab_cmt);
offs              506 fs/ubifs/lpt_commit.c 		offs += c->ltab_sz;
offs              511 fs/ubifs/lpt_commit.c 	wlen = offs - from;
offs              513 fs/ubifs/lpt_commit.c 	memset(buf + offs, 0xff, alen - wlen);
offs              519 fs/ubifs/lpt_commit.c 	err = dbg_chk_lpt_sz(c, 3, ALIGN(offs, c->min_io_size));
offs              524 fs/ubifs/lpt_commit.c 	c->nhead_offs = ALIGN(offs, c->min_io_size);
offs              536 fs/ubifs/lpt_commit.c 		  lnum, offs, len, done_ltab, done_lsave);
offs              861 fs/ubifs/lpt_commit.c 			    int offs)
offs              872 fs/ubifs/lpt_commit.c 		if (branch->lnum != lnum || branch->offs != offs)
offs              874 fs/ubifs/lpt_commit.c 	} else if (c->lpt_lnum != lnum || c->lpt_offs != offs)
offs              910 fs/ubifs/lpt_commit.c 			    int offs)
offs              919 fs/ubifs/lpt_commit.c 	if (branch->lnum != lnum || branch->offs != offs)
offs              939 fs/ubifs/lpt_commit.c static int make_ltab_dirty(struct ubifs_info *c, int lnum, int offs)
offs              941 fs/ubifs/lpt_commit.c 	if (lnum != c->ltab_lnum || offs != c->ltab_offs)
offs              964 fs/ubifs/lpt_commit.c static int make_lsave_dirty(struct ubifs_info *c, int lnum, int offs)
offs              966 fs/ubifs/lpt_commit.c 	if (lnum != c->lsave_lnum || offs != c->lsave_offs)
offs              992 fs/ubifs/lpt_commit.c 			   int lnum, int offs)
offs              996 fs/ubifs/lpt_commit.c 		return make_nnode_dirty(c, node_num, lnum, offs);
offs              998 fs/ubifs/lpt_commit.c 		return make_pnode_dirty(c, node_num, lnum, offs);
offs             1000 fs/ubifs/lpt_commit.c 		return make_ltab_dirty(c, lnum, offs);
offs             1002 fs/ubifs/lpt_commit.c 		return make_lsave_dirty(c, lnum, offs);
offs             1035 fs/ubifs/lpt_commit.c 	int offs, pad_len;
offs             1039 fs/ubifs/lpt_commit.c 	offs = c->leb_size - len;
offs             1040 fs/ubifs/lpt_commit.c 	pad_len = ALIGN(offs, c->min_io_size) - offs;
offs             1107 fs/ubifs/lpt_commit.c 	int err, len = c->leb_size, node_type, node_num, node_len, offs;
offs             1130 fs/ubifs/lpt_commit.c 		offs = c->leb_size - len;
offs             1133 fs/ubifs/lpt_commit.c 		err = make_node_dirty(c, node_type, node_num, lnum, offs);
offs             1476 fs/ubifs/lpt_commit.c static int dbg_is_nnode_dirty(struct ubifs_info *c, int lnum, int offs)
offs             1489 fs/ubifs/lpt_commit.c 			if (branch->lnum != lnum || branch->offs != offs)
offs             1495 fs/ubifs/lpt_commit.c 			if (c->lpt_lnum != lnum || c->lpt_offs != offs)
offs             1511 fs/ubifs/lpt_commit.c static int dbg_is_pnode_dirty(struct ubifs_info *c, int lnum, int offs)
offs             1525 fs/ubifs/lpt_commit.c 		if (branch->lnum != lnum || branch->offs != offs)
offs             1540 fs/ubifs/lpt_commit.c static int dbg_is_ltab_dirty(struct ubifs_info *c, int lnum, int offs)
offs             1542 fs/ubifs/lpt_commit.c 	if (lnum != c->ltab_lnum || offs != c->ltab_offs)
offs             1553 fs/ubifs/lpt_commit.c static int dbg_is_lsave_dirty(struct ubifs_info *c, int lnum, int offs)
offs             1555 fs/ubifs/lpt_commit.c 	if (lnum != c->lsave_lnum || offs != c->lsave_offs)
offs             1568 fs/ubifs/lpt_commit.c 			     int offs)
offs             1572 fs/ubifs/lpt_commit.c 		return dbg_is_nnode_dirty(c, lnum, offs);
offs             1574 fs/ubifs/lpt_commit.c 		return dbg_is_pnode_dirty(c, lnum, offs);
offs             1576 fs/ubifs/lpt_commit.c 		return dbg_is_ltab_dirty(c, lnum, offs);
offs             1578 fs/ubifs/lpt_commit.c 		return dbg_is_lsave_dirty(c, lnum, offs);
offs             1844 fs/ubifs/lpt_commit.c 	int err, len = c->leb_size, node_type, node_num, node_len, offs;
offs             1859 fs/ubifs/lpt_commit.c 		offs = c->leb_size - len;
offs             1866 fs/ubifs/lpt_commit.c 				       lnum, offs, pad_len);
offs             1873 fs/ubifs/lpt_commit.c 				       lnum, offs, len);
offs             1884 fs/ubifs/lpt_commit.c 				       lnum, offs, node_num);
offs             1886 fs/ubifs/lpt_commit.c 				pr_err("LEB %d:%d, pnode\n", lnum, offs);
offs             1897 fs/ubifs/lpt_commit.c 				       lnum, offs, node_num);
offs             1900 fs/ubifs/lpt_commit.c 				       lnum, offs);
offs             1909 fs/ubifs/lpt_commit.c 				       nnode.nbranch[i].offs);
offs             1918 fs/ubifs/lpt_commit.c 			pr_err("LEB %d:%d, ltab\n", lnum, offs);
offs             1922 fs/ubifs/lpt_commit.c 			pr_err("LEB %d:%d, lsave len\n", lnum, offs);
offs               97 fs/ubifs/master.c 	int lnum, offs = 0, nodes_cnt, err;
offs              111 fs/ubifs/master.c 		offs = snod->offs;
offs              127 fs/ubifs/master.c 	if (snod->offs != offs)
offs              132 fs/ubifs/master.c 	c->mst_offs = offs;
offs              162 fs/ubifs/master.c 		  snod->type, lnum, snod->offs);
offs              203 fs/ubifs/master.c 	    c->zroot.offs >= c->leb_size || c->zroot.offs & 7) {
offs              359 fs/ubifs/master.c 	c->zroot.offs      = le32_to_cpu(c->mst_node->root_offs);
offs              439 fs/ubifs/master.c 	int err, lnum, offs, len;
offs              446 fs/ubifs/master.c 	offs = c->mst_offs + c->mst_node_alsz;
offs              449 fs/ubifs/master.c 	if (offs + UBIFS_MST_NODE_SZ > c->leb_size) {
offs              453 fs/ubifs/master.c 		offs = 0;
offs              456 fs/ubifs/master.c 	c->mst_offs = offs;
offs              460 fs/ubifs/master.c 	err = ubifs_write_node_hmac(c, c->mst_node, len, lnum, offs,
offs              467 fs/ubifs/master.c 	if (offs == 0) {
offs              472 fs/ubifs/master.c 	err = ubifs_write_node_hmac(c, c->mst_node, len, lnum, offs,
offs              641 fs/ubifs/orphan.c 				  snod->type, sleb->lnum, snod->offs);
offs              669 fs/ubifs/orphan.c 					  cmt_no, sleb->lnum, snod->offs);
offs              718 fs/ubifs/orphan.c 				  cmt_no, sleb->lnum, snod->offs);
offs              101 fs/ubifs/recovery.c 	int err, offs, len;
offs              113 fs/ubifs/recovery.c 	offs = 0;
offs              116 fs/ubifs/recovery.c 	while (offs + UBIFS_MST_NODE_SZ <= c->leb_size) {
offs              121 fs/ubifs/recovery.c 		offs += sz;
offs              126 fs/ubifs/recovery.c 	if (offs) {
offs              129 fs/ubifs/recovery.c 		offs -= sz;
offs              132 fs/ubifs/recovery.c 		ret = ubifs_scan_a_node(c, buf, len, lnum, offs, 1);
offs              133 fs/ubifs/recovery.c 		if (ret != SCANNED_A_NODE && offs) {
offs              135 fs/ubifs/recovery.c 			offs -= sz;
offs              138 fs/ubifs/recovery.c 			ret = ubifs_scan_a_node(c, buf, len, lnum, offs, 1);
offs              152 fs/ubifs/recovery.c 			dbg_rcvry("found a master node at %d:%d", lnum, offs);
offs              154 fs/ubifs/recovery.c 			offs += sz;
offs              160 fs/ubifs/recovery.c 	if (offs < c->leb_size) {
offs              163 fs/ubifs/recovery.c 			dbg_rcvry("found corruption at %d:%d", lnum, offs);
offs              165 fs/ubifs/recovery.c 		offs += sz;
offs              170 fs/ubifs/recovery.c 	if (offs < c->leb_size)
offs              402 fs/ubifs/recovery.c static int is_last_write(const struct ubifs_info *c, void *buf, int offs)
offs              411 fs/ubifs/recovery.c 	empty_offs = ALIGN(offs + 1, c->max_write_size);
offs              413 fs/ubifs/recovery.c 	p = buf + empty_offs - offs;
offs              430 fs/ubifs/recovery.c 		      int *offs, int *len)
offs              434 fs/ubifs/recovery.c 	dbg_rcvry("cleaning corruption at %d:%d", lnum, *offs);
offs              436 fs/ubifs/recovery.c 	ubifs_assert(c, !(*offs & 7));
offs              437 fs/ubifs/recovery.c 	empty_offs = ALIGN(*offs, c->min_io_size);
offs              438 fs/ubifs/recovery.c 	pad_len = empty_offs - *offs;
offs              440 fs/ubifs/recovery.c 	*offs += pad_len;
offs              459 fs/ubifs/recovery.c 			int lnum, int offs)
offs              465 fs/ubifs/recovery.c 	skip = ALIGN(offs + UBIFS_CH_SZ, c->max_write_size) - offs;
offs              472 fs/ubifs/recovery.c 	if (ubifs_check_node(c, buf, lnum, offs, 1, 0) != -EUCLEAN) {
offs              473 fs/ubifs/recovery.c 		dbg_rcvry("unexpected bad common header at %d:%d", lnum, offs);
offs              477 fs/ubifs/recovery.c 	skip = ALIGN(offs + dlen, c->max_write_size) - offs;
offs              481 fs/ubifs/recovery.c 	dbg_rcvry("unexpected data at %d:%d", lnum, offs + skip);
offs              502 fs/ubifs/recovery.c 		endpt = snod->offs + snod->len;
offs              562 fs/ubifs/recovery.c static void drop_last_group(struct ubifs_scan_leb *sleb, int *offs)
offs              575 fs/ubifs/recovery.c 			  sleb->lnum, snod->offs);
offs              576 fs/ubifs/recovery.c 		*offs = snod->offs;
offs              591 fs/ubifs/recovery.c static void drop_last_node(struct ubifs_scan_leb *sleb, int *offs)
offs              600 fs/ubifs/recovery.c 			  sleb->lnum, snod->offs);
offs              601 fs/ubifs/recovery.c 		*offs = snod->offs;
offs              623 fs/ubifs/recovery.c 					 int offs, void *sbuf, int jhead)
offs              625 fs/ubifs/recovery.c 	int ret = 0, err, len = c->leb_size - offs, start = offs, min_io_unit;
offs              628 fs/ubifs/recovery.c 	void *buf = sbuf + offs;
offs              630 fs/ubifs/recovery.c 	dbg_rcvry("%d:%d, jhead %d, grouped %d", lnum, offs, jhead, grouped);
offs              632 fs/ubifs/recovery.c 	sleb = ubifs_start_scan(c, lnum, offs, sbuf);
offs              639 fs/ubifs/recovery.c 			 lnum, offs, len);
offs              647 fs/ubifs/recovery.c 		ret = ubifs_scan_a_node(c, buf, len, lnum, offs, 1);
offs              653 fs/ubifs/recovery.c 			err = ubifs_add_snod(c, sleb, buf, offs);
offs              657 fs/ubifs/recovery.c 			offs += node_len;
offs              662 fs/ubifs/recovery.c 			offs += ret;
offs              670 fs/ubifs/recovery.c 				  ret, lnum, offs);
offs              680 fs/ubifs/recovery.c 		if (!is_last_write(c, buf, offs))
offs              683 fs/ubifs/recovery.c 		if (!no_more_nodes(c, buf, len, lnum, offs))
offs              686 fs/ubifs/recovery.c 		if (!is_last_write(c, buf, offs)) {
offs              694 fs/ubifs/recovery.c 				  lnum, offs, corruption);
offs              696 fs/ubifs/recovery.c 			offs += corruption;
offs              702 fs/ubifs/recovery.c 	min_io_unit = round_down(offs, c->min_io_size);
offs              708 fs/ubifs/recovery.c 		drop_last_group(sleb, &offs);
offs              761 fs/ubifs/recovery.c 		while (offs > min_io_unit)
offs              762 fs/ubifs/recovery.c 			drop_last_node(sleb, &offs);
offs              765 fs/ubifs/recovery.c 	buf = sbuf + offs;
offs              766 fs/ubifs/recovery.c 	len = c->leb_size - offs;
offs              768 fs/ubifs/recovery.c 	clean_buf(c, &buf, lnum, &offs, &len);
offs              769 fs/ubifs/recovery.c 	ubifs_end_scan(c, sleb, lnum, offs);
offs              780 fs/ubifs/recovery.c 	ubifs_scan_a_node(c, buf, len, lnum, offs, 0);
offs              782 fs/ubifs/recovery.c 	ubifs_scanned_corruption(c, lnum, offs, buf);
offs              799 fs/ubifs/recovery.c static int get_cs_sqnum(struct ubifs_info *c, int lnum, int offs,
offs              805 fs/ubifs/recovery.c 	dbg_rcvry("at %d:%d", lnum, offs);
offs              809 fs/ubifs/recovery.c 	if (c->leb_size - offs < UBIFS_CS_NODE_SZ)
offs              811 fs/ubifs/recovery.c 	err = ubifs_leb_read(c, lnum, (void *)cs_node, offs,
offs              815 fs/ubifs/recovery.c 	ret = ubifs_scan_a_node(c, cs_node, UBIFS_CS_NODE_SZ, lnum, offs, 0);
offs              857 fs/ubifs/recovery.c 					     int offs, void *sbuf)
offs              883 fs/ubifs/recovery.c 				err = get_cs_sqnum(c, lnum, offs, &cs_sqnum);
offs              898 fs/ubifs/recovery.c 	return ubifs_recover_leb(c, lnum, offs, sbuf, -1);
offs              912 fs/ubifs/recovery.c static int recover_head(struct ubifs_info *c, int lnum, int offs, void *sbuf)
offs              916 fs/ubifs/recovery.c 	if (offs + len > c->leb_size)
offs              917 fs/ubifs/recovery.c 		len = c->leb_size - offs;
offs              923 fs/ubifs/recovery.c 	err = ubifs_leb_read(c, lnum, sbuf, offs, len, 1);
offs              925 fs/ubifs/recovery.c 		dbg_rcvry("cleaning head at %d:%d", lnum, offs);
offs              926 fs/ubifs/recovery.c 		if (offs == 0)
offs              928 fs/ubifs/recovery.c 		err = ubifs_leb_read(c, lnum, sbuf, 0, offs, 1);
offs              931 fs/ubifs/recovery.c 		return ubifs_leb_change(c, lnum, sbuf, offs);
offs              985 fs/ubifs/recovery.c 	int err, lnum = ucleb->lnum, offs = 0, len = ucleb->endpt, quiet = 1;
offs              995 fs/ubifs/recovery.c 	err = ubifs_leb_read(c, lnum, buf, offs, len, 0);
offs             1005 fs/ubifs/recovery.c 		ret = ubifs_scan_a_node(c, buf, len, lnum, offs, quiet);
offs             1013 fs/ubifs/recovery.c 			offs += node_len;
offs             1021 fs/ubifs/recovery.c 			offs += ret;
offs             1029 fs/ubifs/recovery.c 				  lnum, offs);
offs             1039 fs/ubifs/recovery.c 		ubifs_scanned_corruption(c, lnum, offs, buf);
offs             1164 fs/ubifs/recovery.c 	dbg_rcvry("GC head LEB %d, offs %d", wbuf->lnum, wbuf->offs);
offs             1167 fs/ubifs/recovery.c 	if (wbuf->lnum == -1 || wbuf->offs == c->leb_size)
offs             1170 fs/ubifs/recovery.c 	err = ubifs_find_dirty_leb(c, &lp, wbuf->offs, 2);
offs             1180 fs/ubifs/recovery.c 	ubifs_assert(c, lp.free + lp.dirty >= wbuf->offs);
offs             1407 fs/ubifs/recovery.c 	int err, lnum, offs, len;
offs             1413 fs/ubifs/recovery.c 	err = ubifs_tnc_locate(c, &key, ino, &lnum, &offs);
offs             1428 fs/ubifs/recovery.c 	ino = c->sbuf + offs;
offs             1444 fs/ubifs/recovery.c 		  (unsigned long)e->inum, lnum, offs, i_size, e->d_size);
offs               47 fs/ubifs/replay.c 	int offs;
offs              247 fs/ubifs/replay.c 		 r->lnum, r->offs, r->len, r->deletion, r->sqnum);
offs              253 fs/ubifs/replay.c 			err = ubifs_tnc_add_nm(c, &r->key, r->lnum, r->offs,
offs              278 fs/ubifs/replay.c 			err = ubifs_tnc_add(c, &r->key, r->lnum, r->offs,
offs              382 fs/ubifs/replay.c static int insert_node(struct ubifs_info *c, int lnum, int offs, int len,
offs              389 fs/ubifs/replay.c 	dbg_mntk(key, "add LEB %d:%d, key ", lnum, offs);
offs              401 fs/ubifs/replay.c 	r->offs = offs;
offs              431 fs/ubifs/replay.c static int insert_dent(struct ubifs_info *c, int lnum, int offs, int len,
offs              439 fs/ubifs/replay.c 	dbg_mntk(key, "add LEB %d:%d, key ", lnum, offs);
offs              456 fs/ubifs/replay.c 	r->offs = offs;
offs              674 fs/ubifs/replay.c 	int err = 0, used = 0, lnum = b->bud->lnum, offs = b->bud->start;
offs              680 fs/ubifs/replay.c 		lnum, b->bud->jhead, offs, is_last);
offs              689 fs/ubifs/replay.c 		sleb = ubifs_recover_leb(c, lnum, offs, c->sbuf, b->bud->jhead);
offs              691 fs/ubifs/replay.c 		sleb = ubifs_scan(c, lnum, offs, c->sbuf, 0);
offs              750 fs/ubifs/replay.c 			err = insert_node(c, lnum, snod->offs, snod->len, hash,
offs              762 fs/ubifs/replay.c 			err = insert_node(c, lnum, snod->offs, snod->len, hash,
offs              776 fs/ubifs/replay.c 			err = insert_dent(c, lnum, snod->offs, snod->len, hash,
offs              802 fs/ubifs/replay.c 			err = insert_node(c, lnum, snod->offs, snod->len, hash,
offs              811 fs/ubifs/replay.c 				  snod->type, lnum, snod->offs);
offs              824 fs/ubifs/replay.c 	ubifs_assert(c, sleb->endpt - offs >= used);
offs              827 fs/ubifs/replay.c 	b->dirty = sleb->endpt - offs - used;
offs              837 fs/ubifs/replay.c 	ubifs_err(c, "bad node is at LEB %d:%d", lnum, snod->offs);
offs              894 fs/ubifs/replay.c static int add_replay_bud(struct ubifs_info *c, int lnum, int offs, int jhead,
offs              901 fs/ubifs/replay.c 	dbg_mnt("add replay bud LEB %d:%d, head %d", lnum, offs, jhead);
offs              914 fs/ubifs/replay.c 	bud->start = offs;
offs              953 fs/ubifs/replay.c 	unsigned int offs = le32_to_cpu(ref->offs);
offs              962 fs/ubifs/replay.c 	    lnum < c->main_first || offs > c->leb_size ||
offs              963 fs/ubifs/replay.c 	    offs & (c->min_io_size - 1))
offs              969 fs/ubifs/replay.c 		if (bud->jhead == jhead && bud->start <= offs)
offs              971 fs/ubifs/replay.c 		ubifs_err(c, "bud at LEB %d:%d was already referred", lnum, offs);
offs              989 fs/ubifs/replay.c static int replay_log_leb(struct ubifs_info *c, int lnum, int offs, void *sbuf)
offs              996 fs/ubifs/replay.c 	dbg_mnt("replay log LEB %d:%d", lnum, offs);
offs              997 fs/ubifs/replay.c 	sleb = ubifs_scan(c, lnum, offs, sbuf, c->need_recovery);
offs             1006 fs/ubifs/replay.c 		sleb = ubifs_recover_log_leb(c, lnum, offs, sbuf);
offs             1028 fs/ubifs/replay.c 				  lnum, offs);
offs             1033 fs/ubifs/replay.c 				  lnum, offs,
offs             1064 fs/ubifs/replay.c 	if (snod->offs != 0) {
offs             1102 fs/ubifs/replay.c 					     le32_to_cpu(ref->offs),
offs             1112 fs/ubifs/replay.c 			if (snod->offs != 0) {
offs             1135 fs/ubifs/replay.c 		  lnum, offs + snod->offs);
offs               58 fs/ubifs/scan.c 		      int offs, int quiet)
offs               66 fs/ubifs/scan.c 		dbg_scan("hit empty space at LEB %d:%d", lnum, offs);
offs               77 fs/ubifs/scan.c 		 dbg_ntype(ch->node_type), lnum, offs);
offs               79 fs/ubifs/scan.c 	if (ubifs_check_node(c, buf, lnum, offs, quiet, 1))
offs               89 fs/ubifs/scan.c 		    offs + node_len + pad_len > c->leb_size) {
offs               92 fs/ubifs/scan.c 					  lnum, offs);
offs              102 fs/ubifs/scan.c 					  offs, offs + node_len + pad_len);
offs              107 fs/ubifs/scan.c 			 lnum, offs, ALIGN(offs + node_len + pad_len, 8));
offs              126 fs/ubifs/scan.c 					int offs, void *sbuf)
offs              131 fs/ubifs/scan.c 	dbg_scan("scan LEB %d:%d", lnum, offs);
offs              141 fs/ubifs/scan.c 	err = ubifs_leb_read(c, lnum, sbuf + offs, offs, c->leb_size - offs, 0);
offs              144 fs/ubifs/scan.c 			  c->leb_size - offs, lnum, offs, err);
offs              164 fs/ubifs/scan.c 		    int lnum, int offs)
offs              166 fs/ubifs/scan.c 	dbg_scan("stop scanning LEB %d at offset %d", lnum, offs);
offs              167 fs/ubifs/scan.c 	ubifs_assert(c, offs % c->min_io_size == 0);
offs              169 fs/ubifs/scan.c 	sleb->endpt = ALIGN(offs, c->min_io_size);
offs              182 fs/ubifs/scan.c 		   void *buf, int offs)
offs              194 fs/ubifs/scan.c 	snod->offs = offs;
offs              225 fs/ubifs/scan.c void ubifs_scanned_corruption(const struct ubifs_info *c, int lnum, int offs,
offs              230 fs/ubifs/scan.c 	ubifs_err(c, "corruption at LEB %d:%d", lnum, offs);
offs              231 fs/ubifs/scan.c 	len = c->leb_size - offs;
offs              234 fs/ubifs/scan.c 	ubifs_err(c, "first %d bytes from LEB %d:%d", len, lnum, offs);
offs              255 fs/ubifs/scan.c 				  int offs, void *sbuf, int quiet)
offs              257 fs/ubifs/scan.c 	void *buf = sbuf + offs;
offs              258 fs/ubifs/scan.c 	int err, len = c->leb_size - offs;
offs              261 fs/ubifs/scan.c 	sleb = ubifs_start_scan(c, lnum, offs, sbuf);
offs              270 fs/ubifs/scan.c 			 lnum, offs, len);
offs              274 fs/ubifs/scan.c 		ret = ubifs_scan_a_node(c, buf, len, lnum, offs, quiet);
offs              277 fs/ubifs/scan.c 			offs += ret;
offs              303 fs/ubifs/scan.c 		err = ubifs_add_snod(c, sleb, buf, offs);
offs              308 fs/ubifs/scan.c 		offs += node_len;
offs              313 fs/ubifs/scan.c 	if (offs % c->min_io_size) {
offs              316 fs/ubifs/scan.c 				  offs);
offs              320 fs/ubifs/scan.c 	ubifs_end_scan(c, sleb, lnum, offs);
offs              322 fs/ubifs/scan.c 	for (; len > 4; offs += 4, buf = buf + 4, len -= 4)
offs              325 fs/ubifs/scan.c 	for (; len; offs++, buf++, len--)
offs              329 fs/ubifs/scan.c 					  lnum, offs);
offs              337 fs/ubifs/scan.c 		ubifs_scanned_corruption(c, lnum, offs, buf);
offs               70 fs/ubifs/tnc.c static int insert_old_idx(struct ubifs_info *c, int lnum, int offs)
offs               79 fs/ubifs/tnc.c 	old_idx->offs = offs;
offs               89 fs/ubifs/tnc.c 		else if (offs < o->offs)
offs               91 fs/ubifs/tnc.c 		else if (offs > o->offs)
offs              118 fs/ubifs/tnc.c 			return insert_old_idx(c, zbr->lnum, zbr->offs);
offs              122 fs/ubifs/tnc.c 					      c->zroot.offs);
offs              143 fs/ubifs/tnc.c 			err = insert_old_idx(c, zbr->lnum, zbr->offs);
offs              147 fs/ubifs/tnc.c 			zbr->offs = 0;
offs              152 fs/ubifs/tnc.c 			err = insert_old_idx(c, c->zroot.lnum, c->zroot.offs);
offs              156 fs/ubifs/tnc.c 			c->zroot.offs = 0;
offs              268 fs/ubifs/tnc.c 		err = insert_old_idx(c, zbr->lnum, zbr->offs);
offs              277 fs/ubifs/tnc.c 	zbr->offs = 0;
offs              446 fs/ubifs/tnc.c 	int offs = zbr->offs;
offs              451 fs/ubifs/tnc.c 	dbg_io("LEB %d:%d, %s, length %d", lnum, offs, dbg_ntype(type), len);
offs              453 fs/ubifs/tnc.c 	err = ubifs_leb_read(c, lnum, buf, offs, len, 1);
offs              456 fs/ubifs/tnc.c 			  type, lnum, offs, err);
offs              480 fs/ubifs/tnc.c 		ubifs_bad_hash(c, buf, zbr->hash, lnum, offs);
offs              502 fs/ubifs/tnc.c 	dbg_tnck(key, "LEB %d:%d, key ", zbr->lnum, zbr->offs);
offs              516 fs/ubifs/tnc.c 			zbr->lnum, zbr->offs, zbr->len);
offs              993 fs/ubifs/tnc.c 		o_znode->zbranch[o_n].lnum, o_znode->zbranch[o_n].offs,
offs             1008 fs/ubifs/tnc.c static int matches_position(struct ubifs_zbranch *zbr, int lnum, int offs)
offs             1010 fs/ubifs/tnc.c 	if (zbr->lnum == lnum && zbr->offs == offs)
offs             1036 fs/ubifs/tnc.c 				      int lnum, int offs)
offs             1043 fs/ubifs/tnc.c 	if (matches_position(&znode->zbranch[nn], lnum, offs))
offs             1055 fs/ubifs/tnc.c 		if (matches_position(&znode->zbranch[nn], lnum, offs)) {
offs             1075 fs/ubifs/tnc.c 		if (matches_position(&znode->zbranch[nn], lnum, offs))
offs             1442 fs/ubifs/tnc.c 		     void *node, int *lnum, int *offs)
offs             1461 fs/ubifs/tnc.c 		*offs = zt->offs;
offs             1517 fs/ubifs/tnc.c 	int n, err = 0, lnum = -1, uninitialized_var(offs);
offs             1543 fs/ubifs/tnc.c 		offs = ALIGN(znode->zbranch[n].offs + len, 8);
offs             1565 fs/ubifs/tnc.c 			offs = ALIGN(zbr->offs + zbr->len, 8);
offs             1576 fs/ubifs/tnc.c 			if (zbr->lnum != lnum || zbr->offs != offs)
offs             1578 fs/ubifs/tnc.c 			offs += ALIGN(zbr->len, 8);
offs             1648 fs/ubifs/tnc.c 		     int offs)
offs             1653 fs/ubifs/tnc.c 	dbg_io("LEB %d:%d, length %d", lnum, offs, len);
offs             1654 fs/ubifs/tnc.c 	ubifs_assert(c, wbuf && lnum >= 0 && lnum < c->leb_cnt && offs >= 0);
offs             1655 fs/ubifs/tnc.c 	ubifs_assert(c, !(offs & 7) && offs < c->leb_size);
offs             1656 fs/ubifs/tnc.c 	ubifs_assert(c, offs + len <= c->leb_size);
offs             1659 fs/ubifs/tnc.c 	overlap = (lnum == wbuf->lnum && offs + len > wbuf->offs);
offs             1663 fs/ubifs/tnc.c 		return ubifs_leb_read(c, lnum, buf, offs, len, 0);
offs             1667 fs/ubifs/tnc.c 	rlen = wbuf->offs - offs;
offs             1672 fs/ubifs/tnc.c 	memcpy(buf + rlen, wbuf->buf + offs + rlen - wbuf->offs, len - rlen);
offs             1677 fs/ubifs/tnc.c 		return ubifs_leb_read(c, lnum, buf, offs, rlen, 0);
offs             1703 fs/ubifs/tnc.c 	err = ubifs_check_node(c, buf, zbr->lnum, zbr->offs, 0, 0);
offs             1711 fs/ubifs/tnc.c 		ubifs_bad_hash(c, buf, zbr->hash, zbr->lnum, zbr->offs);
offs             1725 fs/ubifs/tnc.c 			  zbr->lnum, zbr->offs);
offs             1736 fs/ubifs/tnc.c 	ubifs_err(c, "bad node at LEB %d:%d", zbr->lnum, zbr->offs);
offs             1754 fs/ubifs/tnc.c 	int lnum = bu->zbranch[0].lnum, offs = bu->zbranch[0].offs, len, err, i;
offs             1758 fs/ubifs/tnc.c 	len = bu->zbranch[bu->cnt - 1].offs;
offs             1759 fs/ubifs/tnc.c 	len += bu->zbranch[bu->cnt - 1].len - offs;
offs             1768 fs/ubifs/tnc.c 		err = read_wbuf(wbuf, bu->buf, len, lnum, offs);
offs             1770 fs/ubifs/tnc.c 		err = ubifs_leb_read(c, lnum, bu->buf, offs, len, 0);
offs             1778 fs/ubifs/tnc.c 			  lnum, offs, err);
offs             2220 fs/ubifs/tnc.c 		zbr->offs = 0;
offs             2243 fs/ubifs/tnc.c 	zi->zbranch[0].offs = c->zroot.offs;
offs             2249 fs/ubifs/tnc.c 	c->zroot.offs = 0;
offs             2275 fs/ubifs/tnc.c 		  int offs, int len, const u8 *hash)
offs             2281 fs/ubifs/tnc.c 	dbg_tnck(key, "%d:%d, len %d, key ", lnum, offs, len);
offs             2288 fs/ubifs/tnc.c 		zbr.offs = offs;
offs             2299 fs/ubifs/tnc.c 		zbr->offs = offs;
offs             2326 fs/ubifs/tnc.c 		      int old_lnum, int old_offs, int lnum, int offs, int len)
offs             2333 fs/ubifs/tnc.c 		 old_offs, lnum, offs, len);
offs             2344 fs/ubifs/tnc.c 		if (zbr->lnum == old_lnum && zbr->offs == old_offs) {
offs             2350 fs/ubifs/tnc.c 			zbr->offs = offs;
offs             2379 fs/ubifs/tnc.c 				zbr->offs = offs;
offs             2410 fs/ubifs/tnc.c 		     int lnum, int offs, int len, const u8 *hash,
offs             2417 fs/ubifs/tnc.c 	dbg_tnck(key, "LEB %d:%d, key ", lnum, offs);
offs             2451 fs/ubifs/tnc.c 			zbr->offs = offs;
offs             2463 fs/ubifs/tnc.c 		zbr.offs = offs;
offs             2585 fs/ubifs/tnc.c 						     c->zroot.offs);
offs             2590 fs/ubifs/tnc.c 			c->zroot.offs = zbr->offs;
offs             3177 fs/ubifs/tnc.c 					int lnum, int offs)
offs             3199 fs/ubifs/tnc.c 	if (c->zroot.lnum == lnum && c->zroot.offs == offs)
offs             3230 fs/ubifs/tnc.c 	if (znode->zbranch[n].lnum == lnum && znode->zbranch[n].offs == offs)
offs             3256 fs/ubifs/tnc.c 		    znode->zbranch[n].offs == offs)
offs             3278 fs/ubifs/tnc.c 		    znode->zbranch[n].offs == offs)
offs             3305 fs/ubifs/tnc.c 		       int lnum, int offs)
offs             3309 fs/ubifs/tnc.c 	znode = lookup_znode(c, key, level, lnum, offs);
offs             3332 fs/ubifs/tnc.c 			       int lnum, int offs)
offs             3345 fs/ubifs/tnc.c 	if (lnum == zbr->lnum && offs == zbr->offs)
offs             3365 fs/ubifs/tnc.c 		if (lnum == zbr->lnum && offs == zbr->offs)
offs             3381 fs/ubifs/tnc.c 		if (lnum == zbr->lnum && offs == zbr->offs)
offs             3402 fs/ubifs/tnc.c 		       int lnum, int offs, int is_idx)
offs             3408 fs/ubifs/tnc.c 		err = is_idx_node_in_tnc(c, key, level, lnum, offs);
offs             3420 fs/ubifs/tnc.c 		err = is_leaf_node_in_tnc(c, key, lnum, offs);
offs             3442 fs/ubifs/tnc.c 			 int lnum, int offs)
offs             3448 fs/ubifs/tnc.c 	znode = lookup_znode(c, key, level, lnum, offs);
offs               26 fs/ubifs/tnc_commit.c 			 struct ubifs_znode *znode, int lnum, int offs, int len)
offs               42 fs/ubifs/tnc_commit.c 		br->offs = cpu_to_le32(zbr->offs);
offs               58 fs/ubifs/tnc_commit.c 	znode->offs = offs;
offs               70 fs/ubifs/tnc_commit.c 		zbr->offs = offs;
offs               75 fs/ubifs/tnc_commit.c 		c->zroot.offs = offs;
offs              163 fs/ubifs/tnc_commit.c static int find_old_idx(struct ubifs_info *c, int lnum, int offs)
offs              175 fs/ubifs/tnc_commit.c 		else if (offs < o->offs)
offs              177 fs/ubifs/tnc_commit.c 		else if (offs > o->offs)
offs              199 fs/ubifs/tnc_commit.c 			      int level, int lnum, int offs)
offs              203 fs/ubifs/tnc_commit.c 	ret = is_idx_node_in_tnc(c, key, level, lnum, offs);
offs              207 fs/ubifs/tnc_commit.c 		if (find_old_idx(c, lnum, offs))
offs              261 fs/ubifs/tnc_commit.c 					    snod->offs);
offs              275 fs/ubifs/tnc_commit.c 			gap_end = snod->offs;
offs              283 fs/ubifs/tnc_commit.c 			gap_start = ALIGN(snod->offs + snod->len, 8);
offs              432 fs/ubifs/tnc_commit.c 	int lnum, offs, len, next_len, buf_len, buf_offs, used, avail;
offs              469 fs/ubifs/tnc_commit.c 		offs = buf_offs + used;
offs              472 fs/ubifs/tnc_commit.c 		znode->offs = offs;
offs              484 fs/ubifs/tnc_commit.c 			zbr->offs = offs;
offs              488 fs/ubifs/tnc_commit.c 			c->zroot.offs = offs;
offs              828 fs/ubifs/tnc_commit.c 	int i, lnum, offs, len, next_len, buf_len, buf_offs, used;
offs              875 fs/ubifs/tnc_commit.c 			br->offs = cpu_to_le32(zbr->offs);
offs              914 fs/ubifs/tnc_commit.c 		offs = buf_offs + used;
offs              916 fs/ubifs/tnc_commit.c 		if (lnum != znode->lnum || offs != znode->offs ||
offs              269 fs/ubifs/tnc_misc.c 	int offs = zzbr->offs;
offs              278 fs/ubifs/tnc_misc.c 	err = ubifs_read_node(c, idx, UBIFS_IDX_NODE, len, lnum, offs);
offs              286 fs/ubifs/tnc_misc.c 		ubifs_bad_hash(c, idx, zzbr->hash, lnum, offs);
offs              295 fs/ubifs/tnc_misc.c 		lnum, offs, znode->level, znode->child_cnt);
offs              312 fs/ubifs/tnc_misc.c 		zbr->offs = le32_to_cpu(br->offs);
offs              320 fs/ubifs/tnc_misc.c 		    zbr->lnum >= c->leb_cnt || zbr->offs < 0 ||
offs              321 fs/ubifs/tnc_misc.c 		    zbr->offs + zbr->len > c->leb_size || zbr->offs & 7) {
offs              392 fs/ubifs/tnc_misc.c 	ubifs_err(c, "bad indexing node at LEB %d:%d, error %d", lnum, offs, err);
offs              475 fs/ubifs/tnc_misc.c 					   zbr->lnum, zbr->offs);
offs              478 fs/ubifs/tnc_misc.c 				      zbr->offs);
offs              489 fs/ubifs/tnc_misc.c 			  zbr->lnum, zbr->offs);
offs              498 fs/ubifs/tnc_misc.c 		ubifs_bad_hash(c, node, zbr->hash, zbr->lnum, zbr->offs);
offs              769 fs/ubifs/ubifs-media.h 	__le32 offs;
offs              814 fs/ubifs/ubifs-media.h 	__le32 offs;
offs              280 fs/ubifs/ubifs.h 	int offs;
offs              306 fs/ubifs/ubifs.h 	int offs;
offs              588 fs/ubifs/ubifs.h 	int offs;
offs              685 fs/ubifs/ubifs.h 	int offs;
offs              750 fs/ubifs/ubifs.h 	int offs;
offs              787 fs/ubifs/ubifs.h 	int offs;
offs             1595 fs/ubifs/ubifs.h 		    const u8 *hash, int lnum, int offs);
offs             1702 fs/ubifs/ubifs.h int ubifs_leb_read(const struct ubifs_info *c, int lnum, void *buf, int offs,
offs             1704 fs/ubifs/ubifs.h int ubifs_leb_write(struct ubifs_info *c, int lnum, const void *buf, int offs,
offs             1711 fs/ubifs/ubifs.h int ubifs_wbuf_seek_nolock(struct ubifs_wbuf *wbuf, int lnum, int offs);
offs             1714 fs/ubifs/ubifs.h 		    int lnum, int offs);
offs             1716 fs/ubifs/ubifs.h 			 int lnum, int offs);
offs             1718 fs/ubifs/ubifs.h 		     int offs);
offs             1720 fs/ubifs/ubifs.h 			  int offs, int hmac_offs);
offs             1722 fs/ubifs/ubifs.h 		     int offs, int quiet, int must_chk_crc);
offs             1738 fs/ubifs/ubifs.h 				  int offs, void *sbuf, int quiet);
offs             1741 fs/ubifs/ubifs.h 		      int offs, int quiet);
offs             1743 fs/ubifs/ubifs.h 					int offs, void *sbuf);
offs             1745 fs/ubifs/ubifs.h 		    int lnum, int offs);
offs             1747 fs/ubifs/ubifs.h 		   void *buf, int offs);
offs             1748 fs/ubifs/ubifs.h void ubifs_scanned_corruption(const struct ubifs_info *c, int lnum, int offs,
offs             1754 fs/ubifs/ubifs.h int ubifs_add_bud_to_log(struct ubifs_info *c, int jhead, int lnum, int offs);
offs             1809 fs/ubifs/ubifs.h int ubifs_find_free_space(struct ubifs_info *c, int min_space, int *offs,
offs             1825 fs/ubifs/ubifs.h 		     void *node, int *lnum, int *offs);
offs             1827 fs/ubifs/ubifs.h 		  int offs, int len, const u8 *hash);
offs             1829 fs/ubifs/ubifs.h 		      int old_lnum, int old_offs, int lnum, int offs, int len);
offs             1831 fs/ubifs/ubifs.h 		     int lnum, int offs, int len, const u8 *hash,
offs             1846 fs/ubifs/ubifs.h 		       int lnum, int offs, int is_idx);
offs             1848 fs/ubifs/ubifs.h 			 int lnum, int offs);
offs             1852 fs/ubifs/ubifs.h 		       int lnum, int offs);
offs             2040 fs/ubifs/ubifs.h 					 int offs, void *sbuf, int jhead);
offs             2042 fs/ubifs/ubifs.h 					     int offs, void *sbuf);
offs              115 fs/ufs/dir.c   	unsigned offs, rec_len;
offs              128 fs/ufs/dir.c   	for (offs = 0; offs <= limit - UFS_DIR_REC_LEN(1); offs += rec_len) {
offs              129 fs/ufs/dir.c   		p = (struct ufs_dir_entry *)(kaddr + offs);
offs              138 fs/ufs/dir.c   		if (((offs + rec_len - 1) ^ offs) & ~chunk_mask)
offs              144 fs/ufs/dir.c   	if (offs != limit)
offs              175 fs/ufs/dir.c   		   dir->i_ino, error, (page->index<<PAGE_SHIFT)+offs,
offs              179 fs/ufs/dir.c   	p = (struct ufs_dir_entry *)(kaddr + offs);
offs              183 fs/ufs/dir.c   		   dir->i_ino, (page->index<<PAGE_SHIFT)+offs);
offs              110 include/linux/fscrypt.h 						     unsigned int offs,
offs              114 include/linux/fscrypt.h 					 unsigned int offs, u64 lblk_num,
offs              118 include/linux/fscrypt.h 					    unsigned int offs);
offs              121 include/linux/fscrypt.h 					 unsigned int offs, u64 lblk_num);
offs              310 include/linux/fscrypt.h 							    unsigned int offs,
offs              319 include/linux/fscrypt.h 						unsigned int offs, u64 lblk_num,
offs              327 include/linux/fscrypt.h 						   unsigned int offs)
offs              335 include/linux/fscrypt.h 						unsigned int offs, u64 lblk_num)
offs               22 include/linux/mfd/smsc.h #define SMSC_BANK(offs)      ((offs) >> 3)
offs               23 include/linux/mfd/smsc.h #define SMSC_BIT(offs)       (1u << ((offs) & 0x7))
offs               44 include/linux/mtd/bbm.h 	int offs;
offs               56 include/linux/mtd/inftl.h int inftl_read_oob(struct mtd_info *mtd, loff_t offs, size_t len,
offs               58 include/linux/mtd/inftl.h int inftl_write_oob(struct mtd_info *mtd, loff_t offs, size_t len,
offs              527 include/linux/mtd/mtd.h static inline int mtd_offset_to_wunit(struct mtd_info *mtd, loff_t offs)
offs              529 include/linux/mtd/mtd.h 	return mtd_div_by_ws(mtd_mod_by_eb(offs, mtd), mtd);
offs              455 include/linux/mtd/nand.h 					       loff_t offs,
offs              459 include/linux/mtd/nand.h 	u64 tmp = offs;
offs              627 include/linux/mtd/nand.h 					loff_t offs, struct mtd_oob_ops *req,
offs              633 include/linux/mtd/nand.h 	iter->req.dataoffs = nanddev_offs_to_pos(nand, offs, &iter->req.pos);
offs              761 include/linux/mtd/nand.h int nanddev_mtd_max_bad_blocks(struct mtd_info *mtd, loff_t offs, size_t len);
offs               44 include/linux/mtd/nftl.h int nftl_read_oob(struct mtd_info *mtd, loff_t offs, size_t len,
offs               46 include/linux/mtd/nftl.h int nftl_write_oob(struct mtd_info *mtd, loff_t offs, size_t len,
offs              378 include/linux/mtd/rawnand.h 	int (*read_subpage)(struct nand_chip *chip, uint32_t offs,
offs              600 include/linux/mtd/spi-nor.h 	int (*erase)(struct spi_nor *nor, loff_t offs);
offs              100 include/linux/platform_data/adp5588.h #define ADP5588_BANK(offs)	((offs) >> 3)
offs              101 include/linux/platform_data/adp5588.h #define ADP5588_BIT(offs)	(1u << ((offs) & 0x7))
offs              262 include/linux/spi/spi-mem.h 			       u64 offs, size_t len, void *buf);
offs              264 include/linux/spi/spi-mem.h 				u64 offs, size_t len, const void *buf);
offs              342 include/linux/spi/spi-mem.h 			    u64 offs, size_t len, void *buf);
offs              344 include/linux/spi/spi-mem.h 			     u64 offs, size_t len, const void *buf);
offs              392 include/linux/tee_drv.h void *tee_shm_get_va(struct tee_shm *shm, size_t offs);
offs              402 include/linux/tee_drv.h int tee_shm_get_pa(struct tee_shm *shm, size_t offs, phys_addr_t *pa);
offs               68 include/linux/timekeeping.h extern ktime_t ktime_get_with_offset(enum tk_offsets offs);
offs               69 include/linux/timekeeping.h extern ktime_t ktime_get_coarse_with_offset(enum tk_offsets offs);
offs               70 include/linux/timekeeping.h extern ktime_t ktime_mono_to_any(ktime_t tmono, enum tk_offsets offs);
offs               40 include/linux/uio_driver.h 	unsigned long		offs;
offs              125 include/media/dvb_ringbuffer.h #define DVB_RINGBUFFER_PEEK(rbuf, offs)	\
offs              126 include/media/dvb_ringbuffer.h 			((rbuf)->data[((rbuf)->pread + (offs)) % (rbuf)->size])
offs             4688 include/net/mac80211.h 			      struct ieee80211_mutable_offsets *offs);
offs               42 include/sound/seq_oss.h 	int (*load_patch)(struct snd_seq_oss_arg *p, int format, const char __user *buf, int offs, int count);
offs              704 include/uapi/linux/soundcard.h 		int offs;	/* If required by the device (0 if not used) */
offs              822 kernel/events/uprobes.c 	loff_t offs = uprobe->offset;
offs              829 kernel/events/uprobes.c 		if (offs >= i_size_read(uprobe->inode))
offs              832 kernel/events/uprobes.c 		len = min_t(int, size, PAGE_SIZE - (offs & ~PAGE_MASK));
offs              833 kernel/events/uprobes.c 		err = __copy_insn(mapping, filp, insn, len, offs);
offs              838 kernel/events/uprobes.c 		offs += len;
offs              246 kernel/latencytop.c 	     loff_t *offs)
offs              790 kernel/time/timekeeping.c ktime_t ktime_get_with_offset(enum tk_offsets offs)
offs              794 kernel/time/timekeeping.c 	ktime_t base, *offset = offsets[offs];
offs              811 kernel/time/timekeeping.c ktime_t ktime_get_coarse_with_offset(enum tk_offsets offs)
offs              815 kernel/time/timekeeping.c 	ktime_t base, *offset = offsets[offs];
offs              836 kernel/time/timekeeping.c ktime_t ktime_mono_to_any(ktime_t tmono, enum tk_offsets offs)
offs              838 kernel/time/timekeeping.c 	ktime_t *offset = offsets[offs];
offs              260 kernel/trace/trace_kprobe.c 					     unsigned long offs,
offs              280 kernel/trace/trace_kprobe.c 		tk->rp.kp.offset = offs;
offs             1591 kernel/trace/trace_kprobe.c create_local_trace_kprobe(char *func, void *addr, unsigned long offs,
offs             1606 kernel/trace/trace_kprobe.c 				offs, 0 /* maxactive */, 0 /* nargs */,
offs              273 kernel/trace/trace_probe.c 			struct fetch_insn *code, unsigned int flags, int offs)
offs              283 kernel/trace/trace_probe.c 			trace_probe_log_err(offs, RETVAL_ON_PROBE);
offs              295 kernel/trace/trace_probe.c 				trace_probe_log_err(offs, BAD_STACK_NUM);
offs              313 kernel/trace/trace_probe.c 			trace_probe_log_err(offs, BAD_ARG_NUM);
offs              325 kernel/trace/trace_probe.c 	trace_probe_log_err(offs, BAD_VAR);
offs              340 kernel/trace/trace_probe.c static int __parse_imm_string(char *str, char **pbuf, int offs)
offs              345 kernel/trace/trace_probe.c 		trace_probe_log_err(offs + len, IMMSTR_NO_CLOSE);
offs              356 kernel/trace/trace_probe.c 		unsigned int flags, int offs)
offs              367 kernel/trace/trace_probe.c 		ret = parse_probe_vars(arg + 1, type, code, flags, offs);
offs              377 kernel/trace/trace_probe.c 			trace_probe_log_err(offs, BAD_REG_NAME);
offs              384 kernel/trace/trace_probe.c 				trace_probe_log_err(offs, BAD_MEM_ADDR);
offs              393 kernel/trace/trace_probe.c 				trace_probe_log_err(offs, FILE_ON_KPROBE);
offs              398 kernel/trace/trace_probe.c 				trace_probe_log_err(offs, BAD_FILE_OFFS);
offs              407 kernel/trace/trace_probe.c 				trace_probe_log_err(offs, SYM_ON_UPROBE);
offs              416 kernel/trace/trace_probe.c 				trace_probe_log_err(offs, TOO_MANY_OPS);
offs              424 kernel/trace/trace_probe.c 			trace_probe_log_err(offs, TOO_MANY_OPS);
offs              443 kernel/trace/trace_probe.c 			trace_probe_log_err(offs, DEREF_NEED_BRACE);
offs              449 kernel/trace/trace_probe.c 			trace_probe_log_err(offs, BAD_DEREF_OFFS);
offs              452 kernel/trace/trace_probe.c 		offs += (tmp + 1 - arg) + (arg[0] != '-' ? 1 : 0);
offs              456 kernel/trace/trace_probe.c 			trace_probe_log_err(offs + strlen(arg),
offs              463 kernel/trace/trace_probe.c 			ret = parse_probe_arg(arg, t2, &code, end, flags, offs);
offs              468 kernel/trace/trace_probe.c 				trace_probe_log_err(offs, COMM_CANT_DEREF);
offs              472 kernel/trace/trace_probe.c 				trace_probe_log_err(offs, TOO_MANY_OPS);
offs              483 kernel/trace/trace_probe.c 			ret = __parse_imm_string(arg + 2, &tmp, offs + 2);
offs              491 kernel/trace/trace_probe.c 				trace_probe_log_err(offs + 1, BAD_IMM);
offs              499 kernel/trace/trace_probe.c 		trace_probe_log_err(offs, BAD_FETCH_ARG);
offs               60 kernel/trace/trace_probe.h #define make_data_loc(len, offs)	\
offs               61 kernel/trace/trace_probe.h 	(((u32)(len) << 16) | ((u32)(offs) & 0xffff))
offs              382 kernel/trace/trace_probe.h create_local_trace_kprobe(char *func, void *addr, unsigned long offs,
offs              387 kernel/trace/trace_probe.h create_local_trace_uprobe(char *name, unsigned long offs,
offs              469 kernel/trace/trace_probe.h #define trace_probe_log_err(offs, err)	\
offs              470 kernel/trace/trace_probe.h 	__trace_probe_log_err(offs, TP_ERR_##err)
offs             1556 kernel/trace/trace_uprobe.c create_local_trace_uprobe(char *name, unsigned long offs,
offs             1587 kernel/trace/trace_uprobe.c 	tu->offset = offs;
offs              299 lib/decompress_unlzma.c 						uint32_t offs)
offs              303 lib/decompress_unlzma.c 		while (offs > wr->header->dict_size)
offs              304 lib/decompress_unlzma.c 			offs -= wr->header->dict_size;
offs              305 lib/decompress_unlzma.c 		pos = wr->buffer_pos - offs;
offs              308 lib/decompress_unlzma.c 		uint32_t pos = wr->buffer_pos - offs;
offs              330 lib/decompress_unlzma.c static inline int INIT copy_byte(struct writer *wr, uint32_t offs)
offs              332 lib/decompress_unlzma.c 	return write_byte(wr, peek_old_byte(wr, offs));
offs               45 lib/zlib_inflate/inftrees.c     unsigned short offs[MAXBITS+1];     /* offsets in table for each length */
offs              127 lib/zlib_inflate/inftrees.c     offs[1] = 0;
offs              129 lib/zlib_inflate/inftrees.c         offs[len + 1] = offs[len] + count[len];
offs              133 lib/zlib_inflate/inftrees.c         if (lens[sym] != 0) work[offs[lens[sym]]++] = (unsigned short)sym;
offs              214 net/9p/trans_virtio.c 	       struct page **pdata, int nr_pages, size_t offs, int count)
offs              217 net/9p/trans_virtio.c 	int data_off = offs;
offs              308 net/9p/trans_virtio.c 			       size_t *offs,
offs              329 net/9p/trans_virtio.c 		n = iov_iter_get_pages_alloc(data, pages, count, offs);
offs              333 net/9p/trans_virtio.c 		nr_pages = DIV_ROUND_UP(n + *offs, PAGE_SIZE);
offs              363 net/9p/trans_virtio.c 		p -= (*offs = offset_in_page(p));
offs              397 net/9p/trans_virtio.c 	size_t offs;
offs              406 net/9p/trans_virtio.c 					    outlen, &offs, &need_drop);
offs              411 net/9p/trans_virtio.c 		out_nr_pages = DIV_ROUND_UP(n + offs, PAGE_SIZE);
offs              425 net/9p/trans_virtio.c 					    inlen, &offs, &need_drop);
offs              430 net/9p/trans_virtio.c 		in_nr_pages = DIV_ROUND_UP(n + offs, PAGE_SIZE);
offs              453 net/9p/trans_virtio.c 				      out_pages, out_nr_pages, offs, outlen);
offs              471 net/9p/trans_virtio.c 				     in_pages, in_nr_pages, offs, inlen);
offs              252 net/ipv4/tcp_cong.c 	size_t offs = 0;
offs              256 net/ipv4/tcp_cong.c 		offs += snprintf(buf + offs, maxlen - offs,
offs              258 net/ipv4/tcp_cong.c 				 offs == 0 ? "" : " ", ca->name);
offs              278 net/ipv4/tcp_cong.c 	size_t offs = 0;
offs              285 net/ipv4/tcp_cong.c 		offs += snprintf(buf + offs, maxlen - offs,
offs              287 net/ipv4/tcp_cong.c 				 offs == 0 ? "" : " ", ca->name);
offs              228 net/ipv4/tcp_cubic.c 	u64 offs, t;
offs              285 net/ipv4/tcp_cubic.c 		offs = ca->bic_K - t;
offs              287 net/ipv4/tcp_cubic.c 		offs = t - ca->bic_K;
offs              290 net/ipv4/tcp_cubic.c 	delta = (cube_rtt_scale * offs * offs * offs) >> (10+3*BICTCP_HZ);
offs               87 net/ipv4/tcp_ulp.c 	size_t offs = 0;
offs               92 net/ipv4/tcp_ulp.c 		offs += snprintf(buf + offs, maxlen - offs,
offs               94 net/ipv4/tcp_ulp.c 				 offs == 0 ? "" : " ", ulp_ops->name);
offs               69 net/l2tp/l2tp_debugfs.c static void *l2tp_dfs_seq_start(struct seq_file *m, loff_t *offs)
offs               72 net/l2tp/l2tp_debugfs.c 	loff_t pos = *offs;
offs             1472 net/l2tp/l2tp_ppp.c static void *pppol2tp_seq_start(struct seq_file *m, loff_t *offs)
offs             1475 net/l2tp/l2tp_ppp.c 	loff_t pos = *offs;
offs             4466 net/mac80211/tx.c 		       struct ieee80211_mutable_offsets *offs,
offs             4487 net/mac80211/tx.c 	if (offs)
offs             4488 net/mac80211/tx.c 		memset(offs, 0, sizeof(*offs));
offs             4519 net/mac80211/tx.c 			if (offs) {
offs             4520 net/mac80211/tx.c 				offs->tim_offset = beacon->head_len;
offs             4521 net/mac80211/tx.c 				offs->tim_length = skb->len - beacon->head_len;
offs             4590 net/mac80211/tx.c 		if (offs) {
offs             4591 net/mac80211/tx.c 			offs->tim_offset = beacon->head_len;
offs             4592 net/mac80211/tx.c 			offs->tim_length = skb->len - beacon->head_len;
offs             4602 net/mac80211/tx.c 	if (offs && beacon) {
offs             4611 net/mac80211/tx.c 			offs->csa_counter_offs[i] = csa_off_base + csa_off;
offs             4647 net/mac80211/tx.c 			      struct ieee80211_mutable_offsets *offs)
offs             4649 net/mac80211/tx.c 	return __ieee80211_beacon_get(hw, vif, offs, true);
offs             4657 net/mac80211/tx.c 	struct ieee80211_mutable_offsets offs = {};
offs             4658 net/mac80211/tx.c 	struct sk_buff *bcn = __ieee80211_beacon_get(hw, vif, &offs, false);
offs             4667 net/mac80211/tx.c 		*tim_offset = offs.tim_offset;
offs             4670 net/mac80211/tx.c 		*tim_length = offs.tim_length;
offs              817 net/netfilter/ipvs/ip_vs_core.c 	unsigned int offs	 = 0; /* header offset*/
offs              825 net/netfilter/ipvs/ip_vs_core.c 	offs = icmp_offset + sizeof(struct icmp6hdr);
offs              826 net/netfilter/ipvs/ip_vs_core.c 	ciph = (struct ipv6hdr *)(skb_network_header(skb) + offs);
offs              828 net/netfilter/ipvs/ip_vs_core.c 	protocol = ipv6_find_hdr(skb, &offs, -1, &fragoffs, NULL);
offs              841 net/netfilter/ipvs/ip_vs_core.c 		__be16 *ports = (void *)(skb_network_header(skb) + offs);
offs               83 net/netfilter/xt_l2tp.c 	int offs = thoff + uhlen;
offs               95 net/netfilter/xt_l2tp.c 	lh = skb_header_pointer(skb, offs, 2, &lhbuf);
offs              113 net/netfilter/xt_l2tp.c 		lh = skb_header_pointer(skb, offs + 4, 4, &lhbuf);
offs              122 net/netfilter/xt_l2tp.c 			offs += 2;
offs              123 net/netfilter/xt_l2tp.c 		lh = skb_header_pointer(skb, offs + 2, 4, &lhbuf);
offs              366 net/sunrpc/xdr.c 	size_t copy, offs;
offs              390 net/sunrpc/xdr.c 		offs = len - copy;
offs              391 net/sunrpc/xdr.c 		if (offs >= tail->iov_len)
offs              393 net/sunrpc/xdr.c 		else if (copy > tail->iov_len - offs)
offs              394 net/sunrpc/xdr.c 			copy = tail->iov_len - offs;
offs              396 net/sunrpc/xdr.c 			_copy_from_pages((char *)tail->iov_base + offs,
offs              398 net/sunrpc/xdr.c 					buf->page_base + pglen + offs - len,
offs              404 net/sunrpc/xdr.c 			offs = copy = len - pglen;
offs              409 net/sunrpc/xdr.c 					head->iov_len - offs,
offs              464 net/wireless/sme.c 	size_t offs;
offs              491 net/wireless/sme.c 		offs = ieee80211_ie_split(ies, ies_len, before_extcapa,
offs              493 net/wireless/sme.c 		memcpy(buf, ies, offs);
offs              495 net/wireless/sme.c 		memcpy(buf + offs + rdev->wiphy.extended_capabilities_len + 2,
offs              496 net/wireless/sme.c 		       ies + offs, ies_len - offs);
offs              498 net/wireless/sme.c 		offs = 0;
offs              502 net/wireless/sme.c 	buf[offs] = WLAN_EID_EXT_CAPABILITY;
offs              503 net/wireless/sme.c 	buf[offs + 1] = rdev->wiphy.extended_capabilities_len;
offs              504 net/wireless/sme.c 	memcpy(buf + offs + 2,
offs               43 security/integrity/platform_certs/efi_parser.c 	unsigned int offs = 0;
offs               57 security/integrity/platform_certs/efi_parser.c 			 offs,
offs               68 security/integrity/platform_certs/efi_parser.c 				 __func__, offs);
offs               77 security/integrity/platform_certs/efi_parser.c 			pr_devel("- bad size combo @%x\n", offs);
offs               85 security/integrity/platform_certs/efi_parser.c 			offs += lsize;
offs               91 security/integrity/platform_certs/efi_parser.c 		offs += sizeof(list) + hsize;
offs               96 security/integrity/platform_certs/efi_parser.c 			pr_devel("ELEM[%04x]\n", offs);
offs              103 security/integrity/platform_certs/efi_parser.c 			offs += esize;
offs               14 sound/drivers/opl3/opl3_oss.c static int snd_opl3_load_patch_seq_oss(struct snd_seq_oss_arg *arg, int format, const char __user *buf, int offs, int count);
offs              175 sound/drivers/opl3/opl3_oss.c 				       const char __user *buf, int offs, int count)
offs              519 sound/pci/echoaudio/echoaudio.c 	int err, per, rest, page, edge, offs;
offs              563 sound/pci/echoaudio/echoaudio.c 	for (offs = page = per = 0; offs < params_buffer_bytes(hw_params);
offs              566 sound/pci/echoaudio/echoaudio.c 		if (offs + rest > params_buffer_bytes(hw_params))
offs              567 sound/pci/echoaudio/echoaudio.c 			rest = params_buffer_bytes(hw_params) - offs;
offs              570 sound/pci/echoaudio/echoaudio.c 			addr = snd_pcm_sgbuf_get_addr(substream, offs);
offs              571 sound/pci/echoaudio/echoaudio.c 			if (rest <= edge - offs) {
offs              574 sound/pci/echoaudio/echoaudio.c 				offs += rest;
offs              578 sound/pci/echoaudio/echoaudio.c 						   edge - offs);
offs              579 sound/pci/echoaudio/echoaudio.c 				rest -= edge - offs;
offs              580 sound/pci/echoaudio/echoaudio.c 				offs = edge;
offs              582 sound/pci/echoaudio/echoaudio.c 			if (offs == edge) {
offs              874 sound/soc/codecs/wm_adsp.c 				   int noffs, unsigned int *offs)
offs              880 sound/soc/codecs/wm_adsp.c 		ret = regmap_read(dsp->regmap, dsp->base + offs[i], &offs[i]);
offs              890 sound/soc/codecs/wm_adsp.c 	unsigned int offs[] = {
offs              894 sound/soc/codecs/wm_adsp.c 	wm_adsp_read_fw_status(dsp, ARRAY_SIZE(offs), offs);
offs              897 sound/soc/codecs/wm_adsp.c 		 offs[0], offs[1], offs[2], offs[3]);
offs              902 sound/soc/codecs/wm_adsp.c 	unsigned int offs[] = { ADSP2V2_SCRATCH0_1, ADSP2V2_SCRATCH2_3 };
offs              904 sound/soc/codecs/wm_adsp.c 	wm_adsp_read_fw_status(dsp, ARRAY_SIZE(offs), offs);
offs              907 sound/soc/codecs/wm_adsp.c 		 offs[0] & 0xFFFF, offs[0] >> 16,
offs              908 sound/soc/codecs/wm_adsp.c 		 offs[1] & 0xFFFF, offs[1] >> 16);
offs              913 sound/soc/codecs/wm_adsp.c 	unsigned int offs[] = {
offs              917 sound/soc/codecs/wm_adsp.c 	wm_adsp_read_fw_status(dsp, ARRAY_SIZE(offs), offs);
offs              920 sound/soc/codecs/wm_adsp.c 		 offs[0], offs[1], offs[2], offs[3]);
offs               24 sound/synth/emux/emux_oss.c 				       const char __user *buf, int offs, int count);
offs              191 sound/synth/emux/emux_oss.c 			    const char __user *buf, int offs, int count)
offs              177 sound/usb/endpoint.c 	unsigned int offs = 0;
offs              197 sound/usb/endpoint.c 		offset = offs * ep->stride + extra * i;
offs              207 sound/usb/endpoint.c 		offs += counts;
offs              211 sound/usb/endpoint.c 	urb->transfer_buffer_length = offs * ep->stride + ctx->packets * extra;
offs              269 sound/usb/endpoint.c 	int i, offs;
offs              276 sound/usb/endpoint.c 		offs = 0;
offs              278 sound/usb/endpoint.c 			urb->iso_frame_desc[i].offset = offs;
offs              280 sound/usb/endpoint.c 			offs += ep->curpacksize;
offs              283 sound/usb/endpoint.c 		urb->transfer_buffer_length = offs;
offs             5874 tools/lib/bpf/libbpf.c 		__u64 addr, offs;
offs             5882 tools/lib/bpf/libbpf.c 		offs = addr - ptr_to_u64(info_linear->data);
offs             5884 tools/lib/bpf/libbpf.c 					     desc->array_offset, offs);
offs             5894 tools/lib/bpf/libbpf.c 		__u64 addr, offs;
offs             5900 tools/lib/bpf/libbpf.c 		offs = bpf_prog_info_read_offset_u64(&info_linear->info,
offs             5902 tools/lib/bpf/libbpf.c 		addr = offs + ptr_to_u64(info_linear->data);
offs             1892 tools/perf/util/annotate.c 		kce.offs = sym->start;
offs              197 tools/perf/util/build-id.c 	size_t offs = 5;	/* == strlen("../..") */
offs              211 tools/perf/util/build-id.c 	if (p && (p > buf + offs)) {
offs              213 tools/perf/util/build-id.c 		if (buf[offs + 1] == '[')
offs              214 tools/perf/util/build-id.c 			offs++;	/*
offs              219 tools/perf/util/build-id.c 		ret = strdup(buf + offs);	/* Skip "../..[/]" */
offs              363 tools/perf/util/dwarf-aux.c int die_get_data_member_location(Dwarf_Die *mb_die, Dwarf_Word *offs)
offs              373 tools/perf/util/dwarf-aux.c 	if (dwarf_formudata(&attr, offs) != 0) {
offs              384 tools/perf/util/dwarf-aux.c 		*offs = (Dwarf_Word)expr[0].number;
offs               63 tools/perf/util/dwarf-aux.h int die_get_data_member_location(Dwarf_Die *mb_die, Dwarf_Word *offs);
offs              232 tools/perf/util/intel-bts.c 	size_t offs, len;
offs              235 tools/perf/util/intel-bts.c 		offs = len_a - len_b;
offs              237 tools/perf/util/intel-bts.c 		offs = 0;
offs              239 tools/perf/util/intel-bts.c 	for (; offs < len_a; offs += sizeof(struct branch)) {
offs              240 tools/perf/util/intel-bts.c 		len = len_a - offs;
offs              241 tools/perf/util/intel-bts.c 		if (!memcmp(buf_a + offs, buf_b, len))
offs              408 tools/perf/util/intel-pt-decoder/intel-pt-pkt-decoder.c 	unsigned int offs = 1, shift;
offs              414 tools/perf/util/intel-pt-decoder/intel-pt-pkt-decoder.c 		if (offs > 9)
offs              416 tools/perf/util/intel-pt-decoder/intel-pt-pkt-decoder.c 		if (len < offs)
offs              418 tools/perf/util/intel-pt-decoder/intel-pt-pkt-decoder.c 		byte = buf[offs++];
offs              424 tools/perf/util/intel-pt-decoder/intel-pt-pkt-decoder.c 	return offs;
offs              617 tools/perf/util/probe-event.c 					   struct map *map, unsigned long offs)
offs              620 tools/perf/util/probe-event.c 	u64 addr = tp->address - offs;
offs              637 tools/perf/util/probe-event.c 	tp->address -= offs;
offs              147 tools/perf/util/probe-finder.c static struct probe_trace_arg_ref *alloc_trace_arg_ref(long offs)
offs              152 tools/perf/util/probe-finder.c 		ref->offset = offs;
offs              172 tools/perf/util/probe-finder.c 	Dwarf_Word offs = 0;
offs              225 tools/perf/util/probe-finder.c 		tvar->ref = alloc_trace_arg_ref((long)offs);
offs              236 tools/perf/util/probe-finder.c 		offs = op->number;
offs              242 tools/perf/util/probe-finder.c 		offs += op->number;
offs              248 tools/perf/util/probe-finder.c 		offs += op->number2;
offs              273 tools/perf/util/probe-finder.c 		tvar->ref = alloc_trace_arg_ref((long)offs);
offs              407 tools/perf/util/probe-finder.c 	Dwarf_Word offs;
offs              502 tools/perf/util/probe-finder.c 		offs = 0;
offs              504 tools/perf/util/probe-finder.c 		ret = die_get_data_member_location(die_mem, &offs);
offs              511 tools/perf/util/probe-finder.c 	ref->offset += (long)offs;
offs             1543 tools/perf/util/probe-finder.c int debuginfo__get_text_offset(struct debuginfo *dbg, Dwarf_Addr *offs,
offs             1572 tools/perf/util/probe-finder.c 			*offs = shdr->sh_addr;
offs             1574 tools/perf/util/probe-finder.c 				*offs -= shdr->sh_offset;
offs               50 tools/perf/util/probe-finder.h int debuginfo__get_text_offset(struct debuginfo *dbg, Dwarf_Addr *offs,
offs             1903 tools/perf/util/symbol-elf.c 		off_t offs = p->rel + offset;
offs             1905 tools/perf/util/symbol-elf.c 		if (kcore__add_phdr(&extract, idx++, offs, p->addr, p->len))
offs             1914 tools/perf/util/symbol-elf.c 		off_t offs = p->rel + offset;
offs             1918 tools/perf/util/symbol-elf.c 		if (copy_bytes(kcore.fd, p->offset, extract.fd, offs, p->len))
offs             1974 tools/perf/util/symbol-elf.c 	if (copy_bytes(kcore.fd, kce->offs, extract.fd, offset, kce->len))
offs              210 tools/perf/util/symbol.h 	u64 offs;