• Home
  • Raw
  • Download

Lines Matching refs:err

36 		int err, migrate = 0;  in ext4_ioctl()  local
47 err = mnt_want_write(filp->f_path.mnt); in ext4_ioctl()
48 if (err) in ext4_ioctl()
49 return err; in ext4_ioctl()
54 err = -EPERM; in ext4_ioctl()
87 err = -EOPNOTSUPP; in ext4_ioctl()
98 err = PTR_ERR(handle); in ext4_ioctl()
103 err = ext4_reserve_inode_write(handle, inode, &iloc); in ext4_ioctl()
104 if (err) in ext4_ioctl()
114 err = ext4_mark_iloc_dirty(handle, inode, &iloc); in ext4_ioctl()
117 if (err) in ext4_ioctl()
121 err = ext4_change_inode_journal_flag(inode, jflag); in ext4_ioctl()
122 if (err) in ext4_ioctl()
125 err = ext4_ext_migrate(inode); in ext4_ioctl()
129 return err; in ext4_ioctl()
139 int err; in ext4_ioctl() local
144 err = mnt_want_write(filp->f_path.mnt); in ext4_ioctl()
145 if (err) in ext4_ioctl()
146 return err; in ext4_ioctl()
148 err = -EFAULT; in ext4_ioctl()
154 err = PTR_ERR(handle); in ext4_ioctl()
157 err = ext4_reserve_inode_write(handle, inode, &iloc); in ext4_ioctl()
158 if (err == 0) { in ext4_ioctl()
161 err = ext4_mark_iloc_dirty(handle, inode, &iloc); in ext4_ioctl()
166 return err; in ext4_ioctl()
195 int err, err2; in ext4_ioctl() local
203 err = mnt_want_write(filp->f_path.mnt); in ext4_ioctl()
204 if (err) in ext4_ioctl()
205 return err; in ext4_ioctl()
207 err = ext4_group_extend(sb, EXT4_SB(sb)->s_es, n_blocks_count); in ext4_ioctl()
211 if (err == 0) in ext4_ioctl()
212 err = err2; in ext4_ioctl()
215 return err; in ext4_ioctl()
220 int err, err2; in ext4_ioctl() local
229 err = mnt_want_write(filp->f_path.mnt); in ext4_ioctl()
230 if (err) in ext4_ioctl()
231 return err; in ext4_ioctl()
233 err = ext4_group_add(sb, &input); in ext4_ioctl()
237 if (err == 0) in ext4_ioctl()
238 err = err2; in ext4_ioctl()
241 return err; in ext4_ioctl()
246 int err; in ext4_ioctl() local
250 err = mnt_want_write(filp->f_path.mnt); in ext4_ioctl()
251 if (err) in ext4_ioctl()
252 return err; in ext4_ioctl()
260 err = ext4_ext_migrate(inode); in ext4_ioctl()
263 return err; in ext4_ioctl()