Lines Matching refs:fh_fd

596   if (pr_fs_get_usable_fd2(&(fh->fh_fd)) < 0) {  in delay_table_init()
599 fh->fh_fd, strerror(errno)); in delay_table_init()
603 if (fcntl(fh->fh_fd, F_SETFD, FD_CLOEXEC) < 0) { in delay_table_init()
605 ": unable to set CLO_EXEC on DelayTable fd %d: %s", fh->fh_fd, in delay_table_init()
653 while (fcntl(fh->fh_fd, F_SETLKW, &lock) < 0) { in delay_table_init()
679 if (lseek(fh->fh_fd, tab_size-1, SEEK_SET) < 0) { in delay_table_init()
695 if (write(fh->fh_fd, "", 1) != 1) { in delay_table_init()
717 if (fcntl(fh->fh_fd, F_SETLK, &lock) < 0) { in delay_table_init()
719 "error unlocking fd %d: %s", fh->fh_fd, strerror(errno)); in delay_table_init()
723 delay_tab.dt_fd = fh->fh_fd; in delay_table_init()
801 while (fcntl(fh->fh_fd, F_SETLKW, &lock) < 0) { in delay_table_init()
827 if (lseek(fh->fh_fd, tab_size-1, SEEK_SET) < 0) { in delay_table_init()
843 if (write(fh->fh_fd, "", 1) != 1) { in delay_table_init()
869 if (fcntl(fh->fh_fd, F_SETLK, &lock) < 0) { in delay_table_init()
871 "error unlocking fd %d: %s", fh->fh_fd, strerror(errno)); in delay_table_init()
1163 delay_tab.dt_fd = fh->fh_fd; in delay_handle_info()
1318 while (fcntl(fh->fh_fd, F_SETLKW, &lock) < 0) { in delay_handle_reset()
1340 if (fcntl(fh->fh_fd, F_SETLK, &lock) < 0) { in delay_handle_reset()
1342 "error unlocking fd %d: %s", fh->fh_fd, strerror(errno)); in delay_handle_reset()
1949 delay_tab.dt_fd = fh->fh_fd; in delay_shutdown_ev()
2121 if (pr_fs_get_usable_fd2(&(fh->fh_fd)) < 0) { in delay_sess_init()
2124 fh->fh_fd, strerror(errno)); in delay_sess_init()
2128 if (fcntl(fh->fh_fd, F_SETFD, FD_CLOEXEC) < 0) { in delay_sess_init()
2130 ": unable to set CLO_EXEC on DelayTable fd %d: %s", fh->fh_fd, in delay_sess_init()
2134 delay_tab.dt_fd = fh->fh_fd; in delay_sess_init()