Home
last modified time | relevance | path

Searched refs:rtrs_clt (Results 1 – 6 of 6) sorted by relevance

/drivers/infiniband/ulp/rtrs/
Drtrs.h16 struct rtrs_clt;
55 struct rtrs_clt *rtrs_clt_open(struct rtrs_clt_ops *ops,
64 void rtrs_clt_close(struct rtrs_clt *sess);
89 struct rtrs_permit *rtrs_clt_get_permit(struct rtrs_clt *sess,
93 void rtrs_clt_put_permit(struct rtrs_clt *sess, struct rtrs_permit *permit);
110 struct rtrs_clt *sess, struct rtrs_permit *permit,
124 int rtrs_clt_query(struct rtrs_clt *sess, struct rtrs_attrs *attr);
Drtrs-clt.h126 struct rtrs_clt *clt;
154 struct rtrs_clt { struct
193 static inline int permit_size(struct rtrs_clt *clt) in permit_size() argument
198 static inline struct rtrs_permit *get_permit(struct rtrs_clt *clt, int idx) in get_permit()
205 int rtrs_clt_create_path_from_sysfs(struct rtrs_clt *clt,
210 void rtrs_clt_set_max_reconnect_attempts(struct rtrs_clt *clt, int value);
211 int rtrs_clt_get_max_reconnect_attempts(const struct rtrs_clt *clt);
245 int rtrs_clt_create_sysfs_root_files(struct rtrs_clt *clt);
246 void rtrs_clt_destroy_sysfs_root_folders(struct rtrs_clt *clt);
247 void rtrs_clt_destroy_sysfs_root_files(struct rtrs_clt *clt);
Drtrs-clt-sysfs.c53 struct rtrs_clt *clt = container_of(dev, struct rtrs_clt, dev); in max_reconnect_attempts_show()
65 struct rtrs_clt *clt = container_of(dev, struct rtrs_clt, dev); in max_reconnect_attempts_store()
92 struct rtrs_clt *clt; in mpath_policy_show()
94 clt = container_of(dev, struct rtrs_clt, dev); in mpath_policy_show()
111 struct rtrs_clt *clt; in mpath_policy_store()
115 clt = container_of(dev, struct rtrs_clt, dev); in mpath_policy_store()
155 struct rtrs_clt *clt; in add_path_store()
160 clt = container_of(dev, struct rtrs_clt, dev); in add_path_store()
397 struct rtrs_clt *clt = sess->clt; in rtrs_clt_create_sess_files()
469 int rtrs_clt_create_sysfs_root_files(struct rtrs_clt *clt) in rtrs_clt_create_sysfs_root_files()
[all …]
Drtrs-clt.c47 static inline bool rtrs_clt_is_connected(const struct rtrs_clt *clt) in rtrs_clt_is_connected()
61 __rtrs_get_permit(struct rtrs_clt *clt, enum rtrs_clt_con_type con_type) in __rtrs_get_permit()
88 static inline void __rtrs_put_permit(struct rtrs_clt *clt, in __rtrs_put_permit()
108 struct rtrs_permit *rtrs_clt_get_permit(struct rtrs_clt *clt, in rtrs_clt_get_permit()
143 void rtrs_clt_put_permit(struct rtrs_clt *clt, struct rtrs_permit *permit) in rtrs_clt_put_permit()
310 struct rtrs_clt *clt = sess->clt; in rtrs_rdma_error_recovery()
734 struct rtrs_clt *clt;
771 struct rtrs_clt *clt; in get_next_path_rr()
808 struct rtrs_clt *clt = it->clt; in get_next_path_min_inflight()
838 static inline void path_it_init(struct path_it *it, struct rtrs_clt *clt) in path_it_init()
[all …]
/drivers/block/rnbd/
Drnbd-clt.h74 struct rtrs_clt *rtrs;
Drnbd-clt.c425 static int send_usr_msg(struct rtrs_clt *rtrs, int dir, in send_usr_msg()
1001 struct rtrs_clt *rtrs = dev->sess->rtrs; in rnbd_client_xfer_request()