/fs/dlm/ |
H A D | main.c | 23 int error; local 25 error = dlm_memory_init(); 26 if (error) 29 error = dlm_lockspace_init(); 30 if (error) 33 error = dlm_config_init(); 34 if (error) 37 error = dlm_register_debugfs(); 38 if (error) 41 error [all...] |
H A D | requestqueue.c | 66 int error = 0; local 73 error = 0; 88 error = -EINTR; 94 return error;
|
H A D | recoverd.c | 35 int error = -EINTR; local 44 error = 0; 49 return error; 55 int error, neg = 0; local 81 error = dlm_recover_members(ls, rv, &neg); 82 if (error) { 83 log_debug(ls, "dlm_recover_members error %d", error); 89 error = dlm_recover_members_wait(ls); 90 if (error) { 301 int error = 0; local [all...] |
/fs/minix/ |
H A D | file.c | 29 int error; local 31 error = inode_change_ok(inode, attr); 32 if (error) 33 return error; 37 error = vmtruncate(inode, attr->ia_size); 38 if (error) 39 return error;
|
/fs/sysv/ |
H A D | file.c | 36 int error; local 38 error = inode_change_ok(inode, attr); 39 if (error) 40 return error; 44 error = vmtruncate(inode, attr->ia_size); 45 if (error) 46 return error;
|
/fs/coda/ |
H A D | symlink.c | 26 int error; local 33 error = venus_readlink(inode->i_sb, &cii->c_fid, p, &len); 34 if (error) 45 return error;
|
H A D | pioctl.c | 53 int error; local 68 error = user_path(data.path, &path); 70 error = user_lpath(data.path, &path); 72 if (error) 73 return error; 79 error = -EINVAL; 86 error = venus_pioctl(inode->i_sb, &(cnp->c_fid), cmd, &data); 89 return error;
|
H A D | cnode.c | 95 int error; local 98 error = venus_getattr(sb, fid, &attr); 99 if (error) 100 return ERR_PTR(error);
|
H A D | file.c | 136 int error; local 145 error = venus_open(coda_inode->i_sb, coda_i2f(coda_inode), coda_flags, 148 error = -EIO; 150 if (error) { 152 return error; 198 * there is no use returning an error here */
|
/fs/efs/ |
H A D | file.c | 15 int error = -EROFS; local 19 return error;
|
/fs/nfs/ |
H A D | symlink.c | 31 int error; local 33 error = NFS_PROTO(inode)->readlink(inode, page, 0, PAGE_SIZE); 34 if (error < 0) 35 goto error; 40 error:
|
H A D | getroot.c | 46 * Note that this function frees the inode in case of error. 86 int error; local 98 error = server->nfs_client->rpc_ops->getroot(server, mntfh, &fsinfo); 99 if (error < 0) { 100 dprintk("nfs_get_root: getattr error = %d\n", -error); 101 ret = ERR_PTR(error); 112 error = nfs_superblock_set_dummy_root(sb, inode); 113 if (error != 0) { 114 ret = ERR_PTR(error); 195 int error; local [all...] |
/fs/ |
H A D | attr.c | 39 int error = inode_newsize_ok(inode, attr->ia_size); local 40 if (error) 41 return error; 170 int error; local 196 error = security_inode_need_killpriv(dentry); 197 if (error > 0) 198 error = security_inode_killpriv(dentry); 199 if (error) 200 return error; 232 error [all...] |
H A D | utimes.c | 53 int error; local 57 error = mnt_want_write(path->mnt); 58 if (error) 94 error = -EACCES; 99 error = inode_permission(inode, MAY_WRITE); 100 if (error) 105 error = notify_change(path->dentry, &newattrs); 111 return error; 132 int error = -EINVAL; local 149 error [all...] |
H A D | generic_acl.c | 51 int error; local 59 error = posix_acl_to_xattr(acl, buffer, size); 62 return error; 71 int error; local 85 error = posix_acl_valid(acl); 86 if (error) 90 error = posix_acl_equiv_mode(acl, &inode->i_mode); 91 if (error < 0) 94 if (error == 0) { 101 error 124 int error; local 155 int error = 0; local [all...] |
/fs/gfs2/ |
H A D | dentry.c | 44 int error; local 66 error = gfs2_glock_nq_init(dip->i_gl, LM_ST_SHARED, 0, &d_gh); 67 if (error) 71 error = gfs2_dir_check(parent->d_inode, &dentry->d_name, ip); 72 switch (error) {
|
H A D | main.c | 75 * Returns: 0 on success, error code on failure 80 int error; local 85 error = gfs2_sys_init(); 86 if (error) 87 return error; 89 error = gfs2_glock_init(); 90 if (error) 93 error = -ENOMEM; 137 error = register_filesystem(&gfs2_fs_type); 138 if (error) [all...] |
H A D | trans.c | 32 int error; local 57 error = gfs2_glock_nq(&tr->tr_t_gh); 58 if (error) 61 error = gfs2_log_reserve(sdp, tr->tr_reserved); 62 if (error) 76 return error;
|
H A D | lops.h | 91 int x, error; local 94 error = gfs2_log_ops[x]->lo_scan_elements(jd, start, 96 if (error) 97 return error; 103 static inline void lops_after_scan(struct gfs2_jdesc *jd, int error, argument 109 gfs2_log_ops[x]->lo_after_scan(jd, error, pass);
|
/fs/xfs/ |
H A D | xfs_rw.c | 100 * the error checking stuff and the brelse if appropriate for 114 int error; local 122 error = bp->b_error; 123 if (!error && !XFS_FORCED_SHUTDOWN(mp)) { 127 if (error) { 130 error = XFS_ERROR(EIO); 141 return (error);
|
H A D | xfs_dfrag.c | 54 int error = 0; local 59 error = XFS_ERROR(EINVAL); 66 error = XFS_ERROR(EBADF); 72 error = XFS_ERROR(EINVAL); 79 error = XFS_ERROR(EBADF); 85 error = XFS_ERROR(EINVAL); 93 error = XFS_ERROR(EINVAL); 98 error = XFS_ERROR(EINVAL); 103 error = XFS_ERROR(EIO); 107 error 219 int error = 0; local [all...] |
/fs/sysfs/ |
H A D | group.c | 33 int error = 0, i; local 35 for (i = 0, attr = grp->attrs; *attr && !error; i++, attr++) { 48 error = sysfs_add_file_mode(dir_sd, *attr, SYSFS_KOBJ_ATTR, 50 if (unlikely(error)) 53 if (error) 55 return error; 63 int error; local 72 error = sysfs_create_subdir(kobj, grp->name, &sd); 73 if (error) 74 return error; 164 int error = 0; local [all...] |
/fs/afs/ |
H A D | file.c | 111 int error) 113 _enter("%p,%p,%d", page, data, error); 115 /* if the read completes with an error, we just unlock the page and let 117 if (!error) 141 goto error; 186 goto error; 205 error: 285 /* other error */ 109 afs_file_readpage_read_complete(struct page *page, void *data, int error) argument
|
/fs/configfs/ |
H A D | item.c | 67 int error = 0; local 88 error = -ENOMEM; 98 error = -EFAULT; 110 return error;
|
/fs/hpfs/ |
H A D | inode.c | 259 int error = -EINVAL; local 271 error = inode_change_ok(inode, attr); 272 if (error) 277 error = vmtruncate(inode, attr->ia_size); 278 if (error) 288 return error;
|