user_shm_lock
if (user_shm_lock(size, ucounts)) {
extern int user_shm_lock(size_t, struct ucounts *);
if (!user_shm_lock(inode->i_size, ucounts))