Home
last modified time | relevance | path

Searched refs:pptr (Results 1 – 24 of 24) sorted by relevance

/linux/fs/hfsplus/
H A Dbitmap.c25 __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) * 32 + i; in hfsplus_block_allocate()
[all …]
/linux/net/bridge/netfilter/
H A Debt_ip.c43 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 …]
H A Debt_ip6.c43 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()
H A Debt_log.c60 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/tools/testing/selftests/powerpc/ptrace/
H A Dptrace-tm-spd-gpr.c13 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 Dptrace-tm-spd-tar.c12 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 Dptrace-tm-spr.c18 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 Dptrace-tar.c13 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 Dptrace-tm-tar.c12 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()
H A Dptrace-tm-spd-vsx.c12 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 Dptrace-vsx.c12 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 Dptrace-tm-vsx.c12 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()
H A Dptrace-gpr.c14 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()
H A Dptrace-tm-gpr.c13 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/netfilter/ipvs/
H A Dip_vs_proto.c228 __be16 _ports[2], *pptr; in ip_vs_tcpudp_debug_packet_v4()
230 pptr = skb_header_pointer(skb, offset + ih->ihl*4, in ip_vs_tcpudp_debug_packet_v4()
232 if (pptr == NULL) in ip_vs_tcpudp_debug_packet_v4()
237 &ih->saddr, ntohs(pptr[0]), in ip_vs_tcpudp_debug_packet_v4()
238 &ih->daddr, ntohs(pptr[1])); in ip_vs_tcpudp_debug_packet_v4()
260 __be16 _ports[2], *pptr; in ip_vs_tcpudp_debug_packet_v6()
262 pptr = skb_header_pointer(skb, offset + sizeof(struct ipv6hdr), in ip_vs_tcpudp_debug_packet_v6()
264 if (pptr == NULL) in ip_vs_tcpudp_debug_packet_v6()
269 &ih->saddr, ntohs(pptr[0]), in ip_vs_tcpudp_debug_packet_v6()
270 &ih->daddr, ntohs(pptr[ in ip_vs_tcpudp_debug_packet_v6()
229 __be16 _ports[2], *pptr; ip_vs_tcpudp_debug_packet_v4() local
261 __be16 _ports[2], *pptr; ip_vs_tcpudp_debug_packet_v6() local
[all...]
/linux/tools/bpf/
H A Dbpf_jit_disasm.c178 char *ptr, *pptr, *tmp; in get_last_jit_image() local
231 pptr = ptr; in get_last_jit_image()
232 while ((ptr = strstr(pptr, ":"))) in get_last_jit_image()
233 pptr = ptr + 1; in get_last_jit_image()
234 ptr = pptr; in get_last_jit_image()
236 image[ulen++] = (uint8_t) strtoul(pptr, &pptr, 16); in get_last_jit_image()
237 if (ptr == pptr) { in get_last_jit_image()
243 ptr = pptr; in get_last_jit_image()
/linux/fs/xfs/scrub/
H A Dparent.c413 const struct xfs_parent_rec *pptr, in xchk_parent_iget() argument
418 xfs_ino_t parent_ino = be64_to_cpu(pptr->p_ino); in xchk_parent_iget()
443 if (VFS_I(ip)->i_generation != be32_to_cpu(pptr->p_gen)) { in xchk_parent_iget()
551 struct xfs_parent_rec *pptr) in xchk_parent_revalidate_pptr() argument
556 error = xfs_parent_lookup(sc->tp, sc->ip, xname, pptr, &pp->pptr_args); in xchk_parent_revalidate_pptr()
573 struct xfs_parent_rec *pptr) in xchk_parent_slow_pptr() argument
582 error = xchk_parent_revalidate_pptr(pp, xname, pptr); in xchk_parent_slow_pptr()
590 error = xchk_parent_iget(pp, pptr, &dp); in xchk_parent_slow_pptr()
620 error = xchk_parent_revalidate_pptr(pp, xname, pptr); in xchk_parent_slow_pptr()
646 struct xchk_pptr pptr; in xchk_parent_finish_slow_pptrs() local
[all …]
H A Dparent_repair.c295 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
339 error = xfarray_load(rp->pptr_recs, array_cur, &pptr); in xrep_parent_replay_updates()
343 error = xfblob_loadname(rp->pptr_names, pptr.name_cookie, in xrep_parent_replay_updates()
344 &rp->xname, pptr.namelen); in xrep_parent_replay_updates()
[all …]
H A Dtrace.h1464 const struct xfs_parent_rec *pptr),
1465 TP_ARGS(mp, dp, name, pptr),
1476 __entry->ino = be64_to_cpu(pptr->p_ino);
1676 const struct xfs_parent_rec *pptr),
1677 TP_ARGS(sc, ip, path_nr, name, pptr),
1693 __entry->parent_ino = be64_to_cpu(pptr->p_ino);
1694 __entry->parent_gen = be32_to_cpu(pptr->p_gen);
1712 const struct xfs_parent_rec *pptr), \
1713 TP_ARGS(sc, ip, path_nr, name, pptr))
1721 const struct xfs_parent_rec *pptr),
[all …]
/linux/net/netfilter/
H A Dxt_multiport.c88 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()
/linux/net/sched/
H A Dsch_htb.c820 struct rb_node **pptr; in htb_lookup_leaf() member
828 sp->pptr = &hprio->ptr; in htb_lookup_leaf()
832 if (!*sp->pptr && *sp->pid) { in htb_lookup_leaf()
836 *sp->pptr = in htb_lookup_leaf()
842 if (!*sp->pptr) { /* we are at right end; rewind & go up */ in htb_lookup_leaf()
843 *sp->pptr = sp->root; in htb_lookup_leaf()
844 while ((*sp->pptr)->rb_left) in htb_lookup_leaf()
845 *sp->pptr = (*sp->pptr)->rb_left; in htb_lookup_leaf()
848 if (!*sp->pptr) { in htb_lookup_leaf()
852 htb_next_rb_node(sp->pptr); in htb_lookup_leaf()
[all …]
/linux/drivers/net/ethernet/tehuti/
H A Dtehuti.c1366 static inline void __bdx_tx_db_ptr_next(struct txdb *db, struct tx_map **pptr) in __bdx_tx_db_ptr_next() argument
1368 BDX_ASSERT(db == NULL || pptr == NULL); /* sanity */ in __bdx_tx_db_ptr_next()
1370 BDX_ASSERT(*pptr != db->rptr && /* expect either read */ in __bdx_tx_db_ptr_next()
1371 *pptr != db->wptr); /* or write pointer */ in __bdx_tx_db_ptr_next()
1373 BDX_ASSERT(*pptr < db->start || /* pointer has to be */ in __bdx_tx_db_ptr_next()
1374 *pptr >= db->end); /* in range */ in __bdx_tx_db_ptr_next()
1376 ++*pptr; in __bdx_tx_db_ptr_next()
1377 if (unlikely(*pptr == db->end)) in __bdx_tx_db_ptr_next()
1378 *pptr = db->start; in __bdx_tx_db_ptr_next()
H A Dtn40.c459 struct tn40_tx_map **pptr) in tn40_do_tx_db_ptr_next() argument
461 ++*pptr; in tn40_do_tx_db_ptr_next()
462 if (unlikely(*pptr == db->end)) in tn40_do_tx_db_ptr_next()
463 *pptr = db->start; in tn40_do_tx_db_ptr_next()
/linux/drivers/parisc/
H A Dsba_iommu.c238 u64 *pptr = ioc->pdir_base; /* pdir ptr */ in sba_check_pdir() local
247 u32 pde = ((u32) (((char *)pptr)[7])) << 24; in sba_check_pdir()
259 pptr++; in sba_check_pdir()