Searched defs:oflag (Results 26 - 39 of 39) sorted by relevance

12

/osnet-11/usr/src/lib/libntsvcs/common/
H A Ddfs.c1404 dfs_root_xopen(const char *rootdir, int oflag) argument
1411 xfd = openat(dfd, DFS_ROOT_XATTR, oflag | O_XATTR, 0600);
/osnet-11/usr/src/lib/libpkg/common/
H A Ddstream.c833 int oflag; local
842 oflag = fcntl(ds_fd, F_GETFL, 0);
900 nflag = (oflag == O_WRONLY) ?
915 if (oflag == O_RDONLY && ds_header && ds_totread == 0)
942 if (oflag & O_WRONLY)
/osnet-11/usr/src/lib/cfgadm_plugins/sata/common/
H A Dcfga_sata.c228 nvlist_t **user_nvlistp, uint_t oflag);
1914 uint_t oflag)
1929 if ((*devctl_hdl = devctl_ap_acquire((char *)lap_id, oflag)) == NULL) {
1910 setup_for_devctl_cmd( const char *ap_id, devctl_hdl_t *devctl_hdl, nvlist_t **user_nvlistp, uint_t oflag) argument
/osnet-11/usr/src/lib/cfgadm_plugins/sbd/common/
H A Dap_sbd.c84 int oflag; local
98 oflag = O_RDONLY;
100 oflag = O_RDWR;
101 if ((fd = open(a->path, oflag, 0)) == -1) {
/osnet-11/usr/src/lib/cfgadm_plugins/usb/common/
H A Dcfga_usb.c514 nvlist_t **user_nvlistp, uint_t oflag)
519 DPRINTF("setup_for_devctl_cmd: oflag=%d\n", oflag);
522 if ((*devctl_hdl = devctl_ap_acquire((char *)ap_id, oflag)) == NULL) {
513 setup_for_devctl_cmd(const char *ap_id, devctl_hdl_t *devctl_hdl, nvlist_t **user_nvlistp, uint_t oflag) argument
/osnet-11/usr/src/lib/libc/port/rt/
H A Dmqueue.c447 mq_open(const char *path, int oflag, /* mode_t mode, mq_attr *attr */ ...) argument
473 va_start(ap, oflag);
474 /* filter oflag to have READ/WRITE/CREATE modes only */
475 oflag = oflag & (O_RDONLY|O_WRONLY|O_RDWR|O_CREAT|O_EXCL|O_NONBLOCK);
476 if ((oflag & O_CREAT) != 0) {
482 if ((fd = __pos4obj_open(path, MQ_PERM_TYPE, oflag,
598 mqdp->mqd_flags = (oflag - FOPEN) & (FREAD|FWRITE);
599 mqdnp->mqdn_flags = (oflag - FOPEN) & (FNONBLOCK);
/osnet-11/usr/src/lib/libpool/common/
H A Dpool_kernel.c3589 blocking_open(const char *path, int oflag) argument
3593 while ((fd = open(path, oflag)) == -1 && errno == EBUSY)
/osnet-11/usr/src/lib/libdevalloc/common/
H A Dlibdevalloc.c1297 int oflag = 0; local
1310 oflag = DA_RDWR;
1313 oflag = DA_RDONLY;
1339 if ((fda = open(fname, oflag, DA_DBMODE)) == -1) {
1374 if ((fdm = open(fname, oflag, DA_DBMODE)) == -1) {
/osnet-11/usr/src/lib/libdevinfo/
H A Ddevfsinfo.c1944 prom_open(int oflag) argument
1950 if ((prom_fd = open(promdev, oflag)) < 0) {
H A Ddevinfo.c155 blocking_open(const char *path, int oflag) argument
159 while ((fd = open(path, oflag)) == -1 && errno == EAGAIN)
/osnet-11/usr/src/lib/libc/port/threads/
H A Dscalls.c818 openat(int fd, const char *path, int oflag, ...) argument
824 va_start(ap, oflag);
827 PERFORM(__openat(fd, path, oflag, mode))
831 open(const char *path, int oflag, ...) argument
837 va_start(ap, oflag);
840 PERFORM(__open(path, oflag, mode))
851 openat64(int fd, const char *path, int oflag, ...) argument
857 va_start(ap, oflag);
860 PERFORM(__openat64(fd, path, oflag, mode))
864 open64(const char *path, int oflag, argument
[all...]
/osnet-11/usr/src/lib/libsysevent/
H A Dlibsysevent.c1096 alloc_subscriber(sysevent_handle_t *shp, uint32_t sub_id, int oflag) argument
/osnet-11/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftKeystoreUtil.c646 int oflag; local
659 oflag = O_RDONLY;
661 oflag = O_WRONLY;
663 if ((desc_fd = open_and_lock_keystore_desc(oflag,
685 open_and_lock_object_file(ks_obj_handle_t *ks_handle, int oflag, argument
701 fd = open_nointr(obj_fname, oflag|O_NONBLOCK);
711 if (acquire_file_lock(&fd, obj_fname, oflag) != 0) {
978 int oflag; local
981 oflag = O_RDONLY;
983 oflag
[all...]
/osnet-11/usr/src/lib/lvm/libmeta/common/
H A Dmeta_sp.c3754 int oflag; local
3850 oflag = 0;
3866 if (oflag == 1) {
3873 oflag = 1;
3882 if (oflag == 0) {
3889 oflag = 0;
3924 if (oflag != 0)

Completed in 179 milliseconds

12