Searched defs:error (Results 26 - 50 of 269) sorted by relevance

1234567891011

/fs/ncpfs/
H A Dsymlink.c45 int error, length, len; local
49 error = -ENOMEM;
57 error=ncp_read_kernel(NCP_SERVER(inode),NCP_FINFO(inode)->file_handle,
63 if (error)
78 error = ncp_vol2io(NCP_SERVER(inode), buf, &len, link, length, 0);
80 if (error)
88 error = -EIO;
94 return error;
H A Dfile.c33 int error; local
36 error = -EINVAL;
46 error = -EACCES;
90 error = 0;
96 return error;
107 int error; local
127 error = ncp_make_open(inode, O_RDONLY);
128 if (error) {
129 DPRINTK(KERN_ERR "ncp_file_read: open failed, error=%d\n", error);
[all...]
/fs/reiserfs/
H A Dxattr_security.c61 int error; local
69 error = security_old_inode_init_security(inode, dir, qstr, &sec->name,
71 if (error) {
72 if (error == -EOPNOTSUPP)
73 error = 0;
78 return error;
95 int error; local
99 error = reiserfs_xattr_set_handle(th, inode, sec->name, sec->value,
101 if (error == -ENODATA || error
[all...]
/fs/xfs/
H A Dxfs_discard.c49 int error; local
54 error = xfs_alloc_read_agf(mp, NULL, agno, 0, &agbp);
55 if (error || !agbp)
70 error = xfs_alloc_lookup_le(cur, 0,
72 if (error)
83 error = xfs_alloc_get_rec(cur, &fbno, &flen, &i);
84 if (error)
118 error = -blkdev_issue_discard(bdev,
122 if (error)
127 error
151 int error, last_error = 0; local
201 int error = 0; local
[all...]
H A Dxfs_export.c132 int error; local
145 error = xfs_iget(mp, NULL, ino, XFS_IGET_UNTRUSTED, 0, &ip);
146 if (error) {
154 if (error == EINVAL || error == ENOENT)
155 error = ESTALE;
156 return ERR_PTR(-error);
216 int error; local
219 error = xfs_lookup(XFS_I(child->d_inode), &xfs_name_dotdot, &cip, NULL);
220 if (unlikely(error))
[all...]
H A Dxfs_rename.c107 int error; local
127 error = XFS_ERROR(EMLINK);
139 error = xfs_trans_reserve(tp, spaceres, XFS_RENAME_LOG_RES(mp), 0,
141 if (error == ENOSPC) {
143 error = xfs_trans_reserve(tp, 0, XFS_RENAME_LOG_RES(mp), 0,
146 if (error) {
154 error = xfs_qm_vop_rename_dqattach(inodes);
155 if (error) {
187 error = XFS_ERROR(EXDEV);
199 error
[all...]
H A Dxfs_utils.c99 * Return an error if we were unable to allocate a new inode.
101 * encounter a disk error.
156 * If we get an error during the commit processing,
203 * If we get an error at this point, return to the caller
230 int /* error */
235 int error; local
244 error = 0;
252 error = xfs_iunlink(tp, ip);
254 return error;
/fs/9p/
H A Dacl.c237 int error; local
254 error = posix_acl_to_xattr(acl, buffer, size);
257 return error;
/fs/adfs/
H A Ddir.c273 int error; local
275 error = adfs_dir_lookup_byname(dir, &dentry->d_name, &obj);
276 if (error == 0) {
277 error = -EACCES;
284 error = 0;
287 return ERR_PTR(error);
/fs/affs/
H A Dinode.c47 "Checksum or type (ptype=%d) error on inode %d",
221 int error; local
225 error = inode_change_ok(inode,attr);
226 if (error)
234 error = -EPERM;
240 error = vmtruncate(inode, attr->ia_size);
241 if (error)
242 return error;
251 return error;
/fs/
H A Danon_inodes.c82 * setup. Returns the newly created file* or an error pointer.
91 int error; local
103 error = -ENOMEM;
120 error = -ENFILE;
137 return ERR_PTR(error);
155 * setup. Returns new descriptor or an error code.
160 int error, fd; local
163 error = get_unused_fd_flags(flags);
164 if (error < 0)
165 return error;
217 int error; local
[all...]
H A Deventfd.c50 * of overflow, or the following error codes:
151 * Returns %0 if successful, or the following error codes:
180 * Returns %0 if successful, or the following error codes:
304 * following error pointer:
329 * Returns a pointer to the internal eventfd context, otherwise the error
353 * Returns a pointer to the internal eventfd context, otherwise the error
379 * Returns an eventfd file pointer, or a proper error pointer.
412 int fd, error; local
415 error = get_unused_fd_flags(flags & EFD_SHARED_FCNTL_FLAGS);
416 if (error <
[all...]
/fs/btrfs/
H A Dtransaction.h67 int error; member in struct:btrfs_pending_snapshot
/fs/cifs/
H A Dfscache.c144 int error)
146 cFYI(1, "%s: (0x%p/%d)", __func__, page, error);
147 if (!error)
176 cERROR(1, "unknown error ret = %d", ret);
209 cFYI(1, "unknown error ret = %d", ret);
143 cifs_readpage_from_fscache_complete(struct page *page, void *ctx, int error) argument
/fs/configfs/
H A Dfile.c140 int error; local
149 error = copy_from_user(buffer->page,buf,count);
154 return error ? -EFAULT : count;
219 int error = 0; local
226 error = -ENODEV;
255 /* No error? Great, allocate a buffer for the file, and store it
260 error = -ENOMEM;
270 error = -EINVAL;
273 error = -EACCES;
277 if (error
321 int error = 0; local
[all...]
H A Dinode.c71 int error; local
91 error = simple_setattr(dentry, iattr);
92 if (error)
93 return error;
116 return error;
190 int error = 0; local
204 error = -ENOMEM;
206 error = -EEXIST;
208 error = -ENOENT;
213 error
[all...]
H A Dsymlink.c266 int error = 0; local
279 error = configfs_get_target_path(item, target_item, path);
284 return error;
290 int error = -ENOMEM; local
294 error = configfs_getlink(dentry, (char *)page);
295 if (!error) {
301 nd_set_link(nd, ERR_PTR(error));
/fs/ext2/
H A Dacl.c186 int error; local
197 error = posix_acl_equiv_mode(acl, &inode->i_mode);
198 if (error < 0)
199 return error;
203 if (error == 0)
224 error = ext2_xattr_set(inode, name_index, "", value, size, 0);
227 if (!error)
229 return error;
242 int error = 0; local
255 error
290 int error; local
341 int error; local
364 int error; local
[all...]
/fs/ext3/
H A Dacl.c193 int error; local
202 error = posix_acl_equiv_mode(acl, &inode->i_mode);
203 if (error < 0)
204 return error;
208 if (error == 0)
229 error = ext3_xattr_set_handle(handle, inode, name_index, "",
234 if (!error)
237 return error;
250 int error = 0; local
263 error
302 int error; local
366 int error; local
391 int error, retries = 0; local
[all...]
/fs/ext4/
H A Dacl.c192 int error; local
201 error = posix_acl_equiv_mode(acl, &inode->i_mode);
202 if (error < 0)
203 return error;
207 if (error == 0)
228 error = ext4_xattr_set_handle(handle, inode, name_index, "",
232 if (!error)
235 return error;
248 int error = 0; local
261 error
300 int error; local
365 int error; local
390 int error, retries = 0; local
[all...]
/fs/gfs2/
H A Dacl.c73 int error = 0; local
81 error = gfs2_setattr_simple(inode, &iattr);
84 return error;
89 int error; local
101 error = posix_acl_to_xattr(acl, data, len);
102 if (error < 0)
104 error = __gfs2_xattr_set(inode, name, data, len, 0, GFS2_EATYPE_SYS);
105 if (!error)
109 return error;
117 int error local
163 int error; local
206 int error; local
234 int error = 0, type; local
[all...]
H A Dexport.c101 int error; local
118 error = gfs2_glock_nq_init(dip->i_gl, LM_ST_SHARED, 0, &gh);
119 if (error)
120 return error;
122 error = gfs2_dir_read(dir, &offset, &gnfd, get_name_filldir, &f_ra);
126 if (!error && !*name)
127 error = -ENOENT;
129 return error;
/fs/hfsplus/
H A Dwrapper.c178 int error = 0; local
180 error = -EINVAL;
188 error = -ENOMEM;
197 error = hfsplus_submit_bio(sb, part_start + HFSPLUS_VOLHEAD_SECTOR,
200 if (error)
203 error = -EINVAL;
229 error = hfsplus_submit_bio(sb, part_start + part_size - 2,
232 if (error)
235 error = -EINVAL;
279 return error;
[all...]
/fs/minix/
H A Dbitmap.c212 struct inode *minix_new_inode(const struct inode *dir, umode_t mode, int *error) argument
223 *error = -ENOMEM;
228 *error = -ENOSPC;
262 *error = 0;
H A Dnamei.c41 int error; local
47 inode = minix_new_inode(dir, mode, &error);
52 error = add_nondir(dentry, inode);
54 return error;

Completed in 504 milliseconds

1234567891011