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

1234567891011>>

/linux-master/tools/testing/selftests/bpf/
H A Dbpf_legacy.h10 #define load_byte(skb, off) __builtin_bpf_load_byte(off)
11 #define load_half(skb, off) __builtin_bpf_load_half(off)
12 #define load_word(skb, off) __builtin_bpf_load_word(off)
17 unsigned long long load_byte(void *skb, unsigned long long off) asm("llvm.bpf.load.byte");
18 unsigned long long load_half(void *skb, unsigned long long off) asm("llvm.bpf.load.half");
19 unsigned long long load_word(void *skb, unsigned long long off) asm("llvm.bpf.load.word");
/linux-master/drivers/scsi/
H A Dscsi_logging.c41 size_t off = 0; local
44 off += scnprintf(logbuf + off, logbuf_len - off,
47 if (WARN_ON(off >= logbuf_len))
48 return off;
51 off += scnprintf(logbuf + off, logbuf_len - off,
53 return off;
61 size_t off = 0, logbuf_len; local
88 size_t off = 0, logbuf_len; local
113 size_t off; local
161 size_t off; local
184 size_t off, logbuf_len; local
243 size_t off = 0; local
273 size_t off; local
305 size_t off; local
322 size_t off, logbuf_len; local
386 size_t off, logbuf_len; local
[all...]
/linux-master/arch/arm/include/asm/
H A Dpercpu.h17 static inline void set_my_cpu_offset(unsigned long off) argument
25 asm volatile("mcr p15, 0, %0, c13, c0, 4" : : "r" (off) : "memory");
30 unsigned long off; local
57 : "=r" (off)
60 return off;
/linux-master/arch/mips/mm/
H A Dpage.c91 pg_addiu(u32 **buf, unsigned int reg1, unsigned int reg2, unsigned int off) argument
96 if (off > 0x7fff) {
97 uasm_i_lui(buf, GPR_T9, uasm_rel_hi(off));
98 uasm_i_addiu(buf, GPR_T9, GPR_T9, uasm_rel_lo(off));
100 uasm_i_addiu(buf, GPR_T9, GPR_ZERO, off);
103 if (off > 0x7fff) {
104 uasm_i_lui(buf, GPR_T9, uasm_rel_hi(off));
105 uasm_i_addiu(buf, GPR_T9, GPR_T9, uasm_rel_lo(off));
108 UASM_i_ADDIU(buf, reg1, reg2, off);
221 static void build_clear_store(u32 **buf, int off) argument
230 build_clear_pref(u32 **buf, int off) argument
266 int off; local
357 build_copy_load(u32 **buf, int reg, int off) argument
366 build_copy_store(u32 **buf, int reg, int off) argument
375 build_copy_load_pref(u32 **buf, int off) argument
384 build_copy_store_pref(u32 **buf, int off) argument
415 int off; local
[all...]
/linux-master/arch/arm/mach-s3c/
H A Dgpio-cfg-helpers.h24 unsigned int off, unsigned int config)
26 return (chip->config->set_config)(chip, off, config);
30 unsigned int off, samsung_gpio_pull_t pull)
32 return (chip->config->set_pull)(chip, off, pull);
23 samsung_gpio_do_setcfg(struct samsung_gpio_chip *chip, unsigned int off, unsigned int config) argument
29 samsung_gpio_do_setpull(struct samsung_gpio_chip *chip, unsigned int off, samsung_gpio_pull_t pull) argument
/linux-master/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) argument
38 capimsg_setu16(void *m, int off, __u16 val) argument
44 capimsg_setu32(void *m, int off, __u32 val) argument
[all...]
/linux-master/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...]
/linux-master/arch/sparc/kernel/
H A Djump_label.c19 s32 off = (s32)entry->target - (s32)entry->code; local
22 BUG_ON(off & 3);
25 if (off <= 0xfffff && off >= -0x100000)
30 /* ba,pt %xcc, . + off */
31 val = 0x10680000 | (((u32) off >> 2) & 0x7ffff);
34 BUG_ON(off > 0x7fffff);
35 BUG_ON(off < -0x800000);
36 /* ba . + off */
37 val = 0x10800000 | (((u32) off >>
[all...]
/linux-master/tools/testing/selftests/memory-hotplug/
H A DMakefile6 TEST_PROGS := mem-on-off-test.sh
9 @/bin/bash ./mem-on-off-test.sh -r 10 && echo "memory-hotplug selftests: [PASS]" || echo "memory-hotplug selftests: [FAIL]"
/linux-master/tools/testing/selftests/cpu-hotplug/
H A DMakefile4 TEST_PROGS := cpu-on-off-test.sh
9 @/bin/bash ./cpu-on-off-test.sh -a && echo "cpu-hotplug selftests: [PASS]" || echo "cpu-hotplug selftests: [FAIL]"
/linux-master/arch/arc/lib/
H A Dmemset-archs.S20 .macro PREALLOC_INSTR reg, off
21 prealloc [\reg, \off]
24 .macro PREFETCHW_INSTR reg, off
25 prefetchw [\reg, \off]
30 .macro PREALLOC_INSTR reg, off
33 .macro PREFETCHW_INSTR reg, off
/linux-master/drivers/ntb/hw/intel/
H A Dntb_hw_gen3.c262 ssize_t ret, off; local
274 off = 0;
276 off += scnprintf(buf + off, buf_size - off,
279 off += scnprintf(buf + off, buf_size - off,
283 off += scnprintf(buf + off, buf_siz
[all...]
H A Dntb_hw_gen4.c226 ssize_t ret, off; local
238 off = 0;
240 off += scnprintf(buf + off, buf_size - off,
243 off += scnprintf(buf + off, buf_size - off,
247 off += scnprintf(buf + off, buf_siz
[all...]
/linux-master/drivers/acpi/
H A Dec_sys.c31 size_t count, loff_t *off)
37 loff_t init_off = *off;
40 if (*off >= size)
42 if (*off + count >= size) {
43 size -= *off;
50 err = ec_read(*off, &byte_read);
53 if (put_user(byte_read, buf + *off - init_off)) {
54 if (*off - init_off)
55 return *off - init_off; /* partial read */
58 *off
30 acpi_ec_read_io(struct file *f, char __user *buf, size_t count, loff_t *off) argument
64 acpi_ec_write_io(struct file *f, const char __user *buf, size_t count, loff_t *off) argument
[all...]
/linux-master/drivers/rapidio/
H A Drio-sysfs.c118 char *buf, loff_t off, size_t count)
122 loff_t init_off = off;
129 if (off >= size)
131 if (off + count > size) {
132 size -= off;
138 if ((off & 1) && size) {
140 rio_read_config_8(dev, off, &val);
141 data[off - init_off] = val;
142 off++;
146 if ((off
116 rio_read_config(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) argument
187 rio_write_config(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) argument
[all...]
/linux-master/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...]
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/
H A Dfbmem.h61 fbmem_peek(struct io_mapping *fb, u32 off) argument
63 u8 __iomem *p = io_mapping_map_atomic_wc(fb, off & PAGE_MASK);
64 u32 val = ioread32(p + (off & ~PAGE_MASK));
70 fbmem_poke(struct io_mapping *fb, u32 off, u32 val) argument
72 u8 __iomem *p = io_mapping_map_atomic_wc(fb, off & PAGE_MASK);
73 iowrite32(val, p + (off & ~PAGE_MASK));
79 fbmem_readback(struct io_mapping *fb, u32 off, u32 val) argument
81 fbmem_poke(fb, off, val);
82 return val == fbmem_peek(fb, off);
/linux-master/arch/sh/kernel/cpu/
H A Dadc.c15 int off; local
20 off = (channel & 0x03) << 2;
33 return (((__raw_readb(ADDRAH + off) << 8) |
34 __raw_readb(ADDRAL + off)) >> 6);
/linux-master/drivers/mtd/
H A Dmtdpstore.c27 static int mtdpstore_block_isbad(struct mtdpstore_context *cxt, loff_t off) argument
33 off = ALIGN_DOWN(off, mtd->erasesize);
34 blknum = div_u64(off, mtd->erasesize);
38 ret = mtd_block_isbad(mtd, off);
50 loff_t off)
55 off = ALIGN_DOWN(off, mtd->erasesize);
56 blknum = div_u64(off, mtd->erasesize);
61 loff_t off)
49 mtdpstore_panic_block_isbad(struct mtdpstore_context *cxt, loff_t off) argument
60 mtdpstore_mark_used(struct mtdpstore_context *cxt, loff_t off) argument
70 mtdpstore_mark_unused(struct mtdpstore_context *cxt, loff_t off) argument
80 mtdpstore_block_mark_unused(struct mtdpstore_context *cxt, loff_t off) argument
97 mtdpstore_is_used(struct mtdpstore_context *cxt, loff_t off) argument
107 mtdpstore_block_is_used(struct mtdpstore_context *cxt, loff_t off) argument
140 mtdpstore_mark_removed(struct mtdpstore_context *cxt, loff_t off) argument
149 mtdpstore_block_clear_removed(struct mtdpstore_context *cxt, loff_t off) argument
165 mtdpstore_block_is_removed(struct mtdpstore_context *cxt, loff_t off) argument
183 mtdpstore_erase_do(struct mtdpstore_context *cxt, loff_t off) argument
210 mtdpstore_erase(size_t size, loff_t off) argument
237 mtdpstore_security(struct mtdpstore_context *cxt, loff_t off) argument
274 mtdpstore_write(const char *buf, size_t size, loff_t off) argument
310 mtdpstore_read(char *buf, size_t size, loff_t off) argument
356 mtdpstore_panic_write(const char *buf, size_t size, loff_t off) argument
444 mtdpstore_flush_removed_do(struct mtdpstore_context *cxt, loff_t off, size_t size) argument
501 loff_t off; local
[all...]
/linux-master/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-master/arch/m68k/include/asm/
H A Dblinken.h22 static __inline__ void blinken_leds(int on, int off) argument
27 hp300_ledstate &= ~off;
/linux-master/tools/testing/selftests/bpf/progs/
H A Dtest_log_buf.c8 const volatile int off = 4000; variable
21 return a[off];
/linux-master/arch/arc/include/asm/
H A Dlinkage.h17 .macro ST2 e, o, off
19 std \e, [sp, \off]
21 st \e, [sp, \off]
22 st \o, [sp, \off+4]
26 .macro LD2 e, o, off
28 ldd \e, [sp, \off]
30 ld \e, [sp, \off]
31 ld \o, [sp, \off+4]
/linux-master/arch/powerpc/platforms/powernv/
H A Dopal-nvram.c29 int off; local
33 off = *index;
34 if ((off + count) > nvram_size)
35 count = nvram_size - off;
36 rc = opal_read_nvram(__pa(buf), count, off);
44 * This can be called in the panic path with interrupts off, so use
50 int off; local
54 off = *index;
55 if ((off + count) > nvram_size)
56 count = nvram_size - off;
[all...]
/linux-master/arch/mips/include/asm/
H A Dmips-gic.h30 #define GIC_ACCESSOR_RO(sz, off, name) \
31 CPS_ACCESSOR_RO(gic, sz, MIPS_GIC_SHARED_OFS + off, name)
34 #define GIC_ACCESSOR_RW(sz, off, name) \
35 CPS_ACCESSOR_RW(gic, sz, MIPS_GIC_SHARED_OFS + off, name)
38 #define GIC_VX_ACCESSOR_RO(sz, off, name) \
39 CPS_ACCESSOR_RO(gic, sz, MIPS_GIC_LOCAL_OFS + off, vl_##name) \
40 CPS_ACCESSOR_RO(gic, sz, MIPS_GIC_REDIR_OFS + off, vo_##name)
43 #define GIC_VX_ACCESSOR_RW(sz, off, name) \
44 CPS_ACCESSOR_RW(gic, sz, MIPS_GIC_LOCAL_OFS + off, vl_##name) \
45 CPS_ACCESSOR_RW(gic, sz, MIPS_GIC_REDIR_OFS + off, vo
[all...]

Completed in 271 milliseconds

1234567891011>>