Home
last modified time | relevance | path

Searched full:off (Results 1 – 25 of 4098) sorted by relevance

12345678910>>...164

/linux/drivers/scsi/
H A Dscsi_logging.c41 size_t off = 0; in sdev_format_header() local
44 off += scnprintf(logbuf + off, logbuf_len - off, in sdev_format_header()
47 if (WARN_ON(off >= logbuf_len)) in sdev_format_header()
48 return off; in sdev_format_header()
51 off += scnprintf(logbuf + off, logbuf_len - off, in sdev_format_header()
53 return off; in sdev_format_header()
61 size_t off = 0, logbuf_len; in sdev_prefix_printk() local
71 off += scnprintf(logbuf + off, logbuf_len - off, in sdev_prefix_printk()
73 if (!WARN_ON(off >= logbuf_len)) { in sdev_prefix_printk()
75 off += vscnprintf(logbuf + off, logbuf_len - off, fmt, args); in sdev_prefix_printk()
[all …]
/linux/arch/mips/mm/
H A Dpage.c91 pg_addiu(u32 **buf, unsigned int reg1, unsigned int reg2, unsigned int off) in pg_addiu() argument
96 if (off > 0x7fff) { in pg_addiu()
97 uasm_i_lui(buf, GPR_T9, uasm_rel_hi(off)); in pg_addiu()
98 uasm_i_addiu(buf, GPR_T9, GPR_T9, uasm_rel_lo(off)); in pg_addiu()
100 uasm_i_addiu(buf, GPR_T9, GPR_ZERO, off); in pg_addiu()
103 if (off > 0x7fff) { in pg_addiu()
104 uasm_i_lui(buf, GPR_T9, uasm_rel_hi(off)); in pg_addiu()
105 uasm_i_addiu(buf, GPR_T9, GPR_T9, uasm_rel_lo(off)); in pg_addiu()
108 UASM_i_ADDIU(buf, reg1, reg2, off); in pg_addiu()
221 static void build_clear_store(u32 **buf, int off) in build_clear_store() argument
[all …]
/linux/drivers/ntb/hw/intel/
H A Dntb_hw_gen3.c265 ssize_t ret, off; in ndev_ntb3_debugfs_read() local
277 off = 0; in ndev_ntb3_debugfs_read()
279 off += scnprintf(buf + off, buf_size - off, in ndev_ntb3_debugfs_read()
282 off += scnprintf(buf + off, buf_size - off, in ndev_ntb3_debugfs_read()
286 off += scnprintf(buf + off, buf_size - off, in ndev_ntb3_debugfs_read()
288 off += scnprintf(buf + off, buf_size - off, in ndev_ntb3_debugfs_read()
292 off += scnprintf(buf + off, buf_size - off, in ndev_ntb3_debugfs_read()
295 off += scnprintf(buf + off, buf_size - off, in ndev_ntb3_debugfs_read()
297 off += scnprintf(buf + off, buf_size - off, in ndev_ntb3_debugfs_read()
300 off += scnprintf(buf + off, buf_size - off, in ndev_ntb3_debugfs_read()
[all …]
H A Dntb_hw_gen4.c226 ssize_t ret, off; in ndev_ntb4_debugfs_read() local
238 off = 0; in ndev_ntb4_debugfs_read()
240 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()
253 off += scnprintf(buf + off, buf_size - off, in ndev_ntb4_debugfs_read()
256 off += scnprintf(buf + off, buf_size - off, in ndev_ntb4_debugfs_read()
258 off += scnprintf(buf + off, buf_size - off, in ndev_ntb4_debugfs_read()
261 off += scnprintf(buf + off, buf_size - off, in ndev_ntb4_debugfs_read()
[all …]
H A Dntb_hw_gen1.c499 ssize_t ret, off; in ndev_ntb_debugfs_read() local
512 off = 0; in ndev_ntb_debugfs_read()
514 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()
522 off += scnprintf(buf + off, buf_size - off, in ndev_ntb_debugfs_read()
524 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()
538 off += scnprintf(buf + off, buf_size - off, in ndev_ntb_debugfs_read()
[all …]
/linux/tools/include/linux/
H 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, \
116 #define BPF_MOVSX64_REG(DST, SRC, OFF) \ argument
[all …]
/linux/arch/powerpc/boot/
H 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
66 #define GET_64BE(off) ((((unsigned long long)GET_32BE(off)) << 32ULL) + \ argument
67 ((unsigned long long)GET_32BE((off)+4ULL)))
68 #define PUT_16BE(off, v)(buf[off] = ((v) >> 8) & 0xff, \ argument
69 buf[(off) + 1] = (v) & 0xff)
70 #define PUT_32BE(off, v)(PUT_16BE((off), (v) >> 16L), PUT_16BE((off) + 2, (v))) argument
71 #define PUT_64BE(off, v)((PUT_32BE((off), (v) >> 32L), \ argument
72 PUT_32BE((off) + 4, (v))))
74 #define GET_16LE(off) ((buf[off]) + (buf[(off)+1] << 8)) argument
[all …]
/linux/samples/bpf/
H 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/drivers/power/reset/
H A DKconfig3 bool "Board level reset or power off"
8 Say Y here to enable board reset and power off
13 bool "ams AS3722 power-off driver"
16 This driver supports turning off board via a ams AS3722 power-off.
43 tristate "Actions Semi ATC260x PMIC power-off driver"
46 This driver provides power-off and restart support for a system
90 bool "Cortina Gemini power-off driver"
95 This driver supports turning off the Cortina Gemini SoC.
99 bool "GPIO power-off driver"
102 This driver supports turning off your board via a GPIO line.
[all …]
/linux/tools/testing/selftests/net/mptcp/
H A Dpm_nl_ctl.c49 int off = 0; in init_genl_req() local
54 off += NLMSG_ALIGN(sizeof(*nh)); in init_genl_req()
56 gh = (void *)(data + off); in init_genl_req()
59 off += NLMSG_ALIGN(sizeof(*gh)); in init_genl_req()
60 return off; in init_genl_req()
67 uint32_t off; in nl_error() local
87 memcpy(&off, RTA_DATA(attrs), 4); in nl_error()
88 fprintf(stderr, "netlink err off %d\n", in nl_error()
89 (int)off); in nl_error()
316 int off = 0; in resolve_mptcp_pm_netlink() local
[all …]
/linux/drivers/isdn/hardware/mISDN/
H A Diohelper.h26 static u8 Read##name##_IO(void *p, u8 off) { \
28 return inb(hw->ap.port + off); \
30 static void Write##name##_IO(void *p, u8 off, u8 val) { \
32 outb(val, hw->ap.port + off); \
34 static void ReadFiFo##name##_IO(void *p, u8 off, u8 *dp, int size) { \
36 insb(hw->ap.port + off, dp, size); \
38 static void WriteFiFo##name##_IO(void *p, u8 off, u8 *dp, int size) { \
40 outsb(hw->ap.port + off, dp, size); \
44 static u8 Read##name##_IND(void *p, u8 off) { \
46 outb(off, hw->ap.ale); \
[all …]
/linux/arch/mips/include/asm/
H A Dmips-gic.h30 #define GIC_ACCESSOR_RO(sz, off, name) \ argument
31 CPS_ACCESSOR_RO(gic, sz, MIPS_GIC_SHARED_OFS + off, name) \
32 CPS_ACCESSOR_RO(gic, sz, MIPS_GIC_REDIR_OFS + off, redir_##name)
35 #define GIC_ACCESSOR_RW(sz, off, name) \ argument
36 CPS_ACCESSOR_RW(gic, sz, MIPS_GIC_SHARED_OFS + off, name) \
37 CPS_ACCESSOR_RW(gic, sz, MIPS_GIC_REDIR_OFS + off, redir_##name)
40 #define GIC_VX_ACCESSOR_RO(sz, off, name) \ argument
41 CPS_ACCESSOR_RO(gic, sz, MIPS_GIC_LOCAL_OFS + off, vl_##name) \
42 CPS_ACCESSOR_RO(gic, sz, MIPS_GIC_REDIR_OFS + off, vo_##name)
45 #define GIC_VX_ACCESSOR_RW(sz, off, name) \ argument
[all …]
/linux/include/linux/isdn/
H 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()
38 static inline void capimsg_setu16(void *m, int off, __u16 val) in capimsg_setu16() argument
40 ((__u8 *)m)[off] = val & 0xff; in capimsg_setu16()
41 ((__u8 *)m)[off+1] = (val >> 8) & 0xff; in capimsg_setu16()
44 static inline void capimsg_setu32(void *m, int off, __u32 val) in capimsg_setu32() argument
46 ((__u8 *)m)[off] = val & 0xff; in capimsg_setu32()
[all …]
/linux/arch/mips/net/
H A Dbpf_jit_comp64.c333 /* Load operation: dst = *(size*)(src + off) */
334 static void emit_ldx(struct jit_context *ctx, u8 dst, u8 src, s16 off, u8 size) in emit_ldx() argument
339 emit(ctx, lbu, dst, off, src); in emit_ldx()
343 emit(ctx, lhu, dst, off, src); in emit_ldx()
347 emit(ctx, lwu, dst, off, src); in emit_ldx()
351 emit(ctx, ld, dst, off, src); in emit_ldx()
357 /* Store operation: *(size *)(dst + off) = src */
358 static void emit_stx(struct jit_context *ctx, u8 dst, u8 src, s16 off, u8 size) in emit_stx() argument
363 emit(ctx, sb, src, off, dst); in emit_stx()
367 emit(ctx, sh, src, off, dst); in emit_stx()
[all …]
H A Dbpf_jit_comp32.c653 /* Load operation: dst = *(size*)(src + off) */
655 const u8 dst[], u8 src, s16 off, u8 size) in emit_ldx() argument
660 emit(ctx, lbu, lo(dst), off, src); in emit_ldx()
665 emit(ctx, lhu, lo(dst), off, src); in emit_ldx()
670 emit(ctx, lw, lo(dst), off, src); in emit_ldx()
676 emit(ctx, lw, dst[0], off + 4, src); in emit_ldx()
677 emit(ctx, lw, dst[1], off, src); in emit_ldx()
679 emit(ctx, lw, dst[1], off, src); in emit_ldx()
680 emit(ctx, lw, dst[0], off + 4, src); in emit_ldx()
688 /* Store operation: *(size *)(dst + off) = src */
[all …]
/linux/drivers/acpi/
H A Dec_sys.c31 size_t count, loff_t *off) in acpi_ec_read_io() argument
37 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()
50 err = ec_read(*off, &byte_read); in acpi_ec_read_io()
53 if (put_user(byte_read, buf + *off - init_off)) { in acpi_ec_read_io()
54 if (*off - init_off) in acpi_ec_read_io()
55 return *off - init_off; /* partial read */ in acpi_ec_read_io()
58 *off += 1; in acpi_ec_read_io()
[all …]
/linux/Documentation/networking/
H A Darcnet-hardware.rst383 OFF OFF Power off
384 OFF Short flashes Cabling problems (broken cable or not
386 OFF (short) ON Card init
390 ON OFF Never happens (maybe when wrong ID)
634 Setting one of the switches to Off/Open means "1", On/Closed means "0".
752 blink | reconfiguration off | no data transfer;
753 off | defective board or | incorrect memory or
842 Setting one of the switches to Off/Open means "1", On/Closed means "0".
979 blink | reconfiguration off | no data transfer;
980 off | defective board or | incorrect memory or
[all …]
/linux/drivers/net/ethernet/netronome/nfp/nfpcore/
H A Dnfp_rtsym.c227 u8 action, u8 token, u64 off, u32 *cpp_id, u64 *addr) in nfp_rtsym_to_dest() argument
235 *addr = sym->addr + off; in nfp_rtsym_to_dest()
258 u8 action, u8 token, u64 off, void *buf, size_t len) in __nfp_rtsym_read() argument
265 if (off > sym_size) { in __nfp_rtsym_read()
266 nfp_err(cpp, "rtsym '%s': read out of bounds: off: %lld + len: %zd > size: %lld\n", in __nfp_rtsym_read()
267 sym->name, off, len, sym_size); in __nfp_rtsym_read()
270 len = min_t(size_t, len, sym_size - off); in __nfp_rtsym_read()
276 memcpy(buf, &tmp[off], len); in __nfp_rtsym_read()
281 err = nfp_rtsym_to_dest(cpp, sym, action, token, off, &cpp_id, &addr); in __nfp_rtsym_read()
288 int nfp_rtsym_read(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, u64 off, in nfp_rtsym_read() argument
[all …]
/linux/tools/testing/selftests/bpf/verifier/
H A Dwide_access.c1 #define BPF_SOCK_ADDR_STORE(field, off, res, err, flgs) \ argument
3 "wide store to bpf_sock_addr." #field "[" #off "]", \
7 offsetof(struct bpf_sock_addr, field[off])), \
21 "invalid bpf_context access off=12 size=8",
26 "invalid bpf_context access off=20 size=8",
31 "invalid bpf_context access off=44 size=8",
36 "invalid bpf_context access off=52 size=8",
39 "invalid bpf_context access off=56 size=8", 0),
43 #define BPF_SOCK_ADDR_LOAD(field, off, res, err, flgs) \ argument
45 "wide load from bpf_sock_addr." #field "[" #off "]", \
[all …]
/linux/scripts/gdb/linux/
H A Ddmesg.py41 off = printk_ringbuffer_type.get_type()['desc_ring'].bitpos // 8
42 addr = prb_addr + off
47 off = prb_desc_ring_type.get_type()['count_bits'].bitpos // 8
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)
55 off = prb_desc_ring_type.get_type()['infos'].bitpos // 8
56 info_addr = utils.read_ulong(desc_ring, off)
59 off = printk_ringbuffer_type.get_type()['text_data_ring'].bitpos // 8
60 addr = prb_addr + off
[all …]
/linux/tools/testing/selftests/bpf/
H A Dxsk.c147 static int xsk_get_mmap_offsets(int fd, struct xdp_mmap_offsets *off) in xsk_get_mmap_offsets() argument
152 optlen = sizeof(*off); in xsk_get_mmap_offsets()
153 err = getsockopt(fd, SOL_XDP, XDP_MMAP_OFFSETS, off, &optlen); in xsk_get_mmap_offsets()
157 if (optlen == sizeof(*off)) in xsk_get_mmap_offsets()
167 struct xdp_mmap_offsets off; in xsk_create_umem_rings() local
183 err = xsk_get_mmap_offsets(fd, &off); in xsk_create_umem_rings()
187 map = mmap(NULL, off.fr.desc + umem->config.fill_size * sizeof(__u64), in xsk_create_umem_rings()
195 fill->producer = map + off.fr.producer; in xsk_create_umem_rings()
196 fill->consumer = map + off.fr.consumer; in xsk_create_umem_rings()
197 fill->flags = map + off.fr.flags; in xsk_create_umem_rings()
[all …]
/linux/fs/hfs/
H A Dbnode.c18 void hfs_bnode_read(struct hfs_bnode *node, void *buf, int off, int len) in hfs_bnode_read() argument
25 off += node->page_offset; in hfs_bnode_read()
26 pagenum = off >> PAGE_SHIFT; in hfs_bnode_read()
27 off &= ~PAGE_MASK; /* compute page offset for the first page */ in hfs_bnode_read()
33 bytes_to_read = min_t(int, len - bytes_read, PAGE_SIZE - off); in hfs_bnode_read()
35 memcpy_from_page(buf + bytes_read, page, off, bytes_to_read); in hfs_bnode_read()
38 off = 0; /* page offset only applies to the first page */ in hfs_bnode_read()
42 u16 hfs_bnode_read_u16(struct hfs_bnode *node, int off) in hfs_bnode_read_u16() argument
46 hfs_bnode_read(node, &data, off, 2); in hfs_bnode_read_u16()
50 u8 hfs_bnode_read_u8(struct hfs_bnode *node, int off) in hfs_bnode_read_u8() argument
[all …]
/linux/arch/arm/boot/dts/ti/omap/
H A Dam572x-idk-common.dtsi56 default-state = "off";
63 default-state = "off";
69 default-state = "off";
76 default-state = "off";
83 default-state = "off";
89 default-state = "off";
100 default-state = "off";
106 default-state = "off";
112 default-state = "off";
118 default-state = "off";
[all …]
H A Dam571x-idk.dts56 default-state = "off";
63 default-state = "off";
69 default-state = "off";
76 default-state = "off";
82 default-state = "off";
88 default-state = "off";
99 default-state = "off";
105 default-state = "off";
111 default-state = "off";
117 default-state = "off";
[all …]
/linux/sound/soc/intel/catpt/
H A Dloader.c94 u32 off, size; in catpt_store_streams_context() local
97 off = stream->persistent->start; in catpt_store_streams_context()
99 dev_dbg(cdev->dev, "storing stream %d ctx: off 0x%08x size %d\n", in catpt_store_streams_context()
100 stream->info.stream_hw_id, off, size); in catpt_store_streams_context()
103 cdev->dxbuf_paddr + off, in catpt_store_streams_context()
104 cdev->lpe_base + off, in catpt_store_streams_context()
121 u32 off; in catpt_store_module_states() local
128 off = type->state_offset; in catpt_store_module_states()
129 dev_dbg(cdev->dev, "storing mod %d state: off 0x%08x size %d\n", in catpt_store_module_states()
130 i, off, type->state_size); in catpt_store_module_states()
[all …]

12345678910>>...164