| /linux/fs/hfsplus/ |
| A D | bitmap.c | 25 __be32 *pptr, *curr, *end; in hfsplus_block_allocate() local 42 pptr = kmap_local_page(page); in hfsplus_block_allocate() 77 kunmap_local(pptr); in hfsplus_block_allocate() 130 kunmap_local(pptr); in hfsplus_block_allocate() 139 curr = pptr; in hfsplus_block_allocate() 154 kunmap_local(pptr); in hfsplus_block_allocate() 169 __be32 *pptr, *curr, *end; in hfsplus_block_free() local 188 pptr = kmap_local_page(page); in hfsplus_block_free() 218 kunmap_local(pptr); in hfsplus_block_free() 223 curr = pptr; in hfsplus_block_free() [all …]
|
| /linux/tools/testing/selftests/powerpc/ptrace/ |
| A D | ptrace-tm-spd-gpr.c | 13 int *cptr, *pptr; variable 110 pptr[0] = 1; in trace_tm_spd_gpr() 111 pptr[1] = 1; in trace_tm_spd_gpr() 134 pptr = (int *)shmat(shm_id, NULL, 0); in ptrace_tm_spd_gpr() 135 pptr[0] = 0; in ptrace_tm_spd_gpr() 136 pptr[1] = 0; in ptrace_tm_spd_gpr() 138 while (!pptr[2]) in ptrace_tm_spd_gpr() 143 shmdt((void *)pptr); in ptrace_tm_spd_gpr() 148 shmdt((void *)pptr); in ptrace_tm_spd_gpr()
|
| A D | ptrace-tm-spd-tar.c | 12 int *cptr, *pptr; variable 120 pptr[0] = 1; in trace_tm_spd_tar() 121 pptr[1] = 1; in trace_tm_spd_tar() 138 pptr = (int *)shmat(shm_id, NULL, 0); in ptrace_tm_spd_tar() 139 pptr[0] = 0; in ptrace_tm_spd_tar() 140 pptr[1] = 0; in ptrace_tm_spd_tar() 143 while (!pptr[2]) in ptrace_tm_spd_tar() 148 shmdt(&pptr); in ptrace_tm_spd_tar() 153 shmdt(&pptr); in ptrace_tm_spd_tar()
|
| A D | ptrace-tm-spr.c | 18 struct shared *cptr, *pptr; variable 100 FAIL_IF(show_tm_spr(child, (struct tm_spr_regs *)&pptr->regs)); in trace_tm_spr() 102 printf("TFHAR: %lx TEXASR: %lx TFIAR: %lx\n", pptr->regs.tm_tfhar, in trace_tm_spr() 103 pptr->regs.tm_texasr, pptr->regs.tm_tfiar); in trace_tm_spr() 105 pptr->flag = 1; in trace_tm_spr() 130 pptr = (struct shared *)shmat(shm_id, NULL, 0); in ptrace_tm_spr() 138 shmdt((void *)pptr); in ptrace_tm_spr() 145 shmdt((void *)pptr); in ptrace_tm_spr()
|
| A D | ptrace-tar.c | 13 int *pptr; variable 95 pptr = (int *)shmat(shm_id, NULL, 0); in ptrace_tar() 96 pptr[0] = 0; in ptrace_tar() 97 pptr[1] = 0; in ptrace_tar() 99 while (!pptr[2]) in ptrace_tar() 110 pptr[0] = 1; in ptrace_tar() 113 while (!pptr[1]) in ptrace_tar() 116 shmdt((int *)pptr); in ptrace_tar()
|
| A D | ptrace-tm-tar.c | 12 unsigned long *cptr, *pptr; variable 109 pptr[0] = 1; in trace_tm_tar() 126 pptr = (unsigned long *)shmat(shm_id, NULL, 0); in ptrace_tm_tar() 127 pptr[0] = 0; in ptrace_tm_tar() 130 while (!pptr[1]) in ptrace_tm_tar() 135 shmdt(&pptr); in ptrace_tm_tar() 139 shmdt(&pptr); in ptrace_tm_tar()
|
| A D | ptrace-tm-spd-vsx.c | 12 int *cptr, *pptr; variable 119 pptr[0] = 1; in trace_tm_spd_vsx() 120 pptr[1] = 1; in trace_tm_spd_vsx() 152 pptr = (int *)shmat(shm_id, NULL, 0); in ptrace_tm_spd_vsx() 153 while (!pptr[2]) in ptrace_tm_spd_vsx() 159 shmdt((void *)pptr); in ptrace_tm_spd_vsx() 164 shmdt((void *)pptr); in ptrace_tm_spd_vsx()
|
| A D | ptrace-vsx.c | 12 int *cptr, *pptr; variable 84 pptr = (int *)shmat(shm_id, NULL, 0); in ptrace_vsx() 85 while (!pptr[1]) in ptrace_vsx() 91 shmdt((void *)pptr); in ptrace_vsx() 96 pptr[0] = 1; in ptrace_vsx() 97 shmdt((void *)pptr); in ptrace_vsx()
|
| A D | ptrace-tm-vsx.c | 12 unsigned long *cptr, *pptr; variable 105 pptr[0] = 1; in trace_tm_vsx() 135 pptr = (unsigned long *)shmat(shm_id, NULL, 0); in ptrace_tm_vsx() 136 while (!pptr[1]) in ptrace_tm_vsx() 142 shmdt((void *)pptr); in ptrace_tm_vsx() 147 shmdt((void *)pptr); in ptrace_tm_vsx()
|
| A D | ptrace-gpr.c | 14 int *cptr, *pptr; variable 142 pptr = (int *)shmat(shm_id, NULL, 0); in ptrace_gpr() 143 while (!pptr[1]) in ptrace_gpr() 149 shmdt((void *)pptr); in ptrace_gpr() 154 pptr[0] = 1; in ptrace_gpr() 155 shmdt((void *)pptr); in ptrace_gpr()
|
| A D | ptrace-tm-gpr.c | 13 unsigned long *cptr, *pptr; variable 104 pptr[0] = 1; in trace_tm_gpr() 127 pptr = (unsigned long *)shmat(shm_id, NULL, 0); in ptrace_tm_gpr() 129 while (!pptr[1]) in ptrace_tm_gpr() 137 shmdt((void *)pptr); in ptrace_tm_gpr()
|
| /linux/net/bridge/netfilter/ |
| A D | ebt_ip.c | 43 const union pkthdr *pptr; in ebt_ip_mt() local 70 pptr = skb_header_pointer(skb, ih->ihl*4, in ebt_ip_mt() 72 if (pptr == NULL) in ebt_ip_mt() 75 u32 dst = ntohs(pptr->tcpudphdr.dst); in ebt_ip_mt() 82 u32 src = ntohs(pptr->tcpudphdr.src); in ebt_ip_mt() 90 pptr->icmphdr.type < info->icmp_type[0] || in ebt_ip_mt() 91 pptr->icmphdr.type > info->icmp_type[1] || in ebt_ip_mt() 92 pptr->icmphdr.code < info->icmp_code[0] || in ebt_ip_mt() 93 pptr->icmphdr.code > info->icmp_code[1])) in ebt_ip_mt() 97 pptr->igmphdr.type < info->igmp_type[0] || in ebt_ip_mt() [all …]
|
| A D | ebt_ip6.c | 43 const union pkthdr *pptr; in ebt_ip6_mt() local 77 pptr = skb_header_pointer(skb, offset_ph, sizeof(_pkthdr), in ebt_ip6_mt() 79 if (pptr == NULL) in ebt_ip6_mt() 82 u16 dst = ntohs(pptr->tcpudphdr.dst); in ebt_ip6_mt() 89 u16 src = ntohs(pptr->tcpudphdr.src); in ebt_ip6_mt() 97 pptr->icmphdr.type < info->icmpv6_type[0] || in ebt_ip6_mt() 98 pptr->icmphdr.type > info->icmpv6_type[1] || in ebt_ip6_mt() 99 pptr->icmphdr.code < info->icmpv6_code[0] || in ebt_ip6_mt() 100 pptr->icmphdr.code > info->icmpv6_code[1])) in ebt_ip6_mt()
|
| A D | ebt_log.c | 60 const struct tcpudphdr *pptr; in print_ports() local 63 pptr = skb_header_pointer(skb, offset, in print_ports() 65 if (pptr == NULL) { in print_ports() 69 pr_cont(" SPT=%u DPT=%u", ntohs(pptr->src), ntohs(pptr->dst)); in print_ports()
|
| /linux/fs/xfs/libxfs/ |
| A D | xfs_parent.c | 309 struct xfs_parent_rec *pptr, in xfs_parent_lookup() argument 313 xfs_parent_da_args_init(scratch, tp, pptr, ip, ip->i_ino, parent_name); in xfs_parent_lookup() 322 const struct xfs_parent_rec *pptr) in xfs_parent_sanity_check() argument 328 if (!xfs_parent_valuecheck(mp, pptr, sizeof(*pptr))) in xfs_parent_sanity_check() 345 struct xfs_parent_rec *pptr, in xfs_parent_set() argument 348 if (!xfs_parent_sanity_check(ip->i_mount, parent_name, pptr)) { in xfs_parent_set() 354 xfs_parent_da_args_init(scratch, NULL, pptr, ip, owner, parent_name); in xfs_parent_set() 368 struct xfs_parent_rec *pptr, in xfs_parent_unset() argument 371 if (!xfs_parent_sanity_check(ip->i_mount, parent_name, pptr)) { in xfs_parent_unset() 377 xfs_parent_da_args_init(scratch, NULL, pptr, ip, owner, parent_name); in xfs_parent_unset()
|
| 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/tools/testing/selftests/bpf/progs/ |
| A D | bpf_iter_bpf_percpu_array_map.c | 25 void *pptr = ctx->value; in dump_bpf_percpu_array_map() local 29 if (key == (void *)0 || pptr == (void *)0) in dump_bpf_percpu_array_map() 36 val_sum += *(__u32 *)pptr; in dump_bpf_percpu_array_map() 37 pptr += step; in dump_bpf_percpu_array_map()
|
| A D | bpf_iter_bpf_percpu_hash_map.c | 33 void *pptr = ctx->value; in dump_bpf_percpu_hash_map() local 37 if (key == (void *)0 || pptr == (void *)0) in dump_bpf_percpu_hash_map() 46 val_sum += *(__u32 *)pptr; in dump_bpf_percpu_hash_map() 47 pptr += step; in dump_bpf_percpu_hash_map()
|
| /linux/net/netfilter/ipvs/ |
| A D | ip_vs_proto.c | 229 __be16 _ports[2], *pptr; in ip_vs_tcpudp_debug_packet_v4() local 231 pptr = skb_header_pointer(skb, offset + ih->ihl*4, in ip_vs_tcpudp_debug_packet_v4() 233 if (pptr == NULL) in ip_vs_tcpudp_debug_packet_v4() 238 &ih->saddr, ntohs(pptr[0]), in ip_vs_tcpudp_debug_packet_v4() 239 &ih->daddr, ntohs(pptr[1])); in ip_vs_tcpudp_debug_packet_v4() 261 __be16 _ports[2], *pptr; in ip_vs_tcpudp_debug_packet_v6() local 263 pptr = skb_header_pointer(skb, offset + sizeof(struct ipv6hdr), in ip_vs_tcpudp_debug_packet_v6() 265 if (pptr == NULL) in ip_vs_tcpudp_debug_packet_v6() 270 &ih->saddr, ntohs(pptr[0]), in ip_vs_tcpudp_debug_packet_v6() 271 &ih->daddr, ntohs(pptr[1])); in ip_vs_tcpudp_debug_packet_v6()
|
| /linux/tools/bpf/ |
| A D | bpf_jit_disasm.c | 176 char *ptr, *pptr, *tmp; in get_last_jit_image() local 229 pptr = ptr; in get_last_jit_image() 230 while ((ptr = strstr(pptr, ":"))) in get_last_jit_image() 231 pptr = ptr + 1; in get_last_jit_image() 232 ptr = pptr; in get_last_jit_image() 234 image[ulen++] = (uint8_t) strtoul(pptr, &pptr, 16); in get_last_jit_image() 235 if (ptr == pptr) { in get_last_jit_image() 241 ptr = pptr; in get_last_jit_image()
|
| /linux/kernel/bpf/ |
| A D | hashtab.c | 283 void __percpu *pptr; in htab_free_elems() local 287 free_percpu(pptr); in htab_free_elems() 339 void __percpu *pptr; in prealloc_init() local 343 if (!pptr) in prealloc_init() 346 pptr); in prealloc_init() 398 if (!pptr) in alloc_extra_elems() 1012 void __percpu *pptr; in alloc_htab_elem() local 2085 void __percpu *pptr; in __bpf_hash_map_seq_show() local 2183 void __percpu *pptr; in bpf_for_each_hash_elem() local 2388 void __percpu *pptr; in bpf_percpu_hash_copy() local [all …]
|
| /linux/fs/xfs/scrub/ |
| A D | parent.c | 399 const struct xfs_parent_rec *pptr, in xchk_parent_iget() argument 404 xfs_ino_t parent_ino = be64_to_cpu(pptr->p_ino); in xchk_parent_iget() 429 if (VFS_I(ip)->i_generation != be32_to_cpu(pptr->p_gen)) { in xchk_parent_iget() 537 struct xfs_parent_rec *pptr) in xchk_parent_revalidate_pptr() argument 559 struct xfs_parent_rec *pptr) in xchk_parent_slow_pptr() argument 568 error = xchk_parent_revalidate_pptr(pp, xname, pptr); in xchk_parent_slow_pptr() 576 error = xchk_parent_iget(pp, pptr, &dp); in xchk_parent_slow_pptr() 606 error = xchk_parent_revalidate_pptr(pp, xname, pptr); in xchk_parent_slow_pptr() 632 struct xchk_pptr pptr; in xchk_parent_finish_slow_pptrs() local 637 error = xfarray_load(pp->pptr_entries, array_cur, &pptr); in xchk_parent_finish_slow_pptrs() [all …]
|
| A D | parent_repair.c | 295 struct xrep_pptr *pptr) in xrep_parent_replay_update() argument 299 switch (pptr->action) { in xrep_parent_replay_update() 303 &pptr->pptr_rec); in xrep_parent_replay_update() 306 &pptr->pptr_rec, &rp->pptr_args); in xrep_parent_replay_update() 310 &pptr->pptr_rec); in xrep_parent_replay_update() 313 &pptr->pptr_rec, &rp->pptr_args); in xrep_parent_replay_update() 337 struct xrep_pptr pptr; in xrep_parent_replay_updates() local 344 &rp->xname, pptr.namelen); in xrep_parent_replay_updates() 347 rp->xname.len = pptr.namelen; in xrep_parent_replay_updates() 377 struct xrep_pptr pptr = { in xrep_parent_stash_parentadd() local [all …]
|
| A D | attr_repair.c | 1108 struct xrep_xattr_pptr *pptr) in xrep_xattr_replay_pptr_update() argument 1113 switch (pptr->action) { in xrep_xattr_replay_pptr_update() 1117 &pptr->pptr_rec); in xrep_xattr_replay_pptr_update() 1120 &pptr->pptr_rec, &rx->pptr_args); in xrep_xattr_replay_pptr_update() 1126 &pptr->pptr_rec); in xrep_xattr_replay_pptr_update() 1129 &pptr->pptr_rec, &rx->pptr_args); in xrep_xattr_replay_pptr_update() 1155 struct xrep_xattr_pptr pptr; in xrep_xattr_replay_pptr_updates() local 1162 &rx->xname, pptr.namelen); in xrep_xattr_replay_pptr_updates() 1194 struct xrep_xattr_pptr pptr = { in xrep_xattr_stash_parentadd() local 1202 xfs_inode_to_parent_rec(&pptr.pptr_rec, dp); in xrep_xattr_stash_parentadd() [all …]
|
| /linux/net/netfilter/ |
| A D | xt_multiport.c | 88 const __be16 *pptr; in multiport_mt() local 95 pptr = skb_header_pointer(skb, par->thoff, sizeof(_ports), _ports); in multiport_mt() 96 if (pptr == NULL) { in multiport_mt() 105 return ports_match_v1(multiinfo, ntohs(pptr[0]), ntohs(pptr[1])); in multiport_mt()
|