/linux/drivers/scsi/ |
A D | scsi_logging.c | 42 off += scnprintf(logbuf + off, logbuf_len - off, in sdev_format_header() 49 off += scnprintf(logbuf + off, logbuf_len - off, in sdev_format_header() 69 off += scnprintf(logbuf + off, logbuf_len - off, in sdev_prefix_printk() 135 off += scnprintf(buffer + off, buf_len - off, in scsi_format_opcode_name() 138 off += scnprintf(buffer + off, buf_len - off, in scsi_format_opcode_name() 253 off += scnprintf(buffer + off, buf_len - off, in scsi_format_extd_sense() 258 off += scnprintf(buffer + off, buf_len - off, in scsi_format_extd_sense() 263 off += scnprintf(buffer + off, buf_len - off, in scsi_format_extd_sense() 279 off += scnprintf(buffer + off, buf_len - off, in scsi_format_sense_hdr() 282 off += scnprintf(buffer + off, buf_len - off, in scsi_format_sense_hdr() [all …]
|
/linux/arch/mips/mm/ |
A D | page.c | 277 int off; in build_clear_page() local 312 while (off) { in build_clear_page() 323 off = -off; in build_clear_page() 335 off = 0; in build_clear_page() 341 off = -off; in build_clear_page() 426 int off; in build_copy_page() local 497 off = -off; in build_copy_page() 524 off = 0; in build_copy_page() 542 off = -off; in build_copy_page() 566 off = 0; in build_copy_page() [all …]
|
/linux/drivers/ntb/hw/intel/ |
A D | ntb_hw_gen3.c | 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() 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 D | ntb_hw_gen4.c | 225 off += scnprintf(buf + off, buf_size - off, in ndev_ntb4_debugfs_read() 228 off += scnprintf(buf + off, buf_size - off, in ndev_ntb4_debugfs_read() 232 off += scnprintf(buf + off, buf_size - off, in ndev_ntb4_debugfs_read() 234 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() 253 off += scnprintf(buf + off, buf_size - off, in ndev_ntb4_debugfs_read() 255 off += scnprintf(buf + off, buf_size - off, in ndev_ntb4_debugfs_read() 257 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() 262 off += scnprintf(buf + off, buf_size - off, in ndev_ntb4_debugfs_read() [all …]
|
A D | ntb_hw_gen1.c | 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() 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/arch/ia64/kernel/ |
A D | entry.h | 45 .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/arch/powerpc/boot/ |
A 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 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/drivers/mtd/ |
A D | mtdpstore.c | 33 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/drivers/rapidio/ |
A D | rio-sysfs.c | 142 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/tools/testing/selftests/net/mptcp/ |
A D | pm_nl_ctl.c | 42 int off = 0; in init_genl_req() local 53 return off; in init_genl_req() 60 uint32_t off; in nl_error() local 77 (int)off); in nl_error() 156 int off = 0; in resolve_mptcp_pm_netlink() local 184 int off = 0; in add_addr() local 314 int off = 0; in del_addr() local 497 int off = 0; in get_addr() local 535 int off = 0; in dump_addrs() local 556 int off = 0; in flush_addrs() local [all …]
|
/linux/include/linux/isdn/ |
A 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() 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/drivers/acpi/ |
A D | ec_sys.c | 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() 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/arch/mips/include/asm/ |
A D | mips-gic.h | 30 #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/arch/arm/mach-s3c/ |
A D | gpio-cfg-helpers.h | 24 unsigned int off, unsigned int config) in samsung_gpio_do_setcfg() argument 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() 108 unsigned int off); 119 unsigned int off); 130 unsigned int off); [all …]
|
/linux/drivers/isdn/hardware/mISDN/ |
A D | iohelper.h | 28 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/drivers/target/ |
A D | target_core_spc.c | 172 int cnt, off = 0; in spc_gen_naa_6h_vendor_specific() local 194 for (cnt = off + 13; *p && off < cnt; p++) { in spc_gen_naa_6h_vendor_specific() 227 off = 4; in spc_emulate_evpd_83() 244 buf[off] = 0x00; in spc_emulate_evpd_83() 248 off++; in spc_emulate_evpd_83() 257 off = (len + 4); in spc_emulate_evpd_83() 317 off += 2; in spc_emulate_evpd_83() 319 off += 2; in spc_emulate_evpd_83() 348 off += 2; in spc_emulate_evpd_83() 375 off += 2; in spc_emulate_evpd_83() [all …]
|
/linux/tools/include/linux/ |
A 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 …]
|
/linux/scripts/gdb/linux/ |
A D | dmesg.py | 43 addr = prb_addr + off 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) 58 addr = utils.read_ulong(desc_ring, off) 63 addr = prb_addr + off 69 text_data_sz = 1 << utils.read_u32(text_data_ring, off) 70 off = prb_data_ring_type.get_type()['data'].bitpos // 8 71 addr = utils.read_ulong(text_data_ring, off) 95 tail_id = utils.read_u64(desc_ring, off + counter_off) [all …]
|
/linux/drivers/net/ethernet/chelsio/cxgb4/ |
A D | cxgb4_tc_u32_parse.h | 104 { .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/drivers/net/ethernet/netronome/nfp/nfpcore/ |
A D | nfp_rtsym.c | 235 *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/samples/bpf/ |
A 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 …]
|
/linux/drivers/w1/slaves/ |
A D | w1_ds2433.c | 51 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/drivers/net/ethernet/freescale/dpaa2/ |
A D | dpaa2-ethtool.c | 323 int off; in dpaa2_eth_prep_eth_rule() local 353 int off; in dpaa2_eth_prep_uip_rule() local 375 *(u8 *)(key + off) = uip_value->proto; in dpaa2_eth_prep_uip_rule() 376 *(u8 *)(mask + off) = uip_mask->proto; in dpaa2_eth_prep_uip_rule() 398 *(__be16 *)(mask + off) = htons(0xFFFF); in dpaa2_eth_prep_uip_rule() 408 int off; in dpaa2_eth_prep_l4_rule() local 444 *(__be16 *)(mask + off) = htons(0xFFFF); in dpaa2_eth_prep_l4_rule() 448 *(u8 *)(key + off) = l4_proto; in dpaa2_eth_prep_l4_rule() 449 *(u8 *)(mask + off) = 0xFF; in dpaa2_eth_prep_l4_rule() 459 int off; in dpaa2_eth_prep_ext_rule() local [all …]
|
/linux/drivers/mtd/parsers/ |
A D | afs.c | 81 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 …]
|
/linux/fs/hfs/ |
A D | bnode.c | 26 off += node->page_offset; in hfs_bnode_read() 27 pagenum = off >> PAGE_SHIFT; in hfs_bnode_read() 80 off += node->page_offset; in hfs_bnode_write() 105 off += node->page_offset; in hfs_bnode_clear() 153 int i, off, key_off; in hfs_bnode_dump() local 161 off = node->tree->node_size - 2; in hfs_bnode_dump() 257 loff_t off; in __hfs_bnode_create() local 293 block = off >> PAGE_SHIFT; in __hfs_bnode_create() 331 int i, rec_off, off, next_off; in hfs_bnode_find() local 386 if (next_off <= off || in hfs_bnode_find() [all …]
|