/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | bpf_iter_bpf_percpu_array_map.c | 31 void *pptr = ctx->value; local 35 if (key == (void *)0 || pptr == (void *)0) 42 val_sum += *(__u32 *)pptr; 43 pptr += step;
|
H A D | bpf_iter_bpf_percpu_hash_map.c | 33 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 D | bitmap.c | 25 __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 D | ptrace-tar.c | 13 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 D | ptrace-tm-spd-gpr.c | 13 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 D | ptrace-tm-spd-tar.c | 12 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 D | ptrace-tm-spr.c | 18 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 D | ptrace-vsx.c | 12 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 D | ptrace-tm-spd-vsx.c | 12 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 D | ptrace-tm-tar.c | 12 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 D | ptrace-gpr.c | 14 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 D | ptrace-tm-vsx.c | 12 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 D | ptrace-tm-gpr.c | 13 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 D | ebt_ip6.c | 43 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 D | ebt_ip.c | 43 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 D | ebt_log.c | 60 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 D | xfs_parent.c | 296 * 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 D | xfs_parent.h | 101 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 D | bpf_jit_disasm.c | 176 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 D | xt_multiport.c | 88 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 D | ip_vs_proto.c | 229 __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 D | parent.c | 219 /* 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 D | parent_repair.c | 87 /* 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 D | attr_repair.c | 134 /* 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 D | hashtab.c | 199 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...] |