Home
last modified time | relevance | path

Searched refs:off (Results 1 – 25 of 1913) sorted by relevance

12345678910>>...77

/linux-6.3-rc2/drivers/scsi/
A Dscsi_logging.c44 off += scnprintf(logbuf + off, logbuf_len - off, in sdev_format_header()
51 off += scnprintf(logbuf + off, logbuf_len - off, in sdev_format_header()
71 off += scnprintf(logbuf + off, logbuf_len - off, in sdev_prefix_printk()
137 off += scnprintf(buffer + off, buf_len - off, in scsi_format_opcode_name()
140 off += scnprintf(buffer + off, buf_len - off, in scsi_format_opcode_name()
252 off += scnprintf(buffer + off, buf_len - off, in scsi_format_extd_sense()
257 off += scnprintf(buffer + off, buf_len - off, in scsi_format_extd_sense()
262 off += scnprintf(buffer + off, buf_len - off, in scsi_format_extd_sense()
278 off += scnprintf(buffer + off, buf_len - off, in scsi_format_sense_hdr()
281 off += scnprintf(buffer + off, buf_len - off, in scsi_format_sense_hdr()
[all …]
/linux-6.3-rc2/arch/mips/mm/
A Dpage.c278 int off; in build_clear_page() local
313 while (off) { in build_clear_page()
324 off = -off; in build_clear_page()
336 off = 0; in build_clear_page()
342 off = -off; in build_clear_page()
427 int off; in build_copy_page() local
498 off = -off; in build_copy_page()
525 off = 0; in build_copy_page()
543 off = -off; in build_copy_page()
567 off = 0; in build_copy_page()
[all …]
/linux-6.3-rc2/drivers/ntb/hw/intel/
A Dntb_hw_gen3.c276 off += scnprintf(buf + off, buf_size - off, in ndev_ntb3_debugfs_read()
279 off += scnprintf(buf + off, buf_size - off, in ndev_ntb3_debugfs_read()
283 off += scnprintf(buf + off, buf_size - off, in ndev_ntb3_debugfs_read()
285 off += scnprintf(buf + off, buf_size - off, in ndev_ntb3_debugfs_read()
302 off += scnprintf(buf + off, buf_size - off, in ndev_ntb3_debugfs_read()
304 off += scnprintf(buf + off, buf_size - off, in ndev_ntb3_debugfs_read()
306 off += scnprintf(buf + off, buf_size - off, in ndev_ntb3_debugfs_read()
308 off += scnprintf(buf + off, buf_size - off, in ndev_ntb3_debugfs_read()
310 off += scnprintf(buf + off, buf_size - off, in ndev_ntb3_debugfs_read()
313 off += scnprintf(buf + off, buf_size - off, in ndev_ntb3_debugfs_read()
[all …]
A Dntb_hw_gen4.c240 off += scnprintf(buf + off, buf_size - off, in ndev_ntb4_debugfs_read()
243 off += scnprintf(buf + off, buf_size - off, in ndev_ntb4_debugfs_read()
247 off += scnprintf(buf + off, buf_size - off, in ndev_ntb4_debugfs_read()
249 off += scnprintf(buf + off, buf_size - off, in ndev_ntb4_debugfs_read()
266 off += scnprintf(buf + off, buf_size - off, in ndev_ntb4_debugfs_read()
268 off += scnprintf(buf + off, buf_size - off, in ndev_ntb4_debugfs_read()
270 off += scnprintf(buf + off, buf_size - off, in ndev_ntb4_debugfs_read()
272 off += scnprintf(buf + off, buf_size - off, in ndev_ntb4_debugfs_read()
274 off += scnprintf(buf + off, buf_size - off, in ndev_ntb4_debugfs_read()
277 off += scnprintf(buf + off, buf_size - off, in ndev_ntb4_debugfs_read()
[all …]
A Dntb_hw_gen1.c514 off += scnprintf(buf + off, buf_size - off, in ndev_ntb_debugfs_read()
517 off += scnprintf(buf + off, buf_size - off, in ndev_ntb_debugfs_read()
528 off += scnprintf(buf + off, buf_size - off, in ndev_ntb_debugfs_read()
532 off += scnprintf(buf + off, buf_size - off, in ndev_ntb_debugfs_read()
534 off += scnprintf(buf + off, buf_size - off, in ndev_ntb_debugfs_read()
551 off += scnprintf(buf + off, buf_size - off, in ndev_ntb_debugfs_read()
553 off += scnprintf(buf + off, buf_size - off, in ndev_ntb_debugfs_read()
555 off += scnprintf(buf + off, buf_size - off, in ndev_ntb_debugfs_read()
557 off += scnprintf(buf + off, buf_size - off, in ndev_ntb_debugfs_read()
559 off += scnprintf(buf + off, buf_size - off, in ndev_ntb_debugfs_read()
[all …]
/linux-6.3-rc2/arch/ia64/kernel/
A Dentry.h45 .spillsp f2,SW(F2)+16+(off); .spillsp f3,SW(F3)+16+(off); \
46 .spillsp f4,SW(F4)+16+(off); .spillsp f5,SW(F5)+16+(off); \
47 .spillsp f16,SW(F16)+16+(off); .spillsp f17,SW(F17)+16+(off); \
48 .spillsp f18,SW(F18)+16+(off); .spillsp f19,SW(F19)+16+(off); \
49 .spillsp f20,SW(F20)+16+(off); .spillsp f21,SW(F21)+16+(off); \
50 .spillsp f22,SW(F22)+16+(off); .spillsp f23,SW(F23)+16+(off); \
55 .spillsp r4,SW(R4)+16+(off); .spillsp r5,SW(R5)+16+(off); \
56 .spillsp r6,SW(R6)+16+(off); .spillsp r7,SW(R7)+16+(off); \
57 .spillsp b0,SW(B0)+16+(off); .spillsp b1,SW(B1)+16+(off); \
58 .spillsp b2,SW(B2)+16+(off); .spillsp b3,SW(B3)+16+(off); \
[all …]
/linux-6.3-rc2/arch/powerpc/boot/
A Daddnote.c64 #define GET_16BE(off) ((buf[off] << 8) + (buf[(off)+1])) argument
65 #define GET_32BE(off) ((GET_16BE(off) << 16U) + GET_16BE((off)+2U)) argument
70 #define PUT_32BE(off, v)(PUT_16BE((off), (v) >> 16L), PUT_16BE((off) + 2, (v))) argument
74 #define GET_16LE(off) ((buf[off]) + (buf[(off)+1] << 8)) argument
75 #define GET_32LE(off) (GET_16LE(off) + (GET_16LE((off)+2U) << 16U)) argument
78 #define PUT_16LE(off, v) (buf[off] = (v) & 0xff, \ argument
80 #define PUT_32LE(off, v) (PUT_16LE((off), (v)), PUT_16LE((off) + 2, (v) >> 16L)) argument
81 #define PUT_64LE(off, v) (PUT_32LE((off), (v)), PUT_32LE((off) + 4, (v) >> 32L)) argument
83 #define GET_16(off) (e_data == ELFDATA2MSB ? GET_16BE(off) : GET_16LE(off)) argument
84 #define GET_32(off) (e_data == ELFDATA2MSB ? GET_32BE(off) : GET_32LE(off)) argument
[all …]
/linux-6.3-rc2/drivers/rapidio/
A Drio-sysfs.c142 off++; in rio_read_config()
151 off += 2; in rio_read_config()
162 off += 4; in rio_read_config()
171 off += 2; in rio_read_config()
179 off++; in rio_read_config()
204 rio_write_config_8(dev, off, data[off - init_off]); in rio_write_config()
205 off++; in rio_write_config()
213 off += 2; in rio_write_config()
223 off += 4; in rio_write_config()
231 off += 2; in rio_write_config()
[all …]
/linux-6.3-rc2/drivers/mtd/
A Dmtdpstore.c33 off = ALIGN_DOWN(off, mtd->erasesize); in mtdpstore_block_isbad()
50 loff_t off) in mtdpstore_panic_block_isbad() argument
55 off = ALIGN_DOWN(off, mtd->erasesize); in mtdpstore_panic_block_isbad()
61 loff_t off) in mtdpstore_mark_used() argument
71 loff_t off) in mtdpstore_mark_unused() argument
81 loff_t off) in mtdpstore_block_mark_unused() argument
87 off = ALIGN_DOWN(off, mtd->erasesize); in mtdpstore_block_mark_unused()
114 off = ALIGN_DOWN(off, mtd->erasesize); in mtdpstore_block_is_used()
156 off = ALIGN_DOWN(off, mtd->erasesize); in mtdpstore_block_clear_removed()
172 off = ALIGN_DOWN(off, mtd->erasesize); in mtdpstore_block_is_removed()
[all …]
/linux-6.3-rc2/include/linux/isdn/
A Dcapiutil.h19 #define CAPIMSG_U8(m, off) (m[off]) argument
20 #define CAPIMSG_U16(m, off) (m[off]|(m[(off)+1]<<8)) argument
21 #define CAPIMSG_U32(m, off) (m[off]|(m[(off)+1]<<8)|(m[(off)+2]<<16)|(m[(off)+3]<<24)) argument
33 static inline void capimsg_setu8(void *m, int off, __u8 val) in capimsg_setu8() argument
35 ((__u8 *)m)[off] = val; in capimsg_setu8()
40 ((__u8 *)m)[off] = val & 0xff; in capimsg_setu16()
41 ((__u8 *)m)[off+1] = (val >> 8) & 0xff; in capimsg_setu16()
46 ((__u8 *)m)[off] = val & 0xff; in capimsg_setu32()
47 ((__u8 *)m)[off+1] = (val >> 8) & 0xff; in capimsg_setu32()
48 ((__u8 *)m)[off+2] = (val >> 16) & 0xff; in capimsg_setu32()
[all …]
/linux-6.3-rc2/tools/testing/selftests/net/mptcp/
A Dpm_nl_ctl.c55 int off = 0; in init_genl_req() local
66 return off; in init_genl_req()
73 uint32_t off; in nl_error() local
90 (int)off); in nl_error()
311 int off = 0; in resolve_mptcp_pm_netlink() local
338 int off = 0; in dsf() local
454 int off = 0; in csf() local
575 int off = 0; in remove_addr() local
627 int off = 0; in announce_addr() local
753 int off = 0; in add_addr() local
[all …]
/linux-6.3-rc2/drivers/acpi/
A Dec_sys.c37 loff_t init_off = *off; in acpi_ec_read_io()
40 if (*off >= size) in acpi_ec_read_io()
42 if (*off + count >= size) { in acpi_ec_read_io()
43 size -= *off; in acpi_ec_read_io()
54 if (*off - init_off) in acpi_ec_read_io()
58 *off += 1; in acpi_ec_read_io()
65 size_t count, loff_t *off) in acpi_ec_write_io() argument
72 loff_t init_off = *off; in acpi_ec_write_io()
78 if (*off >= EC_SPACE_SIZE) in acpi_ec_write_io()
88 if (*off - init_off) in acpi_ec_write_io()
[all …]
/linux-6.3-rc2/drivers/isdn/hardware/mISDN/
A Diohelper.h28 return inb(hw->ap.port + off); \
32 outb(val, hw->ap.port + off); \
36 insb(hw->ap.port + off, dp, size); \
40 outsb(hw->ap.port + off, dp, size); \
46 outb(off, hw->ap.ale); \
51 outb(off, hw->ap.ale); \
56 outb(off, hw->ap.ale); \
61 outb(off, hw->ap.ale); \
68 return readb(((typ *)hw->adr) + off); \
72 writeb(val, ((typ *)hw->adr) + off); \
[all …]
/linux-6.3-rc2/arch/mips/include/asm/
A Dmips-gic.h30 #define GIC_ACCESSOR_RO(sz, off, name) \ argument
31 CPS_ACCESSOR_RO(gic, sz, MIPS_GIC_SHARED_OFS + off, name)
34 #define GIC_ACCESSOR_RW(sz, off, name) \ argument
38 #define GIC_VX_ACCESSOR_RO(sz, off, name) \ argument
43 #define GIC_VX_ACCESSOR_RW(sz, off, name) \ argument
51 return mips_gic_base + (off) + (intr * (stride)); \
62 GIC_ACCESSOR_RO_INTR_REG(sz, off, stride, name) \
86 #define GIC_ACCESSOR_RO_INTR_BIT(off, name) \ argument
89 return mips_gic_base + (off); \
109 #define GIC_ACCESSOR_RW_INTR_BIT(off, name) \ argument
[all …]
/linux-6.3-rc2/tools/include/linux/
A Dfilter.h39 .off = 0, \
47 .off = 0, \
57 .off = 0, \
65 .off = 0, \
75 .off = 0, \
85 .off = 0, \
93 .off = 0, \
103 .off = 0, \
111 .off = 0, \
121 .off = 0, \
[all …]
/linux-6.3-rc2/scripts/gdb/linux/
A Ddmesg.py42 addr = prb_addr + off
48 desc_ring_count = 1 << utils.read_u32(desc_ring, off)
50 off = prb_desc_ring_type.get_type()['descs'].bitpos // 8
51 desc_addr = utils.read_ulong(desc_ring, off)
56 info_addr = utils.read_ulong(desc_ring, off)
60 addr = prb_addr + off
66 text_data_sz = 1 << utils.read_u32(text_data_ring, off)
67 off = prb_data_ring_type.get_type()['data'].bitpos // 8
68 text_data_addr = utils.read_ulong(text_data_ring, off)
89 tail_id = utils.read_atomic_long(desc_ring, off)
[all …]
/linux-6.3-rc2/drivers/net/ethernet/chelsio/cxgb4/
A Dcxgb4_tc_u32_parse.h104 { .off = 0, .val = cxgb4_fill_ipv4_tos },
230 { .off = 0, .val = cxgb4_fill_l4_ports },
235 { .off = 0, .val = cxgb4_fill_l4_ports },
258 .off = 0,
264 .off = 8,
273 .off = 0,
279 .off = 8,
295 .off = 40,
301 .off = 4,
310 .off = 40,
[all …]
/linux-6.3-rc2/samples/bpf/
A Dbpf_insn.h15 .off = 0, \
23 .off = 0, \
33 .off = 0, \
41 .off = 0, \
51 .off = 0, \
59 .off = 0, \
69 .off = 0, \
77 .off = 0, \
89 .off = 0, \
95 .off = 0, \
[all …]
/linux-6.3-rc2/drivers/w1/slaves/
A Dw1_ds2433.c51 if (off > size) in w1_f23_fix_count()
54 if ((off + count) > size) in w1_f23_fix_count()
55 return (size - off); in w1_f23_fix_count()
65 int off = block * W1_PAGE_SIZE; in w1_f23_refresh_block() local
76 wrbuf[1] = off & 0xff; in w1_f23_refresh_block()
77 wrbuf[2] = off >> 8; in w1_f23_refresh_block()
91 loff_t off, size_t count) in eeprom_read() argument
127 wrbuf[1] = off & 0xff; in eeprom_read()
128 wrbuf[2] = off >> 8; in eeprom_read()
217 (int)off, count); in eeprom_write()
[all …]
/linux-6.3-rc2/drivers/net/dsa/
A Dbcm_sf2.h130 return off << priv->core_reg_align; in bcm_sf2_mangle_addr()
136 return readl_relaxed(priv->name + off); \
139 u32 val, u32 off) \
141 writel_relaxed(val, priv->name + off); \
154 dir = name##_readl(priv, off); \
160 u32 off) \
164 name##_writel(priv, lower_32_bits(val), off); \
184 u32 tmp = bcm_sf2_mangle_addr(priv, off); in core_readl()
190 u32 tmp = bcm_sf2_mangle_addr(priv, off); in core_writel()
196 return readl_relaxed(priv->reg + priv->reg_offsets[off]); in reg_readl()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/netronome/nfp/nfpcore/
A Dnfp_rtsym.c235 *addr = sym->addr + off; in nfp_rtsym_to_dest()
265 if (off > sym_size) { in __nfp_rtsym_read()
267 sym->name, off, len, sym_size); in __nfp_rtsym_read()
276 memcpy(buf, &tmp[off], len); in __nfp_rtsym_read()
301 if (off + 4 > nfp_rtsym_size(sym)) { in __nfp_rtsym_readl()
303 sym->name, off, nfp_rtsym_size(sym)); in __nfp_rtsym_readl()
327 if (off + 8 > nfp_rtsym_size(sym)) { in __nfp_rtsym_readq()
359 if (off > sym_size) { in __nfp_rtsym_write()
361 sym->name, off, len, sym_size); in __nfp_rtsym_write()
386 if (off + 4 > nfp_rtsym_size(sym)) { in __nfp_rtsym_writel()
[all …]
/linux-6.3-rc2/tools/testing/selftests/bpf/
A Dbpf_legacy.h10 #define load_byte(skb, off) __builtin_bpf_load_byte(off) argument
11 #define load_half(skb, off) __builtin_bpf_load_half(off) argument
12 #define load_word(skb, off) __builtin_bpf_load_word(off) argument
17 unsigned long long load_byte(void *skb, unsigned long long off) asm("llvm.bpf.load.byte");
18 unsigned long long load_half(void *skb, unsigned long long off) asm("llvm.bpf.load.half");
19 unsigned long long load_word(void *skb, unsigned long long off) asm("llvm.bpf.load.word");
A Dxsk.c142 optlen = sizeof(*off); in xsk_get_mmap_offsets()
147 if (optlen == sizeof(*off)) in xsk_get_mmap_offsets()
157 struct xdp_mmap_offsets off; in xsk_create_umem_rings() local
343 struct xdp_mmap_offsets off; in xsk_put_ctx() local
356 munmap(ctx->fill->ring - off.fr.desc, off.fr.desc + umem->config.fill_size * in xsk_put_ctx()
358 munmap(ctx->comp->ring - off.cr.desc, off.cr.desc + umem->config.comp_size * in xsk_put_ctx()
414 struct xdp_mmap_offsets off; in xsk_socket__create_shared() local
556 munmap(tx_map, off.tx.desc + in xsk_socket__create_shared()
560 munmap(rx_map, off.rx.desc + in xsk_socket__create_shared()
587 struct xdp_mmap_offsets off; in xsk_umem__delete() local
[all …]
/linux-6.3-rc2/drivers/vdpa/solidrun/
A Dsnet_main.c368 off += 4; in snet_write_conf()
370 off += 4; in snet_write_conf()
372 off += 4; in snet_write_conf()
374 off += 4; in snet_write_conf()
376 off += 4; in snet_write_conf()
378 off += 8; in snet_write_conf()
380 off += 8; in snet_write_conf()
675 off += 4; in psnet_read_cfg()
677 off += 4; in psnet_read_cfg()
679 off += 4; in psnet_read_cfg()
[all …]
/linux-6.3-rc2/drivers/mtd/parsers/
A Dafs.c81 u_int ptr = off + mtd->erasesize - 12; in afs_is_v1()
101 u_int ptr = off + mtd->erasesize - 8; in afs_is_v2()
177 if (img_ptr > off) in afs_parse_v1_partition()
236 off, off + mtd->erasesize); in afs_parse_v2_partition()
328 u_int off, sz; in parse_afs_partitions() local
333 for (i = off = sz = 0; off < mtd->size; off += mtd->erasesize) { in parse_afs_partitions()
334 if (afs_is_v1(mtd, off)) { in parse_afs_partitions()
338 if (afs_is_v2(mtd, off)) { in parse_afs_partitions()
354 for (i = off = 0; off < mtd->size; off += mtd->erasesize) { in parse_afs_partitions()
355 if (afs_is_v1(mtd, off)) { in parse_afs_partitions()
[all …]

Completed in 60 milliseconds

12345678910>>...77