Lines Matching refs:sma
2100 int security_sem_alloc(struct kern_ipc_perm *sma) in security_sem_alloc() argument
2102 int rc = lsm_ipc_alloc(sma); in security_sem_alloc()
2106 rc = call_int_hook(sem_alloc_security, 0, sma); in security_sem_alloc()
2108 security_sem_free(sma); in security_sem_alloc()
2112 void security_sem_free(struct kern_ipc_perm *sma) in security_sem_free() argument
2114 call_void_hook(sem_free_security, sma); in security_sem_free()
2115 kfree(sma->security); in security_sem_free()
2116 sma->security = NULL; in security_sem_free()
2119 int security_sem_associate(struct kern_ipc_perm *sma, int semflg) in security_sem_associate() argument
2121 return call_int_hook(sem_associate, 0, sma, semflg); in security_sem_associate()
2124 int security_sem_semctl(struct kern_ipc_perm *sma, int cmd) in security_sem_semctl() argument
2126 return call_int_hook(sem_semctl, 0, sma, cmd); in security_sem_semctl()
2129 int security_sem_semop(struct kern_ipc_perm *sma, struct sembuf *sops, in security_sem_semop() argument
2132 return call_int_hook(sem_semop, 0, sma, sops, nsops, alter); in security_sem_semop()