hook 19 arch/arm/include/asm/traps.h void register_undef_hook(struct undef_hook *hook); hook 20 arch/arm/include/asm/traps.h void unregister_undef_hook(struct undef_hook *hook); hook 401 arch/arm/kernel/traps.c void register_undef_hook(struct undef_hook *hook) hook 406 arch/arm/kernel/traps.c list_add(&hook->node, &undef_hook); hook 410 arch/arm/kernel/traps.c void unregister_undef_hook(struct undef_hook *hook) hook 415 arch/arm/kernel/traps.c list_del(&hook->node); hook 422 arch/arm/kernel/traps.c struct undef_hook *hook; hook 427 arch/arm/kernel/traps.c list_for_each_entry(hook, &undef_hook, node) hook 428 arch/arm/kernel/traps.c if ((instr & hook->instr_mask) == hook->instr_val && hook 429 arch/arm/kernel/traps.c (regs->ARM_cpsr & hook->cpsr_mask) == hook->cpsr_val) hook 430 arch/arm/kernel/traps.c fn = hook->fn; hook 81 arch/arm64/include/asm/debug-monitors.h void register_user_step_hook(struct step_hook *hook); hook 82 arch/arm64/include/asm/debug-monitors.h void unregister_user_step_hook(struct step_hook *hook); hook 84 arch/arm64/include/asm/debug-monitors.h void register_kernel_step_hook(struct step_hook *hook); hook 85 arch/arm64/include/asm/debug-monitors.h void unregister_kernel_step_hook(struct step_hook *hook); hook 94 arch/arm64/include/asm/debug-monitors.h void register_user_break_hook(struct break_hook *hook); hook 95 arch/arm64/include/asm/debug-monitors.h void unregister_user_break_hook(struct break_hook *hook); hook 97 arch/arm64/include/asm/debug-monitors.h void register_kernel_break_hook(struct break_hook *hook); hook 98 arch/arm64/include/asm/debug-monitors.h void unregister_kernel_break_hook(struct break_hook *hook); hook 25 arch/arm64/include/asm/traps.h void register_undef_hook(struct undef_hook *hook); hook 26 arch/arm64/include/asm/traps.h void unregister_undef_hook(struct undef_hook *hook); hook 65 arch/arm64/kernel/armv8_deprecated.c struct undef_hook *hook; hook 69 arch/arm64/kernel/armv8_deprecated.c for (hook = ops->hooks; hook->instr_mask; hook++) hook 70 arch/arm64/kernel/armv8_deprecated.c register_undef_hook(hook); hook 77 arch/arm64/kernel/armv8_deprecated.c struct undef_hook *hook; hook 81 arch/arm64/kernel/armv8_deprecated.c for (hook = ops->hooks; hook->instr_mask; hook++) hook 82 arch/arm64/kernel/armv8_deprecated.c unregister_undef_hook(hook); hook 176 arch/arm64/kernel/debug-monitors.c void register_user_step_hook(struct step_hook *hook) hook 178 arch/arm64/kernel/debug-monitors.c register_debug_hook(&hook->node, &user_step_hook); hook 181 arch/arm64/kernel/debug-monitors.c void unregister_user_step_hook(struct step_hook *hook) hook 183 arch/arm64/kernel/debug-monitors.c unregister_debug_hook(&hook->node); hook 186 arch/arm64/kernel/debug-monitors.c void register_kernel_step_hook(struct step_hook *hook) hook 188 arch/arm64/kernel/debug-monitors.c register_debug_hook(&hook->node, &kernel_step_hook); hook 191 arch/arm64/kernel/debug-monitors.c void unregister_kernel_step_hook(struct step_hook *hook) hook 193 arch/arm64/kernel/debug-monitors.c unregister_debug_hook(&hook->node); hook 204 arch/arm64/kernel/debug-monitors.c struct step_hook *hook; hook 214 arch/arm64/kernel/debug-monitors.c list_for_each_entry_rcu(hook, list, node) { hook 215 arch/arm64/kernel/debug-monitors.c retval = hook->fn(regs, esr); hook 280 arch/arm64/kernel/debug-monitors.c void register_user_break_hook(struct break_hook *hook) hook 282 arch/arm64/kernel/debug-monitors.c register_debug_hook(&hook->node, &user_break_hook); hook 285 arch/arm64/kernel/debug-monitors.c void unregister_user_break_hook(struct break_hook *hook) hook 287 arch/arm64/kernel/debug-monitors.c unregister_debug_hook(&hook->node); hook 290 arch/arm64/kernel/debug-monitors.c void register_kernel_break_hook(struct break_hook *hook) hook 292 arch/arm64/kernel/debug-monitors.c register_debug_hook(&hook->node, &kernel_break_hook); hook 295 arch/arm64/kernel/debug-monitors.c void unregister_kernel_break_hook(struct break_hook *hook) hook 297 arch/arm64/kernel/debug-monitors.c unregister_debug_hook(&hook->node); hook 302 arch/arm64/kernel/debug-monitors.c struct break_hook *hook; hook 312 arch/arm64/kernel/debug-monitors.c list_for_each_entry_rcu(hook, list, node) { hook 315 arch/arm64/kernel/debug-monitors.c if ((comment & ~hook->mask) == hook->imm) hook 316 arch/arm64/kernel/debug-monitors.c fn = hook->fn; hook 286 arch/arm64/kernel/traps.c void register_undef_hook(struct undef_hook *hook) hook 291 arch/arm64/kernel/traps.c list_add(&hook->node, &undef_hook); hook 295 arch/arm64/kernel/traps.c void unregister_undef_hook(struct undef_hook *hook) hook 300 arch/arm64/kernel/traps.c list_del(&hook->node); hook 306 arch/arm64/kernel/traps.c struct undef_hook *hook; hook 340 arch/arm64/kernel/traps.c list_for_each_entry(hook, &undef_hook, node) hook 341 arch/arm64/kernel/traps.c if ((instr & hook->instr_mask) == hook->instr_val && hook 342 arch/arm64/kernel/traps.c (regs->pstate & hook->pstate_mask) == hook->pstate_val) hook 343 arch/arm64/kernel/traps.c fn = hook->fn; hook 681 arch/arm64/kernel/traps.c const struct sys64_hook *hook, *hook_base; hook 704 arch/arm64/kernel/traps.c for (hook = hook_base; hook->handler; hook++) hook 705 arch/arm64/kernel/traps.c if ((hook->esr_mask & esr) == hook->esr_val) { hook 706 arch/arm64/kernel/traps.c hook->handler(esr, regs); hook 721 arch/arm64/kernel/traps.c const struct sys64_hook *hook; hook 723 arch/arm64/kernel/traps.c for (hook = sys64_hooks; hook->handler; hook++) hook 724 arch/arm64/kernel/traps.c if ((hook->esr_mask & esr) == hook->esr_val) { hook 725 arch/arm64/kernel/traps.c hook->handler(esr, regs); hook 69 arch/csky/kernel/ftrace.c static int ftrace_check_current_nop(unsigned long hook) hook 72 arch/csky/kernel/ftrace.c unsigned long hook_pos = hook - 2; hook 89 arch/csky/kernel/ftrace.c static int ftrace_modify_code(unsigned long hook, unsigned long target, hook 94 arch/csky/kernel/ftrace.c unsigned long hook_pos = hook - 2; hook 97 arch/csky/kernel/ftrace.c make_jbsr(target, hook, call, nolr); hook 725 arch/s390/include/asm/kvm_host.h int (*hook)(struct kvm_vcpu *vcpu); hook 664 arch/s390/kvm/priv.c ret = vcpu->kvm->arch.crypto.pqap_hook->hook(vcpu); hook 696 drivers/acpi/battery.c static void __battery_hook_unregister(struct acpi_battery_hook *hook, int lock) hook 706 drivers/acpi/battery.c hook->remove_battery(battery->bat); hook 708 drivers/acpi/battery.c list_del(&hook->list); hook 711 drivers/acpi/battery.c pr_info("extension unregistered: %s\n", hook->name); hook 714 drivers/acpi/battery.c void battery_hook_unregister(struct acpi_battery_hook *hook) hook 716 drivers/acpi/battery.c __battery_hook_unregister(hook, 1); hook 720 drivers/acpi/battery.c void battery_hook_register(struct acpi_battery_hook *hook) hook 725 drivers/acpi/battery.c INIT_LIST_HEAD(&hook->list); hook 726 drivers/acpi/battery.c list_add(&hook->list, &battery_hook_list); hook 734 drivers/acpi/battery.c if (hook->add_battery(battery->bat)) { hook 741 drivers/acpi/battery.c pr_err("extension failed to load: %s", hook->name); hook 742 drivers/acpi/battery.c __battery_hook_unregister(hook, 0); hook 746 drivers/acpi/battery.c pr_info("new extension: %s\n", hook->name); hook 787 drivers/acpi/battery.c struct acpi_battery_hook *hook; hook 794 drivers/acpi/battery.c list_for_each_entry(hook, &battery_hook_list, list) { hook 795 drivers/acpi/battery.c hook->remove_battery(battery->bat); hook 804 drivers/acpi/battery.c struct acpi_battery_hook *hook; hook 811 drivers/acpi/battery.c list_for_each_entry_safe(hook, ptr, &battery_hook_list, list) { hook 812 drivers/acpi/battery.c __battery_hook_unregister(hook, 1); hook 60 drivers/gpu/drm/i915/display/intel_quirks.c void (*hook)(struct drm_i915_private *i915); hook 65 drivers/gpu/drm/i915/display/intel_quirks.c void (*hook)(struct drm_i915_private *i915); hook 87 drivers/gpu/drm/i915/display/intel_quirks.c .hook = quirk_invert_brightness, hook 164 drivers/gpu/drm/i915/display/intel_quirks.c q->hook(i915); hook 168 drivers/gpu/drm/i915/display/intel_quirks.c intel_dmi_quirks[i].hook(i915); hook 45 drivers/gpu/drm/i915/i915_request.c void (*hook)(struct i915_request *rq, struct dma_fence *signal); hook 135 drivers/gpu/drm/i915/i915_request.c cb->hook(container_of(cb->fence, struct i915_request, submit), hook 338 drivers/gpu/drm/i915/i915_request.c void (*hook)(struct i915_request *rq, hook 345 drivers/gpu/drm/i915/i915_request.c if (hook) hook 346 drivers/gpu/drm/i915/i915_request.c hook(rq, &signal->fence); hook 358 drivers/gpu/drm/i915/i915_request.c if (hook) { hook 359 drivers/gpu/drm/i915/i915_request.c cb->hook = hook; hook 366 drivers/gpu/drm/i915/i915_request.c if (hook) { hook 367 drivers/gpu/drm/i915/i915_request.c hook(rq, &signal->fence); hook 995 drivers/gpu/drm/i915/i915_request.c void (*hook)(struct i915_request *rq, hook 1025 drivers/gpu/drm/i915/i915_request.c hook, hook 292 drivers/gpu/drm/i915/i915_request.h void (*hook)(struct i915_request *rq, hook 696 drivers/infiniband/hw/qib/qib.h diag_hook hook; hook 796 drivers/infiniband/hw/qib/qib_diag.c ret = op->hook(dd, op, offset, &data64, 0, use_32); hook 879 drivers/infiniband/hw/qib/qib_diag.c ret = op->hook(dd, op, offset, &data64, ~0Ull, hook 481 drivers/misc/mei/bus-fixup.c void (*hook)(struct mei_cl_device *cldev); hook 507 drivers/misc/mei/bus-fixup.c f->hook(cldev); hook 112 drivers/net/ipvlan/ipvlan_l3s.c .hook = ipvlan_nf_input, hook 119 drivers/net/ipvlan/ipvlan_l3s.c .hook = ipvlan_nf_input, hook 904 drivers/net/vrf.c static struct sk_buff *vrf_rcv_nfhook(u8 pf, unsigned int hook, hook 910 drivers/net/vrf.c if (nf_hook(pf, hook, net, NULL, skb, dev, NULL, vrf_rcv_finish) != 1) hook 68 drivers/pci/quirks.c void (*hook)(struct pci_dev *dev); hook 70 drivers/pci/quirks.c hook = offset_to_ptr(&f->hook_offset); hook 72 drivers/pci/quirks.c hook = f->hook; hook 74 drivers/pci/quirks.c calltime = fixup_debug_start(dev, hook); hook 75 drivers/pci/quirks.c hook(dev); hook 76 drivers/pci/quirks.c fixup_debug_report(dev, calltime, hook); hook 340 drivers/s390/crypto/vfio_ap_ops.c matrix_mdev->pqap_hook.hook = handle_pqap; hook 18 include/acpi/battery.h void battery_hook_register(struct acpi_battery_hook *hook); hook 19 include/acpi/battery.h void battery_hook_unregister(struct acpi_battery_hook *hook); hook 90 include/linux/if_frad.h extern void dlci_ioctl_set(int (*hook)(unsigned int, void __user *)); hook 68 include/linux/if_vlan.h extern void vlan_ioctl_set(int (*hook)(struct net *, void __user *)); hook 2072 include/linux/lsm_hooks.h union security_list_options hook; hook 2095 include/linux/lsm_hooks.h { .head = &security_hook_heads.HEAD, .hook = { .HEAD = HOOK } } hook 67 include/linux/netfilter.h unsigned int hook; hook 81 include/linux/netfilter.h nf_hookfn *hook; hook 91 include/linux/netfilter.h nf_hookfn *hook; hook 135 include/linux/netfilter.h return entry->hook(entry->priv, skb, state); hook 139 include/linux/netfilter.h unsigned int hook, hook 147 include/linux/netfilter.h p->hook = hook; hook 209 include/linux/netfilter.h static inline int nf_hook(u_int8_t pf, unsigned int hook, struct net *net, hook 219 include/linux/netfilter.h __builtin_constant_p(hook) && hook 220 include/linux/netfilter.h !static_key_false(&nf_hooks_needed[pf][hook])) hook 227 include/linux/netfilter.h hook_head = rcu_dereference(net->nf.hooks_ipv4[hook]); hook 230 include/linux/netfilter.h hook_head = rcu_dereference(net->nf.hooks_ipv6[hook]); hook 234 include/linux/netfilter.h if (WARN_ON_ONCE(hook >= ARRAY_SIZE(net->nf.hooks_arp))) hook 236 include/linux/netfilter.h hook_head = rcu_dereference(net->nf.hooks_arp[hook]); hook 241 include/linux/netfilter.h hook_head = rcu_dereference(net->nf.hooks_bridge[hook]); hook 246 include/linux/netfilter.h hook_head = rcu_dereference(net->nf.hooks_decnet[hook]); hook 257 include/linux/netfilter.h nf_hook_state_init(&state, hook, pf, indev, outdev, hook 285 include/linux/netfilter.h NF_HOOK_COND(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, hook 293 include/linux/netfilter.h ((ret = nf_hook(pf, hook, net, sk, skb, in, out, okfn)) == 1)) hook 299 include/linux/netfilter.h NF_HOOK(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, struct sk_buff *skb, hook 303 include/linux/netfilter.h int ret = nf_hook(pf, hook, net, sk, skb, in, out, okfn); hook 310 include/linux/netfilter.h NF_HOOK_LIST(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, hook 320 include/linux/netfilter.h if (nf_hook(pf, hook, net, sk, skb, in, out, okfn) == 1) hook 342 include/linux/netfilter.h __sum16 nf_checksum(struct sk_buff *skb, unsigned int hook, hook 346 include/linux/netfilter.h __sum16 nf_checksum_partial(struct sk_buff *skb, unsigned int hook, hook 387 include/linux/netfilter.h NF_HOOK_COND(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, hook 396 include/linux/netfilter.h NF_HOOK(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, hook 404 include/linux/netfilter.h NF_HOOK_LIST(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, hook 411 include/linux/netfilter.h static inline int nf_hook(u_int8_t pf, unsigned int hook, struct net *net, hook 71 include/linux/netfilter/x_tables.h return par->state->hook; hook 24 include/linux/netfilter_ipv4.h __sum16 nf_ip_checksum(struct sk_buff *skb, unsigned int hook, hook 29 include/linux/netfilter_ipv4.h static inline __sum16 nf_ip_checksum(struct sk_buff *skb, unsigned int hook, hook 215 include/linux/netfilter_ipv6.h __sum16 nf_ip6_checksum(struct sk_buff *skb, unsigned int hook, hook 1884 include/linux/pci.h void (*hook)(struct pci_dev *dev); hook 1901 include/linux/pci.h class_shift, hook) \ hook 1902 include/linux/pci.h __ADDRESSABLE(hook) \ hook 1907 include/linux/pci.h ".long " #hook " - . \n" \ hook 1910 include/linux/pci.h class_shift, hook) \ hook 1912 include/linux/pci.h class_shift, hook) hook 1916 include/linux/pci.h class_shift, hook) \ hook 1919 include/linux/pci.h = { vendor, device, class, class_shift, hook }; hook 1923 include/linux/pci.h class_shift, hook) \ hook 1925 include/linux/pci.h hook, vendor, device, class, class_shift, hook) hook 1927 include/linux/pci.h class_shift, hook) \ hook 1929 include/linux/pci.h hook, vendor, device, class, class_shift, hook) hook 1931 include/linux/pci.h class_shift, hook) \ hook 1933 include/linux/pci.h hook, vendor, device, class, class_shift, hook) hook 1935 include/linux/pci.h class_shift, hook) \ hook 1937 include/linux/pci.h hook, vendor, device, class, class_shift, hook) hook 1939 include/linux/pci.h class_shift, hook) \ hook 1941 include/linux/pci.h resume##hook, vendor, device, class, class_shift, hook) hook 1943 include/linux/pci.h class_shift, hook) \ hook 1945 include/linux/pci.h resume_early##hook, vendor, device, class, class_shift, hook) hook 1947 include/linux/pci.h class_shift, hook) \ hook 1949 include/linux/pci.h suspend##hook, vendor, device, class, class_shift, hook) hook 1951 include/linux/pci.h class_shift, hook) \ hook 1953 include/linux/pci.h suspend_late##hook, vendor, device, class, class_shift, hook) hook 1955 include/linux/pci.h #define DECLARE_PCI_FIXUP_EARLY(vendor, device, hook) \ hook 1957 include/linux/pci.h hook, vendor, device, PCI_ANY_ID, 0, hook) hook 1958 include/linux/pci.h #define DECLARE_PCI_FIXUP_HEADER(vendor, device, hook) \ hook 1960 include/linux/pci.h hook, vendor, device, PCI_ANY_ID, 0, hook) hook 1961 include/linux/pci.h #define DECLARE_PCI_FIXUP_FINAL(vendor, device, hook) \ hook 1963 include/linux/pci.h hook, vendor, device, PCI_ANY_ID, 0, hook) hook 1964 include/linux/pci.h #define DECLARE_PCI_FIXUP_ENABLE(vendor, device, hook) \ hook 1966 include/linux/pci.h hook, vendor, device, PCI_ANY_ID, 0, hook) hook 1967 include/linux/pci.h #define DECLARE_PCI_FIXUP_RESUME(vendor, device, hook) \ hook 1969 include/linux/pci.h resume##hook, vendor, device, PCI_ANY_ID, 0, hook) hook 1970 include/linux/pci.h #define DECLARE_PCI_FIXUP_RESUME_EARLY(vendor, device, hook) \ hook 1972 include/linux/pci.h resume_early##hook, vendor, device, PCI_ANY_ID, 0, hook) hook 1973 include/linux/pci.h #define DECLARE_PCI_FIXUP_SUSPEND(vendor, device, hook) \ hook 1975 include/linux/pci.h suspend##hook, vendor, device, PCI_ANY_ID, 0, hook) hook 1976 include/linux/pci.h #define DECLARE_PCI_FIXUP_SUSPEND_LATE(vendor, device, hook) \ hook 1978 include/linux/pci.h suspend_late##hook, vendor, device, PCI_ANY_ID, 0, hook) hook 25 include/net/netfilter/br_netfilter.h int br_nf_hook_thresh(unsigned int hook, struct net *net, struct sock *sk, hook 10 include/net/netfilter/ipv4/nf_reject.h void nf_send_unreach(struct sk_buff *skb_in, int code, int hook); hook 11 include/net/netfilter/ipv4/nf_reject.h void nf_send_reset(struct net *net, struct sk_buff *oldskb, int hook); hook 14 include/net/netfilter/ipv4/nf_reject.h struct tcphdr *_oth, int hook); hook 11 include/net/netfilter/ipv6/nf_reject.h void nf_send_reset6(struct net *net, struct sk_buff *oldskb, int hook); hook 15 include/net/netfilter/ipv6/nf_reject.h unsigned int *otcplen, int hook); hook 20 include/net/netfilter/nf_flow_table.h nf_hookfn *hook; hook 36 include/net/netfilter/nf_tables.h return pkt->xt.state->hook; hook 235 include/sound/control.h void (*hook)(void *private_data, int), hook 21 include/uapi/linux/netfilter/nfnetlink_log.h __u8 hook; /* netfilter hook */ hook 20 include/uapi/linux/netfilter/nfnetlink_queue.h __u8 hook; /* netfilter hook */ hook 561 kernel/power/snapshot.c struct list_head hook; hook 574 kernel/power/snapshot.c list_for_each_entry_safe(ext, aux, list, hook) { hook 575 kernel/power/snapshot.c list_del(&ext->hook); hook 600 kernel/power/snapshot.c list_for_each_entry(ext, list, hook) hook 604 kernel/power/snapshot.c if (&ext->hook == list || zone_end < ext->start) { hook 615 kernel/power/snapshot.c list_add_tail(&new_ext->hook, &ext->hook); hook 627 kernel/power/snapshot.c list_for_each_entry_safe_continue(cur, aux, list, hook) { hook 632 kernel/power/snapshot.c list_del(&cur->hook); hook 658 kernel/power/snapshot.c list_for_each_entry(ext, &mem_extents, hook) { hook 450 kernel/sched/cpufreq_schedutil.c static void sugov_update_single(struct update_util_data *hook, u64 time, hook 453 kernel/sched/cpufreq_schedutil.c struct sugov_cpu *sg_cpu = container_of(hook, struct sugov_cpu, update_util); hook 524 kernel/sched/cpufreq_schedutil.c sugov_update_shared(struct update_util_data *hook, u64 time, unsigned int flags) hook 526 kernel/sched/cpufreq_schedutil.c struct sugov_cpu *sg_cpu = container_of(hook, struct sugov_cpu, update_util); hook 923 net/bridge/br_netfilter_hooks.c .hook = br_nf_pre_routing, hook 929 net/bridge/br_netfilter_hooks.c .hook = br_nf_forward_ip, hook 935 net/bridge/br_netfilter_hooks.c .hook = br_nf_forward_arp, hook 941 net/bridge/br_netfilter_hooks.c .hook = br_nf_post_routing, hook 947 net/bridge/br_netfilter_hooks.c .hook = ip_sabotage_in, hook 953 net/bridge/br_netfilter_hooks.c .hook = ip_sabotage_in, hook 995 net/bridge/br_netfilter_hooks.c int br_nf_hook_thresh(unsigned int hook, struct net *net, hook 1008 net/bridge/br_netfilter_hooks.c e = rcu_dereference(net->nf.hooks_bridge[hook]); hook 1017 net/bridge/br_netfilter_hooks.c nf_hook_state_init(&state, hook, NFPROTO_BRIDGE, indev, outdev, hook 96 net/bridge/netfilter/ebtable_broute.c .hook = ebt_broute, hook 77 net/bridge/netfilter/ebtable_filter.c .hook = ebt_in_hook, hook 83 net/bridge/netfilter/ebtable_filter.c .hook = ebt_in_hook, hook 89 net/bridge/netfilter/ebtable_filter.c .hook = ebt_out_hook, hook 77 net/bridge/netfilter/ebtable_nat.c .hook = ebt_nat_out, hook 83 net/bridge/netfilter/ebtable_nat.c .hook = ebt_nat_out, hook 89 net/bridge/netfilter/ebtable_nat.c .hook = ebt_nat_in, hook 183 net/bridge/netfilter/ebtables.c unsigned int hook = state->hook; hook 206 net/bridge/netfilter/ebtables.c chaininfo = private->hook_entry[hook]; hook 207 net/bridge/netfilter/ebtables.c nentries = private->hook_entry[hook]->nentries; hook 208 net/bridge/netfilter/ebtables.c point = (struct ebt_entry *)(private->hook_entry[hook]->data); hook 209 net/bridge/netfilter/ebtables.c counter_base = cb_base + private->hook_entry[hook]->counter_offset; hook 649 net/bridge/netfilter/ebtables.c unsigned int i, j, hook = 0, hookmask = 0; hook 673 net/bridge/netfilter/ebtables.c hook = i; hook 681 net/bridge/netfilter/ebtables.c hookmask = (1 << hook) | (1 << NF_BR_NUMHOOKS); hook 687 net/bridge/netfilter/ebtables.c hookmask = (1 << hook) | (1 << NF_BR_NUMHOOKS); hook 402 net/bridge/netfilter/nf_conntrack_bridge.c .hook = nf_ct_bridge_pre, hook 408 net/bridge/netfilter/nf_conntrack_bridge.c .hook = nf_ct_bridge_post, hook 72 net/bridge/netfilter/nft_reject_bridge.c int hook) hook 82 net/bridge/netfilter/nft_reject_bridge.c oth = nf_reject_ip_tcphdr_get(oldskb, &_oth, hook); hook 106 net/bridge/netfilter/nft_reject_bridge.c int hook, u8 code) hook 135 net/bridge/netfilter/nft_reject_bridge.c nf_ip_checksum(oldskb, hook, ip_hdrlen(oldskb), proto)) hook 187 net/bridge/netfilter/nft_reject_bridge.c int hook) hook 198 net/bridge/netfilter/nft_reject_bridge.c oth = nf_reject_ip6_tcphdr_get(oldskb, &_oth, &otcplen, hook); hook 218 net/bridge/netfilter/nft_reject_bridge.c static bool reject6_br_csum_ok(struct sk_buff *skb, int hook) hook 240 net/bridge/netfilter/nft_reject_bridge.c return nf_ip6_checksum(skb, hook, thoff, proto) == 0; hook 246 net/bridge/netfilter/nft_reject_bridge.c int hook, u8 code) hook 264 net/bridge/netfilter/nft_reject_bridge.c if (!reject6_br_csum_ok(oldskb, hook)) hook 117 net/decnet/netfilter/dn_rtmsg.c .hook = dnrmg_hook, hook 186 net/ipv4/netfilter/arp_tables.c unsigned int hook = state->hook; hook 214 net/ipv4/netfilter/arp_tables.c e = get_entry(table_base, private->hook_entry[hook]); hook 247 net/ipv4/netfilter/arp_tables.c private->underflow[hook]); hook 305 net/ipv4/netfilter/arp_tables.c unsigned int hook; hook 310 net/ipv4/netfilter/arp_tables.c for (hook = 0; hook < NF_ARP_NUMHOOKS; hook++) { hook 311 net/ipv4/netfilter/arp_tables.c unsigned int pos = newinfo->hook_entry[hook]; hook 314 net/ipv4/netfilter/arp_tables.c if (!(valid_hooks & (1 << hook))) hook 323 net/ipv4/netfilter/arp_tables.c int visited = e->comefrom & (1 << hook); hook 329 net/ipv4/netfilter/arp_tables.c |= ((1 << hook) | (1 << NF_ARP_NUMHOOKS)); hook 189 net/ipv4/netfilter/ip_tables.c unsigned int hook, hook 201 net/ipv4/netfilter/ip_tables.c root = get_entry(private->entries, private->hook_entry[hook]); hook 203 net/ipv4/netfilter/ip_tables.c hookname = chainname = hooknames[hook]; hook 206 net/ipv4/netfilter/ip_tables.c xt_entry_foreach(iter, root, private->size - private->hook_entry[hook]) hook 211 net/ipv4/netfilter/ip_tables.c nf_log_trace(net, AF_INET, hook, skb, in, out, &trace_loginfo, hook 229 net/ipv4/netfilter/ip_tables.c unsigned int hook = state->hook; hook 258 net/ipv4/netfilter/ip_tables.c WARN_ON(!(table->valid_hooks & (1 << hook))); hook 276 net/ipv4/netfilter/ip_tables.c e = get_entry(table_base, private->hook_entry[hook]); hook 307 net/ipv4/netfilter/ip_tables.c trace_packet(state->net, skb, hook, state->in, hook 323 net/ipv4/netfilter/ip_tables.c private->underflow[hook]); hook 372 net/ipv4/netfilter/ip_tables.c unsigned int hook; hook 376 net/ipv4/netfilter/ip_tables.c for (hook = 0; hook < NF_INET_NUMHOOKS; hook++) { hook 377 net/ipv4/netfilter/ip_tables.c unsigned int pos = newinfo->hook_entry[hook]; hook 380 net/ipv4/netfilter/ip_tables.c if (!(valid_hooks & (1 << hook))) hook 389 net/ipv4/netfilter/ip_tables.c int visited = e->comefrom & (1 << hook); hook 394 net/ipv4/netfilter/ip_tables.c e->comefrom |= ((1 << hook) | (1 << NF_INET_NUMHOOKS)); hook 658 net/ipv4/netfilter/ipt_CLUSTERIP.c .hook = arp_mangle, hook 34 net/ipv4/netfilter/ipt_REJECT.c int hook = xt_hooknum(par); hook 38 net/ipv4/netfilter/ipt_REJECT.c nf_send_unreach(skb, ICMP_NET_UNREACH, hook); hook 41 net/ipv4/netfilter/ipt_REJECT.c nf_send_unreach(skb, ICMP_HOST_UNREACH, hook); hook 44 net/ipv4/netfilter/ipt_REJECT.c nf_send_unreach(skb, ICMP_PROT_UNREACH, hook); hook 47 net/ipv4/netfilter/ipt_REJECT.c nf_send_unreach(skb, ICMP_PORT_UNREACH, hook); hook 50 net/ipv4/netfilter/ipt_REJECT.c nf_send_unreach(skb, ICMP_NET_ANO, hook); hook 53 net/ipv4/netfilter/ipt_REJECT.c nf_send_unreach(skb, ICMP_HOST_ANO, hook); hook 56 net/ipv4/netfilter/ipt_REJECT.c nf_send_unreach(skb, ICMP_PKT_FILTERED, hook); hook 59 net/ipv4/netfilter/ipt_REJECT.c nf_send_reset(xt_net(par), skb, hook); hook 80 net/ipv4/netfilter/iptable_mangle.c if (state->hook == NF_INET_LOCAL_OUT) hook 38 net/ipv4/netfilter/iptable_nat.c .hook = iptable_nat_do_chain, hook 44 net/ipv4/netfilter/iptable_nat.c .hook = iptable_nat_do_chain, hook 50 net/ipv4/netfilter/iptable_nat.c .hook = iptable_nat_do_chain, hook 56 net/ipv4/netfilter/iptable_nat.c .hook = iptable_nat_do_chain, hook 84 net/ipv4/netfilter/nf_defrag_ipv4.c nf_ct_defrag_user(state->hook, skb); hook 94 net/ipv4/netfilter/nf_defrag_ipv4.c .hook = ipv4_conntrack_defrag, hook 100 net/ipv4/netfilter/nf_defrag_ipv4.c .hook = ipv4_conntrack_defrag, hook 13 net/ipv4/netfilter/nf_flow_table_ipv4.c .hook = nf_flow_offload_ip_hook, hook 16 net/ipv4/netfilter/nf_reject_ipv4.c struct tcphdr *_oth, int hook) hook 37 net/ipv4/netfilter/nf_reject_ipv4.c if (nf_ip_checksum(oldskb, hook, ip_hdrlen(oldskb), IPPROTO_TCP)) hook 100 net/ipv4/netfilter/nf_reject_ipv4.c void nf_send_reset(struct net *net, struct sk_buff *oldskb, int hook) hook 108 net/ipv4/netfilter/nf_reject_ipv4.c oth = nf_reject_ip_tcphdr_get(oldskb, &_oth, hook); hook 170 net/ipv4/netfilter/nf_reject_ipv4.c void nf_send_unreach(struct sk_buff *skb_in, int code, int hook) hook 183 net/ipv4/netfilter/nf_reject_ipv4.c if (nf_ip_checksum(skb_in, hook, ip_hdrlen(skb_in), proto) == 0) hook 197 net/ipv6/ila/ila_xlat.c .hook = ila_nf_input, hook 82 net/ipv6/netfilter.c if (entry->state.hook == NF_INET_LOCAL_OUT) { hook 214 net/ipv6/netfilter/ip6_tables.c unsigned int hook, hook 226 net/ipv6/netfilter/ip6_tables.c root = get_entry(private->entries, private->hook_entry[hook]); hook 228 net/ipv6/netfilter/ip6_tables.c hookname = chainname = hooknames[hook]; hook 231 net/ipv6/netfilter/ip6_tables.c xt_entry_foreach(iter, root, private->size - private->hook_entry[hook]) hook 236 net/ipv6/netfilter/ip6_tables.c nf_log_trace(net, AF_INET6, hook, skb, in, out, &trace_loginfo, hook 254 net/ipv6/netfilter/ip6_tables.c unsigned int hook = state->hook; hook 279 net/ipv6/netfilter/ip6_tables.c WARN_ON(!(table->valid_hooks & (1 << hook))); hook 298 net/ipv6/netfilter/ip6_tables.c e = get_entry(table_base, private->hook_entry[hook]); hook 330 net/ipv6/netfilter/ip6_tables.c trace_packet(state->net, skb, hook, state->in, hook 346 net/ipv6/netfilter/ip6_tables.c private->underflow[hook]); hook 390 net/ipv6/netfilter/ip6_tables.c unsigned int hook; hook 394 net/ipv6/netfilter/ip6_tables.c for (hook = 0; hook < NF_INET_NUMHOOKS; hook++) { hook 395 net/ipv6/netfilter/ip6_tables.c unsigned int pos = newinfo->hook_entry[hook]; hook 398 net/ipv6/netfilter/ip6_tables.c if (!(valid_hooks & (1 << hook))) hook 407 net/ipv6/netfilter/ip6_tables.c int visited = e->comefrom & (1 << hook); hook 412 net/ipv6/netfilter/ip6_tables.c e->comefrom |= ((1 << hook) | (1 << NF_INET_NUMHOOKS)); hook 73 net/ipv6/netfilter/ip6table_mangle.c if (state->hook == NF_INET_LOCAL_OUT) hook 40 net/ipv6/netfilter/ip6table_nat.c .hook = ip6table_nat_do_chain, hook 46 net/ipv6/netfilter/ip6table_nat.c .hook = ip6table_nat_do_chain, hook 52 net/ipv6/netfilter/ip6table_nat.c .hook = ip6table_nat_do_chain, hook 58 net/ipv6/netfilter/ip6table_nat.c .hook = ip6table_nat_do_chain, hook 67 net/ipv6/netfilter/nf_defrag_ipv6_hooks.c nf_ct6_defrag_user(state->hook, skb)); hook 77 net/ipv6/netfilter/nf_defrag_ipv6_hooks.c .hook = ipv6_defrag, hook 83 net/ipv6/netfilter/nf_defrag_ipv6_hooks.c .hook = ipv6_defrag, hook 14 net/ipv6/netfilter/nf_flow_table_ipv6.c .hook = nf_flow_offload_ipv6_hook, hook 17 net/ipv6/netfilter/nf_reject_ipv6.c unsigned int *otcplen, int hook) hook 54 net/ipv6/netfilter/nf_reject_ipv6.c if (nf_ip6_checksum(oldskb, hook, tcphoff, IPPROTO_TCP)) { hook 129 net/ipv6/netfilter/nf_reject_ipv6.c void nf_send_reset6(struct net *net, struct sk_buff *oldskb, int hook) hook 147 net/ipv6/netfilter/nf_reject_ipv6.c otcph = nf_reject_ip6_tcphdr_get(oldskb, &_otcph, &otcplen, hook); hook 217 net/ipv6/netfilter/nf_reject_ipv6.c static bool reject6_csum_ok(struct sk_buff *skb, int hook) hook 236 net/ipv6/netfilter/nf_reject_ipv6.c return nf_ip6_checksum(skb, hook, thoff, proto) == 0; hook 99 net/netfilter/core.c .hook = accept_all, hook 148 net/netfilter/core.c new->hooks[nhooks].hook = reg->hook; hook 157 net/netfilter/core.c new->hooks[nhooks].hook = reg->hook; hook 378 net/netfilter/core.c WRITE_ONCE(old->hooks[i].hook, accept_all); hook 1503 net/netfilter/ipvs/ip_vs_core.c return ip_vs_out(net_ipvs(state->net), state->hook, skb, AF_INET); hook 1514 net/netfilter/ipvs/ip_vs_core.c return ip_vs_out(net_ipvs(state->net), state->hook, skb, AF_INET); hook 1528 net/netfilter/ipvs/ip_vs_core.c return ip_vs_out(net_ipvs(state->net), state->hook, skb, AF_INET6); hook 1539 net/netfilter/ipvs/ip_vs_core.c return ip_vs_out(net_ipvs(state->net), state->hook, skb, AF_INET6); hook 2165 net/netfilter/ipvs/ip_vs_core.c return ip_vs_in(net_ipvs(state->net), state->hook, skb, AF_INET); hook 2176 net/netfilter/ipvs/ip_vs_core.c return ip_vs_in(net_ipvs(state->net), state->hook, skb, AF_INET); hook 2189 net/netfilter/ipvs/ip_vs_core.c return ip_vs_in(net_ipvs(state->net), state->hook, skb, AF_INET6); hook 2200 net/netfilter/ipvs/ip_vs_core.c return ip_vs_in(net_ipvs(state->net), state->hook, skb, AF_INET6); hook 2229 net/netfilter/ipvs/ip_vs_core.c return ip_vs_in_icmp(ipvs, skb, &r, state->hook); hook 2249 net/netfilter/ipvs/ip_vs_core.c return ip_vs_in_icmp_v6(ipvs, skb, &r, state->hook, &iphdr); hook 2257 net/netfilter/ipvs/ip_vs_core.c .hook = ip_vs_reply4, hook 2266 net/netfilter/ipvs/ip_vs_core.c .hook = ip_vs_remote_request4, hook 2273 net/netfilter/ipvs/ip_vs_core.c .hook = ip_vs_local_reply4, hook 2280 net/netfilter/ipvs/ip_vs_core.c .hook = ip_vs_local_request4, hook 2288 net/netfilter/ipvs/ip_vs_core.c .hook = ip_vs_forward_icmp, hook 2295 net/netfilter/ipvs/ip_vs_core.c .hook = ip_vs_reply4, hook 2303 net/netfilter/ipvs/ip_vs_core.c .hook = ip_vs_reply6, hook 2312 net/netfilter/ipvs/ip_vs_core.c .hook = ip_vs_remote_request6, hook 2319 net/netfilter/ipvs/ip_vs_core.c .hook = ip_vs_local_reply6, hook 2326 net/netfilter/ipvs/ip_vs_core.c .hook = ip_vs_local_request6, hook 2334 net/netfilter/ipvs/ip_vs_core.c .hook = ip_vs_forward_icmp_v6, hook 2341 net/netfilter/ipvs/ip_vs_core.c .hook = ip_vs_reply6, hook 208 net/netfilter/nf_conntrack_proto.c .hook = ipv4_conntrack_in, hook 214 net/netfilter/nf_conntrack_proto.c .hook = ipv4_conntrack_local, hook 220 net/netfilter/nf_conntrack_proto.c .hook = ipv4_confirm, hook 226 net/netfilter/nf_conntrack_proto.c .hook = ipv4_confirm, hook 403 net/netfilter/nf_conntrack_proto.c .hook = ipv6_conntrack_in, hook 409 net/netfilter/nf_conntrack_proto.c .hook = ipv6_conntrack_local, hook 415 net/netfilter/nf_conntrack_proto.c .hook = ipv6_confirm, hook 421 net/netfilter/nf_conntrack_proto.c .hook = ipv6_confirm, hook 452 net/netfilter/nf_conntrack_proto_dccp.c if (state->hook == NF_INET_PRE_ROUTING && hook 454 net/netfilter/nf_conntrack_proto_dccp.c nf_checksum_partial(skb, state->hook, dataoff, cscov, hook 220 net/netfilter/nf_conntrack_proto_icmp.c state->hook == NF_INET_PRE_ROUTING && hook 221 net/netfilter/nf_conntrack_proto_icmp.c nf_ip_checksum(skb, state->hook, dataoff, IPPROTO_ICMP)) { hook 147 net/netfilter/nf_conntrack_proto_icmpv6.c if (state->hook == NF_INET_PRE_ROUTING && hook 149 net/netfilter/nf_conntrack_proto_icmpv6.c nf_ip6_checksum(skb, state->hook, dataoff, IPPROTO_ICMPV6)) { hook 336 net/netfilter/nf_conntrack_proto_sctp.c if (state->hook == NF_INET_PRE_ROUTING && hook 742 net/netfilter/nf_conntrack_proto_tcp.c state->hook == NF_INET_PRE_ROUTING && hook 743 net/netfilter/nf_conntrack_proto_tcp.c nf_checksum(skb, state->hook, dataoff, IPPROTO_TCP, state->pf)) { hook 74 net/netfilter/nf_conntrack_proto_udp.c if (state->hook == NF_INET_PRE_ROUTING && hook 76 net/netfilter/nf_conntrack_proto_udp.c nf_checksum(skb, state->hook, dataoff, IPPROTO_UDP, state->pf)) { hook 165 net/netfilter/nf_conntrack_proto_udp.c if (state->hook == NF_INET_PRE_ROUTING && hook 167 net/netfilter/nf_conntrack_proto_udp.c nf_checksum_partial(skb, state->hook, dataoff, cscov, IPPROTO_UDP, hook 28 net/netfilter/nf_flow_table_inet.c .hook = nf_flow_offload_inet_hook, hook 730 net/netfilter/nf_nat_core.c enum nf_nat_manip_type maniptype = HOOK2MANIP(state->hook); hook 761 net/netfilter/nf_nat_core.c ret = e->hooks[i].hook(e->hooks[i].priv, skb, hook 769 net/netfilter/nf_nat_core.c ret = nf_nat_alloc_null_binding(ct, state->hook); hook 776 net/netfilter/nf_nat_core.c if (nf_nat_oif_changed(state->hook, ctinfo, nat, hook 785 net/netfilter/nf_nat_core.c if (nf_nat_oif_changed(state->hook, ctinfo, nat, state->out)) hook 789 net/netfilter/nf_nat_core.c return nf_nat_packet(ct, ctinfo, state->hook, skb); hook 638 net/netfilter/nf_nat_proto.c state->hook)) hook 739 net/netfilter/nf_nat_proto.c .hook = nf_nat_ipv4_in, hook 746 net/netfilter/nf_nat_proto.c .hook = nf_nat_ipv4_out, hook 753 net/netfilter/nf_nat_proto.c .hook = nf_nat_ipv4_local_fn, hook 760 net/netfilter/nf_nat_proto.c .hook = nf_nat_ipv4_fn, hook 874 net/netfilter/nf_nat_proto.c state->hook, hook 978 net/netfilter/nf_nat_proto.c .hook = nf_nat_ipv6_in, hook 985 net/netfilter/nf_nat_proto.c .hook = nf_nat_ipv6_out, hook 992 net/netfilter/nf_nat_proto.c .hook = nf_nat_ipv6_local_fn, hook 999 net/netfilter/nf_nat_proto.c .hook = nf_nat_ipv6_fn, hook 134 net/netfilter/nf_queue.c if (entry->state.hook == NF_INET_LOCAL_OUT) { hook 149 net/netfilter/nf_queue.c if (entry->state.hook == NF_INET_LOCAL_OUT) { hook 252 net/netfilter/nf_queue.c const struct nf_hook_entry *hook; hook 256 net/netfilter/nf_queue.c hook = &hooks->hooks[i]; hook 258 net/netfilter/nf_queue.c verdict = nf_hook_entry_hookfn(hook, skb, state); hook 305 net/netfilter/nf_queue.c hooks = nf_hook_entries_head(net, pf, entry->state.hook); hook 773 net/netfilter/nf_synproxy_core.c .hook = ipv4_synproxy_hook, hook 779 net/netfilter/nf_synproxy_core.c .hook = ipv4_synproxy_hook, hook 1197 net/netfilter/nf_synproxy_core.c .hook = ipv6_synproxy_hook, hook 1203 net/netfilter/nf_synproxy_core.c .hook = ipv6_synproxy_hook, hook 1554 net/netfilter/nf_tables_api.c struct nft_chain_hook *hook, u8 family, hook 1575 net/netfilter/nf_tables_api.c hook->num = ntohl(nla_get_be32(ha[NFTA_HOOK_HOOKNUM])); hook 1576 net/netfilter/nf_tables_api.c hook->priority = ntohl(nla_get_be32(ha[NFTA_HOOK_PRIORITY])); hook 1588 net/netfilter/nf_tables_api.c if (hook->num > NF_MAX_HOOKS || !(type->hook_mask & (1 << hook->num))) hook 1592 net/netfilter/nf_tables_api.c hook->priority <= NF_IP_PRI_CONNTRACK) hook 1598 net/netfilter/nf_tables_api.c hook->type = type; hook 1600 net/netfilter/nf_tables_api.c hook->dev = NULL; hook 1615 net/netfilter/nf_tables_api.c hook->dev = dev; hook 1624 net/netfilter/nf_tables_api.c static void nft_chain_release_hook(struct nft_chain_hook *hook) hook 1626 net/netfilter/nf_tables_api.c module_put(hook->type->owner); hook 1667 net/netfilter/nf_tables_api.c struct nft_chain_hook hook; hook 1670 net/netfilter/nf_tables_api.c err = nft_chain_parse_hook(net, nla, &hook, family, true); hook 1676 net/netfilter/nf_tables_api.c nft_chain_release_hook(&hook); hook 1680 net/netfilter/nf_tables_api.c if (hook.dev != NULL) hook 1681 net/netfilter/nf_tables_api.c strncpy(basechain->dev_name, hook.dev->name, IFNAMSIZ); hook 1686 net/netfilter/nf_tables_api.c nft_chain_release_hook(&hook); hook 1694 net/netfilter/nf_tables_api.c basechain->type = hook.type; hook 1699 net/netfilter/nf_tables_api.c ops->hooknum = hook.num; hook 1700 net/netfilter/nf_tables_api.c ops->priority = hook.priority; hook 1702 net/netfilter/nf_tables_api.c ops->hook = hook.type->hooks[ops->hooknum]; hook 1703 net/netfilter/nf_tables_api.c ops->dev = hook.dev; hook 1779 net/netfilter/nf_tables_api.c struct nft_chain_hook hook; hook 1791 net/netfilter/nf_tables_api.c err = nft_chain_parse_hook(ctx->net, nla, &hook, ctx->family, hook 1797 net/netfilter/nf_tables_api.c if (basechain->type != hook.type) { hook 1798 net/netfilter/nf_tables_api.c nft_chain_release_hook(&hook); hook 1803 net/netfilter/nf_tables_api.c if (ops->hooknum != hook.num || hook 1804 net/netfilter/nf_tables_api.c ops->priority != hook.priority || hook 1805 net/netfilter/nf_tables_api.c ops->dev != hook.dev) { hook 1806 net/netfilter/nf_tables_api.c nft_chain_release_hook(&hook); hook 1809 net/netfilter/nf_tables_api.c nft_chain_release_hook(&hook); hook 5762 net/netfilter/nf_tables_api.c flowtable->ops[i].hook = flowtable->data.type->hook; hook 473 net/netfilter/nfnetlink_log.c pmsg.hook = hooknum; hook 415 net/netfilter/nfnetlink_queue.c if (entry->state.hook <= NF_INET_FORWARD || hook 416 net/netfilter/nfnetlink_queue.c (entry->state.hook == NF_INET_POST_ROUTING && entskb->sk == NULL)) hook 488 net/netfilter/nfnetlink_queue.c pmsg->hook = entry->state.hook; hook 581 net/netfilter/nfnetlink_queue.c if (entry->state.hook <= NF_INET_FORWARD && entskb->tstamp) { hook 10 net/netfilter/utils.c __sum16 nf_ip_checksum(struct sk_buff *skb, unsigned int hook, hook 18 net/netfilter/utils.c if (hook != NF_INET_PRE_ROUTING && hook != NF_INET_LOCAL_IN) hook 43 net/netfilter/utils.c static __sum16 nf_ip_checksum_partial(struct sk_buff *skb, unsigned int hook, hook 53 net/netfilter/utils.c return nf_ip_checksum(skb, hook, dataoff, protocol); hook 64 net/netfilter/utils.c __sum16 nf_ip6_checksum(struct sk_buff *skb, unsigned int hook, hook 72 net/netfilter/utils.c if (hook != NF_INET_PRE_ROUTING && hook != NF_INET_LOCAL_IN) hook 97 net/netfilter/utils.c static __sum16 nf_ip6_checksum_partial(struct sk_buff *skb, unsigned int hook, hook 108 net/netfilter/utils.c return nf_ip6_checksum(skb, hook, dataoff, protocol); hook 123 net/netfilter/utils.c __sum16 nf_checksum(struct sk_buff *skb, unsigned int hook, hook 131 net/netfilter/utils.c csum = nf_ip_checksum(skb, hook, dataoff, protocol); hook 134 net/netfilter/utils.c csum = nf_ip6_checksum(skb, hook, dataoff, protocol); hook 142 net/netfilter/utils.c __sum16 nf_checksum_partial(struct sk_buff *skb, unsigned int hook, hook 150 net/netfilter/utils.c csum = nf_ip_checksum_partial(skb, hook, dataoff, len, hook 154 net/netfilter/utils.c csum = nf_ip6_checksum_partial(skb, hook, dataoff, len, hook 187 net/netfilter/utils.c if (entry->state.hook == NF_INET_LOCAL_OUT) { hook 1714 net/netfilter/x_tables.c ops[i].hook = fn; hook 954 net/openvswitch/conntrack.c .hook = NF_INET_PRE_ROUTING, hook 448 net/sched/act_ct.c state.hook = NF_INET_PRE_ROUTING; hook 34 net/sched/act_ipt.c char *table, unsigned int hook) hook 53 net/sched/act_ipt.c par.hook_mask = hook; hook 107 net/sched/act_ipt.c u32 hook = 0; hook 162 net/sched/act_ipt.c hook = nla_get_u32(tb[TCA_IPT_HOOK]); hook 176 net/sched/act_ipt.c err = ipt_init_target(net, t, tname, hook); hook 190 net/sched/act_ipt.c ipt->tcfi_hook = hook; hook 232 net/sched/act_ipt.c .hook = ipt->tcfi_hook, hook 23 net/sched/em_ipt.c u32 hook; hook 52 net/sched/em_ipt.c mtpar.hook_mask = 1 << im->hook; hook 167 net/sched/em_ipt.c im->hook = nla_get_u32(tb[TCA_EM_IPT_HOOK]); hook 237 net/sched/em_ipt.c nf_hook_state_init(&state, im->hook, nfproto, hook 256 net/sched/em_ipt.c if (nla_put_u32(skb, TCA_EM_IPT_HOOK, im->hook) < 0) hook 1002 net/socket.c void brioctl_set(int (*hook) (struct net *, unsigned int, void __user *)) hook 1005 net/socket.c br_ioctl_hook = hook; hook 1013 net/socket.c void vlan_ioctl_set(int (*hook) (struct net *, void __user *)) hook 1016 net/socket.c vlan_ioctl_hook = hook; hook 1024 net/socket.c void dlci_ioctl_set(int (*hook) (unsigned int, void __user *)) hook 1027 net/socket.c dlci_ioctl_hook = hook; hook 797 scripts/gcc-plugins/gcc-common.h static inline struct cgraph_node_hook_list *cgraph_add_function_insertion_hook(cgraph_node_hook hook, void *data) hook 799 scripts/gcc-plugins/gcc-common.h return symtab->add_cgraph_insertion_hook(hook, data); hook 807 scripts/gcc-plugins/gcc-common.h static inline struct cgraph_node_hook_list *cgraph_add_node_removal_hook(cgraph_node_hook hook, void *data) hook 809 scripts/gcc-plugins/gcc-common.h return symtab->add_cgraph_removal_hook(hook, data); hook 817 scripts/gcc-plugins/gcc-common.h static inline struct cgraph_2node_hook_list *cgraph_add_node_duplication_hook(cgraph_2node_hook hook, void *data) hook 819 scripts/gcc-plugins/gcc-common.h return symtab->add_cgraph_duplication_hook(hook, data); hook 1654 security/apparmor/lsm.c .hook = apparmor_ipv4_postroute, hook 1661 security/apparmor/lsm.c .hook = apparmor_ipv6_postroute, hook 183 security/integrity/ima/ima.h #define __ima_hooks(hook) \ hook 184 security/integrity/ima/ima.h hook(NONE) \ hook 185 security/integrity/ima/ima.h hook(FILE_CHECK) \ hook 186 security/integrity/ima/ima.h hook(MMAP_CHECK) \ hook 187 security/integrity/ima/ima.h hook(BPRM_CHECK) \ hook 188 security/integrity/ima/ima.h hook(CREDS_CHECK) \ hook 189 security/integrity/ima/ima.h hook(POST_SETATTR) \ hook 190 security/integrity/ima/ima.h hook(MODULE_CHECK) \ hook 191 security/integrity/ima/ima.h hook(FIRMWARE_CHECK) \ hook 192 security/integrity/ima/ima.h hook(KEXEC_KERNEL_CHECK) \ hook 193 security/integrity/ima/ima.h hook(KEXEC_INITRAMFS_CHECK) \ hook 194 security/integrity/ima/ima.h hook(POLICY_CHECK) \ hook 195 security/integrity/ima/ima.h hook(KEXEC_CMDLINE) \ hook 196 security/integrity/ima/ima.h hook(MAX_CHECK) hook 654 security/security.c P->hook.FUNC(__VA_ARGS__); \ hook 663 security/security.c RC = P->hook.FUNC(__VA_ARGS__); \ hook 766 security/security.c rc = hp->hook.vm_enough_memory(mm, pages); hook 1314 security/security.c rc = hp->hook.inode_getsecurity(inode, name, buffer, alloc); hook 1332 security/security.c rc = hp->hook.inode_setsecurity(inode, name, value, size, hook 1715 security/security.c thisrc = hp->hook.task_prctl(option, arg2, arg3, arg4, arg5); hook 1886 security/security.c return hp->hook.getprocattr(p, name, value); hook 1899 security/security.c return hp->hook.setprocattr(name, value, size); hook 2299 security/security.c rc = hp->hook.xfrm_state_pol_flow_match(x, xp, fl); hook 7138 security/selinux/hooks.c .hook = selinux_ipv4_postroute, hook 7144 security/selinux/hooks.c .hook = selinux_ipv4_forward, hook 7150 security/selinux/hooks.c .hook = selinux_ipv4_output, hook 7157 security/selinux/hooks.c .hook = selinux_ipv6_postroute, hook 7163 security/selinux/hooks.c .hook = selinux_ipv6_forward, hook 7169 security/selinux/hooks.c .hook = selinux_ipv6_output, hook 60 security/smack/smack_netfilter.c .hook = smack_ipv4_output, hook 67 security/smack/smack_netfilter.c .hook = smack_ipv6_output, hook 36 sound/core/vmaster.c void (*hook)(void *private_data, int); hook 130 sound/core/vmaster.c if (master->hook) hook 131 sound/core/vmaster.c master->hook(master->hook_private_data, master->val); hook 350 sound/core/vmaster.c if (master->hook && !first_init) hook 351 sound/core/vmaster.c master->hook(master->hook_private_data, master->val); hook 447 sound/core/vmaster.c void (*hook)(void *private_data, int), hook 451 sound/core/vmaster.c master->hook = hook; hook 484 sound/core/vmaster.c if (master->hook && !first_init) hook 485 sound/core/vmaster.c master->hook(master->hook_private_data, master->val); hook 1998 sound/pci/hda/hda_codec.c struct hda_vmaster_mute_hook *hook = snd_kcontrol_chip(kcontrol); hook 1999 sound/pci/hda/hda_codec.c ucontrol->value.enumerated.item[0] = hook->mute_mode; hook 2006 sound/pci/hda/hda_codec.c struct hda_vmaster_mute_hook *hook = snd_kcontrol_chip(kcontrol); hook 2007 sound/pci/hda/hda_codec.c unsigned int old_mode = hook->mute_mode; hook 2009 sound/pci/hda/hda_codec.c hook->mute_mode = ucontrol->value.enumerated.item[0]; hook 2010 sound/pci/hda/hda_codec.c if (hook->mute_mode > HDA_VMUTE_FOLLOW_MASTER) hook 2011 sound/pci/hda/hda_codec.c hook->mute_mode = HDA_VMUTE_FOLLOW_MASTER; hook 2012 sound/pci/hda/hda_codec.c if (old_mode == hook->mute_mode) hook 2014 sound/pci/hda/hda_codec.c snd_hda_sync_vmaster_hook(hook); hook 2029 sound/pci/hda/hda_codec.c struct hda_vmaster_mute_hook *hook = private_data; hook 2031 sound/pci/hda/hda_codec.c if (hook->mute_mode != HDA_VMUTE_FOLLOW_MASTER) hook 2032 sound/pci/hda/hda_codec.c enabled = hook->mute_mode; hook 2033 sound/pci/hda/hda_codec.c hook->hook(hook->codec, enabled); hook 2047 sound/pci/hda/hda_codec.c struct hda_vmaster_mute_hook *hook, hook 2052 sound/pci/hda/hda_codec.c if (!hook->hook || !hook->sw_kctl) hook 2054 sound/pci/hda/hda_codec.c hook->codec = codec; hook 2055 sound/pci/hda/hda_codec.c hook->mute_mode = HDA_VMUTE_FOLLOW_MASTER; hook 2056 sound/pci/hda/hda_codec.c snd_ctl_add_vmaster_hook(hook->sw_kctl, vmaster_hook, hook); hook 2059 sound/pci/hda/hda_codec.c kctl = snd_ctl_new1(&vmaster_mute_mode, hook); hook 2073 sound/pci/hda/hda_codec.c void snd_hda_sync_vmaster_hook(struct hda_vmaster_mute_hook *hook) hook 2075 sound/pci/hda/hda_codec.c if (!hook->hook || !hook->codec) hook 2080 sound/pci/hda/hda_codec.c if (hook->codec->bus->shutdown) hook 2082 sound/pci/hda/hda_codec.c snd_ctl_sync_vmaster_hook(hook->sw_kctl); hook 1165 sound/pci/hda/hda_generic.c return spec->vmaster_mute.hook ? "PCM" : "Master"; hook 1173 sound/pci/hda/hda_generic.c return spec->vmaster_mute.hook ? "PCM" : "Master"; hook 1211 sound/pci/hda/hda_generic.c return spec->vmaster_mute.hook ? "PCM" : "Master"; hook 4010 sound/pci/hda/hda_generic.c void (*hook)(struct hda_codec *)) hook 4018 sound/pci/hda/hda_generic.c spec->micmute_led.update = hook; hook 5253 sound/pci/hda/hda_generic.c if (spec->vmaster_mute.hook) { hook 6032 sound/pci/hda/hda_generic.c if (spec->vmaster_mute.sw_kctl && spec->vmaster_mute.hook) hook 357 sound/pci/hda/hda_generic.h void (*hook)(struct hda_codec *)); hook 154 sound/pci/hda/hda_local.h void (*hook)(void *, int); hook 161 sound/pci/hda/hda_local.h struct hda_vmaster_mute_hook *hook, hook 163 sound/pci/hda/hda_local.h void snd_hda_sync_vmaster_hook(struct hda_vmaster_mute_hook *hook); hook 228 sound/pci/hda/patch_analog.c spec->gen.vmaster_mute.hook = ad_vmaster_eapd_hook; hook 564 sound/pci/hda/patch_analog.c spec->gen.vmaster_mute.hook = ad_vmaster_eapd_hook; hook 994 sound/pci/hda/patch_analog.c spec->gen.vmaster_mute.hook = ad1884_vmaster_hp_gpio_hook; hook 1019 sound/pci/hda/patch_analog.c spec->gen.vmaster_mute.hook = ad_vmaster_eapd_hook; hook 569 sound/pci/hda/patch_conexant.c spec->gen.vmaster_mute.hook = cx_auto_vmaster_hook_mute_led; hook 663 sound/pci/hda/patch_conexant.c spec->gen.vmaster_mute.hook = cxt_fixup_gpio_mute_hook; hook 992 sound/pci/hda/patch_conexant.c spec->gen.vmaster_mute.hook = cx_auto_vmaster_hook; hook 4038 sound/pci/hda/patch_realtek.c spec->gen.vmaster_mute.hook = alc269_fixup_mic_mute_hook; hook 4057 sound/pci/hda/patch_realtek.c spec->gen.vmaster_mute.hook = alc269_fixup_mic_mute_hook; hook 4124 sound/pci/hda/patch_realtek.c spec->gen.vmaster_mute.hook = alc_fixup_gpio_mute_hook; hook 4226 sound/pci/hda/patch_realtek.c spec->gen.vmaster_mute.hook = alc_fixup_mute_led_coefbit_hook; hook 4243 sound/pci/hda/patch_realtek.c spec->gen.vmaster_mute.hook = alc_fixup_mute_led_coefbit_hook; hook 4316 sound/pci/hda/patch_sigmatel.c spec->gen.vmaster_mute.hook = stac_vmaster_hook; hook 36 sound/pci/hda/thinkpad_helper.c old_vmaster_hook = spec->vmaster_mute.hook; hook 37 sound/pci/hda/thinkpad_helper.c spec->vmaster_mute.hook = update_tpacpi_mute_led; hook 1249 sound/soc/codecs/88pm860x-codec.c int det, int hook, int hs_shrt, int lo_shrt) hook 1256 sound/soc/codecs/88pm860x-codec.c pm860x->det.hook_det = hook;