Home
last modified time | relevance | path

Searched refs:estate (Results 1 – 10 of 10) sorted by relevance

/linux/fs/afs/
H A Dfs_probe.c18 struct afs_endpoint_state *afs_get_endpoint_state(struct afs_endpoint_state *estate, in afs_get_endpoint_state() argument
21 if (estate) { in afs_get_endpoint_state()
24 __refcount_inc(&estate->ref, &r); in afs_get_endpoint_state()
25 trace_afs_estate(estate->server_id, estate->probe_seq, r, where); in afs_get_endpoint_state()
27 return estate; in afs_get_endpoint_state()
32 struct afs_endpoint_state *estate = container_of(rcu, struct afs_endpoint_state, rcu); in afs_endpoint_state_rcu() local
34 trace_afs_estate(estate->server_id, estate->probe_seq, refcount_read(&estate->ref), in afs_endpoint_state_rcu()
36 afs_put_addrlist(estate->addresses, afs_alist_trace_put_estate); in afs_endpoint_state_rcu()
37 kfree(estate); in afs_endpoint_state_rcu()
40 void afs_put_endpoint_state(struct afs_endpoint_state *estate, enum afs_estate_trace where) in afs_put_endpoint_state() argument
[all …]
H A Drotate.c59 struct afs_endpoint_state *estate; in afs_start_fs_iteration() local
63 estate = rcu_dereference(server->endpoint_state); in afs_start_fs_iteration()
64 s->endpoint_state = afs_get_endpoint_state(estate, in afs_start_fs_iteration()
66 s->probe_seq = estate->probe_seq; in afs_start_fs_iteration()
67 s->untried_addrs = (1UL << estate->addresses->nr_addrs) - 1; in afs_start_fs_iteration()
69 afs_get_address_preferences(op->net, estate->addresses); in afs_start_fs_iteration()
179 WRITE_ONCE(op->estate->addresses->addrs[op->addr_index].last_error, error); in afs_select_fileserver()
483 op->estate = NULL; in afs_select_fileserver()
491 ASSERTCMP(op->estate, ==, NULL); in afs_select_fileserver()
509 ASSERTCMP(op->estate, ==, NULL); in afs_select_fileserver()
[all …]
H A Dserver.c413 struct afs_endpoint_state *estate = rcu_access_pointer(server->endpoint_state); in afs_give_up_callbacks() local
414 struct afs_addr_list *alist = estate->addresses; in afs_give_up_callbacks()
468 struct afs_endpoint_state *estate; in afs_server_destroyer() local
487 estate = rcu_access_pointer(server->endpoint_state); in afs_server_destroyer()
488 if (estate) in afs_server_destroyer()
489 afs_set_peer_appdata(server, estate->addresses, NULL); in afs_server_destroyer()
546 struct afs_endpoint_state *estate; in afs_update_server_record() local
559 estate = rcu_dereference(server->endpoint_state); in afs_update_server_record()
560 has_addrs = estate->addresses; in afs_update_server_record()
H A Dproc.c436 struct afs_endpoint_state *estate; in afs_proc_servers_show() local
458 estate = rcu_dereference(server->endpoint_state); in afs_proc_servers_show()
459 if (!estate) in afs_proc_servers_show()
461 failed = estate->failed_set; in afs_proc_servers_show()
463 estate->probe_seq, atomic_read(&estate->nr_probing), in afs_proc_servers_show()
464 estate->responsive_set, estate->failed_set); in afs_proc_servers_show()
466 alist = estate->addresses; in afs_proc_servers_show()
H A Dfs_operation.c354 if (op->estate) { in afs_put_operation()
355 alist = op->estate->addresses; in afs_put_operation()
H A Dinternal.h929 struct afs_endpoint_state *estate; /* Current endpoint state (doesn't pin ref) */ member
1194 struct afs_endpoint_state *estate, unsigned int addr_index,
1232 struct afs_endpoint_state *afs_get_endpoint_state(struct afs_endpoint_state *estate,
1234 void afs_put_endpoint_state(struct afs_endpoint_state *estate, enum afs_estate_trace where);
1241 int afs_wait_for_one_fs_probe(struct afs_server *server, struct afs_endpoint_state *estate,
1420 struct afs_addr_list *alist = op->estate->addresses; in afs_make_op_call()
H A Dfsclient.c1750 struct afs_endpoint_state *estate, unsigned int addr_index, in afs_fs_get_capabilities() argument
1764 call->peer = rxrpc_kernel_get_peer(estate->addresses->addrs[addr_index].peer); in afs_fs_get_capabilities()
1765 call->probe = afs_get_endpoint_state(estate, afs_estate_trace_get_getcaps); in afs_fs_get_capabilities()
/linux/include/trace/events/
H A Dafs.h1647 __field(unsigned int, estate)
1655 __entry->estate = estate_debug_id;
1662 __entry->estate,
1668 TP_PROTO(struct afs_server *server, bool tx, struct afs_endpoint_state *estate,
1671 TP_ARGS(server, tx, estate, addr_index, error, abort_code, rtt_us),
1675 __field(unsigned int, estate)
1685 struct afs_addr_list *alist = estate->addresses;
1687 __entry->estate = estate->probe_seq;
1698 __entry->server, __entry->tx ? "tx" : "rx", __entry->estate,
/linux/Documentation/driver-api/
H A Di2c.rst9 conserving board real estate and minimizing signal quality issues. Most
/linux/Documentation/usb/
H A Dehci.rst187 more silicon real estate at the problem so that new motherboard chip