Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/librsm/common/
H A Drsmlib.c825 p->rsmseg_fd = open(DEVRSM, O_RDWR); in rsm_memseg_export_create()
826 if (p->rsmseg_fd < 0) { in rsm_memseg_export_create()
839 tmpfd = fcntl(p->rsmseg_fd, F_DUPFD, 256); in rsm_memseg_export_create()
845 (void) close(p->rsmseg_fd); in rsm_memseg_export_create()
846 p->rsmseg_fd = tmpfd; in rsm_memseg_export_create()
851 "rsmseg_fd is %d\n", p->rsmseg_fd)); in rsm_memseg_export_create()
853 if (fcntl(p->rsmseg_fd, F_SETFD, FD_CLOEXEC) < 0) { in rsm_memseg_export_create()
874 if (ioctl(p->rsmseg_fd, e, &msg) < 0) { in rsm_memseg_export_create()
876 (void) close(p->rsmseg_fd); in rsm_memseg_export_create()
928 (void) close(seg->rsmseg_fd); in rsm_memseg_export_destroy()
[all …]
H A Drsmgen.c532 im_seg_hndl->rsmseg_fd, 0); in __rsm_getv()
597 e = ioctl(im_seg_hndl->rsmseg_fd, RSM_IOCTL_GETV, sg_io); in __rsm_getv()
682 im_seg_hndl->rsmseg_fd, 0); in __rsm_putv()
751 e = ioctl(im_seg_hndl->rsmseg_fd, RSM_IOCTL_PUTV, sg_io); in __rsm_putv()
837 if (ioctl(seg->rsmseg_fd, in __rsm_memseg_import_open_barrier()
873 if (ioctl(seg->rsmseg_fd, RSM_IOCTL_BAR_ORDER, &msg) < 0) { in __rsm_memseg_import_order_barrier()
907 if (ioctl(seg->rsmseg_fd, RSM_IOCTL_BAR_CLOSE, &msg) < 0) { in __rsm_memseg_import_close_barrier()
/illumos-gate/usr/src/lib/librsm/inc/
H A Drsmndi.h254 int rsmseg_fd; member