Lines Matching refs:hp
833 struct security_hook_list *hp; in security_vm_enough_memory_mm() local
844 hlist_for_each_entry(hp, &security_hook_heads.vm_enough_memory, list) { in security_vm_enough_memory_mm()
845 rc = hp->hook.vm_enough_memory(mm, pages); in security_vm_enough_memory_mm()
892 struct security_hook_list *hp; in security_fs_context_parse_param() local
896 hlist_for_each_entry(hp, &security_hook_heads.fs_context_parse_param, in security_fs_context_parse_param()
898 trc = hp->hook.fs_context_parse_param(fc, param); in security_fs_context_parse_param()
1437 struct security_hook_list *hp; in security_inode_getsecurity() local
1445 hlist_for_each_entry(hp, &security_hook_heads.inode_getsecurity, list) { in security_inode_getsecurity()
1446 rc = hp->hook.inode_getsecurity(mnt_userns, inode, name, buffer, alloc); in security_inode_getsecurity()
1455 struct security_hook_list *hp; in security_inode_setsecurity() local
1463 hlist_for_each_entry(hp, &security_hook_heads.inode_setsecurity, list) { in security_inode_setsecurity()
1464 rc = hp->hook.inode_setsecurity(inode, name, value, size, in security_inode_setsecurity()
1493 struct security_hook_list *hp; in security_inode_copy_up_xattr() local
1501 hlist_for_each_entry(hp, in security_inode_copy_up_xattr()
1503 rc = hp->hook.inode_copy_up_xattr(name); in security_inode_copy_up_xattr()
1912 struct security_hook_list *hp; in security_task_prctl() local
1914 hlist_for_each_entry(hp, &security_hook_heads.task_prctl, list) { in security_task_prctl()
1915 thisrc = hp->hook.task_prctl(option, arg2, arg3, arg4, arg5); in security_task_prctl()
2081 struct security_hook_list *hp; in security_getprocattr() local
2083 hlist_for_each_entry(hp, &security_hook_heads.getprocattr, list) { in security_getprocattr()
2084 if (lsm != NULL && strcmp(lsm, hp->lsm)) in security_getprocattr()
2086 return hp->hook.getprocattr(p, name, value); in security_getprocattr()
2094 struct security_hook_list *hp; in security_setprocattr() local
2096 hlist_for_each_entry(hp, &security_hook_heads.setprocattr, list) { in security_setprocattr()
2097 if (lsm != NULL && strcmp(lsm, hp->lsm)) in security_setprocattr()
2099 return hp->hook.setprocattr(name, value, size); in security_setprocattr()
2117 struct security_hook_list *hp; in security_secid_to_secctx() local
2124 hlist_for_each_entry(hp, &security_hook_heads.secid_to_secctx, list) { in security_secid_to_secctx()
2125 rc = hp->hook.secid_to_secctx(secid, secdata, seclen); in security_secid_to_secctx()
2167 struct security_hook_list *hp; in security_inode_getsecctx() local
2173 hlist_for_each_entry(hp, &security_hook_heads.inode_getsecctx, list) { in security_inode_getsecctx()
2174 rc = hp->hook.inode_getsecctx(inode, ctx, ctxlen); in security_inode_getsecctx()
2526 struct security_hook_list *hp; in security_xfrm_state_pol_flow_match() local
2538 hlist_for_each_entry(hp, &security_hook_heads.xfrm_state_pol_flow_match, in security_xfrm_state_pol_flow_match()
2540 rc = hp->hook.xfrm_state_pol_flow_match(x, xp, flic); in security_xfrm_state_pol_flow_match()