Searched refs:opendev (Results 1 - 2 of 2) sorted by relevance

/freebsd-12-stable/usr.sbin/trim/
H A Dtrim.c52 static int opendev(const char *path, int flags);
153 opendev(const char *path, int flags) function
180 fd = opendev(path, O_RDONLY | O_DIRECT);
223 fd = opendev(path, O_WRONLY | O_DIRECT);
/freebsd-12-stable/usr.sbin/nandsim/
H A Dnandsim.c98 static int opendev(int *);
239 opendev(int *fd) function
301 if (opendev(&fd) != EX_OK)
374 if (opendev(&fd) != EX_OK)
403 if (opendev(&fd) != EX_OK)
432 if (opendev(&fd) != EX_OK)
461 if (opendev(&fd) != EX_OK)
550 if (opendev(&fd) != EX_OK)
613 if (opendev(&fd) != EX_OK)
694 if (opendev(
[all...]

Completed in 188 milliseconds