Home
last modified time | relevance | path

Searched refs:hook (Results 1 – 147 of 147) sorted by relevance

/linux-4.4.14/include/linux/
Dnetfilter.h51 unsigned int hook; member
64 unsigned int hook, in nf_hook_state_init() argument
72 p->hook = hook; in nf_hook_state_init()
91 nf_hookfn *hook; member
146 u_int8_t pf, unsigned int hook) in nf_hook_list_active() argument
149 __builtin_constant_p(hook)) in nf_hook_list_active()
150 return static_key_false(&nf_hooks_needed[pf][hook]); in nf_hook_list_active()
156 u_int8_t pf, unsigned int hook) in nf_hook_list_active() argument
171 static inline int nf_hook_thresh(u_int8_t pf, unsigned int hook, in nf_hook_thresh() argument
180 struct list_head *hook_list = &net->nf.hooks[pf][hook]; in nf_hook_thresh()
[all …]
Dpci.h1566 void (*hook)(struct pci_dev *dev); member
1582 class_shift, hook) \ argument
1585 = { vendor, device, class, class_shift, hook };
1588 class_shift, hook) \ argument
1590 hook, vendor, device, class, class_shift, hook)
1592 class_shift, hook) \ argument
1594 hook, vendor, device, class, class_shift, hook)
1596 class_shift, hook) \ argument
1598 hook, vendor, device, class, class_shift, hook)
1600 class_shift, hook) \ argument
[all …]
Dnetfilter_ipv4.h10 __sum16 nf_ip_checksum(struct sk_buff *skb, unsigned int hook,
Dnetfilter_ipv6.h26 __sum16 nf_ip6_checksum(struct sk_buff *skb, unsigned int hook,
Dif_frad.h95 extern void dlci_ioctl_set(int (*hook)(unsigned int, void __user *));
Dlsm_hooks.h1836 union security_list_options hook; member
1846 { .head = &security_hook_heads.HEAD, .hook = { .HEAD = HOOK } }
Dif_vlan.h74 extern void vlan_ioctl_set(int (*hook)(struct net *, void __user *));
/linux-4.4.14/net/ipv4/netfilter/
Dipt_REJECT.c37 int hook = par->hooknum; in reject_tg() local
41 nf_send_unreach(skb, ICMP_NET_UNREACH, hook); in reject_tg()
44 nf_send_unreach(skb, ICMP_HOST_UNREACH, hook); in reject_tg()
47 nf_send_unreach(skb, ICMP_PROT_UNREACH, hook); in reject_tg()
50 nf_send_unreach(skb, ICMP_PORT_UNREACH, hook); in reject_tg()
53 nf_send_unreach(skb, ICMP_NET_ANO, hook); in reject_tg()
56 nf_send_unreach(skb, ICMP_HOST_ANO, hook); in reject_tg()
59 nf_send_unreach(skb, ICMP_PKT_FILTERED, hook); in reject_tg()
62 nf_send_reset(par->net, skb, hook); in reject_tg()
Dnf_reject_ipv4.c20 struct tcphdr *_oth, int hook) in nf_reject_ip_tcphdr_get() argument
38 if (nf_ip_checksum(oldskb, hook, ip_hdrlen(oldskb), IPPROTO_TCP)) in nf_reject_ip_tcphdr_get()
102 void nf_send_reset(struct net *net, struct sk_buff *oldskb, int hook) in nf_send_reset() argument
110 oth = nf_reject_ip_tcphdr_get(oldskb, &_oth, hook); in nf_send_reset()
169 void nf_send_unreach(struct sk_buff *skb_in, int code, int hook) in nf_send_unreach() argument
187 if (nf_ip_checksum(skb_in, hook, ip_hdrlen(skb_in), proto) == 0) in nf_send_unreach()
Diptable_nat.c70 .hook = iptable_nat_ipv4_in,
77 .hook = iptable_nat_ipv4_out,
84 .hook = iptable_nat_ipv4_local_fn,
91 .hook = iptable_nat_ipv4_fn,
Dnf_defrag_ipv4.c84 nf_ct_defrag_user(state->hook, skb); in ipv4_conntrack_defrag()
94 .hook = ipv4_conntrack_defrag,
100 .hook = ipv4_conntrack_defrag,
Dnf_conntrack_l3proto_ipv4.c150 return nf_conntrack_in(state->net, PF_INET, state->hook, skb); in ipv4_conntrack_in()
161 return nf_conntrack_in(state->net, PF_INET, state->hook, skb); in ipv4_conntrack_local()
168 .hook = ipv4_conntrack_in,
174 .hook = ipv4_conntrack_local,
180 .hook = ipv4_helper,
186 .hook = ipv4_confirm,
192 .hook = ipv4_helper,
198 .hook = ipv4_confirm,
Dnft_reject_ipv4.c30 nf_send_unreach(pkt->skb, priv->icmp_code, pkt->hook); in nft_reject_ipv4_eval()
33 nf_send_reset(pkt->net, pkt->skb, pkt->hook); in nft_reject_ipv4_eval()
Dip_tables.c251 unsigned int hook, in trace_packet() argument
263 root = get_entry(private->entries, private->hook_entry[hook]); in trace_packet()
265 hookname = chainname = hooknames[hook]; in trace_packet()
268 xt_entry_foreach(iter, root, private->size - private->hook_entry[hook]) in trace_packet()
273 nf_log_trace(net, AF_INET, hook, skb, in, out, &trace_loginfo, in trace_packet()
291 unsigned int hook = state->hook; in ipt_do_table() local
322 acpar.hooknum = hook; in ipt_do_table()
324 IP_NF_ASSERT(table->valid_hooks & (1 << hook)); in ipt_do_table()
347 e = get_entry(table_base, private->hook_entry[hook]); in ipt_do_table()
350 table->name, hook, in ipt_do_table()
[all …]
Dnf_nat_l3proto_ipv4.c269 enum nf_nat_manip_type maniptype = HOOK2MANIP(state->hook); in nf_nat_ipv4_fn()
298 state->hook)) in nf_nat_ipv4_fn()
315 if (nf_nat_initialized(ct, HOOK2MANIP(state->hook))) in nf_nat_ipv4_fn()
318 ret = nf_nat_alloc_null_binding(ct, state->hook); in nf_nat_ipv4_fn()
325 if (nf_nat_oif_changed(state->hook, ctinfo, nat, in nf_nat_ipv4_fn()
335 if (nf_nat_oif_changed(state->hook, ctinfo, nat, state->out)) in nf_nat_ipv4_fn()
339 return nf_nat_packet(ct, ctinfo, state->hook, skb); in nf_nat_ipv4_fn()
Diptable_mangle.c85 if (state->hook == NF_INET_LOCAL_OUT) in iptable_mangle_hook()
87 if (state->hook == NF_INET_POST_ROUTING) in iptable_mangle_hook()
Darp_tables.c253 unsigned int hook = state->hook; in arpt_do_table() local
286 e = get_entry(table_base, private->hook_entry[hook]); in arpt_do_table()
291 acpar.hooknum = hook; in arpt_do_table()
323 private->underflow[hook]); in arpt_do_table()
388 unsigned int hook; in mark_source_chains() local
393 for (hook = 0; hook < NF_ARP_NUMHOOKS; hook++) { in mark_source_chains()
394 unsigned int pos = newinfo->hook_entry[hook]; in mark_source_chains()
398 if (!(valid_hooks & (1 << hook))) in mark_source_chains()
407 int visited = e->comefrom & (1 << hook); in mark_source_chains()
411 hook, pos, e->comefrom); in mark_source_chains()
[all …]
Dnft_masq_ipv4.c29 regs->verdict.code = nf_nat_masquerade_ipv4(pkt->skb, pkt->hook, in nft_masq_ipv4_eval()
Dnft_redir_ipv4.c39 pkt->hook); in nft_redir_ipv4_eval()
Diptable_security.c43 if (state->hook == NF_INET_LOCAL_OUT && in iptable_security_hook()
Diptable_raw.c26 if (state->hook == NF_INET_LOCAL_OUT && in iptable_raw_hook()
Diptable_filter.c39 if (state->hook == NF_INET_LOCAL_OUT && in iptable_filter_hook()
Dnft_dup_ipv4.c33 nf_dup_ipv4(pkt->net, pkt->skb, pkt->hook, &gw, oif); in nft_dup_ipv4_eval()
Dipt_SYNPROXY.c439 .hook = ipv4_synproxy_hook,
445 .hook = ipv4_synproxy_hook,
Dipt_CLUSTERIP.c564 .hook = arp_mangle,
/linux-4.4.14/arch/arm64/kernel/
Ddebug-monitors.c191 void register_step_hook(struct step_hook *hook) in register_step_hook() argument
194 list_add_rcu(&hook->node, &step_hook); in register_step_hook()
198 void unregister_step_hook(struct step_hook *hook) in unregister_step_hook() argument
201 list_del_rcu(&hook->node); in unregister_step_hook()
214 struct step_hook *hook; in call_step_hook() local
219 list_for_each_entry_rcu(hook, &step_hook, node) { in call_step_hook()
220 retval = hook->fn(regs, esr); in call_step_hook()
279 void register_break_hook(struct break_hook *hook) in register_break_hook() argument
282 list_add_rcu(&hook->node, &break_hook); in register_break_hook()
286 void unregister_break_hook(struct break_hook *hook) in unregister_break_hook() argument
[all …]
Dtraps.c281 void register_undef_hook(struct undef_hook *hook) in register_undef_hook() argument
286 list_add(&hook->node, &undef_hook); in register_undef_hook()
290 void unregister_undef_hook(struct undef_hook *hook) in unregister_undef_hook() argument
295 list_del(&hook->node); in unregister_undef_hook()
301 struct undef_hook *hook; in call_undef_hook() local
331 list_for_each_entry(hook, &undef_hook, node) in call_undef_hook()
332 if ((instr & hook->instr_mask) == hook->instr_val && in call_undef_hook()
333 (regs->pstate & hook->pstate_mask) == hook->pstate_val) in call_undef_hook()
334 fn = hook->fn; in call_undef_hook()
Darmv8_deprecated.c70 struct undef_hook *hook; in register_emulation_hooks() local
74 for (hook = ops->hooks; hook->instr_mask; hook++) in register_emulation_hooks()
75 register_undef_hook(hook); in register_emulation_hooks()
82 struct undef_hook *hook; in remove_emulation_hooks() local
86 for (hook = ops->hooks; hook->instr_mask; hook++) in remove_emulation_hooks()
87 unregister_undef_hook(hook); in remove_emulation_hooks()
/linux-4.4.14/net/bridge/netfilter/
Dnft_reject_bridge.c45 int hook) in nft_reject_br_send_v4_tcp_reset() argument
55 oth = nf_reject_ip_tcphdr_get(oldskb, &_oth, hook); in nft_reject_br_send_v4_tcp_reset()
79 int hook, u8 code) in nft_reject_br_send_v4_unreach() argument
112 nf_ip_checksum(oldskb, hook, ip_hdrlen(oldskb), proto)) in nft_reject_br_send_v4_unreach()
147 int hook) in nft_reject_br_send_v6_tcp_reset() argument
158 oth = nf_reject_ip6_tcphdr_get(oldskb, &_oth, &otcplen, hook); in nft_reject_br_send_v6_tcp_reset()
178 static bool reject6_br_csum_ok(struct sk_buff *skb, int hook) in reject6_br_csum_ok() argument
199 return nf_ip6_checksum(skb, hook, thoff, proto) == 0; in reject6_br_csum_ok()
205 int hook, u8 code) in nft_reject_br_send_v6_unreach() argument
224 if (!reject6_br_csum_ok(oldskb, hook)) in nft_reject_br_send_v6_unreach()
[all …]
Debtable_nat.c75 .hook = ebt_nat_out,
81 .hook = ebt_nat_out,
87 .hook = ebt_nat_in,
Debtable_filter.c75 .hook = ebt_in_hook,
81 .hook = ebt_in_hook,
87 .hook = ebt_out_hook,
Debtables.c190 unsigned int hook = state->hook; in ebt_do_table() local
207 acpar.hooknum = hook; in ebt_do_table()
217 chaininfo = private->hook_entry[hook]; in ebt_do_table()
218 nentries = private->hook_entry[hook]->nentries; in ebt_do_table()
219 point = (struct ebt_entry *)(private->hook_entry[hook]->data); in ebt_do_table()
220 counter_base = cb_base + private->hook_entry[hook]->counter_offset; in ebt_do_table()
658 unsigned int i, j, hook = 0, hookmask = 0; in ebt_check_entry() local
685 hook = i; in ebt_check_entry()
692 hookmask = (1 << hook) | (1 << NF_BR_NUMHOOKS); in ebt_check_entry()
698 hookmask = (1 << hook) | (1 << NF_BR_NUMHOOKS); in ebt_check_entry()
/linux-4.4.14/arch/avr32/kernel/
Dtraps.c135 void register_undef_hook(struct undef_hook *hook) in register_undef_hook() argument
138 list_add(&hook->node, &undef_hook); in register_undef_hook()
142 void unregister_undef_hook(struct undef_hook *hook) in unregister_undef_hook() argument
145 list_del(&hook->node); in unregister_undef_hook()
189 struct undef_hook *hook; in do_illegal_opcode() local
221 list_for_each_entry(hook, &undef_hook, node) { in do_illegal_opcode()
222 if ((insn & hook->insn_mask) == hook->insn_val) { in do_illegal_opcode()
223 if (hook->fn(regs, insn) == 0) { in do_illegal_opcode()
/linux-4.4.14/net/netfilter/
Dnft_reject_inet.c31 pkt->hook); in nft_reject_inet_eval()
34 nf_send_reset(pkt->net, pkt->skb, pkt->hook); in nft_reject_inet_eval()
39 pkt->hook); in nft_reject_inet_eval()
47 pkt->hook); in nft_reject_inet_eval()
50 nf_send_reset6(pkt->net, pkt->skb, pkt->hook); in nft_reject_inet_eval()
55 pkt->hook); in nft_reject_inet_eval()
Dcore.c274 verdict = (*elemp)->hook((*elemp)->priv, skb, state); in nf_iterate()
280 (*elemp)->hook, state->hook); in nf_iterate()
Dnf_tables_inet.c30 ops->hook = afi->hooks[ops->hooknum]; in nft_inet_hook_ops_init()
Dnfnetlink_queue.c337 if (entry->state.hook <= NF_INET_FORWARD || in nfqnl_build_packet_message()
338 (entry->state.hook == NF_INET_POST_ROUTING && entskb->sk == NULL)) in nfqnl_build_packet_message()
412 pmsg->hook = entry->state.hook; in nfqnl_build_packet_message()
864 static void nfqnl_nf_hook_drop(struct net *net, struct nf_hook_ops *hook) in nfqnl_nf_hook_drop() argument
875 nfqnl_flush(inst, nf_hook_cmp, (unsigned long)hook); in nfqnl_nf_hook_drop()
Dnf_queue.c178 verdict = elem->hook(elem->priv, skb, &entry->state); in nf_reinject()
Dnft_log.c35 nf_log_packet(pkt->net, pkt->pf, pkt->hook, pkt->skb, pkt->in, in nft_log_eval()
Dnf_tables_core.c51 nf_log_trace(pkt->net, pkt->pf, pkt->hook, pkt->skb, pkt->in, in __nft_trace_packet()
Dnfnetlink_log.c428 pmsg.hook = hooknum; in __build_packet_message()
Dx_tables.c1434 ops[i].hook = fn; in xt_hook_link()
Dnf_tables_api.c1437 ops->hook = afi->hooks[ops->hooknum]; in nf_tables_newchain()
1440 ops->hook = hookfn; in nf_tables_newchain()
/linux-4.4.14/arch/arm64/include/asm/
Ddebug-monitors.h103 void register_step_hook(struct step_hook *hook);
104 void unregister_step_hook(struct step_hook *hook);
113 void register_break_hook(struct break_hook *hook);
114 void unregister_break_hook(struct break_hook *hook);
Dtraps.h34 void register_undef_hook(struct undef_hook *hook);
35 void unregister_undef_hook(struct undef_hook *hook);
/linux-4.4.14/net/ipv6/
Dnetfilter.c86 if (entry->state.hook == NF_INET_LOCAL_OUT) { in nf_ip6_saveroute()
100 if (entry->state.hook == NF_INET_LOCAL_OUT) { in nf_ip6_reroute()
132 __sum16 nf_ip6_checksum(struct sk_buff *skb, unsigned int hook, in nf_ip6_checksum() argument
140 if (hook != NF_INET_PRE_ROUTING && hook != NF_INET_LOCAL_IN) in nf_ip6_checksum()
165 static __sum16 nf_ip6_checksum_partial(struct sk_buff *skb, unsigned int hook, in nf_ip6_checksum_partial() argument
176 return nf_ip6_checksum(skb, hook, dataoff, protocol); in nf_ip6_checksum_partial()
/linux-4.4.14/net/ipv4/
Dnetfilter.c96 if (entry->state.hook == NF_INET_LOCAL_OUT) { in nf_ip_saveroute()
111 if (entry->state.hook == NF_INET_LOCAL_OUT) { in nf_ip_reroute()
123 __sum16 nf_ip_checksum(struct sk_buff *skb, unsigned int hook, in nf_ip_checksum() argument
131 if (hook != NF_INET_PRE_ROUTING && hook != NF_INET_LOCAL_IN) in nf_ip_checksum()
154 static __sum16 nf_ip_checksum_partial(struct sk_buff *skb, unsigned int hook, in nf_ip_checksum_partial() argument
164 return nf_ip_checksum(skb, hook, dataoff, protocol); in nf_ip_checksum_partial()
/linux-4.4.14/include/net/netfilter/ipv4/
Dnf_reject.h8 void nf_send_unreach(struct sk_buff *skb_in, int code, int hook);
9 void nf_send_reset(struct net *net, struct sk_buff *oldskb, int hook);
12 struct tcphdr *_oth, int hook);
/linux-4.4.14/net/ipv6/netfilter/
Dnf_defrag_ipv6_hooks.c67 nf_ct6_defrag_user(state->hook, skb)); in ipv6_defrag()
78 NF_HOOK_THRESH(NFPROTO_IPV6, state->hook, state->net, state->sk, reasm, in ipv6_defrag()
87 .hook = ipv6_defrag,
93 .hook = ipv6_defrag,
Dip6table_nat.c72 .hook = ip6table_nat_in,
79 .hook = ip6table_nat_out,
86 .hook = ip6table_nat_local_fn,
93 .hook = ip6table_nat_fn,
Dnf_reject_ipv6.c21 unsigned int *otcplen, int hook) in nf_reject_ip6_tcphdr_get() argument
58 if (nf_ip6_checksum(oldskb, hook, tcphoff, IPPROTO_TCP)) { in nf_reject_ip6_tcphdr_get()
133 void nf_send_reset6(struct net *net, struct sk_buff *oldskb, int hook) in nf_send_reset6() argument
150 otcph = nf_reject_ip6_tcphdr_get(oldskb, &_otcph, &otcplen, hook); in nf_send_reset6()
213 static bool reject6_csum_ok(struct sk_buff *skb, int hook) in reject6_csum_ok() argument
232 return nf_ip6_checksum(skb, hook, thoff, proto) == 0; in reject6_csum_ok()
Dnf_conntrack_l3proto_ipv6.c172 return nf_conntrack_in(state->net, PF_INET6, state->hook, skb); in ipv6_conntrack_in()
184 return nf_conntrack_in(state->net, PF_INET6, state->hook, skb); in ipv6_conntrack_local()
189 .hook = ipv6_conntrack_in,
195 .hook = ipv6_conntrack_local,
201 .hook = ipv6_helper,
207 .hook = ipv6_confirm,
213 .hook = ipv6_helper,
219 .hook = ipv6_confirm,
Dnft_reject_ipv6.c31 pkt->hook); in nft_reject_ipv6_eval()
34 nf_send_reset6(pkt->net, pkt->skb, pkt->hook); in nft_reject_ipv6_eval()
Dnf_nat_l3proto_ipv6.c275 enum nf_nat_manip_type maniptype = HOOK2MANIP(state->hook); in nf_nat_ipv6_fn()
306 state->hook, in nf_nat_ipv6_fn()
324 if (nf_nat_initialized(ct, HOOK2MANIP(state->hook))) in nf_nat_ipv6_fn()
327 ret = nf_nat_alloc_null_binding(ct, state->hook); in nf_nat_ipv6_fn()
334 if (nf_nat_oif_changed(state->hook, ctinfo, nat, state->out)) in nf_nat_ipv6_fn()
343 if (nf_nat_oif_changed(state->hook, ctinfo, nat, state->out)) in nf_nat_ipv6_fn()
347 return nf_nat_packet(ct, ctinfo, state->hook, skb); in nf_nat_ipv6_fn()
Dip6_tables.c280 unsigned int hook, in trace_packet() argument
292 root = get_entry(private->entries, private->hook_entry[hook]); in trace_packet()
294 hookname = chainname = hooknames[hook]; in trace_packet()
297 xt_entry_foreach(iter, root, private->size - private->hook_entry[hook]) in trace_packet()
302 nf_log_trace(net, AF_INET6, hook, skb, in, out, &trace_loginfo, in trace_packet()
320 unsigned int hook = state->hook; in ip6t_do_table() local
347 acpar.hooknum = hook; in ip6t_do_table()
349 IP_NF_ASSERT(table->valid_hooks & (1 << hook)); in ip6t_do_table()
373 e = get_entry(table_base, private->hook_entry[hook]); in ip6t_do_table()
405 trace_packet(state->net, skb, hook, state->in, in ip6t_do_table()
[all …]
Dip6table_mangle.c81 if (state->hook == NF_INET_LOCAL_OUT) in ip6table_mangle_hook()
83 if (state->hook == NF_INET_POST_ROUTING) in ip6table_mangle_hook()
Dnft_redir_ipv6.c38 regs->verdict.code = nf_nat_redirect_ipv6(pkt->skb, &range, pkt->hook); in nft_redir_ipv6_eval()
Dnft_dup_ipv6.c31 nf_dup_ipv6(pkt->net, pkt->skb, pkt->hook, gw, oif); in nft_dup_ipv6_eval()
Dip6t_SYNPROXY.c460 .hook = ipv6_synproxy_hook,
466 .hook = ipv6_synproxy_hook,
/linux-4.4.14/sound/core/
Dvmaster.c40 void (*hook)(void *private_data, int); member
131 if (master->hook) in master_init()
132 master->hook(master->hook_private_data, master->val); in master_init()
351 if (master->hook && !first_init) in master_put()
352 master->hook(master->hook_private_data, master->val); in master_put()
446 void (*hook)(void *private_data, int), in snd_ctl_add_vmaster_hook()
450 master->hook = hook; in snd_ctl_add_vmaster_hook()
483 if (master->hook && !first_init) in snd_ctl_sync_vmaster()
484 master->hook(master->hook_private_data, master->val); in snd_ctl_sync_vmaster()
/linux-4.4.14/arch/arm/kernel/
Dtraps.c372 void register_undef_hook(struct undef_hook *hook) in register_undef_hook() argument
377 list_add(&hook->node, &undef_hook); in register_undef_hook()
381 void unregister_undef_hook(struct undef_hook *hook) in unregister_undef_hook() argument
386 list_del(&hook->node); in unregister_undef_hook()
392 struct undef_hook *hook; in call_undef_hook() local
397 list_for_each_entry(hook, &undef_hook, node) in call_undef_hook()
398 if ((instr & hook->instr_mask) == hook->instr_val && in call_undef_hook()
399 (regs->ARM_cpsr & hook->cpsr_mask) == hook->cpsr_val) in call_undef_hook()
400 fn = hook->fn; in call_undef_hook()
/linux-4.4.14/arch/avr32/include/asm/
Dtraps.h20 void register_undef_hook(struct undef_hook *hook);
21 void unregister_undef_hook(struct undef_hook *hook);
/linux-4.4.14/include/net/netfilter/ipv6/
Dnf_reject.h9 void nf_send_reset6(struct net *net, struct sk_buff *oldskb, int hook);
13 unsigned int *otcplen, int hook);
/linux-4.4.14/net/sched/
Dact_ipt.c33 static int ipt_init_target(struct xt_entry_target *t, char *table, unsigned int hook) in ipt_init_target() argument
49 par.hook_mask = hook; in ipt_init_target()
94 u32 hook = 0; in tcf_ipt_init() local
131 hook = nla_get_u32(tb[TCA_IPT_HOOK]); in tcf_ipt_init()
145 err = ipt_init_target(t, tname, hook); in tcf_ipt_init()
157 ipt->tcfi_hook = hook; in tcf_ipt_init()
/linux-4.4.14/arch/arm/include/asm/
Dtraps.h18 void register_undef_hook(struct undef_hook *hook);
19 void unregister_undef_hook(struct undef_hook *hook);
/linux-4.4.14/drivers/staging/unisys/
DTODO2 - enhance visornic to use channel_interrupt() hook instead of a
4 - enhance visorhba to use channel_interrupt() hook instead of a
/linux-4.4.14/security/smack/
Dsmack_netfilter.c62 .hook = smack_ipv4_output,
69 .hook = smack_ipv6_output,
/linux-4.4.14/net/netfilter/ipvs/
Dip_vs_core.c1302 return ip_vs_out(net_ipvs(state->net), state->hook, skb, AF_INET); in ip_vs_reply4()
1313 return ip_vs_out(net_ipvs(state->net), state->hook, skb, AF_INET); in ip_vs_local_reply4()
1327 return ip_vs_out(net_ipvs(state->net), state->hook, skb, AF_INET6); in ip_vs_reply6()
1338 return ip_vs_out(net_ipvs(state->net), state->hook, skb, AF_INET6); in ip_vs_local_reply6()
1852 return ip_vs_in(net_ipvs(state->net), state->hook, skb, AF_INET); in ip_vs_remote_request4()
1863 return ip_vs_in(net_ipvs(state->net), state->hook, skb, AF_INET); in ip_vs_local_request4()
1876 return ip_vs_in(net_ipvs(state->net), state->hook, skb, AF_INET6); in ip_vs_remote_request6()
1887 return ip_vs_in(net_ipvs(state->net), state->hook, skb, AF_INET6); in ip_vs_local_request6()
1916 return ip_vs_in_icmp(ipvs, skb, &r, state->hook); in ip_vs_forward_icmp()
1936 return ip_vs_in_icmp_v6(ipvs, skb, &r, state->hook, &iphdr); in ip_vs_forward_icmp_v6()
[all …]
/linux-4.4.14/arch/blackfin/kernel/
Dipipe.c191 void (*hook)(void); in __ipipe_syscall_root() local
201 hook = (__typeof__(hook))__ipipe_irq_tail_hook; in __ipipe_syscall_root()
202 hook(); in __ipipe_syscall_root()
/linux-4.4.14/sound/pci/hda/
Dthinkpad_helper.c73 old_vmaster_hook = spec->vmaster_mute.hook; in hda_fixup_thinkpad_acpi()
74 spec->vmaster_mute.hook = update_tpacpi_mute_led; in hda_fixup_thinkpad_acpi()
Dhda_codec.c1880 struct hda_vmaster_mute_hook *hook = snd_kcontrol_chip(kcontrol); in vmaster_mute_mode_get() local
1881 ucontrol->value.enumerated.item[0] = hook->mute_mode; in vmaster_mute_mode_get()
1888 struct hda_vmaster_mute_hook *hook = snd_kcontrol_chip(kcontrol); in vmaster_mute_mode_put() local
1889 unsigned int old_mode = hook->mute_mode; in vmaster_mute_mode_put()
1891 hook->mute_mode = ucontrol->value.enumerated.item[0]; in vmaster_mute_mode_put()
1892 if (hook->mute_mode > HDA_VMUTE_FOLLOW_MASTER) in vmaster_mute_mode_put()
1893 hook->mute_mode = HDA_VMUTE_FOLLOW_MASTER; in vmaster_mute_mode_put()
1894 if (old_mode == hook->mute_mode) in vmaster_mute_mode_put()
1896 snd_hda_sync_vmaster_hook(hook); in vmaster_mute_mode_put()
1911 struct hda_vmaster_mute_hook *hook = private_data; in vmaster_hook() local
[all …]
Dpatch_analog.c241 spec->gen.vmaster_mute.hook = ad_vmaster_eapd_hook; in ad_fixup_inv_jack_detect()
576 spec->gen.vmaster_mute.hook = ad_vmaster_eapd_hook; in ad1981_fixup_hp_eapd()
1006 spec->gen.vmaster_mute.hook = ad1884_vmaster_hp_gpio_hook; in ad1884_fixup_hp_eapd()
1031 spec->gen.vmaster_mute.hook = ad_vmaster_eapd_hook; in ad1884_fixup_thinkpad()
Dhda_local.h165 void (*hook)(void *, int); member
172 struct hda_vmaster_mute_hook *hook,
174 void snd_hda_sync_vmaster_hook(struct hda_vmaster_mute_hook *hook);
Dpatch_conexant.c603 spec->gen.vmaster_mute.hook = cx_auto_vmaster_hook_mute_led; in cxt_fixup_mute_led_eapd()
886 spec->gen.vmaster_mute.hook = cx_auto_vmaster_hook; in patch_conexant_auto()
Dpatch_realtek.c3284 spec->gen.vmaster_mute.hook = alc269_fixup_mic_mute_hook; in alc269_fixup_hp_mute_led()
3301 spec->gen.vmaster_mute.hook = alc269_fixup_mic_mute_hook; in alc269_fixup_hp_mute_led_mic1()
3314 spec->gen.vmaster_mute.hook = alc269_fixup_mic_mute_hook; in alc269_fixup_hp_mute_led_mic2()
3372 spec->gen.vmaster_mute.hook = alc_fixup_gpio_mute_hook; in alc269_fixup_hp_gpio_led()
3393 spec->gen.vmaster_mute.hook = alc_fixup_gpio_mute_hook; in alc286_fixup_hp_gpio_led()
3440 spec->gen.vmaster_mute.hook = alc_fixup_gpio_mute_hook; in alc269_fixup_hp_gpio_mic1_led()
3463 spec->gen.vmaster_mute.hook = alc_fixup_gpio_mute_hook; in alc280_fixup_hp_gpio4()
3544 spec->gen.vmaster_mute.hook = alc_fixup_gpio_mute_hook; in alc280_fixup_hp_gpio2_mic_hotkey()
3613 spec->gen.vmaster_mute.hook = alc269_fixup_mic_mute_hook; in alc269_fixup_hp_line1_mic1_led()
4709 spec->gen.vmaster_mute.hook = alc_fixup_gpio_mute_hook; in alc280_fixup_hp_9480m()
[all …]
Dhda_generic.c1146 return spec->vmaster_mute.hook ? "PCM" : "Master"; in get_line_out_pfx()
1153 return spec->vmaster_mute.hook ? "PCM" : "Master"; in get_line_out_pfx()
1191 return spec->vmaster_mute.hook ? "PCM" : "Master"; in get_line_out_pfx()
5069 if (spec->vmaster_mute.hook) { in snd_hda_gen_build_controls()
5845 if (spec->vmaster_mute.sw_kctl && spec->vmaster_mute.hook) in snd_hda_gen_init()
Dpatch_sigmatel.c4305 spec->gen.vmaster_mute.hook = stac_vmaster_hook; in stac_parse_auto_config()
/linux-4.4.14/tools/perf/tests/attr/
DREADME4 by the PERF_TEST_ATTR environment variable and hook inside the
16 This is the sys_perf_event_open hook implementation. The hook
/linux-4.4.14/net/bridge/
Dbr_netfilter_hooks.c898 .hook = br_nf_pre_routing,
904 .hook = br_nf_local_in,
910 .hook = br_nf_forward_ip,
916 .hook = br_nf_forward_arp,
922 .hook = br_nf_post_routing,
928 .hook = ip_sabotage_in,
934 .hook = ip_sabotage_in,
/linux-4.4.14/drivers/media/pci/bt8xx/
DMakefile3 bttv-input.o bttv-audio-hook.o btcx-risc.o
/linux-4.4.14/drivers/misc/mei/
Dbus-fixup.c280 void (*hook)(struct mei_cl_device *cldev); member
303 f->hook(cldev); in mei_cl_bus_dev_fixup()
/linux-4.4.14/include/uapi/linux/netfilter/
Dnfnetlink_log.h20 __u8 hook; /* netfilter hook */ member
Dnfnetlink_queue.h19 __u8 hook; /* netfilter hook */ member
/linux-4.4.14/Documentation/
Dvideo-output.txt7 can be used to hook platform specific methods to enable/disable video output
DCodingStyle515 (add-hook 'c-mode-common-hook
525 (add-hook 'c-mode-hook
Dvgaarbiter.txt93 In the case of devices hot-{un,}plugged, there is a hook - pci_notify() - to
DDMA-API-HOWTO.txt862 and return NETDEV_TX_OK if the DMA mapping fails on the transmit hook
867 fails in the queuecommand hook. This means that the SCSI subsystem
Dcachetlb.txt106 process migration. This interface provides a hook
/linux-4.4.14/kernel/power/
Dsnapshot.c489 struct list_head hook; member
502 list_for_each_entry_safe(ext, aux, list, hook) { in free_mem_extents()
503 list_del(&ext->hook); in free_mem_extents()
527 list_for_each_entry(ext, list, hook) in create_mem_extents()
531 if (&ext->hook == list || zone_end < ext->start) { in create_mem_extents()
542 list_add_tail(&new_ext->hook, &ext->hook); in create_mem_extents()
554 list_for_each_entry_safe_continue(cur, aux, list, hook) { in create_mem_extents()
559 list_del(&cur->hook); in create_mem_extents()
585 list_for_each_entry(ext, &mem_extents, hook) { in memory_bm_create()
/linux-4.4.14/Documentation/pti/
Dpti_intel_mid.txt38 can hook up n_tracerouter and n_tracesink to any tty on
47 /////////// To hook up n_tracerouter and n_tracesink /////////
/linux-4.4.14/net/decnet/netfilter/
Ddn_rtmsg.c117 .hook = dnrmg_hook,
/linux-4.4.14/drivers/isdn/capi/
DKconfig33 This option provides the glue code to hook up CAPI driven cards to
/linux-4.4.14/arch/arm/mach-omap1/
Dams-delta-fiq-handler.S221 hksw: @Is hook switch interrupt requested?
222 tst r13, #HOOK_SWITCH_MASK @ is hook switch status bit set?
/linux-4.4.14/arch/arc/kernel/
Dentry.S169 ; PRE Sys Call Ptrace hook
182 ; Restore the sys-call args. Mere invocation of the hook abv could have
/linux-4.4.14/include/net/netfilter/
Dnf_tables.h21 u8 hook; member
37 pkt->hook = pkt->xt.hooknum = state->hook; in nft_set_pktinfo()
/linux-4.4.14/Documentation/security/
DLSM.txt33 For extensive documentation on the available LSM hook interfaces, please
/linux-4.4.14/Documentation/mtd/
Dspi-nor.txt59 The main API is spi_nor_scan(). Before you call the hook, a driver should
/linux-4.4.14/Documentation/isdn/
DREADME.icn27 hook-switches.
29 1. Setting for the card with hook-switches:
DREADME97 ATH1 Off hook (ignored).
/linux-4.4.14/fs/jffs2/
DTODO6 do shared writable mmap, if we can have a fs hook for do_wp_page() to
/linux-4.4.14/arch/arm/boot/dts/
Dbcm911360_entphn.dts52 hook {
Drk3288-veyron-sdmmc.dtsi80 /* This is where we actually hook up CD */
/linux-4.4.14/include/sound/
Dcontrol.h246 void (*hook)(void *private_data, int),
/linux-4.4.14/drivers/cpuidle/
DKconfig.arm11 initialized by calling the CPU operations init idle hook
/linux-4.4.14/Documentation/netlabel/
Dcipso_ipv4.txt33 LSM hook.
/linux-4.4.14/Documentation/vm/
Dcleancache.txt154 in VFS are sufficient, so don't require an "init_fs" hook; the
155 initial implementation of cleancache didn't provide this hook.
160 to "opt in" to use cleancache, which requires adding a hook in
237 hook to get best performance for some backends.
Dfrontswap.txt123 If CONFIG_FRONTSWAP is disabled, every frontswap hook compiles into
/linux-4.4.14/Documentation/x86/
Dintel_mpx.txt98 We hook #BR handler to handle these two new situations.
146 A: This would work if we could hook the site of each and every memory
203 Here, the solution for this issue is to hook do_munmap() to check
Dboot.txt171 0208/4 2.00+ realmode_swtch Boot loader hook (see below)
177 0214/4 2.00+ code32_start Boot loader hook (see below)
325 Boot loader hook (see ADVANCED BOOT LOADER HOOKS below.)
461 1. as a boot loader hook (see ADVANCED BOOT LOADER HOOKS below.)
463 2. if a bootloader which does not install a hook loads a
578 point to the loaded code, or to a boot loader hook.
1026 After completing your hook, you should jump to the address
/linux-4.4.14/Documentation/spi/
Dspi-lm70llp54 the bound "hwmon/lm70" protocol driver through its sysfs hook, using a
Dbutterfly24 The first cable connections will hook Linux up to one SPI bus, with the
/linux-4.4.14/security/
Dsecurity.c114 P->hook.FUNC(__VA_ARGS__); \
123 RC = P->hook.FUNC(__VA_ARGS__); \
230 rc = hp->hook.vm_enough_memory(mm, pages); in security_vm_enough_memory_mm()
996 thisrc = hp->hook.task_prctl(option, arg2, arg3, arg4, arg5); in security_task_prctl()
1467 rc = hp->hook.xfrm_state_pol_flow_match(x, xp, fl); in security_xfrm_state_pol_flow_match()
/linux-4.4.14/drivers/infiniband/hw/qib/
Dqib_diag.c803 ret = op->hook(dd, op, offset, &data64, 0, use_32); in qib_diag_read()
889 ret = op->hook(dd, op, offset, &data64, ~0Ull, in qib_diag_write()
Dqib.h713 diag_hook hook; member
/linux-4.4.14/arch/ia64/include/asm/sn/
Dsn_sal.h313 ia64_sn_plat_specific_err_print(int (*hook)(const char*, ...), char *rec) in ia64_sn_plat_specific_err_print()
321 SAL_CALL_REENTRANT(ret_stuff, SN_SAL_PRINT_ERROR, (u64)hook, (u64)rec, 0, 0, 0, 0, 0); in ia64_sn_plat_specific_err_print()
/linux-4.4.14/Documentation/video4linux/bttv/
DREADME.freeze20 The only way to capture any kernel messages is to hook up a serial
/linux-4.4.14/Documentation/networking/caif/
DREADME27 The benefit is that we can hook up to any TTY.
/linux-4.4.14/arch/arm/common/
Dmcpm_head.S180 @ If a platform-specific CPU setup hook is needed, it is
/linux-4.4.14/Documentation/filesystems/cifs/
DTODO28 f) hook lower into the sockets api (as NFS/SunRPC does) to avoid the
/linux-4.4.14/Documentation/acpi/
Dscan_handlers.txt43 take care of, list_node is the hook to the global list of ACPI scan handlers
/linux-4.4.14/net/
Dsocket.c833 void brioctl_set(int (*hook) (struct net *, unsigned int, void __user *)) in brioctl_set()
836 br_ioctl_hook = hook; in brioctl_set()
844 void vlan_ioctl_set(int (*hook) (struct net *, void __user *)) in vlan_ioctl_set()
847 vlan_ioctl_hook = hook; in vlan_ioctl_set()
855 void dlci_ioctl_set(int (*hook) (unsigned int, void __user *)) in dlci_ioctl_set()
858 dlci_ioctl_hook = hook; in dlci_ioctl_set()
/linux-4.4.14/Documentation/networking/
Dieee802154.txt64 To hook the MLME interface you have to populate the ml_priv field of your
Dstmmac.txt195 o phy_reset: hook to reset the phy device attached to the bus.
Dvortex.txt338 WARNING: DO NOT hook up hubs/switches/bridges to these
/linux-4.4.14/Documentation/trace/
Dtracepoints.txt14 A tracepoint placed in code provides a hook to call a function (probe)
Dftrace.txt866 record-cmd - When any event or tracer is enabled, a hook is enabled
/linux-4.4.14/sound/soc/codecs/
D88pm860x-codec.c1267 int det, int hook, int hs_shrt, int lo_shrt) in pm860x_hs_jack_detect() argument
1274 pm860x->det.hook_det = hook; in pm860x_hs_jack_detect()
/linux-4.4.14/Documentation/devicetree/
Dusage-model.txt173 hook from each machine_desc, and the first one returning TRUE is used.
235 The most interesting hook in the DT context is .init_machine() which
374 /soc/i2s, and /soc/i2c in its .probe() hook. Easy, right?
/linux-4.4.14/Documentation/fault-injection/
Dfault-injection.txt171 o add a hook to insert failures
/linux-4.4.14/Documentation/driver-model/
Dplatform.txt94 that some boards might not hook up to any peripherals.
/linux-4.4.14/Documentation/sh/
Dnew-machine.txt93 board in arch/sh/boards/ and adding rules to hook your board in with the
/linux-4.4.14/drivers/pci/
Dquirks.c3256 calltime = fixup_debug_start(dev, f->hook); in pci_do_fixups()
3257 f->hook(dev); in pci_do_fixups()
3258 fixup_debug_report(dev, calltime, f->hook); in pci_do_fixups()
/linux-4.4.14/Documentation/development-process/
D3.Early-stage21 kernel module intended to hook into the Linux Security Module (LSM)
/linux-4.4.14/drivers/base/
DKconfig10 used to hook hotplug scripts into kernel device events. It
/linux-4.4.14/security/selinux/
Dhooks.c6132 .hook = selinux_ipv4_postroute,
6138 .hook = selinux_ipv4_forward,
6144 .hook = selinux_ipv4_output,
6151 .hook = selinux_ipv6_postroute,
6157 .hook = selinux_ipv6_forward,
/linux-4.4.14/Documentation/DocBook/
Dalsa-driver-api.xml.db181 API-snd-ctl-add-vmaster-hook
/linux-4.4.14/Documentation/power/
Dfreezing-of-tasks.txt208 If possible, that piece of code must instead hook onto the suspend/hibernation
/linux-4.4.14/Documentation/cgroups/
Dcgroups.txt72 tracking. The intention is that other subsystems hook into the generic
481 Each kernel subsystem that wants to hook into the generic cgroup
Dcpusets.txt222 nodes with memory--using the cpuset_track_online_nodes() hook.
270 /dev/cpuset/memory_pressure_enabled, the hook in the rebalance
/linux-4.4.14/Documentation/filesystems/
Dseq_file.txt225 method, however, to hook everything up. The open function is often a single
Dproc.txt698 It could be used to set IRQ to CPU affinity, this means that you can "hook" an
/linux-4.4.14/Documentation/PCI/
Dpci.txt176 automatically calls the remove hook for all devices handled by the driver.
/linux-4.4.14/Documentation/networking/dsa/
Ddsa.txt99 When a master netdev is used with DSA, a small hook is placed in in the
/linux-4.4.14/Documentation/block/
Dbiodoc.txt362 the pre-builder hook can be invoked there.
927 this hook allows it to do that. Note however
/linux-4.4.14/drivers/gpu/drm/i915/
Dintel_display.c14733 void (*hook)(struct drm_device *dev); member
14738 void (*hook)(struct drm_device *dev); member
14760 .hook = quirk_invert_brightness,
14839 q->hook(dev); in intel_init_quirks()
14843 intel_dmi_quirks[i].hook(dev); in intel_init_quirks()
/linux-4.4.14/arch/m68k/ifpsp060/src/
Dfpsp.S4389 # supplied bsun hook.
4420 bra.l _real_bsun # branch to user bsun hook
/linux-4.4.14/Documentation/virtual/uml/
DUserModeLinux-HOWTO.txt591 o hook two virtual machines together by having one attach to a pty