Home
last modified time | relevance | path

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

/linux-4.1.27/fs/hfsplus/
Dbitmap.c24 __be32 *pptr, *curr, *end; in hfsplus_block_allocate() local
41 pptr = kmap(page); in hfsplus_block_allocate()
42 curr = pptr + (offset & (PAGE_CACHE_BITS - 1)) / 32; in hfsplus_block_allocate()
46 end = pptr + PAGE_CACHE_BITS / 32; in hfsplus_block_allocate()
48 end = pptr + ((size + 31) & (PAGE_CACHE_BITS - 1)) / 32; in hfsplus_block_allocate()
86 curr = pptr = kmap(page); in hfsplus_block_allocate()
88 end = pptr + PAGE_CACHE_BITS / 32; in hfsplus_block_allocate()
90 end = pptr + ((size + 31) & (PAGE_CACHE_BITS - 1)) / 32; in hfsplus_block_allocate()
97 start = offset + (curr - pptr) * 32 + i; in hfsplus_block_allocate()
137 pptr = kmap(page); in hfsplus_block_allocate()
[all …]
/linux-4.1.27/net/bridge/netfilter/
Debt_ip6.c42 const union pkthdr *pptr; in ebt_ip6_mt() local
73 pptr = skb_header_pointer(skb, offset_ph, sizeof(_pkthdr), in ebt_ip6_mt()
75 if (pptr == NULL) in ebt_ip6_mt()
78 u16 dst = ntohs(pptr->tcpudphdr.dst); in ebt_ip6_mt()
84 u16 src = ntohs(pptr->tcpudphdr.src); in ebt_ip6_mt()
90 FWINV(pptr->icmphdr.type < info->icmpv6_type[0] || in ebt_ip6_mt()
91 pptr->icmphdr.type > info->icmpv6_type[1] || in ebt_ip6_mt()
92 pptr->icmphdr.code < info->icmpv6_code[0] || in ebt_ip6_mt()
93 pptr->icmphdr.code > info->icmpv6_code[1], in ebt_ip6_mt()
Debt_ip.c33 const struct tcpudphdr *pptr; in ebt_ip_mt() local
58 pptr = skb_header_pointer(skb, ih->ihl*4, in ebt_ip_mt()
60 if (pptr == NULL) in ebt_ip_mt()
63 u32 dst = ntohs(pptr->dst); in ebt_ip_mt()
70 u32 src = ntohs(pptr->src); in ebt_ip_mt()
Debt_log.c61 const struct tcpudphdr *pptr; in print_ports() local
64 pptr = skb_header_pointer(skb, offset, in print_ports()
66 if (pptr == NULL) { in print_ports()
70 printk(" SPT=%u DPT=%u", ntohs(pptr->src), ntohs(pptr->dst)); in print_ports()
/linux-4.1.27/tools/net/
Dbpf_jit_disasm.c111 char *ptr, *pptr, *tmp; in get_last_jit_image() local
149 pptr = ptr; in get_last_jit_image()
150 while ((ptr = strstr(pptr, ":"))) in get_last_jit_image()
151 pptr = ptr + 1; in get_last_jit_image()
152 ptr = pptr; in get_last_jit_image()
154 image[ulen++] = (uint8_t) strtoul(pptr, &pptr, 16); in get_last_jit_image()
155 if (ptr == pptr || ulen >= ilen) { in get_last_jit_image()
159 ptr = pptr; in get_last_jit_image()
/linux-4.1.27/net/netfilter/ipvs/
Dip_vs_proto.c253 __be16 _ports[2], *pptr; in ip_vs_tcpudp_debug_packet_v4() local
255 pptr = skb_header_pointer(skb, offset + ih->ihl*4, in ip_vs_tcpudp_debug_packet_v4()
257 if (pptr == NULL) in ip_vs_tcpudp_debug_packet_v4()
262 &ih->saddr, ntohs(pptr[0]), in ip_vs_tcpudp_debug_packet_v4()
263 &ih->daddr, ntohs(pptr[1])); in ip_vs_tcpudp_debug_packet_v4()
285 __be16 _ports[2], *pptr; in ip_vs_tcpudp_debug_packet_v6() local
287 pptr = skb_header_pointer(skb, offset + sizeof(struct ipv6hdr), in ip_vs_tcpudp_debug_packet_v6()
289 if (pptr == NULL) in ip_vs_tcpudp_debug_packet_v6()
294 &ih->saddr, ntohs(pptr[0]), in ip_vs_tcpudp_debug_packet_v6()
295 &ih->daddr, ntohs(pptr[1])); in ip_vs_tcpudp_debug_packet_v6()
Dip_vs_core.c421 __be16 _ports[2], *pptr; in ip_vs_schedule() local
428 pptr = frag_safe_skb_hp(skb, iph->len, sizeof(_ports), _ports, iph); in ip_vs_schedule()
429 if (pptr == NULL) in ip_vs_schedule()
438 if (pptr[0] == FTPDATA) { in ip_vs_schedule()
459 return ip_vs_sched_persist(svc, skb, pptr[0], pptr[1], ignored, in ip_vs_schedule()
467 if (!svc->fwmark && pptr[1] != svc->port) { in ip_vs_schedule()
499 &iph->saddr, pptr[0], &iph->daddr, in ip_vs_schedule()
500 pptr[1], &p); in ip_vs_schedule()
502 dest->port ? dest->port : pptr[1], in ip_vs_schedule()
531 __be16 _ports[2], *pptr; in ip_vs_leave() local
[all …]
Dip_vs_conn.c321 __be16 _ports[2], *pptr; in ip_vs_conn_fill_param_proto() local
324 pptr = frag_safe_skb_hp(skb, iph->len, sizeof(_ports), _ports, iph); in ip_vs_conn_fill_param_proto()
325 if (pptr == NULL) in ip_vs_conn_fill_param_proto()
330 pptr[0], &iph->daddr, pptr[1], p); in ip_vs_conn_fill_param_proto()
333 pptr[1], &iph->saddr, pptr[0], p); in ip_vs_conn_fill_param_proto()
/linux-4.1.27/net/netfilter/
Dxt_multiport.c77 const __be16 *pptr; in multiport_mt() local
84 pptr = skb_header_pointer(skb, par->thoff, sizeof(_ports), _ports); in multiport_mt()
85 if (pptr == NULL) { in multiport_mt()
94 return ports_match_v1(multiinfo, ntohs(pptr[0]), ntohs(pptr[1])); in multiport_mt()
Dxt_AUDIT.c41 const __be16 *pptr; in audit_proto() local
44 pptr = skb_header_pointer(skb, offset, sizeof(_ports), _ports); in audit_proto()
45 if (pptr == NULL) { in audit_proto()
51 ntohs(pptr[0]), ntohs(pptr[1])); in audit_proto()
/linux-4.1.27/net/sched/
Dsch_htb.c760 struct rb_node **pptr; in htb_lookup_leaf() member
766 sp->pptr = &hprio->ptr; in htb_lookup_leaf()
770 if (!*sp->pptr && *sp->pid) { in htb_lookup_leaf()
774 *sp->pptr = in htb_lookup_leaf()
780 if (!*sp->pptr) { /* we are at right end; rewind & go up */ in htb_lookup_leaf()
781 *sp->pptr = sp->root; in htb_lookup_leaf()
782 while ((*sp->pptr)->rb_left) in htb_lookup_leaf()
783 *sp->pptr = (*sp->pptr)->rb_left; in htb_lookup_leaf()
786 if (!*sp->pptr) { in htb_lookup_leaf()
790 htb_next_rb_node(sp->pptr); in htb_lookup_leaf()
[all …]
/linux-4.1.27/net/decnet/
Ddn_nsp_in.c182 static inline int dn_check_idf(unsigned char **pptr, int *len, unsigned char max, unsigned char fol… in dn_check_idf() argument
184 unsigned char *ptr = *pptr; in dn_check_idf()
194 *pptr = ptr + flen; in dn_check_idf()
/linux-4.1.27/drivers/net/ethernet/tehuti/
Dtehuti.c1396 static inline void __bdx_tx_db_ptr_next(struct txdb *db, struct tx_map **pptr) in __bdx_tx_db_ptr_next() argument
1398 BDX_ASSERT(db == NULL || pptr == NULL); /* sanity */ in __bdx_tx_db_ptr_next()
1400 BDX_ASSERT(*pptr != db->rptr && /* expect either read */ in __bdx_tx_db_ptr_next()
1401 *pptr != db->wptr); /* or write pointer */ in __bdx_tx_db_ptr_next()
1403 BDX_ASSERT(*pptr < db->start || /* pointer has to be */ in __bdx_tx_db_ptr_next()
1404 *pptr >= db->end); /* in range */ in __bdx_tx_db_ptr_next()
1406 ++*pptr; in __bdx_tx_db_ptr_next()
1407 if (unlikely(*pptr == db->end)) in __bdx_tx_db_ptr_next()
1408 *pptr = db->start; in __bdx_tx_db_ptr_next()
/linux-4.1.27/sound/sparc/
Ddbri.c2489 struct dbri_pipe *pptr = &dbri->pipes[pipe]; in dbri_debug_read() local
2494 (pptr->sdp & D_SDP_TO_SER) ? "output" : in dbri_debug_read()
2496 pptr->sdp, pptr->desc, in dbri_debug_read()
2497 pptr->length, pptr->nextpipe); in dbri_debug_read()
/linux-4.1.27/drivers/parisc/
Dsba_iommu.c234 u64 *pptr = ioc->pdir_base; /* pdir ptr */ in sba_check_pdir() local
243 u32 pde = ((u32) (((char *)pptr)[7])) << 24; in sba_check_pdir()
255 pptr++; in sba_check_pdir()
/linux-4.1.27/arch/ia64/hp/common/
Dsba_iommu.c352 u64 *pptr = ioc->pdir_base; /* pdir ptr */ in sba_check_pdir() local
364 u32 pde = ((u32)((*pptr >> (63)) & 0x1)); in sba_check_pdir()
376 pptr++; in sba_check_pdir()