Searched refs:dsw_fd (Results 1 – 3 of 3) sorted by relevance
/titanic_41/usr/src/cmd/avs/dsw/ |
H A D | iicpbmp.c | 128 int dsw_fd; in copybmp() local 134 dsw_fd = open(DSWDEV, O_RDONLY); in copybmp() 135 if (dsw_fd < 0) { in copybmp() 162 if (ioctl(dsw_fd, DSWIOC_STAT, &args) != -1) { in copybmp() 165 (void) close(dsw_fd); in copybmp() 224 (void) close(dsw_fd); in copybmp()
|
H A D | iicpshd.c | 124 int dsw_fd; in copyshd() local 133 dsw_fd = open(DSWDEV, O_RDONLY); in copyshd() 134 if (dsw_fd < 0) { in copyshd() 161 if (ioctl(dsw_fd, DSWIOC_STAT, &args) != -1) { in copyshd() 164 (void) close(dsw_fd); in copyshd() 171 (void) close(dsw_fd); in copyshd() 232 (void) close(dsw_fd); in copyshd()
|
H A D | iiadm.c | 105 int dsw_fd; variable 846 num = do_ioctl(dsw_fd, DSWIOC_OLISTLEN, NULL); in get_overflow_list() 858 rc = do_ioctl(dsw_fd, DSWIOC_OLIST, acopy_args); in get_overflow_list() 1314 dsw_fd = open(DSWDEV, O_RDONLY); 1315 if (dsw_fd < 0) { 1374 return (do_ioctl(dsw_fd, DSWIOC_BITMAP, &parms)); 1391 if (do_ioctl(dsw_fd, DSWIOC_STAT, &args) == -1) 1750 rc = do_ioctl(dsw_fd, DSWIOC_STAT, &args); 2118 rc = do_ioctl(dsw_fd, DSWIOC_ENABLE, &parms); 2193 if (do_ioctl(dsw_fd, DSWIOC_STAT, &prev_stat) == -1) { [all …]
|