| /OK3568_Linux_fs/kernel/net/sched/ |
| H A D | act_nat.c | 114 int noff; in tcf_nat_act() local 132 noff = skb_network_offset(skb); in tcf_nat_act() 133 if (!pskb_may_pull(skb, sizeof(*iph) + noff)) in tcf_nat_act() 144 if (skb_try_make_writable(skb, sizeof(*iph) + noff)) in tcf_nat_act() 171 if (!pskb_may_pull(skb, ihl + sizeof(*tcph) + noff) || in tcf_nat_act() 172 skb_try_make_writable(skb, ihl + sizeof(*tcph) + noff)) in tcf_nat_act() 184 if (!pskb_may_pull(skb, ihl + sizeof(*udph) + noff) || in tcf_nat_act() 185 skb_try_make_writable(skb, ihl + sizeof(*udph) + noff)) in tcf_nat_act() 201 if (!pskb_may_pull(skb, ihl + sizeof(*icmph) + noff)) in tcf_nat_act() 210 noff)) in tcf_nat_act() [all …]
|
| /OK3568_Linux_fs/kernel/fs/cifs/ |
| H A D | cifs_dfs_ref.c | 148 int off, noff; in cifs_compose_mount_options() local 210 noff = strlen(sb_mountdata + off); in cifs_compose_mount_options() 212 noff = tkn_e - (sb_mountdata + off) + 1; in cifs_compose_mount_options() 215 off += noff; in cifs_compose_mount_options() 219 off += noff; in cifs_compose_mount_options() 223 off += noff; in cifs_compose_mount_options() 226 strncat(mountdata, sb_mountdata + off, noff); in cifs_compose_mount_options() 227 off += noff; in cifs_compose_mount_options()
|
| /OK3568_Linux_fs/kernel/kernel/bpf/ |
| H A D | dispatcher.c | 108 u32 noff; in bpf_dispatcher_update() local 113 noff = 0; in bpf_dispatcher_update() 116 noff = d->image_off ^ (PAGE_SIZE / 2); in bpf_dispatcher_update() 119 new = d->num_progs ? d->image + noff : NULL; in bpf_dispatcher_update() 129 d->image_off = noff; in bpf_dispatcher_update()
|
| /OK3568_Linux_fs/kernel/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() 61 int noff = skb_network_offset(pkt->skb); in nft_fib4_eval() local 95 iph = skb_header_pointer(pkt->skb, noff, sizeof(_iph), &_iph); in nft_fib4_eval()
|
| /OK3568_Linux_fs/kernel/net/ipv6/netfilter/ |
| H A D | nft_fib_ipv6.c | 127 int noff = skb_network_offset(pkt->skb); in nft_fib6_eval_type() local 131 iph = skb_header_pointer(pkt->skb, noff, sizeof(_iph), &_iph); in nft_fib6_eval_type() 156 int noff = skb_network_offset(pkt->skb); in nft_fib6_eval() local 172 iph = skb_header_pointer(pkt->skb, noff, sizeof(_iph), &_iph); in nft_fib6_eval()
|
| /OK3568_Linux_fs/u-boot/common/ |
| H A D | fdt_support.c | 1016 int noff; in fdt_fixup_mtdparts() local 1023 noff = fdt_node_offset_by_compatible(blob, -1, ni[i].compat); in fdt_fixup_mtdparts() 1024 while (noff != -FDT_ERR_NOTFOUND) { in fdt_fixup_mtdparts() 1026 fdt_get_name(blob, noff, 0), in fdt_fixup_mtdparts() 1030 if (fdt_node_set_part_info(blob, noff, dev)) in fdt_fixup_mtdparts() 1035 noff = fdt_node_offset_by_compatible(blob, noff, in fdt_fixup_mtdparts() 1571 int noff; in fdt_add_edid() local 1574 noff = fdt_node_offset_by_compatible(blob, -1, compat); in fdt_add_edid() 1575 if (noff != -FDT_ERR_NOTFOUND) { in fdt_add_edid() 1576 debug("%s: %s\n", fdt_get_name(blob, noff, 0), compat); in fdt_add_edid() [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/net/fsl-mc/ |
| H A D | mc.c | 285 int nodeoffset = fdt_path_offset(blob, "/board_info/ports"), noff; in mc_fixup_dpc_mac_addr() local 293 noff = fdt_subnode_offset(blob, nodeoffset, (const char *)mac_name); in mc_fixup_dpc_mac_addr() 294 if (noff < 0) { in mc_fixup_dpc_mac_addr() 302 noff = fdt_add_subnode(blob, nodeoffset, mac_name); in mc_fixup_dpc_mac_addr() 303 if (noff < 0) { in mc_fixup_dpc_mac_addr() 310 err = fdt_appendprop_string(blob, noff, in mc_fixup_dpc_mac_addr() 319 return mc_fixup_mac_addr(blob, noff, "port_mac_address", eth_dev, in mc_fixup_dpc_mac_addr()
|
| /OK3568_Linux_fs/kernel/drivers/net/bonding/ |
| H A D | bond_main.c | 3594 int *noff, int *proto, bool l34) in bond_flow_ip() argument 3600 if (unlikely(!pskb_may_pull(skb, *noff + sizeof(*iph)))) in bond_flow_ip() 3602 iph = (const struct iphdr *)(skb->data + *noff); in bond_flow_ip() 3604 *noff += iph->ihl << 2; in bond_flow_ip() 3608 if (unlikely(!pskb_may_pull(skb, *noff + sizeof(*iph6)))) in bond_flow_ip() 3610 iph6 = (const struct ipv6hdr *)(skb->data + *noff); in bond_flow_ip() 3612 *noff += sizeof(*iph6); in bond_flow_ip() 3619 fk->ports.ports = skb_flow_get_ports(skb, *noff, *proto); in bond_flow_ip() 3629 int noff, proto = -1; in bond_flow_dissect() local 3639 noff = skb_network_offset(skb); in bond_flow_dissect() [all …]
|
| /OK3568_Linux_fs/kernel/tools/perf/util/ |
| H A D | probe-finder.c | 1157 Dwarf_Off off, noff; in debuginfo__find_probe_location() local 1190 while (!dwarf_nextcu(dbg->dbg, off, &noff, &cuhl, NULL, NULL, NULL)) { in debuginfo__find_probe_location() 1214 off = noff; in debuginfo__find_probe_location() 1925 Dwarf_Off off = 0, noff; in debuginfo__find_line_range() local 1949 if (dwarf_nextcu(dbg->dbg, off, &noff, &cuhl, in debuginfo__find_line_range() 1973 off = noff; in debuginfo__find_line_range()
|
| /OK3568_Linux_fs/kernel/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()
|