Searched refs:srv_path (Results 1 – 4 of 4) sorted by relevance
/drivers/infiniband/ulp/rtrs/ |
D | rtrs-srv-sysfs.c | 18 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 …]
|
D | rtrs-srv.c | 61 static bool rtrs_srv_change_state(struct rtrs_srv_path *srv_path, in rtrs_srv_change_state() argument 68 spin_lock_irqsave(&srv_path->state_lock, flags); in rtrs_srv_change_state() 69 old_state = srv_path->state; in rtrs_srv_change_state() 88 srv_path->state = new_state; in rtrs_srv_change_state() 89 spin_unlock_irqrestore(&srv_path->state_lock, flags); in rtrs_srv_change_state() 101 static void rtrs_srv_free_ops_ids(struct rtrs_srv_path *srv_path) in rtrs_srv_free_ops_ids() argument 103 struct rtrs_srv_sess *srv = srv_path->srv; in rtrs_srv_free_ops_ids() 106 if (srv_path->ops_ids) { in rtrs_srv_free_ops_ids() 108 free_id(srv_path->ops_ids[i]); in rtrs_srv_free_ops_ids() 109 kfree(srv_path->ops_ids); in rtrs_srv_free_ops_ids() [all …]
|
D | rtrs-srv.h | 41 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);
|
D | rtrs-srv-trace.h | 54 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);
|