Home
last modified time | relevance | path

Searched refs:srv_path (Results 1 – 4 of 4) sorted by relevance

/Linux-v6.6/drivers/infiniband/ulp/rtrs/
Drtrs-srv-sysfs.c18 struct rtrs_srv_path *srv_path; in rtrs_srv_release() local
20 srv_path = container_of(kobj, struct rtrs_srv_path, kobj); in rtrs_srv_release()
21 kfree(srv_path); in rtrs_srv_release()
39 struct rtrs_srv_path *srv_path; in rtrs_srv_disconnect_store() local
43 srv_path = container_of(kobj, struct rtrs_srv_path, kobj); in rtrs_srv_disconnect_store()
44 s = &srv_path->s; in rtrs_srv_disconnect_store()
51 sockaddr_to_str((struct sockaddr *)&srv_path->s.dst_addr, str, in rtrs_srv_disconnect_store()
56 sysfs_remove_file_self(&srv_path->kobj, &attr->attr); in rtrs_srv_disconnect_store()
57 close_path(srv_path); in rtrs_srv_disconnect_store()
70 struct rtrs_srv_path *srv_path; in rtrs_srv_hca_port_show() local
[all …]
Drtrs-srv.c63 static bool rtrs_srv_change_state(struct rtrs_srv_path *srv_path, in rtrs_srv_change_state() argument
69 spin_lock_irq(&srv_path->state_lock); in rtrs_srv_change_state()
70 old_state = srv_path->state; in rtrs_srv_change_state()
89 srv_path->state = new_state; in rtrs_srv_change_state()
90 spin_unlock_irq(&srv_path->state_lock); in rtrs_srv_change_state()
102 static void rtrs_srv_free_ops_ids(struct rtrs_srv_path *srv_path) in rtrs_srv_free_ops_ids() argument
104 struct rtrs_srv_sess *srv = srv_path->srv; in rtrs_srv_free_ops_ids()
107 if (srv_path->ops_ids) { in rtrs_srv_free_ops_ids()
109 free_id(srv_path->ops_ids[i]); in rtrs_srv_free_ops_ids()
110 kfree(srv_path->ops_ids); in rtrs_srv_free_ops_ids()
[all …]
Drtrs-srv.h41 struct rtrs_srv_path *srv_path; member
134 void close_path(struct rtrs_srv_path *srv_path);
151 int rtrs_srv_create_path_files(struct rtrs_srv_path *srv_path);
152 void rtrs_srv_destroy_path_files(struct rtrs_srv_path *srv_path);
Drtrs-srv-trace.h54 struct rtrs_srv_path *srv_path = to_srv_path(s);
57 __entry->state = srv_path->state;
64 memcpy(__entry->sessname, kobject_name(&srv_path->kobj), NAME_MAX);