Home
last modified time | relevance | path

Searched refs:max_req (Results 1 – 3 of 3) sorted by relevance

/titanic_41/usr/src/cmd/ssh/sftp/
H A Dsftp-client.c772 u_int handle_len, mode, type, id, buflen, num_req, max_req; in do_download() local
838 max_req = 1; in do_download()
844 while (num_req > 0 || max_req > 0) { in do_download()
855 max_req = 0; in do_download()
859 while (num_req < max_req) { in do_download()
863 num_req, max_req); in do_download()
879 debug3("Received reply T:%u I:%u R:%d", type, id, max_req); in do_download()
894 max_req = 0; in do_download()
912 max_req = 0; in do_download()
937 if (max_req > 0) { /* max_req = 0 iff EOF received */ in do_download()
[all …]
/titanic_41/usr/src/cmd/vscan/vscand/
H A Dvs_main.c495 uint32_t max_req; in vscand_init() local
500 if (vscand_kernel_max_req(&max_req) == -1) in vscand_init()
503 if (vs_svc_init(max_req) != 0) in vscand_init()
820 vscand_kernel_max_req(uint32_t *max_req) in vscand_kernel_max_req() argument
823 (ioctl(vscand_kdrv_fd, VS_IOCTL_MAX_REQ, max_req) < 0)) { in vscand_kernel_max_req()
H A Dvs_svc.c97 vs_svc_init(uint32_t max_req) in vs_svc_init() argument
99 vs_svc_max_node = max_req; in vs_svc_init()
101 calloc(max_req + 1, sizeof (vs_svc_node_t)); in vs_svc_init()