Home
last modified time | relevance | path

Searched refs:iscsi_fd (Results 1 – 2 of 2) sorted by relevance

/freebsd/usr.bin/iscsictl/
H A Discsictl.c369 kernel_add(int iscsi_fd, const struct target *targ) in kernel_add() argument
376 error = ioctl(iscsi_fd, ISCSISADD, &isa); in kernel_add()
383 kernel_modify(int iscsi_fd, unsigned int session_id, const struct target *targ) in kernel_modify() argument
391 error = ioctl(iscsi_fd, ISCSISMODIFY, &ism); in kernel_modify()
398 kernel_modify_some(int iscsi_fd, unsigned int session_id, const char *target, in kernel_modify_some() argument
419 error = ioctl(iscsi_fd, ISCSISLIST, &isl); in kernel_modify_some()
457 error = ioctl(iscsi_fd, ISCSISMODIFY, &ism); in kernel_modify_some()
463 kernel_remove(int iscsi_fd, const struct target *targ) in kernel_remove() argument
470 error = ioctl(iscsi_fd, ISCSISREMOVE, &isr); in kernel_remove()
480 kernel_list(int iscsi_fd, const struct target *targ __unused, in kernel_list() argument
[all …]
/freebsd/usr.sbin/iscsid/
H A Discsid.c222 connection_new(int iscsi_fd, const struct iscsi_daemon_request *request) in connection_new() argument
240 conn->conn_iscsi_fd = iscsi_fd; in connection_new()
275 error = ioctl(iscsi_fd, ISCSIDCONNECT, &idc); in connection_new()
631 handle_request(int iscsi_fd, const struct iscsi_daemon_request *request, int timeout) in handle_request() argument
643 conn = connection_new(iscsi_fd, request); in handle_request()
692 int ch, debug = 0, error, iscsi_fd, maxproc = 30, retval, saved_errno, in main() local
738 iscsi_fd = open(ISCSI_PATH, O_RDWR); in main()
739 if (iscsi_fd < 0 && errno == ENOENT) { in main()
743 iscsi_fd = open(ISCSI_PATH, O_RDWR); in main()
747 if (iscsi_fd < 0) in main()
[all …]