/fs/afs/ |
D | xattr.c | 23 struct afs_status_cb *scb; in afs_xattr_get_acl() local 29 scb = kzalloc(sizeof(struct afs_status_cb), GFP_NOFS); in afs_xattr_get_acl() 30 if (!scb) in afs_xattr_get_acl() 45 acl = afs_fs_fetch_acl(&fc, scb); in afs_xattr_get_acl() 50 &data_version, scb); in afs_xattr_get_acl() 67 kfree(scb); in afs_xattr_get_acl() 81 struct afs_status_cb *scb; in afs_xattr_set_acl() local 90 scb = kzalloc(sizeof(struct afs_status_cb), GFP_NOFS); in afs_xattr_set_acl() 91 if (!scb) in afs_xattr_set_acl() 113 afs_fs_store_acl(&fc, acl, scb); in afs_xattr_set_acl() [all …]
|
D | dir.c | 646 struct afs_status_cb *scb; in afs_do_lookup() local 720 scb = &cookie->statuses[i]; in afs_do_lookup() 730 scb->cb_break = afs_calc_vnode_cb_break(vnode); in afs_do_lookup() 782 scb = &cookie->statuses[0]; in afs_do_lookup() 786 scb, in afs_do_lookup() 802 scb = &cookie->statuses[0]; in afs_do_lookup() 803 if (scb->status.abort_code != 0) in afs_do_lookup() 804 inode = ERR_PTR(afs_abort_to_error(scb->status.abort_code)); in afs_do_lookup() 807 struct afs_status_cb *scb = &cookie->statuses[i]; in afs_do_lookup() local 809 if (!scb->have_status && !scb->have_error) in afs_do_lookup() [all …]
|
D | dir_silly.c | 23 struct afs_status_cb *scb; in afs_do_silly_rename() local 29 scb = kzalloc(sizeof(struct afs_status_cb), GFP_KERNEL); in afs_do_silly_rename() 30 if (!scb) in afs_do_silly_rename() 41 scb, scb); in afs_do_silly_rename() 45 &dir_data_version, scb); in afs_do_silly_rename() 69 kfree(scb); in afs_do_silly_rename() 149 struct afs_status_cb *scb; in afs_do_silly_unlink() local 154 scb = kcalloc(2, sizeof(struct afs_status_cb), GFP_KERNEL); in afs_do_silly_unlink() 155 if (!scb) in afs_do_silly_unlink() 168 &scb[0], &scb[1]); in afs_do_silly_unlink() [all …]
|
D | inode.c | 73 struct afs_status_cb *scb) in afs_inode_init_from_status() argument 76 struct afs_file_status *status = &scb->status; in afs_inode_init_from_status() 141 if (!scb->have_cb) { in afs_inode_init_from_status() 146 vnode->cb_expires_at = scb->callback.expires_at; in afs_inode_init_from_status() 166 struct afs_status_cb *scb, in afs_apply_status() argument 169 struct afs_file_status *status = &scb->status; in afs_apply_status() 259 struct afs_status_cb *scb, in afs_apply_callback() argument 263 struct afs_callback *cb = &scb->callback; in afs_apply_callback() 285 struct afs_status_cb *scb) in afs_vnode_commit_status() argument 292 if (scb->have_error) { in afs_vnode_commit_status() [all …]
|
D | fsclient.c | 61 struct afs_status_cb *scb) in xdr_decode_AFSFetchStatus() argument 64 struct afs_file_status *status = &scb->status; in xdr_decode_AFSFetchStatus() 80 scb->have_error = true; in xdr_decode_AFSFetchStatus() 90 scb->have_error = true; in xdr_decode_AFSFetchStatus() 126 scb->have_status = true; in xdr_decode_AFSFetchStatus() 144 struct afs_status_cb *scb) in xdr_decode_AFSCallBack() argument 146 struct afs_callback *cb = &scb->callback; in xdr_decode_AFSCallBack() 152 scb->have_cb = true; in xdr_decode_AFSCallBack() 275 int afs_fs_fetch_file_status(struct afs_fs_cursor *fc, struct afs_status_cb *scb, in afs_fs_fetch_file_status() argument 284 return yfs_fs_fetch_file_status(fc, scb, volsync); in afs_fs_fetch_file_status() [all …]
|
D | flock.c | 181 struct afs_status_cb *scb; in afs_set_lock() local 192 scb = kzalloc(sizeof(struct afs_status_cb), GFP_KERNEL); in afs_set_lock() 193 if (!scb) in afs_set_lock() 200 afs_fs_set_lock(&fc, type, scb); in afs_set_lock() 204 afs_vnode_commit_status(&fc, vnode, fc.cb_break, NULL, scb); in afs_set_lock() 208 kfree(scb); in afs_set_lock() 218 struct afs_status_cb *scb; in afs_extend_lock() local 229 scb = kzalloc(sizeof(struct afs_status_cb), GFP_KERNEL); in afs_extend_lock() 230 if (!scb) in afs_extend_lock() 237 afs_fs_extend_lock(&fc, scb); in afs_extend_lock() [all …]
|
D | yfsclient.c | 184 struct afs_status_cb *scb) in xdr_decode_YFSFetchStatus() argument 187 struct afs_file_status *status = &scb->status; in xdr_decode_YFSFetchStatus() 194 scb->have_error = true; in xdr_decode_YFSFetchStatus() 222 scb->have_status = true; in xdr_decode_YFSFetchStatus() 238 struct afs_status_cb *scb) in xdr_decode_YFSCallBack() argument 241 struct afs_callback *cb = &scb->callback; in xdr_decode_YFSCallBack() 246 scb->have_cb = true; in xdr_decode_YFSCallBack() 389 int yfs_fs_fetch_file_status(struct afs_fs_cursor *fc, struct afs_status_cb *scb, in yfs_fs_fetch_file_status() argument 412 call->out_scb = scb; in yfs_fs_fetch_file_status() 577 int yfs_fs_fetch_data(struct afs_fs_cursor *fc, struct afs_status_cb *scb, in yfs_fs_fetch_data() argument [all …]
|
D | file.c | 228 struct afs_status_cb *scb; in afs_fetch_data() local 238 scb = kzalloc(sizeof(struct afs_status_cb), GFP_KERNEL); in afs_fetch_data() 239 if (!scb) in afs_fetch_data() 248 afs_fs_fetch_data(&fc, scb, desc); in afs_fetch_data() 253 &data_version, scb); in afs_fetch_data() 263 kfree(scb); in afs_fetch_data()
|
D | write.c | 360 struct afs_status_cb *scb; in afs_store_data() local 372 scb = kzalloc(sizeof(struct afs_status_cb), GFP_NOFS); in afs_store_data() 373 if (!scb) in afs_store_data() 394 kfree(scb); in afs_store_data() 410 afs_fs_store_data(&fc, mapping, first, last, offset, to, scb); in afs_store_data() 415 &data_version, scb); in afs_store_data() 442 kfree(scb); in afs_store_data()
|
D | security.c | 144 unsigned int cb_break, struct afs_status_cb *scb) in afs_cache_permit() argument 147 afs_access_t caller_access = scb->status.caller_access; in afs_cache_permit()
|