/linux/fs/afs/ |
H A D | fs_probe.c | 18 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 D | rotate.c | 59 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() 473 op->estate = NULL; in afs_select_fileserver() 481 ASSERTCMP(op->estate, ==, NULL); in afs_select_fileserver() 499 ASSERTCMP(op->estate, ==, NULL); in afs_select_fileserver() [all …]
|
H A D | server.c | 26 const struct afs_endpoint_state *estate; in afs_find_server() local 42 estate = rcu_dereference(server->endpoint_state); in afs_find_server() 43 alist = estate->addresses; in afs_find_server() 116 const struct afs_endpoint_state *estate; in afs_install_server() local 170 estate = rcu_dereference_protected(server->endpoint_state, in afs_install_server() 172 alist = estate->addresses; in afs_install_server() 200 struct afs_endpoint_state *estate; in afs_alloc_server() local 210 estate = kzalloc(sizeof(struct afs_endpoint_state), GFP_KERNEL); in afs_alloc_server() 211 if (!estate) in afs_alloc_server() 230 refcount_set(&estate->ref, 1); in afs_alloc_server() [all …]
|
H A D | proc.c | 434 struct afs_endpoint_state *estate; in afs_proc_servers_show() local 446 estate = rcu_dereference(server->endpoint_state); in afs_proc_servers_show() 447 alist = estate->addresses; in afs_proc_servers_show() 457 failed = estate->failed_set; in afs_proc_servers_show() 459 estate->probe_seq, atomic_read(&estate->nr_probing), in afs_proc_servers_show() 460 estate->responsive_set, estate->failed_set); in afs_proc_servers_show()
|
H A D | fs_operation.c | 354 if (op->estate) { in afs_put_operation() 355 alist = op->estate->addresses; in afs_put_operation()
|
H A D | internal.h | 925 struct afs_endpoint_state *estate; /* Current endpoint state (doesn't pin ref) */ member 1168 struct afs_endpoint_state *estate, unsigned int addr_index, 1206 struct afs_endpoint_state *afs_get_endpoint_state(struct afs_endpoint_state *estate, 1208 void afs_put_endpoint_state(struct afs_endpoint_state *estate, enum afs_estate_trace where); 1215 int afs_wait_for_one_fs_probe(struct afs_server *server, struct afs_endpoint_state *estate, 1395 struct afs_addr_list *alist = op->estate->addresses; in afs_make_op_call()
|
H A D | fsclient.c | 1750 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 D | afs.h | 1621 __field(unsigned int, estate) 1629 __entry->estate = estate_debug_id; 1636 __entry->estate, 1642 TP_PROTO(struct afs_server *server, bool tx, struct afs_endpoint_state *estate, 1645 TP_ARGS(server, tx, estate, addr_index, error, abort_code, rtt_us), 1649 __field(unsigned int, estate) 1659 struct afs_addr_list *alist = estate->addresses; 1661 __entry->estate = estate->probe_seq; 1672 __entry->server, __entry->tx ? "tx" : "rx", __entry->estate,
|
/linux/Documentation/driver-api/ |
H A D | i2c.rst | 9 conserving board real estate and minimizing signal quality issues. Most
|
/linux/Documentation/usb/ |
H A D | ehci.rst | 187 more silicon real estate at the problem so that new motherboard chip
|