Searched refs:off (Results 176 - 200 of 1458) sorted by relevance

1234567891011>>

/linux-master/fs/xfs/scrub/
H A Drtbitmap_repair.c59 xfs_fileoff_t off = 0; local
64 while (off < len) {
71 error = xfs_bmapi_read(sc->ip, off, len - off, &map, &nmaps,
86 off = map.br_startoff + map.br_blockcount;
117 off = map.br_startoff + map.br_blockcount;
/linux-master/drivers/net/ethernet/netronome/nfp/bpf/
H A Dverifier.c90 int off, i; local
101 off = reg3->off + reg3->var_off.value;
107 soff = -(off + i) - 1;
128 s64 off, old_off; local
140 off = reg->var_off.value + reg->off;
141 if (-off % 4) {
142 pr_vlog(env, "%s: unaligned stack pointer %lld\n", fname, -off);
150 old_off = old_arg->reg.var_off.value + old_arg->reg.off;
392 nfp_bpf_map_mark_used_one(struct bpf_verifier_env *env, struct nfp_bpf_map *nfp_map, unsigned int off, enum nfp_bpf_map_use use) argument
423 unsigned int size, off; local
807 nfp_bpf_opt_replace_insn(struct bpf_verifier_env *env, u32 off, struct bpf_insn *insn) argument
841 nfp_bpf_opt_remove_insns(struct bpf_verifier_env *env, u32 off, u32 cnt) argument
[all...]
/linux-master/fs/hfsplus/
H A Dbfind.c117 u16 off, len, keylen; local
128 len = hfs_brec_lenoff(bnode, rec, &off);
134 hfs_bnode_read(bnode, fd->key, off, keylen);
142 len = hfs_brec_lenoff(bnode, e, &off);
148 hfs_bnode_read(bnode, fd->key, off, keylen);
153 fd->keyoffset = off;
155 fd->entryoffset = off + keylen;
236 u16 off, len, keylen; local
280 len = hfs_brec_lenoff(bnode, fd->record, &off);
286 fd->keyoffset = off;
[all...]
/linux-master/arch/arm/mach-omap2/
H A Dvc44xx_data.c89 * Voltage levels for different operating modes: on, sleep, retention and off
100 .off = OMAP4_OFF_VOLTAGE_UV,
107 .off = OMAP4_OFF_VOLTAGE_UV,
114 .off = OMAP4_OFF_VOLTAGE_UV,
/linux-master/arch/sh/kernel/
H A Dsys_sh.c34 int fd, unsigned long off)
36 if (off & ~PAGE_MASK)
38 return ksys_mmap_pgoff(addr, len, prot, flags, fd, off>>PAGE_SHIFT);
32 old_mmap(unsigned long addr, unsigned long len, unsigned long prot, unsigned long flags, int fd, unsigned long off) argument
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/
H A Dnv10.c78 int off = nvkm_rd32(device, 0x10020c) - 0x100000; local
80 fbmem_poke(fb, off, patt);
88 if (fbmem_peek(fb, off) == patt)
/linux-master/io_uring/
H A Dfiletable.h75 unsigned off, unsigned len)
77 ctx->file_alloc_start = off;
78 ctx->file_alloc_end = off + len;
74 io_file_table_set_alloc_range(struct io_ring_ctx *ctx, unsigned off, unsigned len) argument
/linux-master/drivers/net/ethernet/qlogic/netxen/
H A Dnetxen_nic_hw.c22 #define CRB_BLK(off) ((off >> 20) & 0x3f)
23 #define CRB_SUBBLK(off) ((off >> 16) & 0xf)
25 #define CRB_HI(off) ((crb_hub_agt[CRB_BLK(off)] << 20) | ((off) & 0xf0000))
33 #define PCI_OFFSET_FIRST_RANGE(adapter, off) \
34 ((adapter)->ahw.pci_base0 + (off))
35 #define PCI_OFFSET_SECOND_RANGE(adapter, off) \
40 pci_base_offset(struct netxen_adapter *adapter, unsigned long off) argument
1084 netxen_nic_pci_get_crb_addr_2M(struct netxen_adapter *adapter, ulong off, void __iomem **addr) argument
1120 netxen_nic_pci_set_crbwindow_2M(struct netxen_adapter *adapter, ulong off) argument
1142 ulong off = win_off; local
1165 netxen_nic_hw_write_wx_128M(struct netxen_adapter *adapter, ulong off, u32 data) argument
1192 netxen_nic_hw_read_wx_128M(struct netxen_adapter *adapter, ulong off) argument
1220 netxen_nic_hw_write_wx_2M(struct netxen_adapter *adapter, ulong off, u32 data) argument
1251 netxen_nic_hw_read_wx_2M(struct netxen_adapter *adapter, ulong off) argument
1366 netxen_nic_pci_mem_access_direct(struct netxen_adapter *adapter, u64 off, u64 *data, int op) argument
1412 netxen_pci_camqm_read_2M(struct netxen_adapter *adapter, u64 off, u64 *data) argument
1423 netxen_pci_camqm_write_2M(struct netxen_adapter *adapter, u64 off, u64 data) argument
1436 netxen_nic_pci_mem_write_128M(struct netxen_adapter *adapter, u64 off, u64 data) argument
1513 netxen_nic_pci_mem_read_128M(struct netxen_adapter *adapter, u64 off, u64 *data) argument
1595 netxen_nic_pci_mem_write_2M(struct netxen_adapter *adapter, u64 off, u64 data) argument
1662 netxen_nic_pci_mem_read_2M(struct netxen_adapter *adapter, u64 off, u64 *data) argument
[all...]
/linux-master/drivers/usb/gadget/
H A Du_os_desc.h60 static inline u8 *usb_ext_prop_data_len_ptr(u8 *buf, size_t off) argument
63 USB_EXT_PROP_DW_PROPERTY_DATA_LENGTH + off);
66 static inline u8 *usb_ext_prop_data_ptr(u8 *buf, size_t off) argument
68 return __usb_ext_prop_ptr(buf, USB_EXT_PROP_B_PROPERTY_DATA + off);
/linux-master/arch/sparc/kernel/
H A Dled.c21 unsigned char on, off; local
25 off = AUXIO_LED;
28 off = 0;
31 set_auxio(on, off);
59 seq_puts(m, "off\n");
/linux-master/include/uapi/linux/
H A Dcachefiles.h54 * @off indicates the starting offset of the requested file range
58 __u64 off; member in struct:cachefiles_read
/linux-master/include/net/tc_act/
H A Dtc_pedit.h110 u32 off; local
114 off = parms->tcfp_keys[index].off;
117 return off;
/linux-master/tools/testing/selftests/prctl/
H A DMakefile7 TEST_PROGS := disable-tsc-ctxt-sw-stress-test disable-tsc-on-off-stress-test \
/linux-master/drivers/pci/controller/mobiveil/
H A Dpcie-mobiveil.c40 u32 off)
42 if (off < PAGED_ADDR_BNDRY) {
45 return pcie->csr_axi_slave_base + off;
48 mobiveil_pcie_sel_page(pcie, OFFSET_TO_PAGE_IDX(off));
49 return pcie->csr_axi_slave_base + OFFSET_TO_PAGE_ADDR(off);
99 u32 mobiveil_csr_read(struct mobiveil_pcie *pcie, u32 off, size_t size) argument
105 addr = mobiveil_pcie_comp_addr(pcie, off);
114 void mobiveil_csr_write(struct mobiveil_pcie *pcie, u32 val, u32 off, argument
120 addr = mobiveil_pcie_comp_addr(pcie, off);
39 mobiveil_pcie_comp_addr(struct mobiveil_pcie *pcie, u32 off) argument
/linux-master/scripts/dtc/
H A Dyamltree.c37 unsigned int off; local
53 for (off = 0; off < len; off += width) {
60 sprintf(buf, "0x%"PRIx8, *(uint8_t*)(data + off));
63 sprintf(buf, "0x%"PRIx16, dtb_ld16(data + off));
66 sprintf(buf, "0x%"PRIx32, dtb_ld32(data + off));
70 if (m->offset == (seq_offset + off)) {
77 sprintf(buf, "0x%"PRIx64, dtb_ld64(data + off));
/linux-master/drivers/hid/
H A Dhid-roccat-lua.c27 char *buf, loff_t off, size_t count,
35 if (off >= real_size)
38 if (off != 0 || count != real_size)
49 void const *buf, loff_t off, size_t count,
57 if (off != 0 || count != real_size)
70 char *buf, loff_t off, size_t count) \
72 return lua_sysfs_write(fp, kobj, buf, off, count, \
79 char *buf, loff_t off, size_t count) \
81 return lua_sysfs_read(fp, kobj, buf, off, count, \
26 lua_sysfs_read(struct file *fp, struct kobject *kobj, char *buf, loff_t off, size_t count, size_t real_size, uint command) argument
48 lua_sysfs_write(struct file *fp, struct kobject *kobj, void const *buf, loff_t off, size_t count, size_t real_size, uint command) argument
/linux-master/net/netfilter/
H A Dnf_conntrack_seqadj.c11 s32 off)
17 if (off == 0)
24 this_way->offset_before = off;
25 this_way->offset_after = off;
31 __be32 seq, s32 off)
37 if (off == 0)
53 this_way->offset_after += off;
62 s32 off)
70 nf_ct_seqadj_set(ct, ctinfo, th->seq, off);
10 nf_ct_seqadj_init(struct nf_conn *ct, enum ip_conntrack_info ctinfo, s32 off) argument
30 nf_ct_seqadj_set(struct nf_conn *ct, enum ip_conntrack_info ctinfo, __be32 seq, s32 off) argument
60 nf_ct_tcp_seqadj_set(struct sk_buff *skb, struct nf_conn *ct, enum ip_conntrack_info ctinfo, s32 off) argument
/linux-master/net/rds/
H A Dtcp_send.c71 unsigned int hdr_off, unsigned int sg, unsigned int off)
121 rm->data.op_sg[sg].length - off,
122 rm->data.op_sg[sg].offset + off);
124 rm->data.op_sg[sg].length - off);
127 rm->data.op_sg[sg].offset + off, rm->data.op_sg[sg].length - off,
132 off += ret;
134 if (off == rm->data.op_sg[sg].length) {
135 off = 0;
70 rds_tcp_xmit(struct rds_connection *conn, struct rds_message *rm, unsigned int hdr_off, unsigned int sg, unsigned int off) argument
/linux-master/drivers/w1/slaves/
H A Dw1_ds250x.c33 #define OFF2PG(off) ((off) / W1_PAGE_SIZE)
140 static int w1_nvmem_read(void *priv, unsigned int off, void *buf, size_t count) argument
148 if (off > eprom_size)
151 if ((off + count) > eprom_size)
152 count = eprom_size - off;
154 i = OFF2PG(off);
159 } while (i < OFF2PG(off + count));
161 memcpy(buf, &data->eprom[off], count);
/linux-master/fs/xfs/
H A Dxfs_stats.h183 #define XFS_STATS_INC_OFF(mp, off) \
185 per_cpu_ptr(xfsstats.xs_stats, current_cpu())->a[off]++; \
186 per_cpu_ptr(mp->m_stats.xs_stats, current_cpu())->a[off]++; \
189 #define XFS_STATS_DEC_OFF(mp, off) \
191 per_cpu_ptr(xfsstats.xs_stats, current_cpu())->a[off]; \
192 per_cpu_ptr(mp->m_stats.xs_stats, current_cpu())->a[off]; \
195 #define XFS_STATS_ADD_OFF(mp, off, inc) \
197 per_cpu_ptr(xfsstats.xs_stats, current_cpu())->a[off] += (inc); \
198 per_cpu_ptr(mp->m_stats.xs_stats, current_cpu())->a[off] += (inc); \
/linux-master/tools/testing/selftests/bpf/progs/
H A Dtest_l4lb.c234 static __always_inline int parse_icmpv6(void *data, void *data_end, __u64 off, argument
240 icmp_hdr = data + off;
245 off += sizeof(struct icmp6hdr);
246 ip6h = data + off;
256 static __always_inline int parse_icmp(void *data, void *data_end, __u64 off, argument
262 icmp_hdr = data + off;
268 off += sizeof(struct icmphdr);
269 iph = data + off;
281 static __always_inline bool parse_udp(void *data, __u64 off, void *data_end, argument
285 udp = data + off;
300 parse_tcp(void *data, __u64 off, void *data_end, struct packet_description *pckt) argument
322 process_packet(void *data, __u64 off, void *data_end, bool is_ipv6, struct __sk_buff *skb) argument
[all...]
H A Dtest_l4lb_noinline.c233 static __noinline int parse_icmpv6(void *data, void *data_end, __u64 off, argument
239 icmp_hdr = data + off;
244 off += sizeof(struct icmp6hdr);
245 ip6h = data + off;
255 static __noinline int parse_icmp(void *data, void *data_end, __u64 off, argument
261 icmp_hdr = data + off;
267 off += sizeof(struct icmphdr);
268 iph = data + off;
280 static __noinline bool parse_udp(void *data, __u64 off, void *data_end, argument
284 udp = data + off;
299 parse_tcp(void *data, __u64 off, void *data_end, struct packet_description *pckt) argument
321 process_packet(void *data, __u64 off, void *data_end, bool is_ipv6, struct __sk_buff *skb) argument
[all...]
H A Dtest_l4lb_noinline_dynptr.c235 static __noinline int parse_icmpv6(struct bpf_dynptr *skb_ptr, __u64 off, argument
242 icmp_hdr = bpf_dynptr_slice(skb_ptr, off, buffer, sizeof(buffer));
248 off += sizeof(struct icmp6hdr);
249 ip6h = bpf_dynptr_slice(skb_ptr, off, buffer, sizeof(buffer));
259 static __noinline int parse_icmp(struct bpf_dynptr *skb_ptr, __u64 off, argument
267 icmp_hdr = bpf_dynptr_slice(skb_ptr, off, buffer_icmp, sizeof(buffer_icmp));
273 off += sizeof(struct icmphdr);
274 iph = bpf_dynptr_slice(skb_ptr, off, buffer_ip, sizeof(buffer_ip));
284 static __noinline bool parse_udp(struct bpf_dynptr *skb_ptr, __u64 off, argument
290 udp = bpf_dynptr_slice(skb_ptr, off, buffe
304 parse_tcp(struct bpf_dynptr *skb_ptr, __u64 off, struct packet_description *pckt) argument
327 process_packet(struct bpf_dynptr *skb_ptr, struct eth_hdr *eth, __u64 off, bool is_ipv6, struct __sk_buff *skb) argument
[all...]
/linux-master/drivers/pinctrl/renesas/
H A Dpinctrl-rzg2l.c117 #define P(off) (0x0000 + (off))
118 #define PM(off) (0x0100 + (off) * 2)
119 #define PMC(off) (0x0200 + (off))
120 #define PFC(off) (0x0400 + (off) * 4)
121 #define PIN(off) (0x0800 + (off))
462 rzg2l_pinctrl_set_pfc_mode(struct rzg2l_pinctrl *pctrl, u8 pin, u8 off, u8 func) argument
523 u32 off = RZG2L_PIN_CFG_TO_PORT_OFFSET(*pin_data); local
788 u32 off = RZG2L_PIN_CFG_TO_PORT_OFFSET(cfg); local
1087 u32 off, cfg; local
1191 u32 cfg, off; local
1394 u32 off = RZG2L_PIN_CFG_TO_PORT_OFFSET(*pin_data); local
1426 u32 off = RZG2L_PIN_CFG_TO_PORT_OFFSET(*pin_data); local
1447 u32 off = RZG2L_PIN_CFG_TO_PORT_OFFSET(*pin_data); local
1478 u32 off = RZG2L_PIN_CFG_TO_PORT_OFFSET(*pin_data); local
1511 u32 off = RZG2L_PIN_CFG_TO_PORT_OFFSET(*pin_data); local
1877 u32 off = RZG2L_PIN_CFG_TO_PORT_OFFSET(*pin_data); local
1973 u32 off = RZG2L_PIN_CFG_TO_PORT_OFFSET(*pin_data); local
2419 u32 off, caps; local
2472 u32 off, next_off = 0; local
2533 u32 off, pfc = 0; local
[all...]
/linux-master/drivers/infiniband/hw/qib/
H A Dqib_diag.c134 size_t count, loff_t *off);
136 size_t count, loff_t *off);
152 size_t count, loff_t *off);
545 * @off: unused by this code
549 size_t count, loff_t *off)
760 size_t count, loff_t *off)
773 else if ((count % 4) || (*off % 4))
776 else if (dc->state < READY && (*off || count != 8))
784 use_32 = (count % 8) || (*off % 8);
792 op = diag_get_observer(dd, *off);
547 qib_diagpkt_write(struct file *fp, const char __user *data, size_t count, loff_t *off) argument
759 qib_diag_read(struct file *fp, char __user *data, size_t count, loff_t *off) argument
833 qib_diag_write(struct file *fp, const char __user *data, size_t count, loff_t *off) argument
[all...]

Completed in 383 milliseconds

1234567891011>>