Searched refs:offs (Results 101 - 125 of 384) sorted by relevance

1234567891011>>

/linux-master/fs/nilfs2/
H A Ddir.c114 size_t offs, rec_len; local
126 for (offs = 0; offs <= limit - NILFS_DIR_REC_LEN(1); offs += rec_len) {
127 p = (struct nilfs_dir_entry *)(kaddr + offs);
136 if (((offs + rec_len - 1) ^ offs) & ~(chunk_size-1))
139 if (offs != limit)
166 dir->i_ino, error, (folio->index << PAGE_SHIFT) + offs,
171 p = (struct nilfs_dir_entry *)(kaddr + offs);
[all...]
/linux-master/arch/nios2/kernel/
H A Dtime.c63 static u16 timer_readw(struct nios2_timer *timer, u32 offs) argument
65 return readw(timer->base + offs);
68 static void timer_writew(struct nios2_timer *timer, u16 val, u32 offs) argument
70 writew(val, timer->base + offs);
/linux-master/fs/jffs2/
H A Ddebug.h215 __jffs2_dbg_dump_buffer(unsigned char *buf, int len, uint32_t offs);
251 #define jffs2_dbg_dump_buffer(buf, len, offs) \
252 __jffs2_dbg_dump_buffer(*buf, len, offs);
262 #define jffs2_dbg_dump_buffer(buf, len, offs)
/linux-master/arch/arm/mach-imx/
H A Davic.c92 u8 offs = d->hwirq < AVIC_NUM_IRQS / 2 ? local
100 imx_writel(~gc->wake_active, mx25_ccm_base + offs);
113 u8 offs = d->hwirq < AVIC_NUM_IRQS / 2 ? local
116 imx_writel(0xffffffff, mx25_ccm_base + offs);
/linux-master/drivers/mtd/nand/
H A Dcore.c182 * @offs: offset of the NAND region
191 int nanddev_mtd_max_bad_blocks(struct mtd_info *mtd, loff_t offs, size_t len) argument
200 nanddev_offs_to_pos(nand, offs, &pos);
201 nanddev_offs_to_pos(nand, offs + len, &end);
203 for (nanddev_offs_to_pos(nand, offs, &pos);
/linux-master/arch/arm/mach-omap2/
H A Dcm2xxx.c111 unsigned long offs; local
126 offs = idlest_reg->offset;
127 offs &= 0xff00;
128 *prcm_inst = offs;
/linux-master/drivers/net/wireless/ath/carl9170/
H A Dcmd.c66 __le32 *offs, *res; local
69 offs = (__le32 *)out;
71 offs[i] = cpu_to_le32(regs[i]);
77 4 * nregs, (u8 *)offs,
/linux-master/fs/ceph/
H A Dcrypto.h155 unsigned int offs, u64 lblk_num);
158 unsigned int offs, u64 lblk_num,
242 unsigned int offs, u64 lblk_num)
249 unsigned int offs, u64 lblk_num,
240 ceph_fscrypt_decrypt_block_inplace(const struct inode *inode, struct page *page, unsigned int len, unsigned int offs, u64 lblk_num) argument
247 ceph_fscrypt_encrypt_block_inplace(const struct inode *inode, struct page *page, unsigned int len, unsigned int offs, u64 lblk_num, gfp_t gfp_flags) argument
/linux-master/drivers/spi/
H A Dspi-dw-bt1.c108 u64 offs, size_t len, void *buf)
120 if (offs >= dwsbt1->map_len || !len)
123 len = min_t(size_t, len, dwsbt1->map_len - offs);
152 dw_spi_bt1_dirmap_copy_from_map(buf, dwsbt1->map + offs, len);
107 dw_spi_bt1_dirmap_read(struct spi_mem_dirmap_desc *desc, u64 offs, size_t len, void *buf) argument
/linux-master/drivers/iommu/
H A Domap-iommu.h256 static inline u32 iommu_read_reg(struct omap_iommu *obj, size_t offs) argument
258 return __raw_readl(obj->regbase + offs);
261 static inline void iommu_write_reg(struct omap_iommu *obj, u32 val, size_t offs) argument
263 __raw_writel(val, obj->regbase + offs);
/linux-master/include/linux/spi/
H A Dspi-mem.h285 u64 offs, size_t len, void *buf);
287 u64 offs, size_t len, const void *buf);
382 u64 offs, size_t len, void *buf);
384 u64 offs, size_t len, const void *buf);
/linux-master/drivers/net/ethernet/renesas/
H A Drcar_gen4_ptp.h56 const struct rcar_gen4_ptp_reg_offset *offs; member in struct:rcar_gen4_ptp_private
/linux-master/drivers/mtd/nand/raw/
H A Dnand_micron.c248 unsigned int offs, i, nbitflips = 0; local
251 offs = step * chip->ecc.size;
252 rawbuf = micron->ecc.rawbuf + offs;
253 corrbuf = buf + offs;
258 offs = (step * 16) + 4;
259 rawbuf = micron->ecc.rawbuf + mtd->writesize + offs;
260 corrbuf = chip->oob_poi + offs;
/linux-master/drivers/hid/intel-ish-hid/ishtp/
H A Dhbm.c443 uint64_t offs; local
451 offs = dma_xfer->msg_addr - dev->ishtp_host_dma_tx_buf_phys;
452 if (offs > dev->ishtp_host_dma_tx_buf_size) {
457 dev->ishtp_host_dma_tx_buf_size - offs) {
463 msg = (unsigned char *)dev->ishtp_host_dma_tx_buf + offs;
506 uint64_t offs; local
516 offs = dma_xfer->msg_addr - dev->ishtp_host_dma_rx_buf_phys;
517 if (offs > dev->ishtp_host_dma_rx_buf_size) {
522 dev->ishtp_host_dma_rx_buf_size - offs) {
526 msg = dev->ishtp_host_dma_rx_buf + offs;
[all...]
/linux-master/drivers/crypto/marvell/octeontx2/
H A Dotx2_cptlf.c383 int slot, offs; local
386 for (offs = 0; offs < OTX2_CPT_LF_MSIX_VECTORS; offs++)
389 offs), NULL);
398 int slot, offs, ret; local
412 for (offs = 0; offs < OTX2_CPT_LF_MSIX_VECTORS; offs++) {
414 lf[slot].msix_offset + offs),
[all...]
/linux-master/net/netfilter/
H A Dxt_l2tp.c83 int offs = thoff + uhlen; local
95 lh = skb_header_pointer(skb, offs, 2, &lhbuf);
113 lh = skb_header_pointer(skb, offs + 4, 4, &lhbuf);
122 offs += 2;
123 lh = skb_header_pointer(skb, offs + 2, 4, &lhbuf);
/linux-master/fs/xfs/scrub/
H A Drtsummary.c170 xfs_rtsumoff_t offs; local
182 offs = xfs_rtsumoffs(mp, lenlog, rbmoff);
193 error = xfsum_load(sc, offs, &v);
199 lenlog, offs, value);
201 return xfsum_store(sc, offs, v);
/linux-master/drivers/mtd/
H A Dnftlcore.c123 int nftl_read_oob(struct mtd_info *mtd, loff_t offs, size_t len, argument
131 ops.ooboffs = offs & mask;
136 res = mtd_read_oob(mtd, offs & ~mask, &ops);
144 int nftl_write_oob(struct mtd_info *mtd, loff_t offs, size_t len, argument
152 ops.ooboffs = offs & mask;
157 res = mtd_write_oob(mtd, offs & ~mask, &ops);
167 static int nftl_write(struct mtd_info *mtd, loff_t offs, size_t len, argument
175 ops.ooboffs = offs & mask;
181 res = mtd_write_oob(mtd, offs & ~mask, &ops);
/linux-master/lib/vdso/
H A Dgettimeofday.c53 const struct timens_offset *offs = &vdns->offset[clk]; local
84 sec += offs->sec;
85 ns += offs->nsec;
170 const struct timens_offset *offs = &vdns->offset[clk]; local
182 sec += offs->sec;
183 nsec += offs->nsec;
/linux-master/tools/testing/selftests/bpf/progs/
H A Dbpf_cubic.c270 __u64 offs, t; local
327 offs = ca->bic_K - t;
329 offs = t - ca->bic_K;
332 delta = (cube_rtt_scale * offs * offs * offs) >> (10+3*BICTCP_HZ);
/linux-master/drivers/tee/
H A Dtee_shm.c428 * @offs: Offset from start of this shared memory
429 * @returns virtual address of the shared memory + offs if offs is within
432 void *tee_shm_get_va(struct tee_shm *shm, size_t offs) argument
436 if (offs >= shm->size)
438 return (char *)shm->kaddr + offs;
445 * @offs: Offset from start of this shared memory
447 * @returns 0 if offs is within the bounds of this shared memory, else an
450 int tee_shm_get_pa(struct tee_shm *shm, size_t offs, phys_addr_t *pa) argument
452 if (offs >
[all...]
/linux-master/net/ipv4/
H A Dtcp_cubic.c217 u64 offs, t; local
274 offs = ca->bic_K - t;
276 offs = t - ca->bic_K;
279 delta = (cube_rtt_scale * offs * offs * offs) >> (10+3*BICTCP_HZ);
/linux-master/kernel/trace/
H A Dtrace_probe.h62 #define make_data_loc(len, offs) \
63 (((u32)(len) << 16) | ((u32)(offs) & 0xffff))
455 create_local_trace_kprobe(char *func, void *addr, unsigned long offs,
460 create_local_trace_uprobe(char *name, unsigned long offs,
567 #define trace_probe_log_err(offs, err) \
568 __trace_probe_log_err(offs, TP_ERR_##err)
/linux-master/tools/testing/selftests/mm/
H A Dksm_functional_tests.c248 unsigned int offs; local
292 for (offs = size / 2; offs < size; offs += pagesize)
293 *((unsigned int *)&map[offs]) = offs;
/linux-master/drivers/most/
H A Dcore.c460 int offs; member in struct:show_links_data
467 int offs = d->offs; local
474 offs += scnprintf(buf + offs,
475 PAGE_SIZE - offs,
482 offs += scnprintf(buf + offs,
483 PAGE_SIZE - offs,
490 d->offs
518 int offs = 0; local
[all...]

Completed in 222 milliseconds

1234567891011>>