Searched refs:pptr (Results 1 - 25 of 38) sorted by relevance

12

/linux-master/tools/testing/selftests/bpf/progs/
H A Dbpf_iter_bpf_percpu_array_map.c31 void *pptr = ctx->value; local
35 if (key == (void *)0 || pptr == (void *)0)
42 val_sum += *(__u32 *)pptr;
43 pptr += step;
H A Dbpf_iter_bpf_percpu_hash_map.c33 void *pptr = ctx->value; local
37 if (key == (void *)0 || pptr == (void *)0)
46 val_sum += *(__u32 *)pptr;
47 pptr += step;
/linux-master/fs/hfsplus/
H A Dbitmap.c25 __be32 *pptr, *curr, *end; local
42 pptr = kmap_local_page(page);
43 curr = pptr + (offset & (PAGE_CACHE_BITS - 1)) / 32;
47 end = pptr + PAGE_CACHE_BITS / 32;
49 end = pptr + ((size + 31) & (PAGE_CACHE_BITS - 1)) / 32;
77 kunmap_local(pptr);
87 curr = pptr = kmap_local_page(page);
89 end = pptr + PAGE_CACHE_BITS / 32;
91 end = pptr + ((size + 31) & (PAGE_CACHE_BITS - 1)) / 32;
98 start = offset + (curr - pptr) * 3
169 __be32 *pptr, *curr, *end; local
[all...]
/linux-master/tools/testing/selftests/powerpc/ptrace/
H A Dptrace-tar.c13 int *pptr; variable
95 pptr = (int *)shmat(shm_id, NULL, 0);
96 pptr[0] = 0;
97 pptr[1] = 0;
99 while (!pptr[2])
110 pptr[0] = 1;
113 while (!pptr[1])
116 shmdt((int *)pptr);
H A Dptrace-tm-spd-gpr.c13 int *cptr, *pptr; variable
110 pptr[0] = 1;
111 pptr[1] = 1;
134 pptr = (int *)shmat(shm_id, NULL, 0);
135 pptr[0] = 0;
136 pptr[1] = 0;
138 while (!pptr[2])
143 shmdt((void *)pptr);
148 shmdt((void *)pptr);
H A Dptrace-tm-spd-tar.c12 int *cptr, *pptr; variable
120 pptr[0] = 1;
121 pptr[1] = 1;
138 pptr = (int *)shmat(shm_id, NULL, 0);
139 pptr[0] = 0;
140 pptr[1] = 0;
143 while (!pptr[2])
148 shmdt(&pptr);
153 shmdt(&pptr);
H A Dptrace-tm-spr.c18 struct shared *cptr, *pptr; variable in typeref:struct:
100 FAIL_IF(show_tm_spr(child, (struct tm_spr_regs *)&pptr->regs));
102 printf("TFHAR: %lx TEXASR: %lx TFIAR: %lx\n", pptr->regs.tm_tfhar,
103 pptr->regs.tm_texasr, pptr->regs.tm_tfiar);
105 pptr->flag = 1;
130 pptr = (struct shared *)shmat(shm_id, NULL, 0);
138 shmdt((void *)pptr);
145 shmdt((void *)pptr);
H A Dptrace-vsx.c12 int *cptr, *pptr; variable
84 pptr = (int *)shmat(shm_id, NULL, 0);
85 while (!pptr[1])
91 shmdt((void *)pptr);
96 pptr[0] = 1;
97 shmdt((void *)pptr);
H A Dptrace-tm-spd-vsx.c12 int *cptr, *pptr; variable
119 pptr[0] = 1;
120 pptr[1] = 1;
152 pptr = (int *)shmat(shm_id, NULL, 0);
153 while (!pptr[2])
159 shmdt((void *)pptr);
164 shmdt((void *)pptr);
H A Dptrace-tm-tar.c12 unsigned long *cptr, *pptr; variable
109 pptr[0] = 1;
126 pptr = (unsigned long *)shmat(shm_id, NULL, 0);
127 pptr[0] = 0;
130 while (!pptr[1])
135 shmdt(&pptr);
139 shmdt(&pptr);
H A Dptrace-gpr.c14 int *cptr, *pptr; variable
142 pptr = (int *)shmat(shm_id, NULL, 0);
143 while (!pptr[1])
149 shmdt((void *)pptr);
154 pptr[0] = 1;
155 shmdt((void *)pptr);
H A Dptrace-tm-vsx.c12 unsigned long *cptr, *pptr; variable
105 pptr[0] = 1;
135 pptr = (unsigned long *)shmat(shm_id, NULL, 0);
136 while (!pptr[1])
142 shmdt((void *)pptr);
147 shmdt((void *)pptr);
H A Dptrace-tm-gpr.c13 unsigned long *cptr, *pptr; variable
104 pptr[0] = 1;
127 pptr = (unsigned long *)shmat(shm_id, NULL, 0);
129 while (!pptr[1])
137 shmdt((void *)pptr);
/linux-master/net/bridge/netfilter/
H A Debt_ip6.c43 const union pkthdr *pptr; local
77 pptr = skb_header_pointer(skb, offset_ph, sizeof(_pkthdr),
79 if (pptr == NULL)
82 u16 dst = ntohs(pptr->tcpudphdr.dst);
89 u16 src = ntohs(pptr->tcpudphdr.src);
97 pptr->icmphdr.type < info->icmpv6_type[0] ||
98 pptr->icmphdr.type > info->icmpv6_type[1] ||
99 pptr->icmphdr.code < info->icmpv6_code[0] ||
100 pptr->icmphdr.code > info->icmpv6_code[1]))
H A Debt_ip.c43 const union pkthdr *pptr; local
70 pptr = skb_header_pointer(skb, ih->ihl*4,
72 if (pptr == NULL)
75 u32 dst = ntohs(pptr->tcpudphdr.dst);
82 u32 src = ntohs(pptr->tcpudphdr.src);
90 pptr->icmphdr.type < info->icmp_type[0] ||
91 pptr->icmphdr.type > info->icmp_type[1] ||
92 pptr->icmphdr.code < info->icmp_code[0] ||
93 pptr->icmphdr.code > info->icmp_code[1]))
97 pptr
[all...]
H A Debt_log.c60 const struct tcpudphdr *pptr; local
63 pptr = skb_header_pointer(skb, offset,
65 if (pptr == NULL) {
69 pr_cont(" SPT=%u DPT=%u", ntohs(pptr->src), ntohs(pptr->dst));
/linux-master/fs/xfs/libxfs/
H A Dxfs_parent.c296 * Look up a parent pointer record (@parent_name -> @pptr) of @ip.
309 struct xfs_parent_rec *pptr,
313 xfs_parent_da_args_init(scratch, tp, pptr, ip, ip->i_ino, parent_name);
322 const struct xfs_parent_rec *pptr)
328 if (!xfs_parent_valuecheck(mp, pptr, sizeof(*pptr)))
336 * Attach the parent pointer (@parent_name -> @pptr) to @ip immediately.
345 struct xfs_parent_rec *pptr,
348 if (!xfs_parent_sanity_check(ip->i_mount, parent_name, pptr)) {
354 xfs_parent_da_args_init(scratch, NULL, pptr, i
305 xfs_parent_lookup( struct xfs_trans *tp, struct xfs_inode *ip, const struct xfs_name *parent_name, struct xfs_parent_rec *pptr, struct xfs_da_args *scratch) argument
319 xfs_parent_sanity_check( struct xfs_mount *mp, const struct xfs_name *parent_name, const struct xfs_parent_rec *pptr) argument
341 xfs_parent_set( struct xfs_inode *ip, xfs_ino_t owner, const struct xfs_name *parent_name, struct xfs_parent_rec *pptr, struct xfs_da_args *scratch) argument
364 xfs_parent_unset( struct xfs_inode *ip, xfs_ino_t owner, const struct xfs_name *parent_name, struct xfs_parent_rec *pptr, struct xfs_da_args *scratch) argument
[all...]
H A Dxfs_parent.h101 const struct xfs_name *name, struct xfs_parent_rec *pptr,
104 const struct xfs_name *name, struct xfs_parent_rec *pptr,
107 const struct xfs_name *name, struct xfs_parent_rec *pptr,
/linux-master/tools/bpf/
H A Dbpf_jit_disasm.c176 char *ptr, *pptr, *tmp; local
229 pptr = ptr;
230 while ((ptr = strstr(pptr, ":")))
231 pptr = ptr + 1;
232 ptr = pptr;
234 image[ulen++] = (uint8_t) strtoul(pptr, &pptr, 16);
235 if (ptr == pptr) {
241 ptr = pptr;
/linux-master/net/netfilter/
H A Dxt_multiport.c88 const __be16 *pptr; local
95 pptr = skb_header_pointer(skb, par->thoff, sizeof(_ports), _ports);
96 if (pptr == NULL) {
105 return ports_match_v1(multiinfo, ntohs(pptr[0]), ntohs(pptr[1]));
/linux-master/net/netfilter/ipvs/
H A Dip_vs_proto.c229 __be16 _ports[2], *pptr; local
231 pptr = skb_header_pointer(skb, offset + ih->ihl*4,
233 if (pptr == NULL)
238 &ih->saddr, ntohs(pptr[0]),
239 &ih->daddr, ntohs(pptr[1]));
261 __be16 _ports[2], *pptr; local
263 pptr = skb_header_pointer(skb, offset + sizeof(struct ipv6hdr),
265 if (pptr == NULL)
270 &ih->saddr, ntohs(pptr[0]),
271 &ih->daddr, ntohs(pptr[
[all...]
/linux-master/fs/xfs/scrub/
H A Dparent.c219 /* Cookie for retrieval of the pptr name. */
225 /* Length of the pptr name. */
244 /* Scratch buffer for scanning pptr xattrs */
399 const struct xfs_parent_rec *pptr,
404 xfs_ino_t parent_ino = be64_to_cpu(pptr->p_ino);
429 if (VFS_I(ip)->i_generation != be32_to_cpu(pptr->p_gen)) {
500 /* Couldn't lock the inode, so save the pptr for later. */
537 struct xfs_parent_rec *pptr)
542 error = xfs_parent_lookup(sc->tp, sc->ip, xname, pptr, &pp->pptr_args);
559 struct xfs_parent_rec *pptr)
397 xchk_parent_iget( struct xchk_pptrs *pp, const struct xfs_parent_rec *pptr, struct xfs_inode **dpp) argument
534 xchk_parent_revalidate_pptr( struct xchk_pptrs *pp, const struct xfs_name *xname, struct xfs_parent_rec *pptr) argument
556 xchk_parent_slow_pptr( struct xchk_pptrs *pp, const struct xfs_name *xname, struct xfs_parent_rec *pptr) argument
632 struct xchk_pptr pptr; local
[all...]
H A Dparent_repair.c87 /* Cookie for retrieval of the pptr name. */
93 /* Length of the pptr name. */
140 * @pscan.lock coordinates access to pptr_recs, pptr_names, pptr, and
155 /* Scratch buffer for scanning pptr xattrs */
295 struct xrep_pptr *pptr)
299 switch (pptr->action) {
303 &pptr->pptr_rec);
306 &pptr->pptr_rec, &rp->pptr_args);
310 &pptr->pptr_rec);
313 &pptr
292 xrep_parent_replay_update( struct xrep_parent *rp, const struct xfs_name *xname, struct xrep_pptr *pptr) argument
337 struct xrep_pptr pptr; local
377 struct xrep_pptr pptr = { local
403 struct xrep_pptr pptr = { local
[all...]
H A Dattr_repair.c134 /* Cookie for retrieval of the pptr name. */
140 /* Length of the pptr name. */
1108 struct xrep_xattr_pptr *pptr)
1113 switch (pptr->action) {
1117 &pptr->pptr_rec);
1120 &pptr->pptr_rec, &rx->pptr_args);
1126 &pptr->pptr_rec);
1129 &pptr->pptr_rec, &rx->pptr_args);
1155 struct xrep_xattr_pptr pptr; local
1157 error = xfarray_load(rx->pptr_recs, array_cur, &pptr);
1105 xrep_xattr_replay_pptr_update( struct xrep_xattr *rx, const struct xfs_name *xname, struct xrep_xattr_pptr *pptr) argument
1194 struct xrep_xattr_pptr pptr = { local
1220 struct xrep_xattr_pptr pptr = { local
[all...]
/linux-master/kernel/bpf/
H A Dhashtab.c199 void __percpu *pptr)
201 *(void __percpu **)(l->key + key_size) = pptr;
260 void __percpu *pptr = htab_elem_get_ptr(elem, htab->map.key_size); local
264 bpf_obj_free_fields(htab->map.record, per_cpu_ptr(pptr, cpu));
283 void __percpu *pptr; local
285 pptr = htab_elem_get_ptr(get_htab_elem(htab, i),
287 free_percpu(pptr);
339 void __percpu *pptr; local
341 pptr = bpf_map_alloc_percpu(&htab->map, size, 8,
343 if (!pptr)
198 htab_elem_set_ptr(struct htab_elem *l, u32 key_size, void __percpu *pptr) argument
392 struct htab_elem *__percpu *pptr, *l_new; local
788 void __percpu *pptr = htab_elem_get_ptr(elem, htab->map.key_size); local
955 pcpu_copy_value(struct bpf_htab *htab, void __percpu *pptr, void *value, bool onallcpus) argument
972 pcpu_init_value(struct bpf_htab *htab, void __percpu *pptr, void *value, bool onallcpus) argument
1009 void __percpu *pptr; local
1622 void __percpu *pptr; local
1819 void __percpu *pptr; local
2081 void __percpu *pptr; local
2179 void __percpu *pptr; local
2384 void __percpu *pptr; local
2435 void __percpu *pptr; local
[all...]

Completed in 781 milliseconds

12