/linux-4.1.27/include/net/netfilter/ipv4/ |
H A D | nf_reject.h | 8 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 D | netfilter.h | 41 /* 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 D | netfilter_ipv4.h | 10 __sum16 nf_ip_checksum(struct sk_buff *skb, unsigned int hook,
|
H A D | htirq.h | 16 /* The arch hook for getting things started */
|
H A D | gpio_keys.h | 44 * @enable: platform hook for enabling the device 45 * @disable: platform hook for disabling the device
|
H A D | netfilter_ipv6.h | 15 __sum16 nf_ip6_checksum(struct sk_buff *skb, unsigned int hook,
|
H A D | serial_max3100.h | 20 * @max3100_hw_suspend: MAX3100 has a shutdown pin. This is a hook
|
H A D | pci.h | 263 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 D | security.h | 205 * 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 D | if_frad.h | 95 extern void dlci_ioctl_set(int (*hook)(unsigned int, void __user *));
|
H A D | moduleloader.h | 8 /* These may be implemented by architectures that need to hook into the
|
H A D | pwm.h | 124 * @request: optional hook for requesting a PWM 125 * @free: optional hook for freeing a PWM
|
H A D | tracehook.h | 10 * This file defines hook entry points called by core code where 12 * entry points are called tracehook_*(). Each hook declared below
|
H A D | mailbox_controller.h | 71 * @node: API private. To hook into list of controllers. 109 * @active_req: Currently active request hook
|
H A D | pipe_fs_i.h | 89 * hook. Returns 0 for good, or a negative error value in case of
|
H A D | ptp_clock_kernel.h | 81 * hook gives drivers a way of telling the core about
|
H A D | rtc.h | 65 * - the proc() hook for procfs
|
/linux-4.1.27/net/ipv4/netfilter/ |
H A D | ipt_REJECT.c | 37 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 D | nf_reject_ipv4.c | 20 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 D | iptable_nat.c | 72 .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 D | nf_defrag_ipv4.c | 96 .hook = ipv4_conntrack_defrag, 103 .hook = ipv4_conntrack_defrag,
|
H A D | ip_tables.c | 250 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 D | arp_tables.c | 250 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 D | nf_conntrack_l3proto_ipv4.c | 165 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 D | iptable_filter.c | 64 /* Entry 1 is the FORWARD hook */ iptable_filter_net_init()
|
H A D | ipt_SYNPROXY.c | 137 /* 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 D | device.h | 9 void *iommu; /* hook for IOMMU specific extension */
|
H A D | pgtable-2level.h | 12 * hook is made available.
|
/linux-4.1.27/arch/ia64/include/asm/ |
H A D | device.h | 11 void *iommu; /* hook for IOMMU specific extension */
|
/linux-4.1.27/include/net/netfilter/ipv6/ |
H A D | nf_reject.h | 9 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 D | traps.h | 20 void register_undef_hook(struct undef_hook *hook); 21 void unregister_undef_hook(struct undef_hook *hook);
|
H A D | pgtable-2level.h | 30 * hook is made available.
|
/linux-4.1.27/drivers/media/pci/bt8xx/ |
H A D | Makefile | 3 bttv-input.o bttv-audio-hook.o btcx-risc.o
|
H A D | bttv-audio-hook.c | 8 #include "bttv-audio-hook.h"
|
/linux-4.1.27/arch/arm64/kernel/ |
H A D | debug-monitors.c | 189 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 D | traps.c | 266 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 D | cpuidle.c | 37 * Return: 0 on success, -EOPNOTSUPP if CPU suspend hook not initialized, CPU
|
H A D | armv8_deprecated.c | 67 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 D | suspend.c | 39 * 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 D | entry-ftrace.S | 96 * - 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 D | traps.c | 135 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 D | netfilter.h | 9 /* Responses from hook functions. */ 36 /* Generic cache responses from hook functions.
|
H A D | netfilter_bridge.h | 23 /* Not really a hook, but used for the ebtables broute table */
|
H A D | bpqether.h | 22 * currently not implemented, though. If someone wants to hook a radio
|
H A D | netlink.h | 8 #define NETLINK_ROUTE 0 /* Routing/device hook */
|
/linux-4.1.27/arch/arm64/include/asm/ |
H A D | traps.h | 34 void register_undef_hook(struct undef_hook *hook); 35 void unregister_undef_hook(struct undef_hook *hook);
|
H A D | debug-monitors.h | 115 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 D | traps.h | 18 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 D | netfilter.c | 38 * 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 D | mm_hooks.h | 4 * arch FOO which doesn't need to hook these.
|
/linux-4.1.27/security/selinux/ |
H A D | xfrm.c | 4 * 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 D | netfilter.c | 87 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 D | vmaster.c | 40 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 D | pinconf.h | 34 * @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 D | pinctrl.h | 78 * @pin_dbg_show: optional debugfs display hook that will provide per-device
|
/linux-4.1.27/net/bridge/netfilter/ |
H A D | ebtable_filter.c | 77 .hook = ebt_in_hook, 84 .hook = ebt_in_hook, 91 .hook = ebt_out_hook,
|
H A D | ebtable_nat.c | 77 .hook = ebt_nat_out, 84 .hook = ebt_nat_out, 91 .hook = ebt_nat_in,
|
H A D | nft_reject_bridge.c | 45 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 D | ebtables.c | 186 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 D | nf_conntrack_ftp.h | 24 /* For NAT to hook in when we find a packet which describes what other
|
H A D | x_tables.h | 19 * @hook: hook number given packet came from 197 int priority; /* hook order */
|
/linux-4.1.27/net/ipv6/netfilter/ |
H A D | ip6table_nat.c | 74 .hook = ip6table_nat_in, 82 .hook = ip6table_nat_out, 90 .hook = ip6table_nat_local_fn, 98 .hook = ip6table_nat_fn,
|
H A D | nf_defrag_ipv6_hooks.c | 87 .hook = ipv6_defrag, 94 .hook = ipv6_defrag,
|
H A D | nf_reject_ipv6.c | 21 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 D | nf_conntrack_l3proto_ipv6.c | 189 .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 D | ip6_tables.c | 279 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 D | ip6table_filter.c | 56 /* Entry 1 is the FORWARD hook */ ip6table_filter_net_init()
|
H A D | ip6t_SYNPROXY.c | 152 /* 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 D | nfnetlink_log.h | 20 __u8 hook; /* netfilter hook */ member in struct:nfulnl_msg_packet_hdr
|
H A D | nfnetlink_queue.h | 19 __u8 hook; /* netfilter hook */ member in struct:nfqnl_msg_packet_hdr
|
H A D | nf_tables.h | 121 * 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 D | smack_netfilter.c | 59 .hook = smack_ipv4_output, 67 .hook = smack_ipv6_output,
|
/linux-4.1.27/include/linux/platform_data/ |
H A D | mmc-mxcmmc.h | 20 /* board specific hook to (de)initialize the SD slot.
|
/linux-4.1.27/arch/powerpc/platforms/pseries/ |
H A D | rng.c | 39 pr_info("Registering arch random hook.\n"); rng_init()
|
/linux-4.1.27/arch/arm/mach-bcm/ |
H A D | bcm_5301x.c | 41 /* Install our hook */ bcm5301x_init_early()
|
/linux-4.1.27/arch/arm/mach-imx/ |
H A D | clk-fixup-mux.c | 24 * @fixup: a hook to fixup the write value 27 * with an addtional fixup hook.
|
H A D | clk-fixup-div.c | 25 * @fixup: a hook to fixup the write value 28 * with an addtional fixup hook.
|
/linux-4.1.27/sound/pci/hda/ |
H A D | thinkpad_helper.c | 73 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 D | hda_codec.c | 2083 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 D | patch_analog.c | 141 /* 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 D | act_ipt.c | 33 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 D | ams-delta.c | 225 * 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 D | core.c | 140 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 D | nf_tables_inet.c | 30 ops->hook = afi->hooks[ops->hooknum]; nft_inet_hook_ops_init()
|
H A D | nf_queue.c | 72 /* 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 D | nfnetlink_queue_core.c | 317 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 D | xt_AUDIT.c | 134 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 D | ebtables.h | 114 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 D | spi-dw-pci.c | 101 /* PCI hook and SPI hook use the same drv data */ spi_pci_probe()
|
/linux-4.1.27/arch/mips/include/asm/ |
H A D | bootinfo.h | 131 * 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 D | traps.c | 372 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 D | reboot.c | 130 * use soft_restart() as their machine descriptor's .restart hook, since that
|
/linux-4.1.27/drivers/mmc/core/ |
H A D | quirks.c | 39 * This hook just adds a quirk for all sdio devices
|
/linux-4.1.27/drivers/net/ethernet/cisco/enic/ |
H A D | vnic_intr.c | 42 pr_err("Failed to hook INTR[%d].ctrl resource\n", index); vnic_intr_alloc()
|
H A D | vnic_cq.c | 45 pr_err("Failed to hook CQ[%d] resource\n", index); vnic_cq_alloc()
|
H A D | vnic_rq.c | 94 pr_err("Failed to hook RQ[%d] resource\n", index); vnic_rq_alloc()
|
H A D | vnic_wq.c | 97 pr_err("Failed to hook WQ[%d] resource\n", index); vnic_wq_alloc()
|
H A D | enic_res.c | 374 "Failed to hook legacy pba resource\n"); enic_alloc_vnic_resources()
|
/linux-4.1.27/drivers/scsi/fnic/ |
H A D | vnic_intr.c | 40 printk(KERN_ERR "Failed to hook INTR[%d].ctrl resource\n", vnic_intr_alloc()
|
H A D | vnic_cq.c | 41 printk(KERN_ERR "Failed to hook CQ[%d] resource\n", index); vnic_cq_alloc()
|
H A D | vnic_wq_copy.c | 89 printk(KERN_ERR "Failed to hook COPY WQ[%d] resource\n", index); vnic_wq_copy_alloc()
|
H A D | vnic_rq.c | 95 printk(KERN_ERR "Failed to hook RQ[%d] resource\n", index); vnic_rq_alloc()
|
H A D | vnic_wq.c | 95 printk(KERN_ERR "Failed to hook WQ[%d] resource\n", index); vnic_wq_alloc()
|
/linux-4.1.27/arch/xtensa/include/asm/ |
H A D | platform.h | 21 * platform a early hook-up. bp_tag_t is a list of configuration tags
|
/linux-4.1.27/include/linux/netfilter_arp/ |
H A D | arp_tables.h | 56 unsigned int hook,
|
/linux-4.1.27/include/linux/netfilter_ipv4/ |
H A D | ip_tables.h | 67 unsigned int hook,
|
/linux-4.1.27/include/linux/netfilter_ipv6/ |
H A D | ip6_tables.h | 33 unsigned int hook,
|
/linux-4.1.27/arch/sh/include/asm/ |
H A D | addrspace.h | 17 /* If this CPU supports segmentation, hook up the helpers */
|
H A D | sh7760fb.h | 190 /* blanking hook for platform. Set this if your platform can do
|
H A D | unaligned-sh4a.h | 12 * as the load is guaranteed to be inlined, nothing else will hook in to
|
/linux-4.1.27/arch/mips/kernel/ |
H A D | smp-up.c | 40 * Firmware CPU startup hook
|
H A D | time.c | 76 * definition if platform code should have its own implementation. The hook
|
H A D | cevt-r4k.c | 191 * 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 D | process.c | 67 * registers need to be reset. This is a hook function for that.
|
/linux-4.1.27/arch/arm/mach-omap1/include/mach/ |
H A D | ams-delta-fiq.h | 34 * which generate GPIO interrupts - e.g. keyboard, modem, hook switch.
|
/linux-4.1.27/include/linux/gpio/ |
H A D | driver.h | 25 * @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 D | ipipe.c | 191 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 D | ip_vs_app.c | 392 * 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 D | ip_vs_proto_ah_esp.c | 72 * service, so our conn_schedule hook should return NF_ACCEPT ah_esp_conn_in_get()
|
H A D | ip_vs_core.c | 1638 " 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 D | pci-sh5.c | 111 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 D | nouveau_sgdma.c | 111 * 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 D | gpio.h | 56 /* FIXME: gpiolib needs an irq_to_gpio hook */ __au_irq_to_gpio()
|
/linux-4.1.27/arch/m32r/include/asm/ |
H A D | pgtable-2level.h | 42 * hook is made available.
|
/linux-4.1.27/arch/arm/common/ |
H A D | mcpm_platsmp.c | 72 * This would be the hook to use for eventual Secure mcpm_cpu_disable()
|
/linux-4.1.27/arch/arm/mach-keystone/ |
H A D | keystone.c | 97 /* Populate the arch idmap hook */ keystone_init_meminfo()
|
/linux-4.1.27/drivers/mfd/ |
H A D | mfd-core.c | 34 /* 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 D | arp_tables.h | 138 /* 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 D | ip_tables.h | 160 /* 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 D | ip6_tables.h | 200 /* 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 D | async-thread.c | 165 * 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 D | drm_sysfs.c | 39 * @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 D | drm_atomic_helper.c | 1952 * 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 D | drm_atomic.c | 244 * 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 D | ams-delta-fiq-handler.S | 222 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 D | twl4030-madc-hwmon.c | 41 * sysfs hook function
|
H A D | lm70.c | 55 /* sysfs hook function */ lm70_sense_temp()
|
H A D | adcxx.c | 59 /* sysfs hook function */ adcxx_read()
|
/linux-4.1.27/arch/x86/boot/ |
H A D | pm.c | 19 * Invoke the realmode switch hook if present; otherwise
|
/linux-4.1.27/drivers/char/ |
H A D | generic_nvram.c | 7 * Note that an additional hook is supported for PowerMac only
|
H A D | snsc_event.c | 293 /* hook event subchannel up to the system controller interrupt */ scdrv_event_init()
|
/linux-4.1.27/drivers/acpi/ |
H A D | acpi_apd.c | 39 * @setup: a hook routine to set device resource during create platform device
|
/linux-4.1.27/arch/powerpc/platforms/powernv/ |
H A D | rng.c | 129 pr_info_once("Registering arch random hook.\n"); rng_create()
|
/linux-4.1.27/arch/score/kernel/ |
H A D | process.c | 63 * 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 D | smsc911x.h | 76 * Implement the SMSC911x hook for MAC address retrieval
|
/linux-4.1.27/arch/arm/mach-u300/ |
H A D | regulator.c | 100 /* Register globally exported PM poweroff hook */ __u300_init_boardpower()
|
/linux-4.1.27/arch/alpha/kernel/ |
H A D | pci-noop.c | 65 /* Special hook for ISA access. */ sys_pciconfig_iobase()
|
H A D | time.c | 96 /* 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 D | br_netfilter.c | 275 * 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 D | dn_rtmsg.c | 117 .hook = dnrmg_hook,
|
/linux-4.1.27/drivers/usb/c67x00/ |
H A D | c67x00-hcd.c | 278 * c67x00_hcd_start: Host controller start hook 290 * c67x00_hcd_stop: Host controller stop hook
|
/linux-4.1.27/drivers/platform/olpc/ |
H A D | olpc-ec.c | 120 /* 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 D | ss.h | 83 /* power hook operations */ 178 /* so is power hook */
|
/linux-4.1.27/arch/powerpc/kernel/ |
H A D | mce_power.c | 58 * 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 D | dvbsky.c | 46 /* 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 D | cinergyT2-core.c | 46 /* We are missing a release hook with usb_device data */
|
/linux-4.1.27/drivers/net/ethernet/samsung/sxgbe/ |
H A D | sxgbe_platform.c | 175 * and calls the platforms hook and release the resources (e.g. mem).
|
/linux-4.1.27/drivers/net/wireless/ti/wl1251/ |
H A D | rx.c | 64 * That could be moved to the get_tsf() hook, but unfortunately, wl1251_rx_status()
|
/linux-4.1.27/drivers/gpu/drm/i915/ |
H A D | dvo.h | 126 * Debugging hook to dump device registers to log file
|
/linux-4.1.27/arch/x86/platform/olpc/ |
H A D | olpc-xo1-pm.c | 147 /* If we have both addresses, we can override the poweroff hook */ xo1_pm_probe()
|
/linux-4.1.27/arch/nios2/kernel/ |
H A D | setup.c | 39 /* Copy a short hook instruction sequence to the exception address */ copy_exception_handler()
|
/linux-4.1.27/arch/m68k/include/asm/ |
H A D | pgtable_mm.h | 22 * hook is made available.
|
/linux-4.1.27/arch/alpha/oprofile/ |
H A D | common.c | 54 /* Install our interrupt handler into the existing hook. */ op_axp_setup()
|
/linux-4.1.27/arch/arc/kernel/ |
H A D | entry.S | 17 * 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 D | iint.c | 246 * integrity_load_keys - load integrity keys hook
|
/linux-4.1.27/tools/perf/tests/ |
H A D | attr.c | 5 * by the PERF_TEST_ATTR environment variable and hook inside
|
/linux-4.1.27/drivers/input/serio/ |
H A D | hp_sdc_mlc.c | 334 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 D | io.h | 282 * 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 D | vfs_inode.c | 712 * 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 D | libata-acpi.c | 808 * 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 D | pata_acpi.c | 188 * Use the port_start hook to maintain private control structures
|
H A D | pata_cmd640.c | 121 * cmd640_qc_issue - command preparation hook
|
/linux-4.1.27/net/irda/irnet/ |
H A D | irnet.h | 89 * 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 D | apparmorfs.c | 116 /* .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 D | ima_policy.c | 206 * @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 D | nic.c | 91 "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 D | platform.c | 381 * @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 D | builddeb | 174 # 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 D | tc86c001.c | 127 /* Install our timeout expiry hook, saving the current handler... */ tc86c001_dma_start()
|
/linux-4.1.27/drivers/mmc/host/ |
H A D | tmio_mmc.h | 188 /* If there is a hook and it returns non-zero then there sd_ctrl_write16()
|
/linux-4.1.27/drivers/mtd/maps/ |
H A D | gpio-addr-flash.c | 5 * 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 D | videocodec.c | 367 /* hook in driver module */
|
/linux-4.1.27/drivers/net/ethernet/ti/ |
H A D | netcp.h | 104 /* Lock used for protecting Rx/Tx hook list management */
|
/linux-4.1.27/drivers/net/wireless/prism54/ |
H A D | islpci_hotplug.c | 188 /* error, could not hook the handler to the irq */ prism54_probe()
|
/linux-4.1.27/drivers/remoteproc/ |
H A D | da8xx_remoteproc.c | 231 /* everything the ISR needs is now setup, so hook it up */ da8xx_rproc_probe()
|
/linux-4.1.27/drivers/rtc/ |
H A D | interface.c | 525 * 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 D | osc_quota.c | 115 /* 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 D | wcn36xx.h | 108 * @open: hook must be called when wcn36xx wants to open control channel.
|
/linux-4.1.27/arch/x86/kernel/ |
H A D | machine_kexec_32.c | 142 * A architecture hook called to validate the
|
/linux-4.1.27/arch/mips/cavium-octeon/ |
H A D | smp.c | 152 * Firmware CPU startup hook
|
/linux-4.1.27/drivers/tty/serial/jsm/ |
H A D | jsm_driver.c | 229 dev_warn(&pdev->dev, "Failed to hook IRQ %d\n", brd->irq); jsm_probe_one()
|
/linux-4.1.27/drivers/usb/storage/ |
H A D | usb.h | 96 typedef void (*pm_hook)(struct us_data *, int); /* power management hook */
|
/linux-4.1.27/fs/notify/ |
H A D | fsnotify.c | 186 * This is the main call to fsnotify. The VFS calls into hook specific functions
|
/linux-4.1.27/include/sound/ |
H A D | control.h | 246 void (*hook)(void *private_data, int),
|
/linux-4.1.27/include/uapi/linux/netfilter_bridge/ |
H A D | ebtables.h | 81 /* one standard (accept, drop, return) per hook */
|
/linux-4.1.27/arch/powerpc/platforms/52xx/ |
H A D | mpc52xx_common.c | 244 * mpc52xx_restart: ppc_md->restart hook for mpc5200 using the watchdog timer
|
/linux-4.1.27/arch/openrisc/kernel/ |
H A D | process.c | 82 * registers need to be reset. This is a hook function for that.
|
/linux-4.1.27/arch/hexagon/mm/ |
H A D | init.c | 83 * initialization hook at some point. Set the init_mm mem_init()
|
/linux-4.1.27/arch/metag/include/asm/ |
H A D | pgtable.h | 97 * hook is made available.
|
/linux-4.1.27/arch/arm/mach-omap2/ |
H A D | pm44xx.c | 153 * with default cpu_do_idle() hook. Used by all CPUs with !CONFIG_CPU_IDLE and
|