/linux-4.4.14/include/linux/ |
D | netfilter.h | 51 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 …]
|
D | pci.h | 1566 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 …]
|
D | netfilter_ipv4.h | 10 __sum16 nf_ip_checksum(struct sk_buff *skb, unsigned int hook,
|
D | netfilter_ipv6.h | 26 __sum16 nf_ip6_checksum(struct sk_buff *skb, unsigned int hook,
|
D | if_frad.h | 95 extern void dlci_ioctl_set(int (*hook)(unsigned int, void __user *));
|
D | lsm_hooks.h | 1836 union security_list_options hook; member 1846 { .head = &security_hook_heads.HEAD, .hook = { .HEAD = HOOK } }
|
D | if_vlan.h | 74 extern void vlan_ioctl_set(int (*hook)(struct net *, void __user *));
|
/linux-4.4.14/net/ipv4/netfilter/ |
D | ipt_REJECT.c | 37 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()
|
D | nf_reject_ipv4.c | 20 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()
|
D | iptable_nat.c | 70 .hook = iptable_nat_ipv4_in, 77 .hook = iptable_nat_ipv4_out, 84 .hook = iptable_nat_ipv4_local_fn, 91 .hook = iptable_nat_ipv4_fn,
|
D | nf_defrag_ipv4.c | 84 nf_ct_defrag_user(state->hook, skb); in ipv4_conntrack_defrag() 94 .hook = ipv4_conntrack_defrag, 100 .hook = ipv4_conntrack_defrag,
|
D | nf_conntrack_l3proto_ipv4.c | 150 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,
|
D | nft_reject_ipv4.c | 30 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()
|
D | ip_tables.c | 251 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 …]
|
D | nf_nat_l3proto_ipv4.c | 269 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()
|
D | iptable_mangle.c | 85 if (state->hook == NF_INET_LOCAL_OUT) in iptable_mangle_hook() 87 if (state->hook == NF_INET_POST_ROUTING) in iptable_mangle_hook()
|
D | arp_tables.c | 253 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 …]
|
D | nft_masq_ipv4.c | 29 regs->verdict.code = nf_nat_masquerade_ipv4(pkt->skb, pkt->hook, in nft_masq_ipv4_eval()
|
D | nft_redir_ipv4.c | 39 pkt->hook); in nft_redir_ipv4_eval()
|
D | iptable_security.c | 43 if (state->hook == NF_INET_LOCAL_OUT && in iptable_security_hook()
|
D | iptable_raw.c | 26 if (state->hook == NF_INET_LOCAL_OUT && in iptable_raw_hook()
|
D | iptable_filter.c | 39 if (state->hook == NF_INET_LOCAL_OUT && in iptable_filter_hook()
|
D | nft_dup_ipv4.c | 33 nf_dup_ipv4(pkt->net, pkt->skb, pkt->hook, &gw, oif); in nft_dup_ipv4_eval()
|
D | ipt_SYNPROXY.c | 439 .hook = ipv4_synproxy_hook, 445 .hook = ipv4_synproxy_hook,
|
D | ipt_CLUSTERIP.c | 564 .hook = arp_mangle,
|
/linux-4.4.14/arch/arm64/kernel/ |
D | debug-monitors.c | 191 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 …]
|
D | traps.c | 281 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()
|
D | armv8_deprecated.c | 70 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/ |
D | nft_reject_bridge.c | 45 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 …]
|
D | ebtable_nat.c | 75 .hook = ebt_nat_out, 81 .hook = ebt_nat_out, 87 .hook = ebt_nat_in,
|
D | ebtable_filter.c | 75 .hook = ebt_in_hook, 81 .hook = ebt_in_hook, 87 .hook = ebt_out_hook,
|
D | ebtables.c | 190 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/ |
D | traps.c | 135 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/ |
D | nft_reject_inet.c | 31 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()
|
D | core.c | 274 verdict = (*elemp)->hook((*elemp)->priv, skb, state); in nf_iterate() 280 (*elemp)->hook, state->hook); in nf_iterate()
|
D | nf_tables_inet.c | 30 ops->hook = afi->hooks[ops->hooknum]; in nft_inet_hook_ops_init()
|
D | nfnetlink_queue.c | 337 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()
|
D | nf_queue.c | 178 verdict = elem->hook(elem->priv, skb, &entry->state); in nf_reinject()
|
D | nft_log.c | 35 nf_log_packet(pkt->net, pkt->pf, pkt->hook, pkt->skb, pkt->in, in nft_log_eval()
|
D | nf_tables_core.c | 51 nf_log_trace(pkt->net, pkt->pf, pkt->hook, pkt->skb, pkt->in, in __nft_trace_packet()
|
D | nfnetlink_log.c | 428 pmsg.hook = hooknum; in __build_packet_message()
|
D | x_tables.c | 1434 ops[i].hook = fn; in xt_hook_link()
|
D | nf_tables_api.c | 1437 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/ |
D | debug-monitors.h | 103 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);
|
D | traps.h | 34 void register_undef_hook(struct undef_hook *hook); 35 void unregister_undef_hook(struct undef_hook *hook);
|
/linux-4.4.14/net/ipv6/ |
D | netfilter.c | 86 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/ |
D | netfilter.c | 96 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/ |
D | nf_reject.h | 8 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/ |
D | nf_defrag_ipv6_hooks.c | 67 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,
|
D | ip6table_nat.c | 72 .hook = ip6table_nat_in, 79 .hook = ip6table_nat_out, 86 .hook = ip6table_nat_local_fn, 93 .hook = ip6table_nat_fn,
|
D | nf_reject_ipv6.c | 21 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()
|
D | nf_conntrack_l3proto_ipv6.c | 172 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,
|
D | nft_reject_ipv6.c | 31 pkt->hook); in nft_reject_ipv6_eval() 34 nf_send_reset6(pkt->net, pkt->skb, pkt->hook); in nft_reject_ipv6_eval()
|
D | nf_nat_l3proto_ipv6.c | 275 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()
|
D | ip6_tables.c | 280 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 …]
|
D | ip6table_mangle.c | 81 if (state->hook == NF_INET_LOCAL_OUT) in ip6table_mangle_hook() 83 if (state->hook == NF_INET_POST_ROUTING) in ip6table_mangle_hook()
|
D | nft_redir_ipv6.c | 38 regs->verdict.code = nf_nat_redirect_ipv6(pkt->skb, &range, pkt->hook); in nft_redir_ipv6_eval()
|
D | nft_dup_ipv6.c | 31 nf_dup_ipv6(pkt->net, pkt->skb, pkt->hook, gw, oif); in nft_dup_ipv6_eval()
|
D | ip6t_SYNPROXY.c | 460 .hook = ipv6_synproxy_hook, 466 .hook = ipv6_synproxy_hook,
|
/linux-4.4.14/sound/core/ |
D | vmaster.c | 40 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/ |
D | traps.c | 372 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/ |
D | traps.h | 20 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/ |
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.4.14/net/sched/ |
D | act_ipt.c | 33 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/ |
D | traps.h | 18 void register_undef_hook(struct undef_hook *hook); 19 void unregister_undef_hook(struct undef_hook *hook);
|
/linux-4.4.14/drivers/staging/unisys/ |
D | TODO | 2 - 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/ |
D | smack_netfilter.c | 62 .hook = smack_ipv4_output, 69 .hook = smack_ipv6_output,
|
/linux-4.4.14/net/netfilter/ipvs/ |
D | ip_vs_core.c | 1302 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/ |
D | ipipe.c | 191 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/ |
D | thinkpad_helper.c | 73 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()
|
D | hda_codec.c | 1880 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 …]
|
D | patch_analog.c | 241 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()
|
D | hda_local.h | 165 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);
|
D | patch_conexant.c | 603 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()
|
D | patch_realtek.c | 3284 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 …]
|
D | hda_generic.c | 1146 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()
|
D | patch_sigmatel.c | 4305 spec->gen.vmaster_mute.hook = stac_vmaster_hook; in stac_parse_auto_config()
|
/linux-4.4.14/tools/perf/tests/attr/ |
D | README | 4 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/ |
D | br_netfilter_hooks.c | 898 .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/ |
D | Makefile | 3 bttv-input.o bttv-audio-hook.o btcx-risc.o
|
/linux-4.4.14/drivers/misc/mei/ |
D | bus-fixup.c | 280 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/ |
D | nfnetlink_log.h | 20 __u8 hook; /* netfilter hook */ member
|
D | nfnetlink_queue.h | 19 __u8 hook; /* netfilter hook */ member
|
/linux-4.4.14/Documentation/ |
D | video-output.txt | 7 can be used to hook platform specific methods to enable/disable video output
|
D | CodingStyle | 515 (add-hook 'c-mode-common-hook 525 (add-hook 'c-mode-hook
|
D | vgaarbiter.txt | 93 In the case of devices hot-{un,}plugged, there is a hook - pci_notify() - to
|
D | DMA-API-HOWTO.txt | 862 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
|
D | cachetlb.txt | 106 process migration. This interface provides a hook
|
/linux-4.4.14/kernel/power/ |
D | snapshot.c | 489 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/ |
D | pti_intel_mid.txt | 38 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/ |
D | dn_rtmsg.c | 117 .hook = dnrmg_hook,
|
/linux-4.4.14/drivers/isdn/capi/ |
D | Kconfig | 33 This option provides the glue code to hook up CAPI driven cards to
|
/linux-4.4.14/arch/arm/mach-omap1/ |
D | ams-delta-fiq-handler.S | 221 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/ |
D | entry.S | 169 ; 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/ |
D | nf_tables.h | 21 u8 hook; member 37 pkt->hook = pkt->xt.hooknum = state->hook; in nft_set_pktinfo()
|
/linux-4.4.14/Documentation/security/ |
D | LSM.txt | 33 For extensive documentation on the available LSM hook interfaces, please
|
/linux-4.4.14/Documentation/mtd/ |
D | spi-nor.txt | 59 The main API is spi_nor_scan(). Before you call the hook, a driver should
|
/linux-4.4.14/Documentation/isdn/ |
D | README.icn | 27 hook-switches. 29 1. Setting for the card with hook-switches:
|
D | README | 97 ATH1 Off hook (ignored).
|
/linux-4.4.14/fs/jffs2/ |
D | TODO | 6 do shared writable mmap, if we can have a fs hook for do_wp_page() to
|
/linux-4.4.14/arch/arm/boot/dts/ |
D | bcm911360_entphn.dts | 52 hook {
|
D | rk3288-veyron-sdmmc.dtsi | 80 /* This is where we actually hook up CD */
|
/linux-4.4.14/include/sound/ |
D | control.h | 246 void (*hook)(void *private_data, int),
|
/linux-4.4.14/drivers/cpuidle/ |
D | Kconfig.arm | 11 initialized by calling the CPU operations init idle hook
|
/linux-4.4.14/Documentation/netlabel/ |
D | cipso_ipv4.txt | 33 LSM hook.
|
/linux-4.4.14/Documentation/vm/ |
D | cleancache.txt | 154 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.
|
D | frontswap.txt | 123 If CONFIG_FRONTSWAP is disabled, every frontswap hook compiles into
|
/linux-4.4.14/Documentation/x86/ |
D | intel_mpx.txt | 98 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
|
D | boot.txt | 171 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/ |
D | spi-lm70llp | 54 the bound "hwmon/lm70" protocol driver through its sysfs hook, using a
|
D | butterfly | 24 The first cable connections will hook Linux up to one SPI bus, with the
|
/linux-4.4.14/security/ |
D | security.c | 114 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/ |
D | qib_diag.c | 803 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()
|
D | qib.h | 713 diag_hook hook; member
|
/linux-4.4.14/arch/ia64/include/asm/sn/ |
D | sn_sal.h | 313 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/ |
D | README.freeze | 20 The only way to capture any kernel messages is to hook up a serial
|
/linux-4.4.14/Documentation/networking/caif/ |
D | README | 27 The benefit is that we can hook up to any TTY.
|
/linux-4.4.14/arch/arm/common/ |
D | mcpm_head.S | 180 @ If a platform-specific CPU setup hook is needed, it is
|
/linux-4.4.14/Documentation/filesystems/cifs/ |
D | TODO | 28 f) hook lower into the sockets api (as NFS/SunRPC does) to avoid the
|
/linux-4.4.14/Documentation/acpi/ |
D | scan_handlers.txt | 43 take care of, list_node is the hook to the global list of ACPI scan handlers
|
/linux-4.4.14/net/ |
D | socket.c | 833 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/ |
D | ieee802154.txt | 64 To hook the MLME interface you have to populate the ml_priv field of your
|
D | stmmac.txt | 195 o phy_reset: hook to reset the phy device attached to the bus.
|
D | vortex.txt | 338 WARNING: DO NOT hook up hubs/switches/bridges to these
|
/linux-4.4.14/Documentation/trace/ |
D | tracepoints.txt | 14 A tracepoint placed in code provides a hook to call a function (probe)
|
D | ftrace.txt | 866 record-cmd - When any event or tracer is enabled, a hook is enabled
|
/linux-4.4.14/sound/soc/codecs/ |
D | 88pm860x-codec.c | 1267 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/ |
D | usage-model.txt | 173 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/ |
D | fault-injection.txt | 171 o add a hook to insert failures
|
/linux-4.4.14/Documentation/driver-model/ |
D | platform.txt | 94 that some boards might not hook up to any peripherals.
|
/linux-4.4.14/Documentation/sh/ |
D | new-machine.txt | 93 board in arch/sh/boards/ and adding rules to hook your board in with the
|
/linux-4.4.14/drivers/pci/ |
D | quirks.c | 3256 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/ |
D | 3.Early-stage | 21 kernel module intended to hook into the Linux Security Module (LSM)
|
/linux-4.4.14/drivers/base/ |
D | Kconfig | 10 used to hook hotplug scripts into kernel device events. It
|
/linux-4.4.14/security/selinux/ |
D | hooks.c | 6132 .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/ |
D | alsa-driver-api.xml.db | 181 API-snd-ctl-add-vmaster-hook
|
/linux-4.4.14/Documentation/power/ |
D | freezing-of-tasks.txt | 208 If possible, that piece of code must instead hook onto the suspend/hibernation
|
/linux-4.4.14/Documentation/cgroups/ |
D | cgroups.txt | 72 tracking. The intention is that other subsystems hook into the generic 481 Each kernel subsystem that wants to hook into the generic cgroup
|
D | cpusets.txt | 222 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/ |
D | seq_file.txt | 225 method, however, to hook everything up. The open function is often a single
|
D | proc.txt | 698 It could be used to set IRQ to CPU affinity, this means that you can "hook" an
|
/linux-4.4.14/Documentation/PCI/ |
D | pci.txt | 176 automatically calls the remove hook for all devices handled by the driver.
|
/linux-4.4.14/Documentation/networking/dsa/ |
D | dsa.txt | 99 When a master netdev is used with DSA, a small hook is placed in in the
|
/linux-4.4.14/Documentation/block/ |
D | biodoc.txt | 362 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/ |
D | intel_display.c | 14733 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/ |
D | fpsp.S | 4389 # supplied bsun hook. 4420 bra.l _real_bsun # branch to user bsun hook
|
/linux-4.4.14/Documentation/virtual/uml/ |
D | UserModeLinux-HOWTO.txt | 591 o hook two virtual machines together by having one attach to a pty
|