Home
last modified time | relevance | path

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

12345678910>>...395

/kernel/linux/linux-6.6/drivers/scsi/
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 …]
/kernel/linux/linux-5.10/drivers/scsi/
Dscsi_logging.c38 size_t off = 0; in sdev_format_header() local
41 off += scnprintf(logbuf + off, logbuf_len - off, in sdev_format_header()
44 if (WARN_ON(off >= logbuf_len)) in sdev_format_header()
45 return off; in sdev_format_header()
48 off += scnprintf(logbuf + off, logbuf_len - off, in sdev_format_header()
50 return off; in sdev_format_header()
58 size_t off = 0, logbuf_len; in sdev_prefix_printk() local
68 off += scnprintf(logbuf + off, logbuf_len - off, in sdev_prefix_printk()
70 if (!WARN_ON(off >= logbuf_len)) { in sdev_prefix_printk()
72 off += vscnprintf(logbuf + off, logbuf_len - off, fmt, args); in sdev_prefix_printk()
[all …]
/kernel/linux/linux-6.6/arch/mips/mm/
Dpage.c103 pg_addiu(u32 **buf, unsigned int reg1, unsigned int reg2, unsigned int off) in pg_addiu() argument
108 if (off > 0x7fff) { in pg_addiu()
109 uasm_i_lui(buf, T9, uasm_rel_hi(off)); in pg_addiu()
110 uasm_i_addiu(buf, T9, T9, uasm_rel_lo(off)); in pg_addiu()
112 uasm_i_addiu(buf, T9, ZERO, off); in pg_addiu()
115 if (off > 0x7fff) { in pg_addiu()
116 uasm_i_lui(buf, T9, uasm_rel_hi(off)); in pg_addiu()
117 uasm_i_addiu(buf, T9, T9, uasm_rel_lo(off)); in pg_addiu()
120 UASM_i_ADDIU(buf, reg1, reg2, off); in pg_addiu()
233 static void build_clear_store(u32 **buf, int off) in build_clear_store() argument
[all …]
/kernel/linux/linux-5.10/arch/mips/mm/
Dpage.c104 pg_addiu(u32 **buf, unsigned int reg1, unsigned int reg2, unsigned int off) in pg_addiu() argument
107 if (off > 0x7fff) { in pg_addiu()
108 uasm_i_lui(buf, T9, uasm_rel_hi(off)); in pg_addiu()
109 uasm_i_addiu(buf, T9, T9, uasm_rel_lo(off)); in pg_addiu()
111 uasm_i_addiu(buf, T9, ZERO, off); in pg_addiu()
114 if (off > 0x7fff) { in pg_addiu()
115 uasm_i_lui(buf, T9, uasm_rel_hi(off)); in pg_addiu()
116 uasm_i_addiu(buf, T9, T9, uasm_rel_lo(off)); in pg_addiu()
119 UASM_i_ADDIU(buf, reg1, reg2, off); in pg_addiu()
232 static void build_clear_store(u32 **buf, int off) in build_clear_store() argument
[all …]
/kernel/linux/linux-5.10/arch/ia64/kernel/
Dentry.h28 #define PT_REGS_SAVES(off) \ argument
30 .fframe IA64_PT_REGS_SIZE+16+(off); \
31 .spillsp rp, PT(CR_IIP)+16+(off); \
32 .spillsp ar.pfs, PT(CR_IFS)+16+(off); \
33 .spillsp ar.unat, PT(AR_UNAT)+16+(off); \
34 .spillsp ar.fpsr, PT(AR_FPSR)+16+(off); \
35 .spillsp pr, PT(PR)+16+(off);
37 #define PT_REGS_UNWIND_INFO(off) \ argument
39 PT_REGS_SAVES(off); \
42 #define SWITCH_STACK_SAVES(off) \ argument
[all …]
/kernel/linux/linux-6.6/arch/ia64/kernel/
Dentry.h28 #define PT_REGS_SAVES(off) \ argument
30 .fframe IA64_PT_REGS_SIZE+16+(off); \
31 .spillsp rp, PT(CR_IIP)+16+(off); \
32 .spillsp ar.pfs, PT(CR_IFS)+16+(off); \
33 .spillsp ar.unat, PT(AR_UNAT)+16+(off); \
34 .spillsp ar.fpsr, PT(AR_FPSR)+16+(off); \
35 .spillsp pr, PT(PR)+16+(off);
37 #define PT_REGS_UNWIND_INFO(off) \ argument
39 PT_REGS_SAVES(off); \
42 #define SWITCH_STACK_SAVES(off) \ argument
[all …]
/kernel/linux/linux-5.10/drivers/ntb/hw/intel/
Dntb_hw_gen3.c262 ssize_t ret, off; in ndev_ntb3_debugfs_read() local
274 off = 0; in ndev_ntb3_debugfs_read()
276 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()
289 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()
294 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()
[all …]
Dntb_hw_gen4.c224 ssize_t ret, off; in ndev_ntb4_debugfs_read() local
236 off = 0; in ndev_ntb4_debugfs_read()
238 off += scnprintf(buf + off, buf_size - off, in ndev_ntb4_debugfs_read()
241 off += scnprintf(buf + off, buf_size - off, in ndev_ntb4_debugfs_read()
245 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()
251 off += scnprintf(buf + off, buf_size - off, in ndev_ntb4_debugfs_read()
254 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()
259 off += scnprintf(buf + off, buf_size - off, in ndev_ntb4_debugfs_read()
[all …]
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 …]
/kernel/linux/linux-6.6/drivers/ntb/hw/intel/
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 …]
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 …]
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 …]
/kernel/linux/linux-6.6/drivers/mtd/
Dmtdpstore.c27 static int mtdpstore_block_isbad(struct mtdpstore_context *cxt, loff_t off) in mtdpstore_block_isbad() argument
33 off = ALIGN_DOWN(off, mtd->erasesize); in mtdpstore_block_isbad()
34 blknum = div_u64(off, mtd->erasesize); in mtdpstore_block_isbad()
38 ret = mtd_block_isbad(mtd, off); 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()
56 blknum = div_u64(off, mtd->erasesize); in mtdpstore_panic_block_isbad()
61 loff_t off) in mtdpstore_mark_used() argument
64 u64 zonenum = div_u64(off, cxt->info.kmsg_size); in mtdpstore_mark_used()
71 loff_t off) in mtdpstore_mark_unused() argument
[all …]
/kernel/linux/linux-5.10/drivers/mtd/
Dmtdpstore.c27 static int mtdpstore_block_isbad(struct mtdpstore_context *cxt, loff_t off) in mtdpstore_block_isbad() argument
33 off = ALIGN_DOWN(off, mtd->erasesize); in mtdpstore_block_isbad()
34 blknum = div_u64(off, mtd->erasesize); in mtdpstore_block_isbad()
38 ret = mtd_block_isbad(mtd, off); 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()
56 blknum = div_u64(off, mtd->erasesize); in mtdpstore_panic_block_isbad()
61 loff_t off) in mtdpstore_mark_used() argument
64 u64 zonenum = div_u64(off, cxt->info.kmsg_size); in mtdpstore_mark_used()
71 loff_t off) in mtdpstore_mark_unused() argument
[all …]
/kernel/linux/linux-6.6/arch/powerpc/boot/
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 …]
/kernel/linux/linux-5.10/arch/powerpc/boot/
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 …]
/kernel/linux/linux-5.10/drivers/rapidio/
Drio-sysfs.c118 char *buf, loff_t off, size_t count) in rio_read_config() argument
122 loff_t init_off = off; in rio_read_config()
129 if (off >= size) in rio_read_config()
131 if (off + count > size) { in rio_read_config()
132 size -= off; in rio_read_config()
138 if ((off & 1) && size) { in rio_read_config()
140 rio_read_config_8(dev, off, &val); in rio_read_config()
141 data[off - init_off] = val; in rio_read_config()
142 off++; in rio_read_config()
146 if ((off & 3) && size > 2) { in rio_read_config()
[all …]
/kernel/linux/linux-6.6/drivers/rapidio/
Drio-sysfs.c118 char *buf, loff_t off, size_t count) in rio_read_config() argument
122 loff_t init_off = off; in rio_read_config()
129 if (off >= size) in rio_read_config()
131 if (off + count > size) { in rio_read_config()
132 size -= off; in rio_read_config()
138 if ((off & 1) && size) { in rio_read_config()
140 rio_read_config_8(dev, off, &val); in rio_read_config()
141 data[off - init_off] = val; in rio_read_config()
142 off++; in rio_read_config()
146 if ((off & 3) && size > 2) { in rio_read_config()
[all …]
/kernel/linux/linux-5.10/samples/bpf/
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 …]
/kernel/linux/linux-6.6/samples/bpf/
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 …]
/kernel/linux/linux-5.10/tools/include/linux/
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 …]
/kernel/linux/linux-6.6/tools/include/linux/
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 …]
/kernel/liteos_m/testsuites/unittest/posix/src/fs/api/
Dposix_fs_lseek_test.c43 off_t off; variable
50 off = lseek(fd, 0, SEEK_SET); /* 0, offset distance */
51 ICUNIT_ASSERT_NOT_EQUAL(off, POSIX_FS_IS_ERROR, off);
69 off_t off; variable
76 off = lseek(fd, 0, SEEK_CUR); /* 0, offset distance */
77 ICUNIT_ASSERT_NOT_EQUAL(off, POSIX_FS_IS_ERROR, off);
95 off_t off; variable
102 off = lseek(fd, 0, SEEK_END); /* 0, offset distance */
103 ICUNIT_ASSERT_NOT_EQUAL(off, POSIX_FS_IS_ERROR, off);
121 off_t off = lseek(-1, 0, SEEK_SET); /* -1, bad fd 0, offset distance */ variable
[all …]
/kernel/linux/linux-6.6/drivers/power/reset/
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
79 bool "Cortina Gemini power-off driver"
84 This driver supports turning off the Cortina Gemini SoC.
88 bool "GPIO power-off driver"
91 This driver supports turning off your board via a GPIO line.
[all …]
/kernel/linux/linux-6.6/drivers/isdn/hardware/mISDN/
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 …]

12345678910>>...395