Searched refs:cbi (Results 1 – 9 of 9) sorted by relevance
/linux-4.19.296/fs/afs/ |
D | callback.c | 93 struct afs_cb_interest *cbi, *vcbi, *new, *old; in afs_register_server_cb_interest() local 102 cbi = afs_get_cb_interest(entry->cb_interest); in afs_register_server_cb_interest() 107 if (vcbi == cbi) { in afs_register_server_cb_interest() 108 afs_put_cb_interest(afs_v2net(vnode), cbi); in afs_register_server_cb_interest() 115 if (cbi && vcbi->server == cbi->server) { in afs_register_server_cb_interest() 118 vnode->cb_interest = cbi; in afs_register_server_cb_interest() 125 if (!cbi && vcbi->server == server) { in afs_register_server_cb_interest() 129 afs_put_cb_interest(afs_v2net(vnode), cbi); in afs_register_server_cb_interest() 133 entry->cb_interest = cbi; in afs_register_server_cb_interest() 139 if (!cbi) { in afs_register_server_cb_interest() [all …]
|
D | rotate.c | 61 struct afs_cb_interest *cbi; in afs_start_fs_iteration() local 68 cbi = vnode->cb_interest; in afs_start_fs_iteration() 69 if (cbi) { in afs_start_fs_iteration() 72 if (fc->server_list->servers[i].cb_interest == cbi) { in afs_start_fs_iteration() 89 ASSERTCMP(cbi, ==, vnode->cb_interest); in afs_start_fs_iteration() 95 afs_put_cb_interest(afs_v2net(vnode), cbi); in afs_start_fs_iteration() 96 cbi = NULL; in afs_start_fs_iteration() 322 afs_put_cb_interest(afs_v2net(vnode), fc->cbi); in afs_select_fileserver() 323 fc->cbi = NULL; in afs_select_fileserver() 362 fc->cbi = afs_get_cb_interest(vnode->cb_interest); in afs_select_fileserver() [all …]
|
D | server_list.c | 137 struct afs_cb_interest *cbi = old->servers[i].cb_interest; in afs_annotate_server_list() local 138 if (cbi) { in afs_annotate_server_list() 139 new->servers[j].cb_interest = cbi; in afs_annotate_server_list() 140 refcount_inc(&cbi->usage); in afs_annotate_server_list()
|
D | fsclient.c | 29 static inline void afs_use_fs_server(struct afs_call *call, struct afs_cb_interest *cbi) in afs_use_fs_server() argument 31 call->cbi = afs_get_cb_interest(cbi); in afs_use_fs_server() 270 struct afs_cb_interest *old, *cbi = call->cbi; in xdr_decode_AFSCallBack() local 276 if (call->cb_break == afs_cb_break_sum(vnode, cbi)) { in xdr_decode_AFSCallBack() 282 if (old != call->cbi) { in xdr_decode_AFSCallBack() 283 vnode->cb_interest = cbi; in xdr_decode_AFSCallBack() 284 cbi = old; in xdr_decode_AFSCallBack() 292 call->cbi = cbi; in xdr_decode_AFSCallBack() 457 afs_use_fs_server(call, fc->cbi); in afs_fs_fetch_file_status() 670 afs_use_fs_server(call, fc->cbi); in afs_fs_fetch_data64() [all …]
|
D | server.c | 538 afs_fs_get_capabilities(afs_v2net(fc->vnode), fc->cbi->server, in afs_do_probe_fileserver() 543 set_bit(AFS_SERVER_FL_PROBED, &fc->cbi->server->flags); in afs_do_probe_fileserver() 583 if (test_bit(AFS_SERVER_FL_PROBED, &fc->cbi->server->flags)) { in afs_probe_fileserver() 588 if (!test_and_set_bit_lock(AFS_SERVER_FL_PROBING, &fc->cbi->server->flags)) { in afs_probe_fileserver() 590 clear_bit_unlock(AFS_SERVER_FL_PROBING, &fc->cbi->server->flags); in afs_probe_fileserver() 591 wake_up_bit(&fc->cbi->server->flags, AFS_SERVER_FL_PROBING); in afs_probe_fileserver() 597 ret = wait_on_bit(&fc->cbi->server->flags, AFS_SERVER_FL_PROBING, in afs_probe_fileserver()
|
D | internal.h | 96 struct afs_cb_interest *cbi; /* Callback interest for server used */ member 603 struct afs_cb_interest *cbi; /* Server on which this resides (pins ref) */ member 677 static inline struct afs_cb_interest *afs_get_cb_interest(struct afs_cb_interest *cbi) in afs_get_cb_interest() argument 679 if (cbi) in afs_get_cb_interest() 680 refcount_inc(&cbi->usage); in afs_get_cb_interest() 681 return cbi; in afs_get_cb_interest() 690 struct afs_cb_interest *cbi) in afs_cb_break_sum() argument 692 return vnode->cb_break + cbi->server->cb_s_break + vnode->volume->cb_v_break; in afs_cb_break_sum()
|
D | dir.c | 607 struct afs_cb_interest *cbi = NULL; in afs_do_lookup() local 676 &fc.cbi->server->flags)) { in afs_do_lookup() 690 cbi = afs_get_cb_interest(fc.cbi); in afs_do_lookup() 692 set_bit(AFS_SERVER_FL_NO_IBULK, &fc.cbi->server->flags); in afs_do_lookup() 719 cbi = afs_get_cb_interest(fc.cbi); in afs_do_lookup() 745 cbi); in afs_do_lookup() 755 afs_put_cb_interest(afs_v2net(dvnode), cbi); in afs_do_lookup() 1081 newfid, newstatus, newcb, fc->cbi); in afs_vnode_new_inode()
|
D | rxrpc.c | 178 afs_put_cb_interest(call->net, call->cbi); in afs_put_call() 493 if (call->cbi) in afs_deliver_to_call() 495 &call->cbi->server->flags); in afs_deliver_to_call()
|
D | inode.c | 272 struct afs_callback *cb, struct afs_cb_interest *cbi) in afs_iget() argument 322 vnode->cb_interest = afs_get_cb_interest(cbi); in afs_iget()
|