Lines Matching refs:new
30 struct afs_cb_interest *new; in afs_create_interest() local
37 new = kzalloc(sizeof(struct afs_cb_interest), GFP_KERNEL); in afs_create_interest()
38 if (!new) { in afs_create_interest()
48 refcount_set(&new->usage, 1); in afs_create_interest()
49 new->sb = vnode->vfs_inode.i_sb; in afs_create_interest()
50 new->vid = vnode->volume->vid; in afs_create_interest()
51 new->server = afs_get_server(server, afs_server_trace_get_new_cbi); in afs_create_interest()
52 INIT_HLIST_NODE(&new->cb_vlink); in afs_create_interest()
75 new->vol_interest = vi; in afs_create_interest()
76 hlist_add_head(&new->cb_vlink, &vi->cb_interests); in afs_create_interest()
80 return new; in afs_create_interest()
93 struct afs_cb_interest *cbi, *vcbi, *new, *old; in afs_register_server_cb_interest() local
141 new = afs_create_interest(server, vnode); in afs_register_server_cb_interest()
142 if (!new) in afs_register_server_cb_interest()
147 entry->cb_interest = afs_get_cb_interest(new); in afs_register_server_cb_interest()
148 cbi = new; in afs_register_server_cb_interest()
149 new = NULL; in afs_register_server_cb_interest()
154 afs_put_cb_interest(afs_v2net(vnode), new); in afs_register_server_cb_interest()