Lines Matching refs:scb
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()
241 afs_vnode_commit_status(&fc, vnode, fc.cb_break, NULL, scb); in afs_extend_lock()
245 kfree(scb); in afs_extend_lock()
255 struct afs_status_cb *scb; in afs_release_lock() local
266 scb = kzalloc(sizeof(struct afs_status_cb), GFP_KERNEL); in afs_release_lock()
267 if (!scb) in afs_release_lock()
274 afs_fs_release_lock(&fc, scb); in afs_release_lock()
278 afs_vnode_commit_status(&fc, vnode, fc.cb_break, NULL, scb); in afs_release_lock()
282 kfree(scb); in afs_release_lock()