Home
last modified time | relevance | path

Searched defs:off (Results 1 – 25 of 1199) sorted by relevance

12345678910>>...48

/linux/arch/powerpc/boot/
H A 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
68 #define PUT_16BE(off, v)(buf[off] = ((v) >> 8) & 0xff, \ argument
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
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
76 #define GET_64LE(off) ((unsigned long long)GET_32LE(off) + \ argument
78 #define PUT_16LE(off, v) (buf[off] = (v) & 0xff, \ argument
[all …]
/linux/drivers/mtd/
H A Dmtdpstore.c27 static int mtdpstore_block_isbad(struct mtdpstore_context *cxt, loff_t off) in mtdpstore_block_isbad()
50 loff_t off) in mtdpstore_panic_block_isbad()
61 loff_t off) in mtdpstore_mark_used()
71 loff_t off) in mtdpstore_mark_unused()
81 loff_t off) in mtdpstore_block_mark_unused()
97 static inline int mtdpstore_is_used(struct mtdpstore_context *cxt, loff_t off) in mtdpstore_is_used()
108 loff_t off) in mtdpstore_block_is_used()
140 static void mtdpstore_mark_removed(struct mtdpstore_context *cxt, loff_t off) in mtdpstore_mark_removed()
150 loff_t off) in mtdpstore_block_clear_removed()
166 loff_t off) in mtdpstore_block_is_removed()
[all …]
/linux/arch/mips/include/asm/
H A Dmips-gic.h30 #define GIC_ACCESSOR_RO(sz, off, name) \ argument
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
48 #define GIC_ACCESSOR_RO_INTR_REG(sz, off, stride, name) \ argument
61 #define GIC_ACCESSOR_RW_INTR_REG(sz, off, stride, name) \ argument
72 #define GIC_VX_ACCESSOR_RO_INTR_REG(sz, off, stride, name) \ argument
79 #define GIC_VX_ACCESSOR_RW_INTR_REG(sz, off, stride, name) \ argument
86 #define GIC_ACCESSOR_RO_INTR_BIT(off, name) \ argument
109 #define GIC_ACCESSOR_RW_INTR_BIT(off, name) \ argument
[all …]
H A Duasm.h212 # define UASM_i_LL(buf, rs, rt, off) uasm_i_lld(buf, rs, rt, off) argument
213 # define UASM_i_LW(buf, rs, rt, off) uasm_i_ld(buf, rs, rt, off) argument
218 # define UASM_i_SC(buf, rs, rt, off) uasm_i_scd(buf, rs, rt, off) argument
224 # define UASM_i_SW(buf, rs, rt, off) uasm_i_sd(buf, rs, rt, off) argument
228 # define UASM_i_LL(buf, rs, rt, off) uasm_i_ll(buf, rs, rt, off) argument
229 # define UASM_i_LW(buf, rs, rt, off) uasm_i_lw(buf, rs, rt, off) argument
234 # define UASM_i_SC(buf, rs, rt, off) uasm_i_sc(buf, rs, rt, off) argument
240 # define UASM_i_SW(buf, rs, rt, off) uasm_i_sw(buf, rs, rt, off) argument
243 #define uasm_i_b(buf, off) uasm_i_beq(buf, 0, 0, off) argument
244 #define uasm_i_beqz(buf, rs, off) uasm_i_beq(buf, rs, 0, off) argument
[all …]
H A Dmips-cps.h17 #define CPS_ACCESSOR_A(unit, off, name) \ argument
91 #define CPS_ACCESSOR_RO(unit, sz, off, name) \ argument
95 #define CPS_ACCESSOR_WO(unit, sz, off, name) \ argument
99 #define CPS_ACCESSOR_RW(unit, sz, off, name) \ argument
/linux/fs/hfs/
H A Dbnode.c18 void hfs_bnode_read(struct hfs_bnode *node, void *buf, int off, int len) in hfs_bnode_read()
42 u16 hfs_bnode_read_u16(struct hfs_bnode *node, int off) in hfs_bnode_read_u16()
50 u8 hfs_bnode_read_u8(struct hfs_bnode *node, int off) in hfs_bnode_read_u8()
58 void hfs_bnode_read_key(struct hfs_bnode *node, void *key, int off) in hfs_bnode_read_key()
73 void hfs_bnode_write(struct hfs_bnode *node, void *buf, int off, int len) in hfs_bnode_write()
84 void hfs_bnode_write_u16(struct hfs_bnode *node, int off, u16 data) in hfs_bnode_write_u16()
91 void hfs_bnode_write_u8(struct hfs_bnode *node, int off, u8 data) in hfs_bnode_write_u8()
97 void hfs_bnode_clear(struct hfs_bnode *node, int off, int len) in hfs_bnode_clear()
146 int i, off, key_off; in hfs_bnode_dump() local
250 loff_t off; in __hfs_bnode_create() local
[all …]
/linux/drivers/scsi/
H A Dscsi_logging.c41 size_t off = 0; in sdev_format_header() local
61 size_t off = 0, logbuf_len; in sdev_prefix_printk() local
88 size_t off = 0, logbuf_len; in scmd_printk() local
113 size_t off; in scsi_format_opcode_name() local
161 size_t off; in __scsi_format_command() local
184 size_t off, logbuf_len; in scsi_print_command() local
243 size_t off = 0; in scsi_format_extd_sense() local
273 size_t off; in scsi_format_sense_hdr() local
305 size_t off; in scsi_log_dump_sense() local
322 size_t off, logbuf_len; in scsi_log_print_sense_hdr() local
[all …]
/linux/arch/mips/mm/
H A Dpage.c91 pg_addiu(u32 **buf, unsigned int reg1, unsigned int reg2, unsigned int off) in pg_addiu()
221 static void build_clear_store(u32 **buf, int off) in build_clear_store()
230 static inline void build_clear_pref(u32 **buf, int off) in build_clear_pref()
266 int off; in build_clear_page() local
357 static void build_copy_load(u32 **buf, int reg, int off) in build_copy_load()
366 static void build_copy_store(u32 **buf, int reg, int off) in build_copy_store()
375 static inline void build_copy_load_pref(u32 **buf, int off) in build_copy_load_pref()
384 static inline void build_copy_store_pref(u32 **buf, int off) in build_copy_store_pref()
415 int off; in build_copy_page() local
/linux/arch/powerpc/crypto/
H A Daes-spe-modes.S13 #define LOAD_DATA(reg, off) \ argument
15 #define SAVE_DATA(reg, off) \ argument
20 #define LOAD_IV(reg, off) \ argument
22 #define SAVE_IV(reg, off) \ argument
30 #define LOAD_DATA(reg, off) \ argument
33 #define SAVE_DATA(reg, off) \ argument
37 #define LOAD_IV(reg, off) \ argument
40 #define SAVE_IV(reg, off) \ argument
H A Daes-spe-core.S22 #define LWH(out, off) \ argument
25 #define LWL(out, off) \ argument
28 #define LBZ(out, tab, off) \ argument
31 #define LAH(out, in, bpos, off) \ argument
35 #define LAL(out, in, bpos, off) \ argument
/linux/arch/arc/lib/
H A Dmemset-archs.S20 .macro PREALLOC_INSTR reg, off
24 .macro PREFETCHW_INSTR reg, off
30 .macro PREALLOC_INSTR reg, off
33 .macro PREFETCHW_INSTR reg, off
/linux/fs/hfsplus/
H A Dbnode.c22 void hfs_bnode_read(struct hfs_bnode *node, void *buf, int off, int len) in hfs_bnode_read()
41 u16 hfs_bnode_read_u16(struct hfs_bnode *node, int off) in hfs_bnode_read_u16()
49 u8 hfs_bnode_read_u8(struct hfs_bnode *node, int off) in hfs_bnode_read_u8()
57 void hfs_bnode_read_key(struct hfs_bnode *node, void *key, int off) in hfs_bnode_read_key()
73 void hfs_bnode_write(struct hfs_bnode *node, void *buf, int off, int len) in hfs_bnode_write()
94 void hfs_bnode_write_u16(struct hfs_bnode *node, int off, u16 data) in hfs_bnode_write_u16()
101 void hfs_bnode_clear(struct hfs_bnode *node, int off, int len) in hfs_bnode_clear()
295 int i, off, key_off; in hfs_bnode_dump() local
399 loff_t off; in __hfs_bnode_create() local
471 int i, rec_off, off, next_off; in hfs_bnode_find() local
/linux/drivers/w1/slaves/
H A Dw1_ds2408.c68 struct bin_attribute *bin_attr, char *buf, loff_t off, in state_read()
81 loff_t off, size_t count) in output_read()
94 loff_t off, size_t count) in activity_read()
107 loff_t off, size_t count) in cond_search_mask_read()
121 char *buf, loff_t off, size_t count) in cond_search_polarity_read()
131 loff_t off, size_t count) in status_control_read()
164 loff_t off, size_t count) in output_write()
214 loff_t off, size_t count) in activity_write()
244 loff_t off, size_t count) in status_control_write()
/linux/drivers/net/ethernet/netronome/nfp/nfpcore/
H A Dnfp_rtsym.c227 u8 action, u8 token, u64 off, u32 *cpp_id, u64 *addr) in nfp_rtsym_to_dest()
258 u8 action, u8 token, u64 off, void *buf, size_t len) in __nfp_rtsym_read()
288 int nfp_rtsym_read(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, u64 off, in nfp_rtsym_read()
295 u8 action, u8 token, u64 off, u32 *value) in __nfp_rtsym_readl()
314 int nfp_rtsym_readl(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, u64 off, in nfp_rtsym_readl()
321 u8 action, u8 token, u64 off, u64 *value) in __nfp_rtsym_readq()
345 int nfp_rtsym_readq(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, u64 off, in nfp_rtsym_readq()
352 u8 action, u8 token, u64 off, void *buf, size_t len) in __nfp_rtsym_write()
373 int nfp_rtsym_write(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, u64 off, in nfp_rtsym_write()
380 u8 action, u8 token, u64 off, u32 value) in __nfp_rtsym_writel()
[all …]
/linux/include/linux/isdn/
H A Dcapiutil.h19 #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()
38 static inline void capimsg_setu16(void *m, int off, __u16 val) in capimsg_setu16()
44 static inline void capimsg_setu32(void *m, int off, __u32 val) in capimsg_setu32()
/linux/net/netfilter/
H A Dnft_set_bitmap.c54 u32 *idx, u32 *off) in nft_bitmap_location()
72 nft_bitmap_active(const u8 *bitmap, u32 idx, u32 off, u8 genmask) in nft_bitmap_active()
83 u32 idx, off; in nft_bitmap_lookup() local
133 u32 idx, off; in nft_bitmap_insert() local
155 u32 idx, off; in nft_bitmap_remove() local
170 u32 idx, off; in nft_bitmap_activate() local
185 u32 idx, off; in nft_bitmap_flush() local
200 u32 idx, off; in nft_bitmap_deactivate() local
/linux/drivers/hid/
H A Dhid-picolcd_debugfs.c73 size_t s, loff_t *off) in picolcd_debug_eeprom_read()
112 size_t s, loff_t *off) in picolcd_debug_eeprom_write()
169 static int _picolcd_flash_setaddr(struct picolcd_data *data, u8 *buf, long off) in _picolcd_flash_setaddr()
180 char __user *u, size_t s, loff_t *off) in _picolcd_flash_read()
216 size_t s, loff_t *off) in picolcd_debug_flash_read()
235 loff_t *off) in _picolcd_flash_erase64()
262 const char __user *u, size_t s, loff_t *off) in _picolcd_flash_write()
299 size_t s, loff_t *off) in picolcd_debug_flash_write()
/linux/tools/testing/selftests/bpf/
H A Dbpf_legacy.h10 #define load_byte(skb, off) __builtin_bpf_load_byte(off) argument
11 #define load_half(skb, off) __builtin_bpf_load_half(off) argument
12 #define load_word(skb, off) __builtin_bpf_load_word(off) argument
/linux/arch/mips/alchemy/common/
H A Dgpiolib.c117 static int alchemy_gpic_get(struct gpio_chip *chip, unsigned int off) in alchemy_gpic_get()
122 static void alchemy_gpic_set(struct gpio_chip *chip, unsigned int off, int v) in alchemy_gpic_set()
127 static int alchemy_gpic_dir_input(struct gpio_chip *chip, unsigned int off) in alchemy_gpic_dir_input()
132 static int alchemy_gpic_dir_output(struct gpio_chip *chip, unsigned int off, in alchemy_gpic_dir_output()
138 static int alchemy_gpic_gpio_to_irq(struct gpio_chip *chip, unsigned int off) in alchemy_gpic_gpio_to_irq()
/linux/tools/testing/selftests/net/mptcp/
H A Dpm_nl_ctl.c55 int off = 0; in init_genl_req() local
73 uint32_t off; in nl_error() local
322 int off = 0; in resolve_mptcp_pm_netlink() local
349 int off = 0; in dsf() local
466 int off = 0; in csf() local
594 int off = 0; in remove_addr() local
646 int off = 0; in announce_addr() local
772 int off = 0; in add_addr() local
902 int off = 0; in del_addr() local
1093 int off = 0; in get_addr() local
[all …]
/linux/tools/testing/selftests/bpf/progs/
H A Dtest_module_attach.c59 struct bin_attribute *bin_attr, char *buf, loff_t off, size_t len) in BPF_PROG()
70 struct bin_attribute *bin_attr, char *buf, loff_t off, size_t len) in BPF_PROG()
81 struct bin_attribute *bin_attr, char *buf, loff_t off, size_t len) in BPF_PROG()
93 struct bin_attribute *bin_attr, char *buf, loff_t off, size_t len) in BPF_PROG()
105 struct bin_attribute *bin_attr, char *buf, loff_t off, size_t len, in BPF_PROG()
130 struct bin_attribute *bin_attr, char *buf, loff_t off, size_t len) in BPF_PROG()
/linux/drivers/gpio/
H A Dgpio-raspberrypi-exp.c54 static int rpi_exp_gpio_get_polarity(struct gpio_chip *gc, unsigned int off) in rpi_exp_gpio_get_polarity()
74 static int rpi_exp_gpio_dir_in(struct gpio_chip *gc, unsigned int off) in rpi_exp_gpio_dir_in()
103 static int rpi_exp_gpio_dir_out(struct gpio_chip *gc, unsigned int off, int val) in rpi_exp_gpio_dir_out()
132 static int rpi_exp_gpio_get_direction(struct gpio_chip *gc, unsigned int off) in rpi_exp_gpio_get_direction()
156 static int rpi_exp_gpio_get(struct gpio_chip *gc, unsigned int off) in rpi_exp_gpio_get()
178 static void rpi_exp_gpio_set(struct gpio_chip *gc, unsigned int off, int val) in rpi_exp_gpio_set()
H A Dgpio-adp5520.c23 static int adp5520_gpio_get_value(struct gpio_chip *chip, unsigned off) in adp5520_gpio_get_value()
44 unsigned off, int val) in adp5520_gpio_set_value()
55 static int adp5520_gpio_direction_input(struct gpio_chip *chip, unsigned off) in adp5520_gpio_direction_input()
67 unsigned off, int val) in adp5520_gpio_direction_output()
/linux/drivers/pinctrl/sunplus/
H A Dsppctl.c39 static inline u32 sppctl_first_readl(struct sppctl_gpio_chip *spp_gchip, u32 off) in sppctl_first_readl()
44 static inline void sppctl_first_writel(struct sppctl_gpio_chip *spp_gchip, u32 val, u32 off) in sppctl_first_writel()
49 static inline u32 sppctl_gpio_master_readl(struct sppctl_gpio_chip *spp_gchip, u32 off) in sppctl_gpio_master_readl()
55 u32 off) in sppctl_gpio_master_writel()
60 static inline u32 sppctl_gpio_oe_readl(struct sppctl_gpio_chip *spp_gchip, u32 off) in sppctl_gpio_oe_readl()
65 static inline void sppctl_gpio_oe_writel(struct sppctl_gpio_chip *spp_gchip, u32 val, u32 off) in sppctl_gpio_oe_writel()
70 static inline void sppctl_gpio_out_writel(struct sppctl_gpio_chip *spp_gchip, u32 val, u32 off) in sppctl_gpio_out_writel()
75 static inline u32 sppctl_gpio_in_readl(struct sppctl_gpio_chip *spp_gchip, u32 off) in sppctl_gpio_in_readl()
80 static inline u32 sppctl_gpio_iinv_readl(struct sppctl_gpio_chip *spp_gchip, u32 off) in sppctl_gpio_iinv_readl()
86 u32 off) in sppctl_gpio_iinv_writel()
[all …]
/linux/drivers/s390/crypto/
H A Dpkey_api.c1811 pkey_protkey_aes_attr_read(u32 keytype,bool is_xts,char * buf,loff_t off,size_t count) pkey_protkey_aes_attr_read() argument
1862 protkey_aes_128_read(struct file * filp,struct kobject * kobj,struct bin_attribute * attr,char * buf,loff_t off,size_t count) protkey_aes_128_read() argument
1872 protkey_aes_192_read(struct file * filp,struct kobject * kobj,struct bin_attribute * attr,char * buf,loff_t off,size_t count) protkey_aes_192_read() argument
1882 protkey_aes_256_read(struct file * filp,struct kobject * kobj,struct bin_attribute * attr,char * buf,loff_t off,size_t count) protkey_aes_256_read() argument
1892 protkey_aes_128_xts_read(struct file * filp,struct kobject * kobj,struct bin_attribute * attr,char * buf,loff_t off,size_t count) protkey_aes_128_xts_read() argument
1902 protkey_aes_256_xts_read(struct file * filp,struct kobject * kobj,struct bin_attribute * attr,char * buf,loff_t off,size_t count) protkey_aes_256_xts_read() argument
1936 pkey_ccadata_aes_attr_read(u32 keytype,bool is_xts,char * buf,loff_t off,size_t count) pkey_ccadata_aes_attr_read() argument
1966 ccadata_aes_128_read(struct file * filp,struct kobject * kobj,struct bin_attribute * attr,char * buf,loff_t off,size_t count) ccadata_aes_128_read() argument
1976 ccadata_aes_192_read(struct file * filp,struct kobject * kobj,struct bin_attribute * attr,char * buf,loff_t off,size_t count) ccadata_aes_192_read() argument
1986 ccadata_aes_256_read(struct file * filp,struct kobject * kobj,struct bin_attribute * attr,char * buf,loff_t off,size_t count) ccadata_aes_256_read() argument
1996 ccadata_aes_128_xts_read(struct file * filp,struct kobject * kobj,struct bin_attribute * attr,char * buf,loff_t off,size_t count) ccadata_aes_128_xts_read() argument
2006 ccadata_aes_256_xts_read(struct file * filp,struct kobject * kobj,struct bin_attribute * attr,char * buf,loff_t off,size_t count) ccadata_aes_256_xts_read() argument
2042 pkey_ccacipher_aes_attr_read(enum pkey_key_size keybits,bool is_xts,char * buf,loff_t off,size_t count) pkey_ccacipher_aes_attr_read() argument
2088 ccacipher_aes_128_read(struct file * filp,struct kobject * kobj,struct bin_attribute * attr,char * buf,loff_t off,size_t count) ccacipher_aes_128_read() argument
2098 ccacipher_aes_192_read(struct file * filp,struct kobject * kobj,struct bin_attribute * attr,char * buf,loff_t off,size_t count) ccacipher_aes_192_read() argument
2108 ccacipher_aes_256_read(struct file * filp,struct kobject * kobj,struct bin_attribute * attr,char * buf,loff_t off,size_t count) ccacipher_aes_256_read() argument
2118 ccacipher_aes_128_xts_read(struct file * filp,struct kobject * kobj,struct bin_attribute * attr,char * buf,loff_t off,size_t count) ccacipher_aes_128_xts_read() argument
2128 ccacipher_aes_256_xts_read(struct file * filp,struct kobject * kobj,struct bin_attribute * attr,char * buf,loff_t off,size_t count) ccacipher_aes_256_xts_read() argument
2165 pkey_ep11_aes_attr_read(enum pkey_key_size keybits,bool is_xts,char * buf,loff_t off,size_t count) pkey_ep11_aes_attr_read() argument
2215 ep11_aes_128_read(struct file * filp,struct kobject * kobj,struct bin_attribute * attr,char * buf,loff_t off,size_t count) ep11_aes_128_read() argument
2225 ep11_aes_192_read(struct file * filp,struct kobject * kobj,struct bin_attribute * attr,char * buf,loff_t off,size_t count) ep11_aes_192_read() argument
2235 ep11_aes_256_read(struct file * filp,struct kobject * kobj,struct bin_attribute * attr,char * buf,loff_t off,size_t count) ep11_aes_256_read() argument
2245 ep11_aes_128_xts_read(struct file * filp,struct kobject * kobj,struct bin_attribute * attr,char * buf,loff_t off,size_t count) ep11_aes_128_xts_read() argument
2255 ep11_aes_256_xts_read(struct file * filp,struct kobject * kobj,struct bin_attribute * attr,char * buf,loff_t off,size_t count) ep11_aes_256_xts_read() argument
[all...]

12345678910>>...48