Lines Matching refs:sma
3516 int security_sem_alloc(struct kern_ipc_perm *sma) in security_sem_alloc() argument
3518 int rc = lsm_ipc_alloc(sma); in security_sem_alloc()
3522 rc = call_int_hook(sem_alloc_security, sma); in security_sem_alloc()
3524 security_sem_free(sma); in security_sem_alloc()
3534 void security_sem_free(struct kern_ipc_perm *sma) in security_sem_free() argument
3536 call_void_hook(sem_free_security, sma); in security_sem_free()
3537 kfree(sma->security); in security_sem_free()
3538 sma->security = NULL; in security_sem_free()
3552 int security_sem_associate(struct kern_ipc_perm *sma, int semflg) in security_sem_associate() argument
3554 return call_int_hook(sem_associate, sma, semflg); in security_sem_associate()
3567 int security_sem_semctl(struct kern_ipc_perm *sma, int cmd) in security_sem_semctl() argument
3569 return call_int_hook(sem_semctl, sma, cmd); in security_sem_semctl()
3584 int security_sem_semop(struct kern_ipc_perm *sma, struct sembuf *sops, in security_sem_semop() argument
3587 return call_int_hook(sem_semop, sma, sops, nsops, alter); in security_sem_semop()