/kernel/linux/linux-6.6/fs/hfsplus/ |
H A D | bitmap.c | 25 __be32 *pptr, *curr, *end; in hfsplus_block_allocate() local 42 pptr = kmap_local_page(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() 77 kunmap_local(pptr); in hfsplus_block_allocate() 87 curr = pptr = kmap_local_page(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) * 3 in hfsplus_block_allocate() 169 __be32 *pptr, *curr, *end; hfsplus_block_free() local [all...] |
/kernel/linux/linux-5.10/fs/hfsplus/ |
H A 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 in hfsplus_block_allocate() 169 __be32 *pptr, *curr, *end; hfsplus_block_free() local [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/ptrace/ |
H 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()
|
H 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() 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()
|
H 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() 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()
|
H 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() 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()
|
H A 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()
|
H 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()
|
H 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() 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()
|
H A 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()
|
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/ptrace/ |
H 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()
|
H 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()
|
H 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()
|
H 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()
|
H 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()
|
H 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()
|
H 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()
|
/kernel/linux/linux-5.10/net/bridge/netfilter/ |
H 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 in ebt_ip_mt() [all...] |
H 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()
|
/kernel/linux/linux-6.6/net/bridge/netfilter/ |
H 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 in ebt_ip_mt() [all...] |
H 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()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/ |
H A 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()
|
H 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()
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/ |
H A 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()
|
H 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()
|