Home
last modified time | relevance | path

Searched defs:hook (Results 1 – 25 of 69) sorted by relevance

123

/kernel/uniproton/src/om/hook/
Dprt_hook_init.c106 OS_SEC_L4_TEXT U32 OsMhookAdd(U32 hookType, OsVoidFunc hook) in OsMhookAdd()
169 OS_SEC_L4_TEXT U32 OsMhookDel(U32 hookType, OsVoidFunc hook) in OsMhookDel()
229 OS_SEC_L4_TEXT U32 OsHookAdd(enum HookType hookType, OsVoidFunc hook) in OsHookAdd()
245 OS_SEC_L4_TEXT U32 OsHookDel(enum HookType hookType, OsVoidFunc hook) in OsHookDel()
261 OS_SEC_L4_TEXT U32 OsShookReg(U32 hookType, OsVoidFunc hook) in OsShookReg()
307 OS_SEC_L4_TEXT U32 PRT_IdleAddPrefixHook(IdleHook hook) in PRT_IdleAddPrefixHook()
/kernel/linux/linux-5.10/arch/arm64/kernel/
Ddebug-monitors.c179 void register_user_step_hook(struct step_hook *hook) in register_user_step_hook()
184 void unregister_user_step_hook(struct step_hook *hook) in unregister_user_step_hook()
189 void register_kernel_step_hook(struct step_hook *hook) in register_kernel_step_hook()
194 void unregister_kernel_step_hook(struct step_hook *hook) in unregister_kernel_step_hook()
207 struct step_hook *hook; in call_step_hook() local
283 void register_user_break_hook(struct break_hook *hook) in register_user_break_hook()
288 void unregister_user_break_hook(struct break_hook *hook) in unregister_user_break_hook()
293 void register_kernel_break_hook(struct break_hook *hook) in register_kernel_break_hook()
298 void unregister_kernel_break_hook(struct break_hook *hook) in unregister_kernel_break_hook()
305 struct break_hook *hook; in call_break_hook() local
Dtraps.c288 void register_undef_hook(struct undef_hook *hook) in register_undef_hook()
297 void unregister_undef_hook(struct undef_hook *hook) in unregister_undef_hook()
308 struct undef_hook *hook; in call_undef_hook() local
645 const struct sys64_hook *hook, *hook_base; in do_cp15instr() local
686 const struct sys64_hook *hook; in do_sysinstr() local
/kernel/linux/linux-5.10/net/netfilter/
Dutils.c10 __sum16 nf_ip_checksum(struct sk_buff *skb, unsigned int hook, in nf_ip_checksum()
43 static __sum16 nf_ip_checksum_partial(struct sk_buff *skb, unsigned int hook, in nf_ip_checksum_partial()
64 __sum16 nf_ip6_checksum(struct sk_buff *skb, unsigned int hook, in nf_ip6_checksum()
97 static __sum16 nf_ip6_checksum_partial(struct sk_buff *skb, unsigned int hook, in nf_ip6_checksum_partial()
123 __sum16 nf_checksum(struct sk_buff *skb, unsigned int hook, in nf_checksum()
142 __sum16 nf_checksum_partial(struct sk_buff *skb, unsigned int hook, in nf_checksum_partial()
/kernel/uniproton/src/arch/cpu/armv7-m/common/hwi/
Dprt_hwi.c229 OS_SEC_L4_TEXT U32 PRT_HwiDelExitHook(HwiExitHook hook) in PRT_HwiDelExitHook()
233 OS_SEC_L4_TEXT U32 PRT_HwiAddExitHook(HwiExitHook hook) in PRT_HwiAddExitHook()
237 OS_SEC_L4_TEXT U32 PRT_HwiDelEntryHook(HwiEntryHook hook) in PRT_HwiDelEntryHook()
241 OS_SEC_L4_TEXT U32 PRT_HwiAddEntryHook(HwiEntryHook hook) in PRT_HwiAddEntryHook()
/kernel/linux/linux-5.10/include/linux/
Dnetfilter.h68 unsigned int hook; member
82 nf_hookfn *hook; member
92 nf_hookfn *hook; member
140 unsigned int hook, in nf_hook_state_init()
205 static inline int nf_hook(u_int8_t pf, unsigned int hook, struct net *net, in nf_hook()
281 NF_HOOK_COND(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, in NF_HOOK_COND()
295 NF_HOOK(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, struct sk_buff *skb, in NF_HOOK()
306 NF_HOOK_LIST(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, in NF_HOOK_LIST()
396 NF_HOOK_COND(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, in NF_HOOK_COND()
405 NF_HOOK(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, in NF_HOOK()
[all …]
Dpci.h1903 void (*hook)(struct pci_dev *dev); member
1920 class_shift, hook) \ argument
1936 class_shift, hook, stub) \ argument
1946 class_shift, hook, stub) \ argument
1952 class_shift, hook) \ argument
1958 class_shift, hook) \ argument
1965 class_shift, hook) \ argument
1969 class_shift, hook) \ argument
1973 class_shift, hook) \ argument
1977 class_shift, hook) \ argument
[all …]
Dnetfilter_ipv4.h29 static inline __sum16 nf_ip_checksum(struct sk_buff *skb, unsigned int hook, in nf_ip_checksum()
/kernel/linux/linux-5.10/net/bridge/netfilter/
Dnft_reject_bridge.c72 int hook) in nft_reject_br_send_v4_tcp_reset()
106 int hook, u8 code) in nft_reject_br_send_v4_unreach()
187 int hook) in nft_reject_br_send_v6_tcp_reset()
218 static bool reject6_br_csum_ok(struct sk_buff *skb, int hook) in reject6_br_csum_ok()
246 int hook, u8 code) in nft_reject_br_send_v6_unreach()
/kernel/linux/linux-5.10/net/ipv4/netfilter/
Dnf_reject_ipv4.c16 struct tcphdr *_oth, int hook) in nf_reject_ip_tcphdr_get()
115 void nf_send_reset(struct net *net, struct sk_buff *oldskb, int hook) in nf_send_reset()
188 void nf_send_unreach(struct sk_buff *skb_in, int code, int hook) in nf_send_unreach()
Dipt_REJECT.c34 int hook = xt_hooknum(par); in reject_tg() local
/kernel/uniproton/src/core/kernel/task/
Dprt_task.c96 OS_SEC_L4_TEXT U32 PRT_TaskDelSwitchHook(TskSwitchHook hook) in PRT_TaskDelSwitchHook()
100 OS_SEC_L4_TEXT U32 PRT_TaskAddSwitchHook(TskSwitchHook hook) in PRT_TaskAddSwitchHook()
/kernel/uniproton/src/om/include/
Dprt_hook_external.h40 #define OS_MHOOK_IS_VALID(hook) ((uintptr_t)(hook) > OS_MHOOK_BOUNDARY) argument
42 #define OS_MHOOK_NOT_BOUNDARY(hook) ((uintptr_t)(hook) != OS_MHOOK_BOUNDARY) argument
44 OS_SEC_ALW_INLINE INLINE bool OsMhookBoundaryCheck(OsVoidFunc hook) in OsMhookBoundaryCheck()
49 OS_SEC_ALW_INLINE INLINE bool OsMhookValidCheck(OsVoidFunc hook) in OsMhookValidCheck()
54 #define OS_MHOOK_ACTIVATE_PROC(hook, funcType, pfn, list) \ argument
/kernel/uniproton/src/core/kernel/sys/
Dprt_sys.c73 OS_SEC_L4_TEXT U32 PRT_IdleAddHook(IdleHook hook) in PRT_IdleAddHook()
77 OS_SEC_L4_TEXT U32 PRT_IdleDelHook(IdleHook hook) in PRT_IdleDelHook()
Dprt_sys_time.c21 OS_SEC_L2_TEXT U32 OsSetSysTimeHook(SysTimeFunc hook) in OsSetSysTimeHook()
/kernel/linux/linux-5.10/net/ipv6/netfilter/
Dnf_reject_ipv6.c17 unsigned int *otcplen, int hook) in nf_reject_ip6_tcphdr_get()
144 void nf_send_reset6(struct net *net, struct sk_buff *oldskb, int hook) in nf_send_reset6()
240 static bool reject6_csum_ok(struct sk_buff *skb, int hook) in reject6_csum_ok()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/
Dintel_quirks.c60 void (*hook)(struct drm_i915_private *i915); member
65 void (*hook)(struct drm_i915_private *i915); member
/kernel/uniproton/src/om/err/
Dprt_err_init.c22 OS_SEC_L4_TEXT U32 PRT_ErrRegHook(ErrHandleFunc hook) in PRT_ErrRegHook()
/kernel/liteos_a/kernel/common/
Dlos_excinfo.c123 VOID LOS_ExcInfoRegHook(UINT32 startAddr, UINT32 space, CHAR *buf, log_read_write_fn hook) in LOS_ExcInfoRegHook()
185 log_read_write_fn hook = GetExcInfoRW(); in OsShellCmdReadExcInfo() local
/kernel/uniproton/src/core/kernel/kexc/
Dprt_kexc.c30 OS_SEC_L4_TEXT U32 PRT_ExcRegHook(ExcProcFunc hook) in PRT_ExcRegHook()
/kernel/linux/linux-5.10/arch/csky/kernel/
Dftrace.c70 static int ftrace_check_current_nop(unsigned long hook) in ftrace_check_current_nop()
91 static int ftrace_modify_code(unsigned long hook, unsigned long target, in ftrace_modify_code()
/kernel/linux/linux-5.10/drivers/thunderbolt/
Dquirks.c18 void (*hook)(struct tb_switch *sw); member
/kernel/uniproton/src/core/kernel/irq/
Dprt_irq_internal.h57 HwiProcFunc hook; // 非私有中断时为正常hook member
95 OS_SEC_ALW_INLINE INLINE void OsHwiFuncSet(U32 irqNum, HwiProcFunc hook) in OsHwiFuncSet()
Dprt_irq.c229 struct TagHwiCombineNode *hook = NULL; in OsHwiCombineDispatchHandler() local
302 struct TagHwiCombineNode *hook = NULL; in OsHwiCombineDelete() local
/kernel/uniproton/src/om/cpup/
Dprt_cpup_warn.c120 OS_SEC_L4_TEXT U32 PRT_CpupRegWarnHook(CpupHookFunc hook) in PRT_CpupRegWarnHook()

123