/kernel/linux/linux-5.10/drivers/scsi/ |
D | scsi_logging.c | 38 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-5.10/arch/mips/mm/ |
D | page.c | 104 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/ |
D | entry.h | 28 #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/ |
D | ntb_hw_gen3.c | 262 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 …]
|
D | ntb_hw_gen4.c | 224 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 …]
|
D | ntb_hw_gen1.c | 499 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-5.10/drivers/mtd/ |
D | mtdpstore.c | 27 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/arch/powerpc/boot/ |
D | addnote.c | 64 #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/ |
D | rio-sysfs.c | 118 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/ |
D | bpf_insn.h | 15 .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/ |
D | filter.h | 39 .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/ |
D | posix_fs_lseek_test.c | 43 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-5.10/drivers/isdn/hardware/mISDN/ |
D | iohelper.h | 26 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 …]
|
/kernel/linux/linux-5.10/include/linux/isdn/ |
D | capiutil.h | 19 #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 …]
|
/kernel/linux/linux-5.10/drivers/power/reset/ |
D | Kconfig | 3 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. 72 bool "Cortina Gemini power-off driver" 77 This driver supports turning off the Cortina Gemini SoC. 81 bool "GPIO power-off driver" 84 This driver supports turning off your board via a GPIO line. 97 bool "Hisilicon power-off driver" 103 tristate "Buffalo LinkStation power-off driver" [all …]
|
/kernel/linux/linux-5.10/tools/testing/selftests/net/mptcp/ |
D | pm_nl_ctl.c | 41 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 = 0; in resolve_mptcp_pm_netlink() local [all …]
|
/kernel/linux/linux-5.10/drivers/acpi/ |
D | ec_sys.c | 31 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 …]
|
/kernel/linux/linux-5.10/arch/arm/mach-s3c/ |
D | gpio-cfg-helpers.h | 24 unsigned int off, unsigned int config) in samsung_gpio_do_setcfg() argument 26 return (chip->config->set_config)(chip, off, config); in samsung_gpio_do_setcfg() 30 unsigned int off) in samsung_gpio_do_getcfg() argument 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() argument 38 return (chip->config->set_pull)(chip, off, pull); in samsung_gpio_do_setpull() 42 unsigned int off) in samsung_gpio_do_getpull() argument 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_t pull); [all …]
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/verifier/ |
D | wide_access.c | 1 #define BPF_SOCK_ADDR_STORE(field, off, res, err) \ argument 3 "wide store to bpf_sock_addr." #field "[" #off "]", \ 7 offsetof(struct bpf_sock_addr, field[off])), \ 20 "invalid bpf_context access off=12 size=8"), 24 "invalid bpf_context access off=20 size=8"), 28 "invalid bpf_context access off=44 size=8"), 32 "invalid bpf_context access off=52 size=8"), 34 "invalid bpf_context access off=56 size=8"), 38 #define BPF_SOCK_ADDR_LOAD(field, off, res, err) \ argument 40 "wide load from bpf_sock_addr." #field "[" #off "]", \ [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/nfpcore/ |
D | nfp_rtsym.c | 227 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 …]
|
/kernel/linux/linux-5.10/scripts/gdb/linux/ |
D | dmesg.py | 42 off = printk_ringbuffer_type.get_type()['desc_ring'].bitpos // 8 43 addr = prb_addr + off 48 off = prb_desc_ring_type.get_type()['count_bits'].bitpos // 8 49 desc_ring_count = 1 << utils.read_u32(desc_ring, off) 51 off = prb_desc_ring_type.get_type()['descs'].bitpos // 8 52 addr = utils.read_ulong(desc_ring, off) 57 off = prb_desc_ring_type.get_type()['infos'].bitpos // 8 58 addr = utils.read_ulong(desc_ring, off) 62 off = printk_ringbuffer_type.get_type()['text_data_ring'].bitpos // 8 63 addr = prb_addr + off [all …]
|
/kernel/linux/linux-5.10/Documentation/networking/ |
D | arcnet-hardware.rst | 383 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 …]
|
/kernel/linux/linux-5.10/Documentation/driver-api/serial/ |
D | rocket.rst | 149 On Off Second Card 150 Off On Third Card 151 Off Off Fourth Card 156 On Off On Off 100-143 157 On Off Off On 140-183 158 On Off Off Off 180-1C3 <==== Default 159 Off On On Off 200-243 160 Off On Off On 240-283 161 Off On Off Off 280-2C3 162 Off Off On Off 300-343 [all …]
|
/kernel/linux/linux-5.10/tools/lib/bpf/ |
D | xsk.c | 164 static void xsk_mmap_offsets_v1(struct xdp_mmap_offsets *off) in xsk_mmap_offsets_v1() argument 172 memcpy(&off_v1, off, sizeof(off_v1)); in xsk_mmap_offsets_v1() 174 off->rx.producer = off_v1.rx.producer; in xsk_mmap_offsets_v1() 175 off->rx.consumer = off_v1.rx.consumer; in xsk_mmap_offsets_v1() 176 off->rx.desc = off_v1.rx.desc; in xsk_mmap_offsets_v1() 177 off->rx.flags = off_v1.rx.consumer + sizeof(__u32); in xsk_mmap_offsets_v1() 179 off->tx.producer = off_v1.tx.producer; in xsk_mmap_offsets_v1() 180 off->tx.consumer = off_v1.tx.consumer; in xsk_mmap_offsets_v1() 181 off->tx.desc = off_v1.tx.desc; in xsk_mmap_offsets_v1() 182 off->tx.flags = off_v1.tx.consumer + sizeof(__u32); in xsk_mmap_offsets_v1() [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/dpaa2/ |
D | dpaa2-ethtool.c | 323 int off; in dpaa2_eth_prep_eth_rule() local 326 off = dpaa2_eth_cls_fld_off(NET_PROT_ETH, NH_FLD_ETH_TYPE); in dpaa2_eth_prep_eth_rule() 327 *(__be16 *)(key + off) = eth_value->h_proto; in dpaa2_eth_prep_eth_rule() 328 *(__be16 *)(mask + off) = eth_mask->h_proto; in dpaa2_eth_prep_eth_rule() 333 off = dpaa2_eth_cls_fld_off(NET_PROT_ETH, NH_FLD_ETH_SA); in dpaa2_eth_prep_eth_rule() 334 ether_addr_copy(key + off, eth_value->h_source); in dpaa2_eth_prep_eth_rule() 335 ether_addr_copy(mask + off, eth_mask->h_source); in dpaa2_eth_prep_eth_rule() 340 off = dpaa2_eth_cls_fld_off(NET_PROT_ETH, NH_FLD_ETH_DA); in dpaa2_eth_prep_eth_rule() 341 ether_addr_copy(key + off, eth_value->h_dest); in dpaa2_eth_prep_eth_rule() 342 ether_addr_copy(mask + off, eth_mask->h_dest); in dpaa2_eth_prep_eth_rule() [all …]
|