| /linux/net/sched/ |
| H A D | act_nat.c | 129 int noff; in tcf_nat_act() local 144 noff = skb_network_offset(skb); in tcf_nat_act() 145 if (!pskb_may_pull(skb, sizeof(*iph) + noff)) in tcf_nat_act() 156 if (skb_try_make_writable(skb, sizeof(*iph) + noff)) in tcf_nat_act() 183 if (!pskb_may_pull(skb, ihl + sizeof(*tcph) + noff) || in tcf_nat_act() 184 skb_try_make_writable(skb, ihl + sizeof(*tcph) + noff)) in tcf_nat_act() 196 if (!pskb_may_pull(skb, ihl + sizeof(*udph) + noff) || in tcf_nat_act() 197 skb_try_make_writable(skb, ihl + sizeof(*udph) + noff)) in tcf_nat_act() 213 if (!pskb_may_pull(skb, ihl + sizeof(*icmph) + noff)) in tcf_nat_act() 222 noff)) in tcf_nat_act() [all …]
|
| H A D | act_pedit.c | 334 const int noff = skb_network_offset(skb); in pedit_l4_skb_offset() local 340 const struct iphdr *iph = skb_header_pointer(skb, noff, sizeof(_iph), &_iph); in pedit_l4_skb_offset() 344 *hoffset = noff + iph->ihl * 4; in pedit_l4_skb_offset()
|
| /linux/kernel/bpf/ |
| H A D | dispatcher.c | 109 u32 noff = 0; in bpf_dispatcher_update() local 112 noff = d->image_off ^ (PAGE_SIZE / 2); in bpf_dispatcher_update() 114 new = d->num_progs ? d->image + noff : NULL; in bpf_dispatcher_update() 115 tmp = d->num_progs ? d->rw_image + noff : NULL; in bpf_dispatcher_update() 134 d->image_off = noff; in bpf_dispatcher_update()
|
| /linux/net/ipv4/netfilter/ |
| H A D | nft_fib_ipv4.c | 31 int noff = skb_network_offset(pkt->skb); in nft_fib4_eval_type() local 42 iph = skb_header_pointer(pkt->skb, noff, sizeof(_iph), &_iph); in nft_fib4_eval_type() 66 int noff = skb_network_offset(pkt->skb); in nft_fib4_eval() local 100 iph = skb_header_pointer(pkt->skb, noff, sizeof(_iph), &_iph); in nft_fib4_eval()
|
| /linux/net/ipv6/netfilter/ |
| H A D | nft_fib_ipv6.c | 130 int noff = skb_network_offset(pkt->skb); in nft_fib6_eval_type() local 134 iph = skb_header_pointer(pkt->skb, noff, sizeof(_iph), &_iph); in nft_fib6_eval_type() 159 int noff = skb_network_offset(pkt->skb); in nft_fib6_eval() local 182 iph = skb_header_pointer(pkt->skb, noff, sizeof(_iph), &_iph); in nft_fib6_eval()
|
| /linux/tools/perf/util/ |
| H A D | probe-finder.c | 1064 Dwarf_Off off, noff; in debuginfo__find_probe_location() local 1097 while (!dwarf_nextcu(dbg->dbg, off, &noff, &cuhl, NULL, NULL, NULL)) { in debuginfo__find_probe_location() 1101 off = noff; in debuginfo__find_probe_location() 1123 off = noff; in debuginfo__find_probe_location() 1829 Dwarf_Off off = 0, noff; in debuginfo__find_line_range() local 1853 if (dwarf_nextcu(dbg->dbg, off, &noff, &cuhl, in debuginfo__find_line_range() 1860 off = noff; in debuginfo__find_line_range() 1879 off = noff; in debuginfo__find_line_range()
|
| /linux/sound/soc/codecs/ |
| H A D | wcd938x.c | 193 u16 noff; member 2068 s16 *d1_a, u16 noff, in wcd938x_mbhc_get_result_params() argument 2103 denom = (x1 * d1) - (1 << (14 - noff)); in wcd938x_mbhc_get_result_params() 2106 else if (x1 < minCode_param[noff]) in wcd938x_mbhc_get_result_params() 2143 WCD938X_ZDET_RANGE_CTL_MASK, zdet_param->noff); in wcd938x_mbhc_zdet_ramp() 2153 __func__, zdet_param->noff); in wcd938x_mbhc_zdet_ramp() 2154 wcd938x_mbhc_get_result_params(component, d1_a, zdet_param->noff, &zdet); in wcd938x_mbhc_zdet_ramp() 2167 __func__, zdet_param->noff); in wcd938x_mbhc_zdet_ramp() 2168 wcd938x_mbhc_get_result_params(component, d1_a, zdet_param->noff, &zdet); in wcd938x_mbhc_zdet_ramp() 2286 (zdet_param_ptr->noff == 0x6)) || in wcd938x_wcd_mbhc_calc_impedance()
|
| H A D | wcd937x.c | 121 u16 noff; member 1530 s16 *d1_a, u16 noff, in wcd937x_mbhc_get_result_params() argument 1565 denom = (x1 * d1) - (1 << (14 - noff)); in wcd937x_mbhc_get_result_params() 1568 else if (x1 < minCode_param[noff]) in wcd937x_mbhc_get_result_params() 1605 WCD937X_ZDET_RANGE_CTL_MASK, zdet_param->noff); in wcd937x_mbhc_zdet_ramp() 1614 wcd937x_mbhc_get_result_params(component, d1_a, zdet_param->noff, &zdet); in wcd937x_mbhc_zdet_ramp() 1626 wcd937x_mbhc_get_result_params(component, d1_a, zdet_param->noff, &zdet); in wcd937x_mbhc_zdet_ramp() 1742 zdet_param_ptr->noff == 0x6) || in wcd937x_wcd_mbhc_calc_impedance()
|
| H A D | wcd939x.c | 166 u16 noff; member 2031 .noff = 0, 2075 denom = (x1 * d1) - (1 << (14 - zdet_param->noff)); in wcd939x_mbhc_get_result_params() 2078 else if (x1 < wcd939x_mbhc_mincode_param[zdet_param->noff]) in wcd939x_mbhc_get_result_params() 2112 WCD939X_ZDET_ANA_CTL_RANGE_CTL, zdet_param->noff); in wcd939x_mbhc_zdet_ramp() 2125 __func__, zdet_param->noff); in wcd939x_mbhc_zdet_ramp() 2140 __func__, zdet_param->noff); in wcd939x_mbhc_zdet_ramp()
|
| H A D | wcd934x.c | 488 u16 noff; member 2582 s16 *d1_a, u16 noff, in wcd934x_mbhc_get_result_params() argument 2616 denom = (x1 * d1) - (1 << (14 - noff)); in wcd934x_mbhc_get_result_params() 2619 else if (x1 < minCode_param[noff]) in wcd934x_mbhc_get_result_params() 2655 WCD934X_ZDET_RANGE_CTL_MASK, zdet_param->noff); in wcd934x_mbhc_zdet_ramp() 2663 wcd934x_mbhc_get_result_params(wcd934x, d1_a, zdet_param->noff, &zdet); in wcd934x_mbhc_zdet_ramp() 2673 wcd934x_mbhc_get_result_params(wcd934x, d1_a, zdet_param->noff, &zdet); in wcd934x_mbhc_zdet_ramp() 2779 (zdet_param_ptr->noff == 0x6)) || in wcd934x_wcd_mbhc_calc_impedance()
|
| /linux/net/netfilter/ |
| H A D | nft_meta.c | 98 int noff = skb_network_offset(skb); in nft_meta_get_eval_pkttype_lo() local 101 iph = skb_header_pointer(skb, noff, in nft_meta_get_eval_pkttype_lo()
|
| /linux/fs/smb/client/ |
| H A D | smb2ops.c | 5163 unsigned int *noff) in smb2_next_header() argument 5169 *noff = le32_to_cpu(t_hdr->OriginalMessageSize); in smb2_next_header() 5170 if (unlikely(check_add_overflow(*noff, sizeof(*t_hdr), noff))) in smb2_next_header() 5173 *noff = le32_to_cpu(hdr->NextCommand); in smb2_next_header() 5175 if (unlikely(*noff && *noff < MID_HEADER_SIZE(server))) in smb2_next_header()
|
| H A D | smb2pdu.c | 2397 size_t noff, nlen; in smb2_parse_contexts() local 2423 noff = le16_to_cpu(cc->NameOffset); in smb2_parse_contexts() 2425 if (noff + nlen > doff) in smb2_parse_contexts() 2428 name = (char *)cc + noff; in smb2_parse_contexts()
|
| H A D | cifsglob.h | 605 unsigned int *noff);
|
| /linux/drivers/net/bonding/ |
| H A D | bond_main.c | 4966 int noff = skb_network_offset(skb); in bond_xmit_roundrobin_slave_get() local 4969 if (unlikely(!pskb_may_pull(skb, noff + sizeof(*iph)))) in bond_xmit_roundrobin_slave_get()
|
| /linux/fs/xfs/ |
| H A D | xfs_trace.h | 5577 __field(xfs_fileoff_t, noff) 5594 __entry->noff = new->br_startoff; 5607 __entry->noff, __entry->nstart, __entry->ncount,
|