Searched refs:hook (Results 1 - 200 of 491) sorted by relevance

123

/linux-4.1.27/include/net/netfilter/ipv4/
H A Dnf_reject.h8 void nf_send_unreach(struct sk_buff *skb_in, int code, int hook);
9 void nf_send_reset(struct sk_buff *oldskb, int hook);
12 struct tcphdr *_oth, int hook);
/linux-4.1.27/include/linux/
H A Dnetfilter.h41 /* Largest hook number + 1 */
51 unsigned int hook; member in struct:nf_hook_state
61 unsigned int hook, nf_hook_state_init()
68 p->hook = hook; nf_hook_state_init()
85 nf_hookfn *hook; member in struct:nf_hook_ops
118 /* Function to register/unregister hook points. */
134 static inline bool nf_hooks_active(u_int8_t pf, unsigned int hook) nf_hooks_active() argument
137 __builtin_constant_p(hook)) nf_hooks_active()
138 return static_key_false(&nf_hooks_needed[pf][hook]); nf_hooks_active()
140 return !list_empty(&nf_hooks[pf][hook]); nf_hooks_active()
143 static inline bool nf_hooks_active(u_int8_t pf, unsigned int hook) nf_hooks_active() argument
145 return !list_empty(&nf_hooks[pf][hook]); nf_hooks_active()
152 * nf_hook_thresh - call a netfilter hook
154 * Returns 1 if the hook has allowed the packet to pass. The function
156 * value indicates the packet has been consumed by the hook.
158 static inline int nf_hook_thresh(u_int8_t pf, unsigned int hook, nf_hook_thresh() argument
166 if (nf_hooks_active(pf, hook)) { nf_hook_thresh()
169 nf_hook_state_init(&state, hook, thresh, pf, nf_hook_thresh()
176 static inline int nf_hook(u_int8_t pf, unsigned int hook, struct sock *sk, nf_hook() argument
181 return nf_hook_thresh(pf, hook, sk, skb, indev, outdev, okfn, INT_MIN); nf_hook()
184 /* Activate hook; either okfn or kfree_skb called, unless a hook
185 returns NF_STOLEN (in which case, it's up to the hook to deal with
202 NF_HOOK_THRESH(uint8_t pf, unsigned int hook, struct sock *sk, NF_HOOK_THRESH() argument
207 int ret = nf_hook_thresh(pf, hook, sk, skb, in, out, okfn, thresh); NF_HOOK_THRESH()
214 NF_HOOK_COND(uint8_t pf, unsigned int hook, struct sock *sk, NF_HOOK_COND() argument
221 ((ret = nf_hook_thresh(pf, hook, sk, skb, in, out, okfn, INT_MIN)) == 1)) NF_HOOK_COND()
227 NF_HOOK(uint8_t pf, unsigned int hook, struct sock *sk, struct sk_buff *skb, NF_HOOK() argument
231 return NF_HOOK_THRESH(pf, hook, sk, skb, in, out, okfn, INT_MIN); NF_HOOK()
256 __sum16 (*checksum)(struct sk_buff *skb, unsigned int hook,
259 unsigned int hook,
279 nf_checksum(struct sk_buff *skb, unsigned int hook, unsigned int dataoff, nf_checksum() argument
288 csum = afinfo->checksum(skb, hook, dataoff, protocol); nf_checksum()
294 nf_checksum_partial(struct sk_buff *skb, unsigned int hook, nf_checksum_partial() argument
304 csum = afinfo->checksum_partial(skb, hook, dataoff, len, nf_checksum_partial()
331 #define NF_HOOK(pf, hook, sk, skb, indev, outdev, okfn) (okfn)(sk, skb)
332 #define NF_HOOK_COND(pf, hook, sk, skb, indev, outdev, okfn, cond) (okfn)(sk, skb) nf_hook_thresh()
333 static inline int nf_hook_thresh(u_int8_t pf, unsigned int hook, nf_hook_thresh() argument
342 static inline int nf_hook(u_int8_t pf, unsigned int hook, struct sock *sk, nf_hook() argument
60 nf_hook_state_init(struct nf_hook_state *p, unsigned int hook, int thresh, u_int8_t pf, struct net_device *indev, struct net_device *outdev, struct sock *sk, int (*okfn)(struct sock *, struct sk_buff *)) nf_hook_state_init() argument
H A Dnetfilter_ipv4.h10 __sum16 nf_ip_checksum(struct sk_buff *skb, unsigned int hook,
H A Dhtirq.h16 /* The arch hook for getting things started */
H A Dgpio_keys.h44 * @enable: platform hook for enabling the device
45 * @disable: platform hook for disabling the device
H A Dnetfilter_ipv6.h15 __sum16 nf_ip6_checksum(struct sk_buff *skb, unsigned int hook,
H A Dserial_max3100.h20 * @max3100_hw_suspend: MAX3100 has a shutdown pin. This is a hook
H A Dpci.h263 void *sysdata; /* hook for sys-specific extension */
459 void *sysdata; /* hook for sys-specific extension */
1530 void (*hook)(struct pci_dev *dev); member in struct:pci_fixup
1546 class_shift, hook) \
1549 = { vendor, device, class, class_shift, hook };
1552 class_shift, hook) \
1554 hook, vendor, device, class, class_shift, hook)
1556 class_shift, hook) \
1558 hook, vendor, device, class, class_shift, hook)
1560 class_shift, hook) \
1562 hook, vendor, device, class, class_shift, hook)
1564 class_shift, hook) \
1566 hook, vendor, device, class, class_shift, hook)
1568 class_shift, hook) \
1570 resume##hook, vendor, device, class, \
1571 class_shift, hook)
1573 class_shift, hook) \
1575 resume_early##hook, vendor, device, \
1576 class, class_shift, hook)
1578 class_shift, hook) \
1580 suspend##hook, vendor, device, class, \
1581 class_shift, hook)
1583 class_shift, hook) \
1585 suspend_late##hook, vendor, device, \
1586 class, class_shift, hook)
1588 #define DECLARE_PCI_FIXUP_EARLY(vendor, device, hook) \
1590 hook, vendor, device, PCI_ANY_ID, 0, hook)
1591 #define DECLARE_PCI_FIXUP_HEADER(vendor, device, hook) \
1593 hook, vendor, device, PCI_ANY_ID, 0, hook)
1594 #define DECLARE_PCI_FIXUP_FINAL(vendor, device, hook) \
1596 hook, vendor, device, PCI_ANY_ID, 0, hook)
1597 #define DECLARE_PCI_FIXUP_ENABLE(vendor, device, hook) \
1599 hook, vendor, device, PCI_ANY_ID, 0, hook)
1600 #define DECLARE_PCI_FIXUP_RESUME(vendor, device, hook) \
1602 resume##hook, vendor, device, \
1603 PCI_ANY_ID, 0, hook)
1604 #define DECLARE_PCI_FIXUP_RESUME_EARLY(vendor, device, hook) \
1606 resume_early##hook, vendor, device, \
1607 PCI_ANY_ID, 0, hook)
1608 #define DECLARE_PCI_FIXUP_SUSPEND(vendor, device, hook) \
1610 suspend##hook, vendor, device, \
1611 PCI_ANY_ID, 0, hook)
1612 #define DECLARE_PCI_FIXUP_SUSPEND_LATE(vendor, device, hook) \
1614 suspend_late##hook, vendor, device, \
1615 PCI_ANY_ID, 0, hook)
H A Dsecurity.h205 * hook. This hook may also optionally check permissions (e.g. for
207 * This hook may be called multiple times during a single execve, e.g. for
208 * interpreters. The hook can tell whether it has already been called by
209 * checking to see if @bprm->security is non-NULL. If so, then the hook
213 * Return 0 if the hook is successful and permission is granted.
215 * This hook mediates the point when a search for a binary handler will
219 * hook may be called multiple times during a single execve; and in each
222 * Return 0 if the hook is successful and permission is granted.
227 * the bprm_set_creds hook. @bprm points to the linux_binprm structure.
228 * This hook is a good place to perform state changes on the process such
236 * linux_binprm structure. This hook is a good place to perform state
338 * This hook is called by the fs code as part of the inode creation
340 * the post_create/mkdir/... hooks called by the VFS. The hook function
427 * is being done for a regular file, then the create hook will be called
428 * and not this hook.
435 * Check permissions when creating a file. Note that this hook is called
483 * Check permission before accessing an inode. This hook is called by the
486 * Notice that this hook is called when a file is opened (as well as many
487 * other operations), whereas the file_security_ops permission hook is
569 * Check file permissions before accessing an open file. This hook is
571 * module can use this hook to perform additional checking on these
573 * bracketing or policy changes. Notice that this hook is used when the
575 * inode_security_ops hook is called when a file is opened (as well as
577 * Caveat: Although this hook can be used to revalidate permissions for
590 * Return 0 if the hook is successful and permission is granted.
623 * Note: this hook mediates both flock and fcntl style locks.
640 * file->f_security for later use by the send_sigiotask hook.
645 * process @tsk. Note that this hook is sometimes called from interrupt.
655 * This hook allows security modules to control the ability of a process
728 * indicates which of the set*uid system calls invoked this hook. If
797 * SIGIO signals are handled separately by the send_sigiotask hook in
874 * This hook allows a module to update or allocate a per-socket security
877 * in the associated inode. Typically, the inode alloc_security hook will
879 * sock->inode->i_security. This hook may be used to update the
958 * Check permissions on incoming network packets. This hook is distinct
961 * Must not sleep inside this hook because some callers hold spinlocks.
965 * This hook allows the security module to provide peer socket security
978 * This hook allows the security module to provide peer socket security
982 * security state returned by this hook for a packet via the SCM_SECURITY
1015 * This hook allows a module to allocate a security structure for a TUN
1020 * This hook allows a module to free the security structure for a TUN
1029 * This hook can be used by the module to update any security state
1034 * This hook can be used by the module to update any security state
1038 * This hook sets the packet's owning sock.
1097 * XFRMs on a packet. The hook is called when selecting either a
1181 * msgget system call. This hook is only called when returning the
1226 * shmget system call. This hook is only called when returning the shared
1261 * system call. This hook is only called when returning the semaphore
1308 * tracing check during an execve in the bprm_set_creds hook of
1322 * the @target process. The hook may also perform permission checking to
1426 * this hook to initialize the security context in its incore inode to the
1441 * this hook to change the security context in its incore inode and on the
H A Dif_frad.h95 extern void dlci_ioctl_set(int (*hook)(unsigned int, void __user *));
H A Dmoduleloader.h8 /* These may be implemented by architectures that need to hook into the
H A Dpwm.h124 * @request: optional hook for requesting a PWM
125 * @free: optional hook for freeing a PWM
H A Dtracehook.h10 * This file defines hook entry points called by core code where
12 * entry points are called tracehook_*(). Each hook declared below
H A Dmailbox_controller.h71 * @node: API private. To hook into list of controllers.
109 * @active_req: Currently active request hook
H A Dpipe_fs_i.h89 * hook. Returns 0 for good, or a negative error value in case of
H A Dptp_clock_kernel.h81 * hook gives drivers a way of telling the core about
H A Drtc.h65 * - the proc() hook for procfs
/linux-4.1.27/net/ipv4/netfilter/
H A Dipt_REJECT.c37 int hook = par->hooknum; reject_tg() local
41 nf_send_unreach(skb, ICMP_NET_UNREACH, hook); reject_tg()
44 nf_send_unreach(skb, ICMP_HOST_UNREACH, hook); reject_tg()
47 nf_send_unreach(skb, ICMP_PROT_UNREACH, hook); reject_tg()
50 nf_send_unreach(skb, ICMP_PORT_UNREACH, hook); reject_tg()
53 nf_send_unreach(skb, ICMP_NET_ANO, hook); reject_tg()
56 nf_send_unreach(skb, ICMP_HOST_ANO, hook); reject_tg()
59 nf_send_unreach(skb, ICMP_PKT_FILTERED, hook); reject_tg()
62 nf_send_reset(skb, hook); reject_tg()
H A Dnf_reject_ipv4.c20 struct tcphdr *_oth, int hook) nf_reject_ip_tcphdr_get()
38 if (nf_ip_checksum(oldskb, hook, ip_hdrlen(oldskb), IPPROTO_TCP)) nf_reject_ip_tcphdr_get()
102 void nf_send_reset(struct sk_buff *oldskb, int hook) nf_send_reset() argument
110 oth = nf_reject_ip_tcphdr_get(oldskb, &_oth, hook); nf_send_reset()
169 void nf_send_unreach(struct sk_buff *skb_in, int code, int hook) nf_send_unreach() argument
187 if (nf_ip_checksum(skb_in, hook, ip_hdrlen(skb_in), proto) == 0) nf_send_unreach()
19 nf_reject_ip_tcphdr_get(struct sk_buff *oldskb, struct tcphdr *_oth, int hook) nf_reject_ip_tcphdr_get() argument
H A Diptable_nat.c72 .hook = iptable_nat_ipv4_in,
80 .hook = iptable_nat_ipv4_out,
88 .hook = iptable_nat_ipv4_local_fn,
96 .hook = iptable_nat_ipv4_fn,
H A Dnf_defrag_ipv4.c96 .hook = ipv4_conntrack_defrag,
103 .hook = ipv4_conntrack_defrag,
H A Dip_tables.c250 unsigned int hook, trace_packet()
265 root = get_entry(table_base, private->hook_entry[hook]); trace_packet()
267 hookname = chainname = hooknames[hook]; trace_packet()
270 xt_entry_foreach(iter, root, private->size - private->hook_entry[hook]) trace_packet()
275 nf_log_trace(net, AF_INET, hook, skb, in, out, &trace_loginfo, trace_packet()
290 unsigned int hook, ipt_do_table()
322 acpar.hooknum = hook; ipt_do_table()
324 IP_NF_ASSERT(table->valid_hooks & (1 << hook)); ipt_do_table()
339 e = get_entry(table_base, private->hook_entry[hook]); ipt_do_table()
341 pr_debug("Entering %s(hook %u); sp at %u (UF %p)\n", ipt_do_table()
342 table->name, hook, origptr, ipt_do_table()
343 get_entry(table_base, private->underflow[hook])); ipt_do_table()
372 trace_packet(skb, hook, state->in, state->out,
388 private->underflow[hook]);
441 /* Figures out from what hook each rule can be called: returns 0 if
442 there are loops. Puts hook bitmask in comefrom. */
447 unsigned int hook; mark_source_chains() local
450 to 0 as we leave), and comefrom to save source hook bitmask */ mark_source_chains()
451 for (hook = 0; hook < NF_INET_NUMHOOKS; hook++) { mark_source_chains()
452 unsigned int pos = newinfo->hook_entry[hook]; mark_source_chains()
455 if (!(valid_hooks & (1 << hook))) mark_source_chains()
464 int visited = e->comefrom & (1 << hook); mark_source_chains()
467 pr_err("iptables: loop hook %u pos %u %08X.\n", mark_source_chains()
468 hook, pos, e->comefrom); mark_source_chains()
471 e->comefrom |= ((1 << hook) | (1 << NF_INET_NUMHOOKS)); mark_source_chains()
498 "on hook %u " mark_source_chains()
500 hook, pos); mark_source_chains()
548 duprintf("Finished chain %u\n", hook); mark_source_chains()
837 duprintf("Invalid hook entry %u %u\n", translate_table()
1203 duprintf("Valid hook crap: %08X vs %08X\n", __do_replace()
1700 duprintf("Invalid hook entry %u %u\n",
249 trace_packet(const struct sk_buff *skb, unsigned int hook, const struct net_device *in, const struct net_device *out, const char *tablename, const struct xt_table_info *private, const struct ipt_entry *e) trace_packet() argument
289 ipt_do_table(struct sk_buff *skb, unsigned int hook, const struct nf_hook_state *state, struct xt_table *table) ipt_do_table() argument
H A Darp_tables.c250 unsigned int hook, arpt_do_table()
280 e = get_entry(table_base, private->hook_entry[hook]); arpt_do_table()
281 back = get_entry(table_base, private->underflow[hook]); arpt_do_table()
285 acpar.hooknum = hook; arpt_do_table()
364 /* Figures out from what hook each rule can be called: returns 0 if
365 * there are loops. Puts hook bitmask in comefrom.
370 unsigned int hook; mark_source_chains() local
373 * to 0 as we leave), and comefrom to save source hook bitmask. mark_source_chains()
375 for (hook = 0; hook < NF_ARP_NUMHOOKS; hook++) { mark_source_chains()
376 unsigned int pos = newinfo->hook_entry[hook]; mark_source_chains()
380 if (!(valid_hooks & (1 << hook))) mark_source_chains()
389 int visited = e->comefrom & (1 << hook); mark_source_chains()
392 pr_notice("arptables: loop hook %u pos %u %08X.\n", mark_source_chains()
393 hook, pos, e->comefrom); mark_source_chains()
397 |= ((1 << hook) | (1 << NF_ARP_NUMHOOKS)); mark_source_chains()
467 duprintf("Finished chain %u\n", hook); mark_source_chains()
671 duprintf("Invalid hook entry %u %u\n", translate_table()
683 duprintf("Looping hook\n"); translate_table()
1016 duprintf("Valid hook crap: %08X vs %08X\n", __do_replace()
1378 duprintf("Invalid hook entry %u %u\n",
249 arpt_do_table(struct sk_buff *skb, unsigned int hook, const struct nf_hook_state *state, struct xt_table *table) arpt_do_table() argument
H A Dnf_conntrack_l3proto_ipv4.c165 make it the first hook. */
168 .hook = ipv4_conntrack_in,
175 .hook = ipv4_conntrack_local,
182 .hook = ipv4_helper,
189 .hook = ipv4_confirm,
196 .hook = ipv4_helper,
203 .hook = ipv4_confirm,
H A Diptable_filter.c64 /* Entry 1 is the FORWARD hook */ iptable_filter_net_init()
H A Dipt_SYNPROXY.c137 /* ack_seq is used to relay our ISN to the synproxy hook to initialize synproxy_send_server_syn()
434 .hook = ipv4_synproxy_hook,
441 .hook = ipv4_synproxy_hook,
/linux-4.1.27/arch/x86/include/asm/
H A Ddevice.h9 void *iommu; /* hook for IOMMU specific extension */
H A Dpgtable-2level.h12 * hook is made available.
/linux-4.1.27/arch/ia64/include/asm/
H A Ddevice.h11 void *iommu; /* hook for IOMMU specific extension */
/linux-4.1.27/include/net/netfilter/ipv6/
H A Dnf_reject.h9 void nf_send_reset6(struct net *net, struct sk_buff *oldskb, int hook);
13 unsigned int *otcplen, int hook);
/linux-4.1.27/arch/avr32/include/asm/
H A Dtraps.h20 void register_undef_hook(struct undef_hook *hook);
21 void unregister_undef_hook(struct undef_hook *hook);
H A Dpgtable-2level.h30 * hook is made available.
/linux-4.1.27/drivers/media/pci/bt8xx/
H A DMakefile3 bttv-input.o bttv-audio-hook.o btcx-risc.o
H A Dbttv-audio-hook.c8 #include "bttv-audio-hook.h"
/linux-4.1.27/arch/arm64/kernel/
H A Ddebug-monitors.c189 void register_step_hook(struct step_hook *hook) register_step_hook() argument
192 list_add_rcu(&hook->node, &step_hook); register_step_hook()
196 void unregister_step_hook(struct step_hook *hook) unregister_step_hook() argument
199 list_del_rcu(&hook->node); unregister_step_hook()
212 struct step_hook *hook; call_step_hook() local
217 list_for_each_entry_rcu(hook, &step_hook, node) { call_step_hook()
218 retval = hook->fn(regs, esr); call_step_hook()
277 void register_break_hook(struct break_hook *hook) register_break_hook() argument
280 list_add_rcu(&hook->node, &break_hook); register_break_hook()
284 void unregister_break_hook(struct break_hook *hook) unregister_break_hook() argument
287 list_del_rcu(&hook->node); unregister_break_hook()
294 struct break_hook *hook; call_break_hook() local
298 list_for_each_entry_rcu(hook, &break_hook, node) call_break_hook()
299 if ((esr & hook->esr_mask) == hook->esr_val) call_break_hook()
300 fn = hook->fn; call_break_hook()
H A Dtraps.c266 void register_undef_hook(struct undef_hook *hook) register_undef_hook() argument
271 list_add(&hook->node, &undef_hook); register_undef_hook()
275 void unregister_undef_hook(struct undef_hook *hook) unregister_undef_hook() argument
280 list_del(&hook->node); unregister_undef_hook()
286 struct undef_hook *hook; call_undef_hook() local
316 list_for_each_entry(hook, &undef_hook, node) call_undef_hook()
317 if ((instr & hook->instr_mask) == hook->instr_val && call_undef_hook()
318 (regs->pstate & hook->pstate_mask) == hook->pstate_val) call_undef_hook()
319 fn = hook->fn; call_undef_hook()
H A Dcpuidle.c37 * Return: 0 on success, -EOPNOTSUPP if CPU suspend hook not initialized, CPU
H A Darmv8_deprecated.c67 struct undef_hook *hook; register_emulation_hooks() local
71 for (hook = ops->hooks; hook->instr_mask; hook++) register_emulation_hooks()
72 register_undef_hook(hook); register_emulation_hooks()
79 struct undef_hook *hook; remove_emulation_hooks() local
83 for (hook = ops->hooks; hook->instr_mask; hook++) remove_emulation_hooks()
84 unregister_undef_hook(hook); remove_emulation_hooks()
119 * -EINVAL - At least one hook is not supported by the CPU.
H A Dsuspend.c39 * This hook is provided so that cpu_suspend code can restore HW
48 /* Prevent multiple restore hook initializations */ cpu_suspend_set_dbg_restorer()
H A Dentry-ftrace.S96 * - ftrace_graph_caller to set up an exit hook
152 * - ftrace_graph_caller to set up an exit hook
/linux-4.1.27/arch/avr32/kernel/
H A Dtraps.c135 void register_undef_hook(struct undef_hook *hook) register_undef_hook() argument
138 list_add(&hook->node, &undef_hook); register_undef_hook()
142 void unregister_undef_hook(struct undef_hook *hook) unregister_undef_hook() argument
145 list_del(&hook->node); unregister_undef_hook()
189 struct undef_hook *hook; do_illegal_opcode() local
221 list_for_each_entry(hook, &undef_hook, node) { do_illegal_opcode()
222 if ((insn & hook->insn_mask) == hook->insn_val) { do_illegal_opcode()
223 if (hook->fn(regs, insn) == 0) { do_illegal_opcode()
/linux-4.1.27/include/uapi/linux/
H A Dnetfilter.h9 /* Responses from hook functions. */
36 /* Generic cache responses from hook functions.
H A Dnetfilter_bridge.h23 /* Not really a hook, but used for the ebtables broute table */
H A Dbpqether.h22 * currently not implemented, though. If someone wants to hook a radio
H A Dnetlink.h8 #define NETLINK_ROUTE 0 /* Routing/device hook */
/linux-4.1.27/arch/arm64/include/asm/
H A Dtraps.h34 void register_undef_hook(struct undef_hook *hook);
35 void unregister_undef_hook(struct undef_hook *hook);
H A Ddebug-monitors.h115 void register_step_hook(struct step_hook *hook);
116 void unregister_step_hook(struct step_hook *hook);
125 void register_break_hook(struct break_hook *hook);
126 void unregister_break_hook(struct break_hook *hook);
/linux-4.1.27/arch/arm/include/asm/
H A Dtraps.h18 void register_undef_hook(struct undef_hook *hook);
19 void unregister_undef_hook(struct undef_hook *hook);
/linux-4.1.27/net/ipv4/
H A Dnetfilter.c38 * packets with foreign saddr to appear on the NF_INET_LOCAL_OUT hook. ip_route_me_harder()
97 if (entry->state.hook == NF_INET_LOCAL_OUT) { nf_ip_saveroute()
112 if (entry->state.hook == NF_INET_LOCAL_OUT) { nf_ip_reroute()
124 __sum16 nf_ip_checksum(struct sk_buff *skb, unsigned int hook, nf_ip_checksum() argument
132 if (hook != NF_INET_PRE_ROUTING && hook != NF_INET_LOCAL_IN) nf_ip_checksum()
155 static __sum16 nf_ip_checksum_partial(struct sk_buff *skb, unsigned int hook, nf_ip_checksum_partial() argument
165 return nf_ip_checksum(skb, hook, dataoff, protocol); nf_ip_checksum_partial()
/linux-4.1.27/include/asm-generic/
H A Dmm_hooks.h4 * arch FOO which doesn't need to hook these.
/linux-4.1.27/security/selinux/
H A Dxfrm.c4 * This file contains the SELinux XFRM hook function implementations.
153 * LSM hook implementation that authorizes that a flow can use a xfrm policy
175 * LSM hook implementation that authorizes that a state matches
259 * LSM hook implementation that checks and/or returns the xfrm sid for the
283 * LSM hook implementation that allocs and transfers uctx spec to xfrm_policy.
293 * LSM hook implementation that copies security data structure from old to new
315 * LSM hook implementation that frees xfrm_sec_ctx security information.
323 * LSM hook implementation that authorizes deletion of labeled policies.
331 * LSM hook implementation that allocates a xfrm_sec_state, populates it using
341 * LSM hook implementation that allocates a xfrm_sec_state and populates based
382 * LSM hook implementation that frees xfrm_state security information.
390 * LSM hook implementation that authorizes deletion of labeled SAs.
398 * LSM hook that controls access to unlabelled packets. If
431 * POSTROUTE_LAST hook's XFRM processing:
435 * checked in the selinux_xfrm_state_pol_flow_match hook above.
/linux-4.1.27/net/ipv6/
H A Dnetfilter.c87 if (entry->state.hook == NF_INET_LOCAL_OUT) { nf_ip6_saveroute()
101 if (entry->state.hook == NF_INET_LOCAL_OUT) { nf_ip6_reroute()
133 __sum16 nf_ip6_checksum(struct sk_buff *skb, unsigned int hook, nf_ip6_checksum() argument
141 if (hook != NF_INET_PRE_ROUTING && hook != NF_INET_LOCAL_IN) nf_ip6_checksum()
166 static __sum16 nf_ip6_checksum_partial(struct sk_buff *skb, unsigned int hook, nf_ip6_checksum_partial() argument
177 return nf_ip6_checksum(skb, hook, dataoff, protocol); nf_ip6_checksum_partial()
/linux-4.1.27/sound/core/
H A Dvmaster.c40 void (*hook)(void *private_data, int); member in struct:link_master
131 if (master->hook) master_init()
132 master->hook(master->hook_private_data, master->val); master_init()
351 if (master->hook && !first_init) master_put()
352 master->hook(master->hook_private_data, master->val); master_put()
435 * snd_ctl_add_vmaster_hook - Add a hook to a vmaster control
437 * @hook: the hook function
440 * Adds the given hook to the vmaster control element so that it's called
446 void (*hook)(void *private_data, int), snd_ctl_add_vmaster_hook()
450 master->hook = hook; snd_ctl_add_vmaster_hook()
457 * snd_ctl_sync_vmaster - Sync the vmaster slaves and hook
459 * @hook_only: sync only the hook
461 * Forcibly call the put callback of each slave and call the hook function
483 if (master->hook && !first_init) snd_ctl_sync_vmaster()
484 master->hook(master->hook_private_data, master->val); snd_ctl_sync_vmaster()
/linux-4.1.27/include/linux/pinctrl/
H A Dpinconf.h34 * @pin_config_dbg_show: optional debugfs display hook that will provide
36 * @pin_config_group_dbg_show: optional debugfs display hook that will provide
38 * @pin_config_config_dbg_show: optional debugfs display hook that will decode
H A Dpinctrl.h78 * @pin_dbg_show: optional debugfs display hook that will provide per-device
/linux-4.1.27/net/bridge/netfilter/
H A Debtable_filter.c77 .hook = ebt_in_hook,
84 .hook = ebt_in_hook,
91 .hook = ebt_out_hook,
H A Debtable_nat.c77 .hook = ebt_nat_out,
84 .hook = ebt_nat_out,
91 .hook = ebt_nat_in,
H A Dnft_reject_bridge.c45 int hook) nft_reject_br_send_v4_tcp_reset()
55 oth = nf_reject_ip_tcphdr_get(oldskb, &_oth, hook); nft_reject_br_send_v4_tcp_reset()
79 int hook, u8 code) nft_reject_br_send_v4_unreach()
112 nf_ip_checksum(oldskb, hook, ip_hdrlen(oldskb), proto)) nft_reject_br_send_v4_unreach()
147 int hook) nft_reject_br_send_v6_tcp_reset()
158 oth = nf_reject_ip6_tcphdr_get(oldskb, &_oth, &otcplen, hook); nft_reject_br_send_v6_tcp_reset()
178 static bool reject6_br_csum_ok(struct sk_buff *skb, int hook) reject6_br_csum_ok() argument
199 return nf_ip6_checksum(skb, hook, thoff, proto) == 0; reject6_br_csum_ok()
205 int hook, u8 code) nft_reject_br_send_v6_unreach()
224 if (!reject6_br_csum_ok(oldskb, hook)) nft_reject_br_send_v6_unreach()
43 nft_reject_br_send_v4_tcp_reset(struct sk_buff *oldskb, const struct net_device *dev, int hook) nft_reject_br_send_v4_tcp_reset() argument
77 nft_reject_br_send_v4_unreach(struct sk_buff *oldskb, const struct net_device *dev, int hook, u8 code) nft_reject_br_send_v4_unreach() argument
144 nft_reject_br_send_v6_tcp_reset(struct net *net, struct sk_buff *oldskb, const struct net_device *dev, int hook) nft_reject_br_send_v6_tcp_reset() argument
202 nft_reject_br_send_v6_unreach(struct net *net, struct sk_buff *oldskb, const struct net_device *dev, int hook, u8 code) nft_reject_br_send_v6_unreach() argument
H A Debtables.c186 unsigned int ebt_do_table (unsigned int hook, struct sk_buff *skb, ebt_do_table() argument
205 acpar.hooknum = hook; ebt_do_table()
215 chaininfo = private->hook_entry[hook]; ebt_do_table()
216 nentries = private->hook_entry[hook]->nentries; ebt_do_table()
217 point = (struct ebt_entry *)(private->hook_entry[hook]->data); ebt_do_table()
218 counter_base = cb_base + private->hook_entry[hook]->counter_offset; ebt_do_table()
481 BUGPRINT("Valid hook without chain\n"); ebt_verify_pointers()
656 unsigned int i, j, hook = 0, hookmask = 0; ebt_check_entry() local
678 /* what hook do we belong to? */ ebt_check_entry()
683 hook = i; ebt_check_entry()
690 hookmask = (1 << hook) | (1 << NF_BR_NUMHOOKS); ebt_check_entry()
696 hookmask = (1 << hook) | (1 << NF_BR_NUMHOOKS); ebt_check_entry()
760 * checks for loops and sets the hook mask for udc
761 * the hook mask for udc tells us from which base chains the udc can be
/linux-4.1.27/include/linux/netfilter/
H A Dnf_conntrack_ftp.h24 /* For NAT to hook in when we find a packet which describes what other
H A Dx_tables.h19 * @hook: hook number given packet came from
197 int priority; /* hook order */
/linux-4.1.27/net/ipv6/netfilter/
H A Dip6table_nat.c74 .hook = ip6table_nat_in,
82 .hook = ip6table_nat_out,
90 .hook = ip6table_nat_local_fn,
98 .hook = ip6table_nat_fn,
H A Dnf_defrag_ipv6_hooks.c87 .hook = ipv6_defrag,
94 .hook = ipv6_defrag,
H A Dnf_reject_ipv6.c21 unsigned int *otcplen, int hook) nf_reject_ip6_tcphdr_get()
58 if (nf_ip6_checksum(oldskb, hook, tcphoff, IPPROTO_TCP)) { nf_reject_ip6_tcphdr_get()
133 void nf_send_reset6(struct net *net, struct sk_buff *oldskb, int hook) nf_send_reset6() argument
150 otcph = nf_reject_ip6_tcphdr_get(oldskb, &_otcph, &otcplen, hook); nf_send_reset6()
213 static bool reject6_csum_ok(struct sk_buff *skb, int hook) reject6_csum_ok() argument
232 return nf_ip6_checksum(skb, hook, thoff, proto) == 0; reject6_csum_ok()
19 nf_reject_ip6_tcphdr_get(struct sk_buff *oldskb, struct tcphdr *otcph, unsigned int *otcplen, int hook) nf_reject_ip6_tcphdr_get() argument
H A Dnf_conntrack_l3proto_ipv6.c189 .hook = ipv6_conntrack_in,
196 .hook = ipv6_conntrack_local,
203 .hook = ipv6_helper,
210 .hook = ipv6_confirm,
217 .hook = ipv6_helper,
224 .hook = ipv6_confirm,
414 "hook.\n"); nf_conntrack_l3proto_ipv6_init()
H A Dip6_tables.c279 unsigned int hook, trace_packet()
294 root = get_entry(table_base, private->hook_entry[hook]); trace_packet()
296 hookname = chainname = hooknames[hook]; trace_packet()
299 xt_entry_foreach(iter, root, private->size - private->hook_entry[hook]) trace_packet()
304 nf_log_trace(net, AF_INET6, hook, skb, in, out, &trace_loginfo, trace_packet()
319 unsigned int hook, ip6t_do_table()
347 acpar.hooknum = hook; ip6t_do_table()
349 IP_NF_ASSERT(table->valid_hooks & (1 << hook)); ip6t_do_table()
365 e = get_entry(table_base, private->hook_entry[hook]); ip6t_do_table()
395 trace_packet(skb, hook, state->in, state->out,
411 private->underflow[hook]);
454 /* Figures out from what hook each rule can be called: returns 0 if
455 there are loops. Puts hook bitmask in comefrom. */
460 unsigned int hook; mark_source_chains() local
463 to 0 as we leave), and comefrom to save source hook bitmask */ mark_source_chains()
464 for (hook = 0; hook < NF_INET_NUMHOOKS; hook++) { mark_source_chains()
465 unsigned int pos = newinfo->hook_entry[hook]; mark_source_chains()
468 if (!(valid_hooks & (1 << hook))) mark_source_chains()
477 int visited = e->comefrom & (1 << hook); mark_source_chains()
480 pr_err("iptables: loop hook %u pos %u %08X.\n", mark_source_chains()
481 hook, pos, e->comefrom); mark_source_chains()
484 e->comefrom |= ((1 << hook) | (1 << NF_INET_NUMHOOKS)); mark_source_chains()
511 "on hook %u " mark_source_chains()
513 hook, pos); mark_source_chains()
561 duprintf("Finished chain %u\n", hook); mark_source_chains()
850 duprintf("Invalid hook entry %u %u\n", translate_table()
1216 duprintf("Valid hook crap: %08X vs %08X\n", __do_replace()
1713 duprintf("Invalid hook entry %u %u\n",
278 trace_packet(const struct sk_buff *skb, unsigned int hook, const struct net_device *in, const struct net_device *out, const char *tablename, const struct xt_table_info *private, const struct ip6t_entry *e) trace_packet() argument
318 ip6t_do_table(struct sk_buff *skb, unsigned int hook, const struct nf_hook_state *state, struct xt_table *table) ip6t_do_table() argument
H A Dip6table_filter.c56 /* Entry 1 is the FORWARD hook */ ip6table_filter_net_init()
H A Dip6t_SYNPROXY.c152 /* ack_seq is used to relay our ISN to the synproxy hook to initialize synproxy_send_server_syn()
457 .hook = ipv6_synproxy_hook,
464 .hook = ipv6_synproxy_hook,
/linux-4.1.27/include/uapi/linux/netfilter/
H A Dnfnetlink_log.h20 __u8 hook; /* netfilter hook */ member in struct:nfulnl_msg_packet_hdr
H A Dnfnetlink_queue.h19 __u8 hook; /* netfilter hook */ member in struct:nfqnl_msg_packet_hdr
H A Dnf_tables.h121 * enum nft_hook_attributes - nf_tables netfilter hook netlink attributes
123 * @NFTA_HOOK_HOOKNUM: netfilter hook number (NLA_U32)
124 * @NFTA_HOOK_PRIORITY: netfilter hook priority (NLA_U32)
165 * @NFTA_CHAIN_HOOK: hook specification for basechains (NLA_NESTED: nft_hook_attributes)
/linux-4.1.27/security/smack/
H A Dsmack_netfilter.c59 .hook = smack_ipv4_output,
67 .hook = smack_ipv6_output,
/linux-4.1.27/include/linux/platform_data/
H A Dmmc-mxcmmc.h20 /* board specific hook to (de)initialize the SD slot.
/linux-4.1.27/arch/powerpc/platforms/pseries/
H A Drng.c39 pr_info("Registering arch random hook.\n"); rng_init()
/linux-4.1.27/arch/arm/mach-bcm/
H A Dbcm_5301x.c41 /* Install our hook */ bcm5301x_init_early()
/linux-4.1.27/arch/arm/mach-imx/
H A Dclk-fixup-mux.c24 * @fixup: a hook to fixup the write value
27 * with an addtional fixup hook.
H A Dclk-fixup-div.c25 * @fixup: a hook to fixup the write value
28 * with an addtional fixup hook.
/linux-4.1.27/sound/pci/hda/
H A Dthinkpad_helper.c73 old_vmaster_hook = spec->vmaster_mute.hook; hda_fixup_thinkpad_acpi()
74 spec->vmaster_mute.hook = update_tpacpi_mute_led; hda_fixup_thinkpad_acpi()
H A Dhda_codec.c2083 struct hda_vmaster_mute_hook *hook = snd_kcontrol_chip(kcontrol); vmaster_mute_mode_get() local
2084 ucontrol->value.enumerated.item[0] = hook->mute_mode; vmaster_mute_mode_get()
2091 struct hda_vmaster_mute_hook *hook = snd_kcontrol_chip(kcontrol); vmaster_mute_mode_put() local
2092 unsigned int old_mode = hook->mute_mode; vmaster_mute_mode_put()
2094 hook->mute_mode = ucontrol->value.enumerated.item[0]; vmaster_mute_mode_put()
2095 if (hook->mute_mode > HDA_VMUTE_FOLLOW_MASTER) vmaster_mute_mode_put()
2096 hook->mute_mode = HDA_VMUTE_FOLLOW_MASTER; vmaster_mute_mode_put()
2097 if (old_mode == hook->mute_mode) vmaster_mute_mode_put()
2099 snd_hda_sync_vmaster_hook(hook); vmaster_mute_mode_put()
2111 /* meta hook to call each driver's vmaster hook */ vmaster_hook()
2114 struct hda_vmaster_mute_hook *hook = private_data; vmaster_hook() local
2116 if (hook->mute_mode != HDA_VMUTE_FOLLOW_MASTER) vmaster_hook()
2117 enabled = hook->mute_mode; vmaster_hook()
2118 hook->hook(hook->codec, enabled); vmaster_hook()
2122 * snd_hda_add_vmaster_hook - Add a vmaster hook for mute-LED
2124 * @hook: the vmaster hook object
2127 * Add a mute-LED hook with the given vmaster switch kctl.
2129 * created and associated with the given hook.
2132 struct hda_vmaster_mute_hook *hook, snd_hda_add_vmaster_hook()
2137 if (!hook->hook || !hook->sw_kctl) snd_hda_add_vmaster_hook()
2139 hook->codec = codec; snd_hda_add_vmaster_hook()
2140 hook->mute_mode = HDA_VMUTE_FOLLOW_MASTER; snd_hda_add_vmaster_hook()
2141 snd_ctl_add_vmaster_hook(hook->sw_kctl, vmaster_hook, hook); snd_hda_add_vmaster_hook()
2144 kctl = snd_ctl_new1(&vmaster_mute_mode, hook); snd_hda_add_vmaster_hook()
2152 * snd_hda_sync_vmaster_hook - Sync vmaster hook
2153 * @hook: the vmaster hook
2155 * Call the hook with the current value for synchronization.
2158 void snd_hda_sync_vmaster_hook(struct hda_vmaster_mute_hook *hook) snd_hda_sync_vmaster_hook() argument
2160 if (!hook->hook || !hook->codec) snd_hda_sync_vmaster_hook()
2162 /* don't call vmaster hook in the destructor since it might have snd_hda_sync_vmaster_hook()
2165 if (hook->codec->bus->shutdown) snd_hda_sync_vmaster_hook()
2167 snd_ctl_sync_vmaster_hook(hook->sw_kctl); snd_hda_sync_vmaster_hook()
2131 snd_hda_add_vmaster_hook(struct hda_codec *codec, struct hda_vmaster_mute_hook *hook, bool expose_enum_ctl) snd_hda_add_vmaster_hook() argument
H A Dpatch_analog.c141 /* follow EAPD via vmaster hook */ ad_vmaster_eapd_hook()
242 spec->gen.vmaster_mute.hook = ad_vmaster_eapd_hook; ad_fixup_inv_jack_detect()
577 spec->gen.vmaster_mute.hook = ad_vmaster_eapd_hook; ad1981_fixup_hp_eapd()
1007 spec->gen.vmaster_mute.hook = ad1884_vmaster_hp_gpio_hook; ad1884_fixup_hp_eapd()
1032 spec->gen.vmaster_mute.hook = ad_vmaster_eapd_hook; ad1884_fixup_thinkpad()
/linux-4.1.27/net/sched/
H A Dact_ipt.c33 static int ipt_init_target(struct xt_entry_target *t, char *table, unsigned int hook) ipt_init_target() argument
49 par.hook_mask = hook; ipt_init_target()
94 u32 hook = 0; tcf_ipt_init() local
131 hook = nla_get_u32(tb[TCA_IPT_HOOK]); tcf_ipt_init()
145 err = ipt_init_target(t, tname, hook); tcf_ipt_init()
157 ipt->tcfi_hook = hook; tcf_ipt_init()
/linux-4.1.27/sound/soc/omap/
H A Dams-delta.c225 * the hook switch can be used for dynamic DAPM reconfiguration. */
308 /* Prevent the hook switch from further changing the DAPM pins */ cx81801_close()
356 /* Link hook switch to DAPM pins */ cx81801_receive()
362 "Failed to link hook switch to DAPM pins, " cx81801_receive()
363 "will continue with hook switch unlinked.\n"); cx81801_receive()
480 /* Add hook switch - can be used to control the codec from userspace ams_delta_cx20442_init()
486 "Failed to allocate resources for hook switch, " ams_delta_cx20442_init()
494 "Failed to set up hook switch GPIO line, " ams_delta_cx20442_init()
495 "will continue with hook switch inactive.\n"); ams_delta_cx20442_init()
/linux-4.1.27/net/netfilter/
H A Dcore.c140 verdict = (*elemp)->hook(*elemp, skb, state); list_for_each_entry_continue_rcu()
146 (*elemp)->hook, state->hook); list_for_each_entry_continue_rcu()
170 elem = list_entry_rcu(&nf_hooks[state->pf][state->hook], nf_hook_slow()
173 verdict = nf_iterate(&nf_hooks[state->pf][state->hook], skb, state, nf_hook_slow()
H A Dnf_tables_inet.c30 ops->hook = afi->hooks[ops->hooknum]; nft_inet_hook_ops_init()
H A Dnf_queue.c72 /* Drop reference to owner of hook which queued us. */ nf_queue_entry_release_refs()
216 verdict = nf_iterate(&nf_hooks[entry->state.pf][entry->state.hook], nf_reinject()
H A Dnfnetlink_queue_core.c317 if (entry->state.hook <= NF_INET_FORWARD || nfqnl_build_packet_message()
318 (entry->state.hook == NF_INET_POST_ROUTING && entskb->sk == NULL)) nfqnl_build_packet_message()
378 pmsg->hook = entry->state.hook; nfqnl_build_packet_message()
674 * mean 'ignore this hook'. nfqnl_enqueue_packet()
832 static void nfqnl_nf_hook_drop(struct net *net, struct nf_hook_ops *hook) nfqnl_nf_hook_drop() argument
843 nfqnl_flush(inst, nf_hook_cmp, (unsigned long)hook); nfqnl_nf_hook_drop()
H A Dxt_AUDIT.c134 audit_log_format(ab, "action=%hhu hook=%u len=%u inif=%s outif=%s", audit_tg()
/linux-4.1.27/include/linux/netfilter_bridge/
H A Debtables.h114 extern unsigned int ebt_do_table(unsigned int hook, struct sk_buff *skb,
120 /* True if the hook mask denotes that the rule is in a base chain,
123 /* Clear the bit in the hook mask that tells if the rule is on a base chain */
/linux-4.1.27/drivers/spi/
H A Dspi-dw-pci.c101 /* PCI hook and SPI hook use the same drv data */ spi_pci_probe()
/linux-4.1.27/arch/mips/include/asm/
H A Dbootinfo.h131 * Platform memory detection hook called by setup_arch
137 * Optional platform hook to call swiotlb_setup().
/linux-4.1.27/arch/arm/kernel/
H A Dtraps.c372 void register_undef_hook(struct undef_hook *hook) register_undef_hook() argument
377 list_add(&hook->node, &undef_hook); register_undef_hook()
381 void unregister_undef_hook(struct undef_hook *hook) unregister_undef_hook() argument
386 list_del(&hook->node); unregister_undef_hook()
392 struct undef_hook *hook; call_undef_hook() local
397 list_for_each_entry(hook, &undef_hook, node) call_undef_hook()
398 if ((instr & hook->instr_mask) == hook->instr_val && call_undef_hook()
399 (regs->ARM_cpsr & hook->cpsr_mask) == hook->cpsr_val) call_undef_hook()
400 fn = hook->fn; call_undef_hook()
H A Dreboot.c130 * use soft_restart() as their machine descriptor's .restart hook, since that
/linux-4.1.27/drivers/mmc/core/
H A Dquirks.c39 * This hook just adds a quirk for all sdio devices
/linux-4.1.27/drivers/net/ethernet/cisco/enic/
H A Dvnic_intr.c42 pr_err("Failed to hook INTR[%d].ctrl resource\n", index); vnic_intr_alloc()
H A Dvnic_cq.c45 pr_err("Failed to hook CQ[%d] resource\n", index); vnic_cq_alloc()
H A Dvnic_rq.c94 pr_err("Failed to hook RQ[%d] resource\n", index); vnic_rq_alloc()
H A Dvnic_wq.c97 pr_err("Failed to hook WQ[%d] resource\n", index); vnic_wq_alloc()
H A Denic_res.c374 "Failed to hook legacy pba resource\n"); enic_alloc_vnic_resources()
/linux-4.1.27/drivers/scsi/fnic/
H A Dvnic_intr.c40 printk(KERN_ERR "Failed to hook INTR[%d].ctrl resource\n", vnic_intr_alloc()
H A Dvnic_cq.c41 printk(KERN_ERR "Failed to hook CQ[%d] resource\n", index); vnic_cq_alloc()
H A Dvnic_wq_copy.c89 printk(KERN_ERR "Failed to hook COPY WQ[%d] resource\n", index); vnic_wq_copy_alloc()
H A Dvnic_rq.c95 printk(KERN_ERR "Failed to hook RQ[%d] resource\n", index); vnic_rq_alloc()
H A Dvnic_wq.c95 printk(KERN_ERR "Failed to hook WQ[%d] resource\n", index); vnic_wq_alloc()
/linux-4.1.27/arch/xtensa/include/asm/
H A Dplatform.h21 * platform a early hook-up. bp_tag_t is a list of configuration tags
/linux-4.1.27/include/linux/netfilter_arp/
H A Darp_tables.h56 unsigned int hook,
/linux-4.1.27/include/linux/netfilter_ipv4/
H A Dip_tables.h67 unsigned int hook,
/linux-4.1.27/include/linux/netfilter_ipv6/
H A Dip6_tables.h33 unsigned int hook,
/linux-4.1.27/arch/sh/include/asm/
H A Daddrspace.h17 /* If this CPU supports segmentation, hook up the helpers */
H A Dsh7760fb.h190 /* blanking hook for platform. Set this if your platform can do
H A Dunaligned-sh4a.h12 * as the load is guaranteed to be inlined, nothing else will hook in to
/linux-4.1.27/arch/mips/kernel/
H A Dsmp-up.c40 * Firmware CPU startup hook
H A Dtime.c76 * definition if platform code should have its own implementation. The hook
H A Dcevt-r4k.c191 * get_c0_compare_int is a hook to allow a platform to return the r4k_clockevent_init()
/linux-4.1.27/arch/cris/kernel/
H A Dprocess.c67 * registers need to be reset. This is a hook function for that.
/linux-4.1.27/arch/arm/mach-omap1/include/mach/
H A Dams-delta-fiq.h34 * which generate GPIO interrupts - e.g. keyboard, modem, hook switch.
/linux-4.1.27/include/linux/gpio/
H A Ddriver.h25 * @request: optional hook for chip-specific activation, such as
27 * @free: optional hook for chip-specific deactivation, such as
37 * @set_debounce: optional hook for setting debounce time for specified gpio in
39 * @to_irq: optional hook supporting non-static gpio_to_irq() mappings;
/linux-4.1.27/arch/blackfin/kernel/
H A Dipipe.c191 void (*hook)(void); __ipipe_syscall_root()
197 * We need to run the IRQ tail hook each time we intercept a __ipipe_syscall_root()
201 hook = (__typeof__(hook))__ipipe_irq_tail_hook; __ipipe_syscall_root()
202 hook(); __ipipe_syscall_root()
/linux-4.1.27/net/netfilter/ipvs/
H A Dip_vs_app.c392 * Call private output hook function app_tcp_pkt_out()
411 * Output pkt hook. Will call bound ip_vs_app specific function
431 * Call private output hook function ip_vs_app_pkt_out()
467 * Call private input hook function app_tcp_pkt_in()
486 * Input pkt hook. Will call bound ip_vs_app specific function
506 * Call private input hook function ip_vs_app_pkt_in()
H A Dip_vs_proto_ah_esp.c72 * service, so our conn_schedule hook should return NF_ACCEPT ah_esp_conn_in_get()
H A Dip_vs_core.c1638 " ignored in hook %u\n", ip_vs_in()
1880 .hook = ip_vs_reply4,
1890 .hook = ip_vs_remote_request4,
1898 .hook = ip_vs_local_reply4,
1906 .hook = ip_vs_local_request4,
1915 .hook = ip_vs_forward_icmp,
1923 .hook = ip_vs_reply4,
1932 .hook = ip_vs_reply6,
1942 .hook = ip_vs_remote_request6,
1950 .hook = ip_vs_local_reply6,
1958 .hook = ip_vs_local_request6,
1967 .hook = ip_vs_forward_icmp_v6,
1975 .hook = ip_vs_reply6,
/linux-4.1.27/arch/sh/drivers/pci/
H A Dpci-sh5.c111 printk(KERN_ERR "PCISH5: Cannot hook PCI_PERR interrupt\n"); sh5pci_init()
117 printk(KERN_ERR "PCISH5: Cannot hook PCI_SERR interrupt\n"); sh5pci_init()
/linux-4.1.27/drivers/gpu/drm/nouveau/
H A Dnouveau_sgdma.c111 * and thus our nouveau_sgdma_destroy() hook, so we don't need nouveau_sgdma_create_ttm()
/linux-4.1.27/arch/mips/include/asm/mach-au1x00/
H A Dgpio.h56 /* FIXME: gpiolib needs an irq_to_gpio hook */ __au_irq_to_gpio()
/linux-4.1.27/arch/m32r/include/asm/
H A Dpgtable-2level.h42 * hook is made available.
/linux-4.1.27/arch/arm/common/
H A Dmcpm_platsmp.c72 * This would be the hook to use for eventual Secure mcpm_cpu_disable()
/linux-4.1.27/arch/arm/mach-keystone/
H A Dkeystone.c97 /* Populate the arch idmap hook */ keystone_init_meminfo()
/linux-4.1.27/drivers/mfd/
H A Dmfd-core.c34 /* only call enable hook if the cell wasn't previously enabled */ mfd_cell_enable()
38 /* if the enable hook failed, decrement counter to allow retries */ mfd_cell_enable()
55 /* if the disable hook failed, increment to allow retries */ mfd_cell_disable()
/linux-4.1.27/include/uapi/linux/netfilter_arp/
H A Darp_tables.h138 /* Which hook entry points are valid: bitmask */
141 /* Hook entry points: one per netfilter hook. */
159 /* Which hook entry points are valid: bitmask. You can't
/linux-4.1.27/include/uapi/linux/netfilter_ipv4/
H A Dip_tables.h160 /* Which hook entry points are valid: bitmask */
163 /* Hook entry points: one per netfilter hook. */
181 /* Which hook entry points are valid: bitmask. You can't
/linux-4.1.27/include/uapi/linux/netfilter_ipv6/
H A Dip6_tables.h200 /* Which hook entry points are valid: bitmask */
203 /* Hook entry points: one per netfilter hook. */
221 /* Which hook entry points are valid: bitmask. You can't
/linux-4.1.27/fs/btrfs/
H A Dasync-thread.c165 * This hook WILL be called in IRQ handler context,
166 * so workqueue_set_max_active MUST NOT be called in this hook
177 * This hook is called in kthread content.
/linux-4.1.27/drivers/gpu/drm/
H A Ddrm_sysfs.c39 * @dev is and calls its suspend hook, if present.
56 * drm_class_suspend - internal DRM class suspend hook. Simply calls
66 * drm_class_freeze - internal DRM class freeze hook. Simply calls
76 * drm_class_resume - DRM class resume hook
80 * @dev is and calls its resume hook, if present.
H A Ddrm_atomic_helper.c1952 * drm_atomic_helper_crtc_reset - default ->reset hook for CRTCs
1989 * drm_atomic_helper_crtc_duplicate_state - default state duplicate hook
1992 * Default CRTC state duplicate hook for drivers which don't have their own
2032 * drm_atomic_helper_crtc_destroy_state - default state destroy hook
2036 * Default CRTC state destroy hook for drivers which don't have their own
2048 * drm_atomic_helper_plane_reset - default ->reset hook for planes
2086 * drm_atomic_helper_plane_duplicate_state - default state duplicate hook
2089 * Default plane state duplicate hook for drivers which don't have their own
2126 * drm_atomic_helper_plane_destroy_state - default state destroy hook
2130 * Default plane state destroy hook for drivers which don't have their own
2142 * drm_atomic_helper_connector_reset - default ->reset hook for connectors
2176 * drm_atomic_helper_connector_duplicate_state - default state duplicate hook
2179 * Default connector state duplicate hook for drivers which don't have their own
2220 * drm_atomic_helper_connector_destroy_state - default state destroy hook
2224 * Default connector state destroy hook for drivers which don't have their own
H A Ddrm_atomic.c244 * driver hook directly.
272 * driver hook directly.
387 * driver hook directly.
440 * driver hook directly.
637 * driver hook directly.
671 * driver hook directly.
/linux-4.1.27/arch/arm/mach-omap1/
H A Dams-delta-fiq-handler.S222 hksw: @Is hook switch interrupt requested?
223 tst r13, #HOOK_SWITCH_MASK @ is hook switch status bit set?
232 @ Increment hook switch interrupt counter
/linux-4.1.27/drivers/hwmon/
H A Dtwl4030-madc-hwmon.c41 * sysfs hook function
H A Dlm70.c55 /* sysfs hook function */ lm70_sense_temp()
H A Dadcxx.c59 /* sysfs hook function */ adcxx_read()
/linux-4.1.27/arch/x86/boot/
H A Dpm.c19 * Invoke the realmode switch hook if present; otherwise
/linux-4.1.27/drivers/char/
H A Dgeneric_nvram.c7 * Note that an additional hook is supported for PowerMac only
H A Dsnsc_event.c293 /* hook event subchannel up to the system controller interrupt */ scdrv_event_init()
/linux-4.1.27/drivers/acpi/
H A Dacpi_apd.c39 * @setup: a hook routine to set device resource during create platform device
/linux-4.1.27/arch/powerpc/platforms/powernv/
H A Drng.c129 pr_info_once("Registering arch random hook.\n"); rng_create()
/linux-4.1.27/arch/score/kernel/
H A Dprocess.c63 * registers need to be reset. This is a hook function for that. exit_thread()
/linux-4.1.27/arch/mn10300/unit-asb2364/include/unit/
H A Dsmsc911x.h76 * Implement the SMSC911x hook for MAC address retrieval
/linux-4.1.27/arch/arm/mach-u300/
H A Dregulator.c100 /* Register globally exported PM poweroff hook */ __u300_init_boardpower()
/linux-4.1.27/arch/alpha/kernel/
H A Dpci-noop.c65 /* Special hook for ISA access. */ sys_pciconfig_iobase()
H A Dtime.c96 /* Don't run the hook for UNUSED or SHUTDOWN. */ rtc_timer_interrupt()
118 /* This hook is for oneshot mode, which we don't support. */ rtc_ce_set_next_event()
/linux-4.1.27/net/bridge/
H A Dbr_netfilter.c275 * bridge PRE_ROUTING hook. */ br_nf_pre_routing_finish_ipv6()
678 * register an IPv4 PRE_ROUTING 'sabotage' hook that will
992 .hook = br_nf_pre_routing,
999 .hook = br_nf_local_in,
1006 .hook = br_nf_forward_ip,
1013 .hook = br_nf_forward_arp,
1020 .hook = br_nf_post_routing,
1027 .hook = ip_sabotage_in,
1034 .hook = ip_sabotage_in,
/linux-4.1.27/net/decnet/netfilter/
H A Ddn_rtmsg.c117 .hook = dnrmg_hook,
/linux-4.1.27/drivers/usb/c67x00/
H A Dc67x00-hcd.c278 * c67x00_hcd_start: Host controller start hook
290 * c67x00_hcd_stop: Host controller stop hook
/linux-4.1.27/drivers/platform/olpc/
H A Dolpc-ec.c120 /* Ensure a driver and ec hook have been registered */ olpc_ec_cmd()
143 /* Timeouts must be handled in the platform-specific EC hook */ olpc_ec_cmd()
/linux-4.1.27/include/pcmcia/
H A Dss.h83 /* power hook operations */
178 /* so is power hook */
/linux-4.1.27/arch/powerpc/kernel/
H A Dmce_power.c58 * flush_tlb hook in cpu_spec for Power7 processor.
70 * flush_tlb hook in cpu_spec for power8 processor.
/linux-4.1.27/drivers/media/usb/dvb-usb-v2/
H A Ddvbsky.c46 /* fe hook functions*/
356 /* hook fe: need to resync the slave fifo when signal locks. */ dvbsky_s960_attach()
360 /* hook fe: LNB off/on is control by Cypress usb chip. */ dvbsky_s960_attach()
496 /* hook fe: need to resync the slave fifo when signal locks. */ dvbsky_s960c_attach()
500 /* hook fe: LNB off/on is control by Cypress usb chip. */ dvbsky_s960c_attach()
/linux-4.1.27/drivers/media/usb/dvb-usb/
H A DcinergyT2-core.c46 /* We are missing a release hook with usb_device data */
/linux-4.1.27/drivers/net/ethernet/samsung/sxgbe/
H A Dsxgbe_platform.c175 * and calls the platforms hook and release the resources (e.g. mem).
/linux-4.1.27/drivers/net/wireless/ti/wl1251/
H A Drx.c64 * That could be moved to the get_tsf() hook, but unfortunately, wl1251_rx_status()
/linux-4.1.27/drivers/gpu/drm/i915/
H A Ddvo.h126 * Debugging hook to dump device registers to log file
/linux-4.1.27/arch/x86/platform/olpc/
H A Dolpc-xo1-pm.c147 /* If we have both addresses, we can override the poweroff hook */ xo1_pm_probe()
/linux-4.1.27/arch/nios2/kernel/
H A Dsetup.c39 /* Copy a short hook instruction sequence to the exception address */ copy_exception_handler()
/linux-4.1.27/arch/m68k/include/asm/
H A Dpgtable_mm.h22 * hook is made available.
/linux-4.1.27/arch/alpha/oprofile/
H A Dcommon.c54 /* Install our interrupt handler into the existing hook. */ op_axp_setup()
/linux-4.1.27/arch/arc/kernel/
H A Dentry.S17 * were not invoking post-syscall trace hook (jumping directly into
431 ; PRE Sys Call Ptrace hook
444 ; Restore the sys-call args. Mere invocation of the hook abv could have
464 ; we'd done before calling post hook above
/linux-4.1.27/security/integrity/
H A Diint.c246 * integrity_load_keys - load integrity keys hook
/linux-4.1.27/tools/perf/tests/
H A Dattr.c5 * by the PERF_TEST_ATTR environment variable and hook inside
/linux-4.1.27/drivers/input/serio/
H A Dhp_sdc_mlc.c334 printk(KERN_WARNING PREFIX "Request for raw HIL ISR hook denied\n"); hp_sdc_mlc_init()
349 printk(KERN_ERR PREFIX "Failed to release the raw HIL ISR hook.\n" hp_sdc_mlc_exit()
/linux-4.1.27/arch/powerpc/include/asm/
H A Dio.h282 * In addition, they support a hook mechanism when CONFIG_PPC_INDIRECT_MMIO
327 * all PIO functions call through a hook.
471 * behaviour of both to only hook on the MMIO version and get both. It's also
472 * possible to hook directly at the toplevel PIO operation if they have to
709 * ioremap_prot and cannot be hooked (but can be used by a hook on one
716 * be hooked (but can be used by a hook on iounmap)
/linux-4.1.27/fs/9p/
H A Dvfs_inode.c712 * v9fs_vfs_create - VFS hook to create a regular file
743 * v9fs_vfs_mkdir - VFS mkdir hook to create a directory
777 * v9fs_vfs_lookup - VFS lookup hook to "walk" to a new inode
924 * v9fs_vfs_unlink - VFS unlink hook to delete an inode
936 * v9fs_vfs_rmdir - VFS unlink hook to delete a directory
948 * v9fs_vfs_rename - VFS hook to rename an inode
/linux-4.1.27/drivers/ata/
H A Dlibata-acpi.c808 * ata_acpi_on_suspend - ATA ACPI hook called on suspend
829 * ata_acpi_on_resume - ATA ACPI hook called on resume
964 * ata_acpi_on_devcfg - ATA ACPI hook called on device donfiguration
968 * IDENTIFY data might have been modified after this hook is run.
1043 * ata_acpi_on_disable - ATA ACPI hook called when a device is disabled
H A Dpata_acpi.c188 * Use the port_start hook to maintain private control structures
H A Dpata_cmd640.c121 * cmd640_qc_issue - command preparation hook
/linux-4.1.27/net/irda/irnet/
H A Dirnet.h89 * I could have used a tty interface to hook to ppp and use the full
92 * Instead, we hook directly to ppp_generic and to IrTTP, which make
130 * o Basic IrNET (hook to ppp_generic & IrTTP - incl. multipoint)
/linux-4.1.27/security/apparmor/
H A Dapparmorfs.c116 /* .load file hook fn to load policy */ profile_load()
139 /* .replace file hook fn to load and/or replace policy */ profile_replace()
161 /* .remove file hook fn to remove loaded policy */ profile_remove()
/linux-4.1.27/security/integrity/ima/
H A Dima_policy.c206 * @func: LIM hook identifier
291 * we need to differentiate between calling hooks, for hook specific rules.
316 * @func: IMA hook identifier
/linux-4.1.27/drivers/net/ethernet/sfc/
H A Dnic.c91 "failed to hook legacy IRQ %d\n", efx_nic_init_interrupt()
118 "failed to hook IRQ %d\n", channel->irq); efx_for_each_channel()
/linux-4.1.27/drivers/of/
H A Dplatform.c381 * @parent: parent to hook devices from, NULL for toplevel
421 * @parent: parent to hook devices from, NULL for toplevel
/linux-4.1.27/scripts/package/
H A Dbuilddeb174 # Note: hook scripts under /etc/kernel are also executed by official Debian
191 # Pass maintainer script parameters to hook scripts
/linux-4.1.27/drivers/ide/
H A Dtc86c001.c127 /* Install our timeout expiry hook, saving the current handler... */ tc86c001_dma_start()
/linux-4.1.27/drivers/mmc/host/
H A Dtmio_mmc.h188 /* If there is a hook and it returns non-zero then there sd_ctrl_write16()
/linux-4.1.27/drivers/mtd/maps/
H A Dgpio-addr-flash.c5 * line and supplemented by GPIOs. This way you can hook up say a 8MiB flash
/linux-4.1.27/drivers/media/pci/zoran/
H A Dvideocodec.c367 /* hook in driver module */
/linux-4.1.27/drivers/net/ethernet/ti/
H A Dnetcp.h104 /* Lock used for protecting Rx/Tx hook list management */
/linux-4.1.27/drivers/net/wireless/prism54/
H A Dislpci_hotplug.c188 /* error, could not hook the handler to the irq */ prism54_probe()
/linux-4.1.27/drivers/remoteproc/
H A Dda8xx_remoteproc.c231 /* everything the ISR needs is now setup, so hook it up */ da8xx_rproc_probe()
/linux-4.1.27/drivers/rtc/
H A Dinterface.c525 * rtc_handle_legacy_irq - AIE, UIE and PIE event hook
554 * rtc_aie_update_irq - AIE mode rtctimer hook
567 * rtc_uie_update_irq - UIE mode rtctimer hook
580 * rtc_pie_update_irq - PIE mode hrtimer hook
/linux-4.1.27/drivers/staging/lustre/lustre/osc/
H A Dosc_quota.c115 /* This ID is now off the hook, let's remove it from osc_quota_setdq()
/linux-4.1.27/drivers/net/wireless/ath/wcn36xx/
H A Dwcn36xx.h108 * @open: hook must be called when wcn36xx wants to open control channel.
/linux-4.1.27/arch/x86/kernel/
H A Dmachine_kexec_32.c142 * A architecture hook called to validate the
/linux-4.1.27/arch/mips/cavium-octeon/
H A Dsmp.c152 * Firmware CPU startup hook
/linux-4.1.27/drivers/tty/serial/jsm/
H A Djsm_driver.c229 dev_warn(&pdev->dev, "Failed to hook IRQ %d\n", brd->irq); jsm_probe_one()
/linux-4.1.27/drivers/usb/storage/
H A Dusb.h96 typedef void (*pm_hook)(struct us_data *, int); /* power management hook */
/linux-4.1.27/fs/notify/
H A Dfsnotify.c186 * This is the main call to fsnotify. The VFS calls into hook specific functions
/linux-4.1.27/include/sound/
H A Dcontrol.h246 void (*hook)(void *private_data, int),
/linux-4.1.27/include/uapi/linux/netfilter_bridge/
H A Debtables.h81 /* one standard (accept, drop, return) per hook */
/linux-4.1.27/arch/powerpc/platforms/52xx/
H A Dmpc52xx_common.c244 * mpc52xx_restart: ppc_md->restart hook for mpc5200 using the watchdog timer
/linux-4.1.27/arch/openrisc/kernel/
H A Dprocess.c82 * registers need to be reset. This is a hook function for that.
/linux-4.1.27/arch/hexagon/mm/
H A Dinit.c83 * initialization hook at some point. Set the init_mm mem_init()
/linux-4.1.27/arch/metag/include/asm/
H A Dpgtable.h97 * hook is made available.
/linux-4.1.27/arch/arm/mach-omap2/
H A Dpm44xx.c153 * with default cpu_do_idle() hook. Used by all CPUs with !CONFIG_CPU_IDLE and

Completed in 4161 milliseconds

123