/Linux-v6.6/drivers/block/rnbd/ |
D | rnbd-srv-trace.h | 25 __string(sessname, srv->sessname) 30 __assign_str(sessname, srv->sessname); 34 __get_str(sessname), 75 __string(sessname, srv->sessname) 88 __assign_str(sessname, srv->sessname); 101 __get_str(sessname), 126 __string(sessname, srv->sessname) 133 __assign_str(sessname, srv->sessname); 137 __get_str(sessname), 162 __string(sessname, srv->sessname) [all …]
|
D | rnbd-srv.c | 140 srv_sess->sessname, dev_id); in process_rdma() 253 pr_info("RTRS Session %s disconnected\n", srv_sess->sessname); in destroy_sess() 287 strscpy(srv_sess->sessname, pathname, sizeof(srv_sess->sessname)); in create_sess() 314 ev, srv_sess->sessname); in rnbd_srv_link_ev() 391 type, srv_sess->sessname); in rnbd_srv_rdma_ev() 481 srv_dev->name, srv_sess->sessname, in rnbd_srv_check_update_open_perm() 492 srv_dev->name, srv_sess->sessname, in rnbd_srv_check_update_open_perm() 500 srv_dev->name, srv_sess->sessname, access_mode); in rnbd_srv_check_update_open_perm() 602 dev_search_path, srv_sess->sessname, dev_name); in rnbd_srv_get_full_path() 605 dev_search_path, srv_sess->sessname, dev_name); in rnbd_srv_get_full_path() [all …]
|
D | rnbd-clt.c | 669 pr_err("send_msg_sess_info(\"%s\"): %d\n", sess->sessname, err); in remap_devs() 675 pr_err("rtrs_clt_query(\"%s\"): %d\n", sess->sessname, err); in remap_devs() 717 ev, sess->sessname); in rnbd_clt_link_ev() 777 static struct rnbd_clt_session *alloc_sess(const char *sessname) in alloc_sess() argument 785 strscpy(sess->sessname, sessname, sizeof(sess->sessname)); in alloc_sess() 853 static struct rnbd_clt_session *__find_and_get_sess(const char *sessname) in __find_and_get_sess() argument 862 if (strcmp(sessname, sess->sessname)) in __find_and_get_sess() 904 rnbd_clt_session *find_or_create_sess(const char *sessname, bool *first) in find_or_create_sess() argument 909 sess = __find_and_get_sess(sessname); in find_or_create_sess() 911 sess = alloc_sess(sessname); in find_or_create_sess() [all …]
|
D | rnbd-clt-sysfs.c | 58 char *sessname; member 106 strscpy(opt->sessname, p, NAME_MAX); in rnbd_clt_parse_map_options() 440 return sysfs_emit(page, "%s\n", dev->sess->sessname); in session_show() 519 ret = snprintf(buf, len, "%s@%s", pathname, dev->sess->sessname); in rnbd_clt_get_path_name() 531 len = strlen(dev->pathname) + strlen(dev->sess->sessname) + 2; in rnbd_clt_add_dev_symlink() 570 char sessname[NAME_MAX]; in rnbd_clt_map_device_store() local 579 opt.sessname = sessname; in rnbd_clt_map_device_store() 600 pathname, sessname, in rnbd_clt_map_device_store() 604 dev = rnbd_clt_map_device(sessname, paths, path_cnt, port_nr, pathname, in rnbd_clt_map_device_store()
|
D | rnbd-log.h | 17 (dev)->sess->sessname, \ 21 (dev)->sess->sessname, ##__VA_ARGS__))
|
D | rnbd-clt.h | 94 char sessname[NAME_MAX]; member 131 struct rnbd_clt_dev *rnbd_clt_map_device(const char *sessname,
|
D | rnbd-srv.h | 24 char sessname[NAME_MAX]; member
|
D | README | 31 # echo "sessname=blya path=ip:10.50.100.66 device_path=/dev/ram0" > \ 34 Where "sessname=" is a session name, a string to identify the session
|
D | rnbd-srv-sysfs.c | 198 sess_dev->sess->sessname); in rnbd_srv_create_dev_session_sysfs()
|
/Linux-v6.6/drivers/infiniband/ulp/rtrs/ |
D | rtrs-clt-trace.h | 47 __array(char, sessname, NAME_MAX) 58 memcpy(__entry->sessname, kobject_name(&clt_path->kobj), NAME_MAX); 62 __entry->sessname,
|
D | rtrs-srv-trace.h | 48 __array(char, sessname, NAME_MAX) 64 memcpy(__entry->sessname, kobject_name(&srv_path->kobj), NAME_MAX); 68 __entry->sessname,
|
D | rtrs-log.h | 13 fn("<%s>: " fmt, obj->sessname, ##__VA_ARGS__)
|
D | rtrs-clt.c | 1566 strscpy(clt_path->s.sessname, clt->sessname, in alloc_path() 1567 sizeof(clt_path->s.sessname)); in alloc_path() 2551 memcpy(msg->pathname, clt_path->s.sessname, sizeof(msg->pathname)); in rtrs_send_path_info() 2677 static struct rtrs_clt_sess *alloc_clt(const char *sessname, size_t paths_num, in alloc_clt() argument 2690 if (strlen(sessname) >= sizeof(clt->sessname)) in alloc_clt() 2717 strscpy(clt->sessname, sessname, sizeof(clt->sessname)); in alloc_clt() 2723 err = dev_set_name(&clt->dev, "%s", sessname); in alloc_clt()
|
D | rtrs-srv.c | 762 if (strlen(srv_path->s.sessname) == strlen(pathname) && in exist_pathname() 763 !strcmp(srv_path->s.sessname, pathname)) { in exist_pathname() 807 strscpy(srv_path->s.sessname, msg->pathname, in process_info_req() 808 sizeof(srv_path->s.sessname)); in process_info_req() 1296 strscpy(pathname, srv_path->s.sessname, in rtrs_srv_get_path_name() 1297 min_t(size_t, sizeof(srv_path->s.sessname), len)); in rtrs_srv_get_path_name() 1769 strscpy(srv_path->s.sessname, str, sizeof(srv_path->s.sessname)); in __alloc_path()
|
D | rtrs-clt.h | 166 char sessname[NAME_MAX]; member
|
D | rtrs-pri.h | 104 char sessname[NAME_MAX]; member
|
D | rtrs-srv-sysfs.c | 168 err = dev_set_name(&srv->dev, "%s", srv_path->s.sessname); in rtrs_srv_create_once_sysfs_root_folders()
|
/Linux-v6.6/Documentation/ABI/testing/ |
D | sysfs-class-rnbd-client | 12 > Usage: echo "sessname=<name of the rtrs session> path=<[srcaddr,]dstaddr> 24 sessname=<name of the rtrs session> 31 sessname: 76 client has this string "sessname=blya device_path=sda", then server
|