Lines Matching refs:scall

472 #define lsm_for_each_hook(scall, NAME)					\
473 for (scall = static_calls_table.NAME; \
474 scall - static_calls_table.NAME < MAX_LSM_COUNT; scall++) \
475 if (static_key_enabled(&scall->active->key))
711 struct lsm_static_call *scall;
721 lsm_for_each_hook(scall, vm_enough_memory) {
722 rc = scall->hl->hook.vm_enough_memory(mm, pages);
875 struct lsm_static_call *scall;
879 lsm_for_each_hook(scall, fs_context_parse_param) {
880 trc = scall->hl->hook.fs_context_parse_param(fc, param);
1110 struct lsm_static_call *scall;
1113 lsm_for_each_hook(scall, sb_set_mnt_opts) {
1114 rc = scall->hl->hook.sb_set_mnt_opts(sb, mnt_opts, kern_flags,
1309 struct lsm_static_call *scall;
1327 lsm_for_each_hook(scall, inode_init_security) {
1328 ret = scall->hl->hook.inode_init_security(inode, dir, qstr, new_xattrs,
3219 struct lsm_static_call *scall;
3221 lsm_for_each_hook(scall, task_prctl) {
3222 thisrc = scall->hl->hook.task_prctl(option, arg2, arg3, arg4, arg5);
3628 struct lsm_static_call *scall;
3666 lsm_for_each_hook(scall, getselfattr) {
3667 if (single && lctx.id != scall->hl->lsmid->id)
3672 rc = scall->hl->hook.getselfattr(attr, uctx, &entrysize, flags);
3719 struct lsm_static_call *scall;
3742 lsm_for_each_hook(scall, setselfattr)
3743 if ((scall->hl->lsmid->id) == lctx->id) {
3744 rc = scall->hl->hook.setselfattr(attr, lctx, size, flags);
3767 struct lsm_static_call *scall;
3769 lsm_for_each_hook(scall, getprocattr) {
3770 if (lsmid != 0 && lsmid != scall->hl->lsmid->id)
3772 return scall->hl->hook.getprocattr(p, name, value);
3791 struct lsm_static_call *scall;
3793 lsm_for_each_hook(scall, setprocattr) {
3794 if (lsmid != 0 && lsmid != scall->hl->lsmid->id)
3796 return scall->hl->hook.setprocattr(name, value, size);
3854 struct lsm_static_call *scall;
3856 lsm_for_each_hook(scall, lsmprop_to_secctx) {
3857 if (lsmid != LSM_ID_UNDEF && lsmid != scall->hl->lsmid->id)
3859 return scall->hl->hook.lsmprop_to_secctx(prop, cp);
4959 struct lsm_static_call *scall;
4971 lsm_for_each_hook(scall, xfrm_state_pol_flow_match) {
4972 rc = scall->hl->hook.xfrm_state_pol_flow_match(x, xp, flic);