/kernel/linux/linux-5.10/fs/hfsplus/ |
D | bitmap.c | 25 __be32 *pptr, *curr, *end; in hfsplus_block_allocate() local 42 pptr = kmap(page); in hfsplus_block_allocate() 43 curr = pptr + (offset & (PAGE_CACHE_BITS - 1)) / 32; in hfsplus_block_allocate() 47 end = pptr + PAGE_CACHE_BITS / 32; in hfsplus_block_allocate() 49 end = pptr + ((size + 31) & (PAGE_CACHE_BITS - 1)) / 32; in hfsplus_block_allocate() 87 curr = pptr = kmap(page); in hfsplus_block_allocate() 89 end = pptr + PAGE_CACHE_BITS / 32; in hfsplus_block_allocate() 91 end = pptr + ((size + 31) & (PAGE_CACHE_BITS - 1)) / 32; in hfsplus_block_allocate() 98 start = offset + (curr - pptr) * 32 + i; in hfsplus_block_allocate() 138 pptr = kmap(page); in hfsplus_block_allocate() [all …]
|
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/ptrace/ |
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() 137 pptr = (int *)shmat(shm_id, NULL, 0); in ptrace_tm_spd_tar() 138 pptr[0] = 0; in ptrace_tm_spd_tar() 139 pptr[1] = 0; in ptrace_tm_spd_tar() 142 while (!pptr[2]) in ptrace_tm_spd_tar() 147 shmdt(&pptr); in ptrace_tm_spd_tar() 152 shmdt(&pptr); in ptrace_tm_spd_tar()
|
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() 129 pptr = (struct shared *)shmat(shm_id, NULL, 0); in ptrace_tm_spr() 137 shmdt((void *)pptr); in ptrace_tm_spr() 144 shmdt((void *)pptr); in ptrace_tm_spr()
|
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() 133 pptr = (int *)shmat(shm_id, NULL, 0); in ptrace_tm_spd_gpr() 134 pptr[0] = 0; in ptrace_tm_spd_gpr() 135 pptr[1] = 0; in ptrace_tm_spd_gpr() 137 while (!pptr[2]) in ptrace_tm_spd_gpr() 142 shmdt((void *)pptr); in ptrace_tm_spd_gpr() 147 shmdt((void *)pptr); in ptrace_tm_spd_gpr()
|
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()
|
D | ptrace-tm-tar.c | 12 unsigned long *cptr, *pptr; variable 109 pptr[0] = 1; in trace_tm_tar() 125 pptr = (unsigned long *)shmat(shm_id, NULL, 0); in ptrace_tm_tar() 126 pptr[0] = 0; in ptrace_tm_tar() 129 while (!pptr[1]) in ptrace_tm_tar() 134 shmdt(&pptr); in ptrace_tm_tar() 138 shmdt(&pptr); in ptrace_tm_tar()
|
D | ptrace-gpr.c | 13 int *cptr, *pptr; variable 87 pptr = (int *)shmat(shm_id, NULL, 0); in ptrace_gpr() 88 while (!pptr[1]) in ptrace_gpr() 94 shmdt((void *)pptr); in ptrace_gpr() 99 pptr[0] = 1; in ptrace_gpr() 100 shmdt((void *)pptr); in ptrace_gpr()
|
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() 151 pptr = (int *)shmat(shm_id, NULL, 0); in ptrace_tm_spd_vsx() 152 while (!pptr[2]) in ptrace_tm_spd_vsx() 158 shmdt((void *)pptr); in ptrace_tm_spd_vsx() 163 shmdt((void *)pptr); in ptrace_tm_spd_vsx()
|
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()
|
D | ptrace-tm-vsx.c | 12 unsigned long *cptr, *pptr; variable 105 pptr[0] = 1; in trace_tm_vsx() 134 pptr = (unsigned long *)shmat(shm_id, NULL, 0); in ptrace_tm_vsx() 135 while (!pptr[1]) in ptrace_tm_vsx() 141 shmdt((void *)pptr); in ptrace_tm_vsx() 146 shmdt((void *)pptr); in ptrace_tm_vsx()
|
D | ptrace-tm-gpr.c | 13 unsigned long *cptr, *pptr; variable 104 pptr[0] = 1; in trace_tm_gpr() 126 pptr = (unsigned long *)shmat(shm_id, NULL, 0); in ptrace_tm_gpr() 128 while (!pptr[1]) in ptrace_tm_gpr() 136 shmdt((void *)pptr); in ptrace_tm_gpr()
|
/kernel/linux/linux-5.10/net/bridge/netfilter/ |
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 …]
|
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()
|
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()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/ |
D | bpf_iter_bpf_percpu_array_map.c | 31 void *pptr = ctx->value; in dump_bpf_percpu_array_map() local 35 if (key == (void *)0 || pptr == (void *)0) in dump_bpf_percpu_array_map() 42 val_sum += *(__u32 *)pptr; in dump_bpf_percpu_array_map() 43 pptr += step; in dump_bpf_percpu_array_map()
|
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()
|
/kernel/linux/linux-5.10/net/netfilter/ipvs/ |
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()
|
D | ip_vs_core.c | 461 __be16 _ports[2], *pptr, cport, vport; in ip_vs_schedule() local 469 pptr = frag_safe_skb_hp(skb, iph->len, sizeof(_ports), _ports); in ip_vs_schedule() 470 if (pptr == NULL) in ip_vs_schedule() 474 cport = pptr[0]; in ip_vs_schedule() 476 vport = pptr[1]; in ip_vs_schedule() 479 cport = pptr[1]; in ip_vs_schedule() 481 vport = pptr[0]; in ip_vs_schedule() 600 __be16 _ports[2], *pptr, dport; in ip_vs_leave() local 604 pptr = frag_safe_skb_hp(skb, iph->len, sizeof(_ports), _ports); in ip_vs_leave() 605 if (!pptr) in ip_vs_leave() [all …]
|
D | ip_vs_conn.c | 319 __be16 _ports[2], *pptr; in ip_vs_conn_fill_param_proto() local 321 pptr = frag_safe_skb_hp(skb, iph->len, sizeof(_ports), _ports); in ip_vs_conn_fill_param_proto() 322 if (pptr == NULL) in ip_vs_conn_fill_param_proto() 327 pptr[0], &iph->daddr, pptr[1], p); in ip_vs_conn_fill_param_proto() 330 pptr[1], &iph->saddr, pptr[0], p); in ip_vs_conn_fill_param_proto()
|
/kernel/linux/linux-5.10/tools/bpf/ |
D | bpf_jit_disasm.c | 173 char *ptr, *pptr, *tmp; in get_last_jit_image() local 226 pptr = ptr; in get_last_jit_image() 227 while ((ptr = strstr(pptr, ":"))) in get_last_jit_image() 228 pptr = ptr + 1; in get_last_jit_image() 229 ptr = pptr; in get_last_jit_image() 231 image[ulen++] = (uint8_t) strtoul(pptr, &pptr, 16); in get_last_jit_image() 232 if (ptr == pptr) { in get_last_jit_image() 238 ptr = pptr; in get_last_jit_image()
|
/kernel/linux/linux-5.10/net/netfilter/ |
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()
|
/kernel/linux/linux-5.10/kernel/bpf/ |
D | hashtab.c | 185 void __percpu *pptr) in htab_elem_set_ptr() argument 187 *(void __percpu **)(l->key + key_size) = pptr; in htab_elem_set_ptr() 213 void __percpu *pptr; in htab_free_elems() local 215 pptr = htab_elem_get_ptr(get_htab_elem(htab, i), in htab_free_elems() 217 free_percpu(pptr); in htab_free_elems() 268 void __percpu *pptr; in prealloc_init() local 270 pptr = __alloc_percpu_gfp(size, 8, GFP_USER | __GFP_NOWARN); in prealloc_init() 271 if (!pptr) in prealloc_init() 274 pptr); in prealloc_init() 320 struct htab_elem *__percpu *pptr, *l_new; in alloc_extra_elems() local [all …]
|
D | arraymap.c | 265 void __percpu *pptr; in bpf_percpu_array_copy() local 278 pptr = array->pptrs[index & array->index_mask]; in bpf_percpu_array_copy() 280 bpf_long_memcpy(value + off, per_cpu_ptr(pptr, cpu), size); in bpf_percpu_array_copy() 349 void __percpu *pptr; in bpf_percpu_array_update() local 373 pptr = array->pptrs[index & array->index_mask]; in bpf_percpu_array_update() 375 bpf_long_memcpy(per_cpu_ptr(pptr, cpu), value + off, size); in bpf_percpu_array_update() 433 void __percpu *pptr; in percpu_array_map_seq_show_elem() local 439 pptr = array->pptrs[index & array->index_mask]; in percpu_array_map_seq_show_elem() 443 per_cpu_ptr(pptr, cpu), m); in percpu_array_map_seq_show_elem() 560 void __percpu **pptr; in __bpf_array_map_seq_show() local [all …]
|
/kernel/linux/linux-5.10/net/sched/ |
D | sch_htb.c | 771 struct rb_node **pptr; in htb_lookup_leaf() member 777 sp->pptr = &hprio->ptr; in htb_lookup_leaf() 781 if (!*sp->pptr && *sp->pid) { in htb_lookup_leaf() 785 *sp->pptr = in htb_lookup_leaf() 791 if (!*sp->pptr) { /* we are at right end; rewind & go up */ in htb_lookup_leaf() 792 *sp->pptr = sp->root; in htb_lookup_leaf() 793 while ((*sp->pptr)->rb_left) in htb_lookup_leaf() 794 *sp->pptr = (*sp->pptr)->rb_left; in htb_lookup_leaf() 797 if (!*sp->pptr) { in htb_lookup_leaf() 801 htb_next_rb_node(sp->pptr); in htb_lookup_leaf() [all …]
|
/kernel/linux/linux-5.10/net/decnet/ |
D | dn_nsp_in.c | 174 static inline int dn_check_idf(unsigned char **pptr, int *len, unsigned char max, unsigned char fol… in dn_check_idf() argument 176 unsigned char *ptr = *pptr; in dn_check_idf() 186 *pptr = ptr + flen; in dn_check_idf()
|