Home
last modified time | relevance | path

Searched refs:off (Results 1 - 25 of 2731) sorted by relevance

12345678910>>...110

/kernel/linux/linux-5.10/drivers/scsi/
H A 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; sdev_prefix_printk() local
85 size_t off = 0, logbuf_len; scmd_printk() local
110 size_t off; scsi_format_opcode_name() local
158 size_t off; __scsi_format_command() local
181 size_t off, logbuf_len; scsi_print_command() local
243 size_t off = 0; scsi_format_extd_sense() local
273 size_t off; scsi_format_sense_hdr() local
305 size_t off; scsi_log_dump_sense() local
322 size_t off, logbuf_len; scsi_log_print_sense_hdr() local
385 size_t off, logbuf_len; scsi_print_result() local
[all...]
/kernel/linux/linux-6.6/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; sdev_prefix_printk() local
88 size_t off = 0, logbuf_len; scmd_printk() local
113 size_t off; scsi_format_opcode_name() local
161 size_t off; __scsi_format_command() local
184 size_t off, logbuf_len; scsi_print_command() local
243 size_t off = 0; scsi_format_extd_sense() local
273 size_t off; scsi_format_sense_hdr() local
305 size_t off; scsi_log_dump_sense() local
322 size_t off, logbuf_len; scsi_log_print_sense_hdr() local
386 size_t off, logbuf_len; scsi_print_result() local
[all...]
/kernel/linux/linux-5.10/arch/mips/mm/
H A 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
241 build_clear_pref(u32 **buf, int off) build_clear_pref() argument
277 int off; build_clear_page() local
368 build_copy_load(u32 **buf, int reg, int off) build_copy_load() argument
377 build_copy_store(u32 **buf, int reg, int off) build_copy_store() argument
386 build_copy_load_pref(u32 **buf, int off) build_copy_load_pref() argument
395 build_copy_store_pref(u32 **buf, int off) build_copy_store_pref() argument
426 int off; build_copy_page() local
[all...]
/kernel/linux/linux-6.6/arch/mips/mm/
H A 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
242 build_clear_pref(u32 **buf, int off) build_clear_pref() argument
278 int off; build_clear_page() local
369 build_copy_load(u32 **buf, int reg, int off) build_copy_load() argument
378 build_copy_store(u32 **buf, int reg, int off) build_copy_store() argument
387 build_copy_load_pref(u32 **buf, int off) build_copy_load_pref() argument
396 build_copy_store_pref(u32 **buf, int off) build_copy_store_pref() argument
427 int off; build_copy_page() local
[all...]
/kernel/linux/linux-5.10/arch/ia64/kernel/
H A Dentry.h28 #define PT_REGS_SAVES(off) \
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) \
39 PT_REGS_SAVES(off); \
42 #define SWITCH_STACK_SAVES(off) \
[all...]
/kernel/linux/linux-6.6/arch/ia64/kernel/
H A Dentry.h28 #define PT_REGS_SAVES(off) \
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) \
39 PT_REGS_SAVES(off); \
42 #define SWITCH_STACK_SAVES(off) \
[all...]
/kernel/linux/linux-5.10/drivers/ntb/hw/intel/
H A 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_siz in ndev_ntb3_debugfs_read()
[all...]
H A 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_siz 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_siz in ndev_ntb_debugfs_read()
[all...]
/kernel/linux/linux-6.6/drivers/ntb/hw/intel/
H A 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_siz 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_siz 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_siz in ndev_ntb_debugfs_read()
[all...]
/kernel/liteos_m/testsuites/unittest/posix/src/fs/api/
H A 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
121 off_t off = lseek(-1, 0, SEEK_SET); /* -1, bad fd 0, offset distance */ global() variable
135 off_t off = lseek(ERROR_CONFIG_NFILE_DESCRIPTORS, 0, SEEK_SET); /* 0, offset distance */ global() variable
149 off_t off = lseek(0, 0, SEEK_SET); /* 0, used for stdin 0, offet distance */ global() variable
171 off_t off; global() variable
[all...]
/kernel/linux/linux-5.10/arch/powerpc/boot/
H A Daddnote.c64 #define GET_16BE(off) ((buf[off] << 8) + (buf[(off)+1]))
65 #define GET_32BE(off) ((GET_16BE(off) << 16U) + GET_16BE((off)+2U))
66 #define GET_64BE(off) ((((unsigned long long)GET_32BE(off)) << 32ULL) + \
67 ((unsigned long long)GET_32BE((off)+4ULL)))
68 #define PUT_16BE(off,
[all...]
/kernel/linux/linux-6.6/arch/powerpc/boot/
H A Daddnote.c64 #define GET_16BE(off) ((buf[off] << 8) + (buf[(off)+1]))
65 #define GET_32BE(off) ((GET_16BE(off) << 16U) + GET_16BE((off)+2U))
66 #define GET_64BE(off) ((((unsigned long long)GET_32BE(off)) << 32ULL) + \
67 ((unsigned long long)GET_32BE((off)+4ULL)))
68 #define PUT_16BE(off,
[all...]
/kernel/linux/linux-5.10/drivers/rapidio/
H A Drio-sysfs.c118 char *buf, loff_t off, size_t count) in rio_read_config()
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 in rio_read_config()
116 rio_read_config(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) rio_read_config() argument
187 rio_write_config(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) rio_write_config() argument
[all...]
/kernel/linux/linux-6.6/drivers/rapidio/
H A Drio-sysfs.c118 char *buf, loff_t off, size_t count) in rio_read_config()
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 in rio_read_config()
116 rio_read_config(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) rio_read_config() argument
187 rio_write_config(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) rio_write_config() argument
[all...]
/kernel/linux/linux-5.10/drivers/mtd/
H A 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()
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()
49 mtdpstore_panic_block_isbad(struct mtdpstore_context *cxt, loff_t off) mtdpstore_panic_block_isbad() argument
60 mtdpstore_mark_used(struct mtdpstore_context *cxt, loff_t off) mtdpstore_mark_used() argument
70 mtdpstore_mark_unused(struct mtdpstore_context *cxt, loff_t off) mtdpstore_mark_unused() argument
80 mtdpstore_block_mark_unused(struct mtdpstore_context *cxt, loff_t off) mtdpstore_block_mark_unused() argument
97 mtdpstore_is_used(struct mtdpstore_context *cxt, loff_t off) mtdpstore_is_used() argument
107 mtdpstore_block_is_used(struct mtdpstore_context *cxt, loff_t off) mtdpstore_block_is_used() argument
140 mtdpstore_mark_removed(struct mtdpstore_context *cxt, loff_t off) mtdpstore_mark_removed() argument
149 mtdpstore_block_clear_removed(struct mtdpstore_context *cxt, loff_t off) mtdpstore_block_clear_removed() argument
165 mtdpstore_block_is_removed(struct mtdpstore_context *cxt, loff_t off) mtdpstore_block_is_removed() argument
183 mtdpstore_erase_do(struct mtdpstore_context *cxt, loff_t off) mtdpstore_erase_do() argument
210 mtdpstore_erase(size_t size, loff_t off) mtdpstore_erase() argument
237 mtdpstore_security(struct mtdpstore_context *cxt, loff_t off) mtdpstore_security() argument
274 mtdpstore_write(const char *buf, size_t size, loff_t off) mtdpstore_write() argument
310 mtdpstore_read(char *buf, size_t size, loff_t off) mtdpstore_read() argument
356 mtdpstore_panic_write(const char *buf, size_t size, loff_t off) mtdpstore_panic_write() argument
444 mtdpstore_flush_removed_do(struct mtdpstore_context *cxt, loff_t off, size_t size) mtdpstore_flush_removed_do() argument
501 loff_t off; mtdpstore_flush_removed() local
[all...]
/kernel/linux/linux-6.6/drivers/mtd/
H A 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()
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()
49 mtdpstore_panic_block_isbad(struct mtdpstore_context *cxt, loff_t off) mtdpstore_panic_block_isbad() argument
60 mtdpstore_mark_used(struct mtdpstore_context *cxt, loff_t off) mtdpstore_mark_used() argument
70 mtdpstore_mark_unused(struct mtdpstore_context *cxt, loff_t off) mtdpstore_mark_unused() argument
80 mtdpstore_block_mark_unused(struct mtdpstore_context *cxt, loff_t off) mtdpstore_block_mark_unused() argument
97 mtdpstore_is_used(struct mtdpstore_context *cxt, loff_t off) mtdpstore_is_used() argument
107 mtdpstore_block_is_used(struct mtdpstore_context *cxt, loff_t off) mtdpstore_block_is_used() argument
140 mtdpstore_mark_removed(struct mtdpstore_context *cxt, loff_t off) mtdpstore_mark_removed() argument
149 mtdpstore_block_clear_removed(struct mtdpstore_context *cxt, loff_t off) mtdpstore_block_clear_removed() argument
165 mtdpstore_block_is_removed(struct mtdpstore_context *cxt, loff_t off) mtdpstore_block_is_removed() argument
183 mtdpstore_erase_do(struct mtdpstore_context *cxt, loff_t off) mtdpstore_erase_do() argument
210 mtdpstore_erase(size_t size, loff_t off) mtdpstore_erase() argument
237 mtdpstore_security(struct mtdpstore_context *cxt, loff_t off) mtdpstore_security() argument
274 mtdpstore_write(const char *buf, size_t size, loff_t off) mtdpstore_write() argument
310 mtdpstore_read(char *buf, size_t size, loff_t off) mtdpstore_read() argument
356 mtdpstore_panic_write(const char *buf, size_t size, loff_t off) mtdpstore_panic_write() argument
444 mtdpstore_flush_removed_do(struct mtdpstore_context *cxt, loff_t off, size_t size) mtdpstore_flush_removed_do() argument
501 loff_t off; mtdpstore_flush_removed() local
[all...]
/kernel/linux/linux-5.10/include/linux/isdn/
H A Dcapiutil.h19 #define CAPIMSG_U8(m, off) (m[off])
20 #define CAPIMSG_U16(m, off) (m[off]|(m[(off)+1]<<8))
21 #define CAPIMSG_U32(m, off) (m[off]|(m[(off)+1]<<8)|(m[(off)+2]<<16)|(m[(off)
33 capimsg_setu8(void *m, int off, __u8 val) capimsg_setu8() argument
38 capimsg_setu16(void *m, int off, __u16 val) capimsg_setu16() argument
44 capimsg_setu32(void *m, int off, __u32 val) capimsg_setu32() argument
[all...]
/kernel/linux/linux-6.6/include/linux/isdn/
H A Dcapiutil.h19 #define CAPIMSG_U8(m, off) (m[off])
20 #define CAPIMSG_U16(m, off) (m[off]|(m[(off)+1]<<8))
21 #define CAPIMSG_U32(m, off) (m[off]|(m[(off)+1]<<8)|(m[(off)+2]<<16)|(m[(off)
33 capimsg_setu8(void *m, int off, __u8 val) capimsg_setu8() argument
38 capimsg_setu16(void *m, int off, __u16 val) capimsg_setu16() argument
44 capimsg_setu32(void *m, int off, __u32 val) capimsg_setu32() argument
[all...]
/kernel/linux/linux-5.10/arch/arm/mach-s3c/
H A Dgpio-cfg-helpers.h24 unsigned int off, unsigned int config) in samsung_gpio_do_setcfg()
26 return (chip->config->set_config)(chip, off, config); in samsung_gpio_do_setcfg()
30 unsigned int off) in samsung_gpio_do_getcfg()
32 return (chip->config->get_config)(chip, off); in samsung_gpio_do_getcfg()
36 unsigned int off, samsung_gpio_pull_t pull) in samsung_gpio_do_setpull()
38 return (chip->config->set_pull)(chip, off, pull); in samsung_gpio_do_setpull()
42 unsigned int off) in samsung_gpio_do_getpull()
44 return chip->config->get_pull(chip, off); in samsung_gpio_do_getpull()
58 * @off: The offset for the GPIO being configured.
65 unsigned int off, samsung_gpio_pull_
23 samsung_gpio_do_setcfg(struct samsung_gpio_chip *chip, unsigned int off, unsigned int config) samsung_gpio_do_setcfg() argument
29 samsung_gpio_do_getcfg(struct samsung_gpio_chip *chip, unsigned int off) samsung_gpio_do_getcfg() argument
35 samsung_gpio_do_setpull(struct samsung_gpio_chip *chip, unsigned int off, samsung_gpio_pull_t pull) samsung_gpio_do_setpull() argument
41 samsung_gpio_do_getpull(struct samsung_gpio_chip *chip, unsigned int off) samsung_gpio_do_getpull() argument
[all...]
/kernel/linux/linux-5.10/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, h
[all...]
/kernel/linux/linux-6.6/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, h
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/net/mptcp/
H A Dpm_nl_ctl.c41 int off = 0; in init_genl_req() local
46 off += NLMSG_ALIGN(sizeof(*nh)); in init_genl_req()
48 gh = (void *)(data + off); in init_genl_req()
51 off += NLMSG_ALIGN(sizeof(*gh)); in init_genl_req()
52 return off; in init_genl_req()
59 uint32_t off; in nl_error() local
74 memcpy(&off, RTA_DATA(attrs), 4); in nl_error()
75 fprintf(stderr, "netlink err off %d\n", in nl_error()
76 (int)off); in nl_error()
155 int off in resolve_mptcp_pm_netlink() local
183 int off = 0; add_addr() local
292 int off = 0; del_addr() local
434 int off = 0; get_addr() local
472 int off = 0; dump_addrs() local
493 int off = 0; flush_addrs() local
547 int off = 0; get_set_limits() local
[all...]

Completed in 12 milliseconds

12345678910>>...110