/illumos-gate/usr/src/uts/common/fs/ufs/ |
H A D | ufs_inode.c | 54 #include <sys/mode.h> 1168 ushort_t mode; local 1190 mode = oip->i_mode & IFMT; 1201 if (mode == IFIFO) 1203 if (mode != IFREG && mode != IFDIR && mode != IFATTRDIR && 1204 !(mode == IFLNK && length == (offset_t)0) && mode != IFSHAD) 1208 if ((mode 1525 ufs_iaccess(struct inode *ip, int mode, struct cred *cr, int dolock) argument [all...] |
/illumos-gate/usr/src/uts/common/sys/ |
H A D | visual_io.h | 184 #define VIS_TEXT 0 /* Use text mode when displaying data */ 185 #define VIS_PIXEL 1 /* Use pixel mode when displaying data */ 297 short mode; /* Mode to use when displaying data */ member in struct:vis_devinit 304 vis_modechg_cb_t modechg_cb; /* Video mode change callback */
|
H A D | mii.h | 336 * mode to disable the MII/PHY loopback, and will have the value 361 * Sets the loopback mode, intended for use in support of the 362 * LB_SET_MODE ioctl. The mode value will be one of the values 369 * mode New loopback mode number; MII_LOOPBACK_NONE indicates 374 * Zero on success, or EINVAL if the mode is invalid or unsupported. 376 int mii_set_loopback(mii_handle_t mii, uint32_t mode); 381 * Queries the loopback mode, intended for use in support of the 387 * The current mode number (one of the reported by
|
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | chown.c | 46 #include <sys/mode.h>
|
/illumos-gate/usr/src/uts/common/tnf/ |
H A D | tnf_types.h | 91 mem = BUF_ALLOC(ops)(&(ops->wcb), size, ops->mode); \ 93 ops->mode = saved_mode; \ 99 mem = BUF_ALLOC(ops)(&(ops->wcb), size, ops->mode); \ 101 ops->mode = saved_mode; \
|
/illumos-gate/usr/src/uts/common/sys/1394/targets/av1394/ |
H A D | av1394_isoch.h | 248 int cp_ts_mode; /* timestamp mode */ 327 #define AV1394_TS_MODE_GET_OFF(mode) ((mode) & 0xff) 328 #define AV1394_TS_MODE_GET_SIZE(mode) (((mode) >> 8) & 0xff)
|
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/ |
H A D | policy_db.h | 88 krb5_error_code osa_adb_get_lock(osa_adb_db_t db, int mode);
|
/illumos-gate/usr/src/lib/libast/common/sfio/ |
H A D | sfflsbuf.c | 49 for(written = 0;; f->mode &= ~SF_LOCK) 50 { /* check stream mode */
|
H A D | sfraise.c | 79 SFMODE(f,local) != (f->mode&SF_RDWR) && _sfmode(f,0,local) < 0)
|
H A D | sfscanf.c | 72 f.mode = SF_READ;
|
H A D | sfungetc.c | 64 if(c < 0 || (f->mode != SF_READ && _sfmode(f,SF_READ,0) < 0))
|
/illumos-gate/usr/src/uts/sun4u/io/i2c/clients/ |
H A D | pic16f819.c | 277 pic16f819_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, argument 304 sizeof (i2c_reg_t), mode) != DDI_SUCCESS) { 316 sizeof (i2c_reg_t), mode) != DDI_SUCCESS) { 323 sizeof (i2c_reg_t), mode) != DDI_SUCCESS) {
|
/illumos-gate/usr/src/uts/sun4u/montecarlo/io/ |
H A D | pcf8574_nct.c | 486 * Set the current operating mode to NORMAL_MODE. 578 * To begin with we set the mode to I2C_RD. 874 call_copyin(caddr_t arg, struct pcf8574_unit *unitp, int mode) argument 883 sizeof (i2c_transfer_t), mode) != DDI_SUCCESS) { 907 i2ct.i2c_wlen, mode) != DDI_SUCCESS) { 916 call_copyout(caddr_t arg, struct pcf8574_unit *unitp, int mode) argument 942 ((intptr_t)arg + uskip), 3*sizeof (uint16_t), mode) 955 sizeof (i2c_transfer_t), mode) != DDI_SUCCESS) { 964 i2ctp->i2c_rlen - i2ctp->i2c_r_resid, mode) 976 int mode, cred_ 975 pcf8574_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp, int *rvalp) argument [all...] |
/illumos-gate/usr/src/uts/intel/io/agpgart/ |
H A D | amd64_gart.c | 245 amd64_gart_ioctl(dev_t dev, int cmd, intptr_t data, int mode, argument 253 if (!(mode & FKIOCTL)) { 273 sizeof (amdgart_info_t), mode)) { 283 if (ddi_copyin((void *)data, &addr, sizeof (uint32_t), mode)) {
|
/illumos-gate/usr/src/cmd/lp/model/ |
H A D | lp.tell.c | 161 int mode = 0; local 276 printf( "start lp.tell for %s key %d mode %s %s\n", 324 mode = atoi(ptr3+1); 328 printer,trayNum,paperType,mode,pagesPrinted); 333 paperType, mode, pagesPrinted);
|
/illumos-gate/usr/src/uts/common/sys/lvm/ |
H A D | md_sp.h | 155 int mode, IOLOCK *lockp);
|
H A D | md_stripe.h | 153 int mode, IOLOCK *lockp);
|
/illumos-gate/usr/src/boot/include/isofs/cd9660/ |
H A D | cd9660_rrip.h | 46 char mode [ISODCL ( 4, 11)]; /* 733 */ member in struct:__anon11
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/acl/ |
H A D | acl_common.kshlib | 35 # Get the given file/directory access mode 130 set -A mode 138 mode[i]=$(get_mode $obj) 143 [[ ${mode[0]} != ${mode[1]} ]] && return 1
|
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/ |
H A D | smb_cache.c | 373 * Lock the cache with the specified mode. 382 smb_cache_lock(smb_cache_t *chandle, int mode) argument 396 if (mode == SMB_CACHE_RDLOCK) { 416 if (mode == SMB_CACHE_RDLOCK)
|
/illumos-gate/usr/src/lib/libshell/common/sh/ |
H A D | bash.c | 47 "compatibility mode. In ksh mode, brace group expansion is always on.]" 49 "instead. Only available in bash compatibility mode.]"; 66 "POSIX mode is not the same as \bksh\b.]" 81 "[q?Suppress output (quiet mode). The return status indicates whether the " 105 "[+histreedit?If set and an edit mode is selected, the user " 108 "[+histverify?If set and an edit mode is selected, the result " 304 /* mode = 0: init, called two times 307 mode > 1: re-init 308 mode < 311 bash_init(int mode) argument [all...] |
/illumos-gate/usr/src/lib/libdiskmgt/common/ |
H A D | inuse_fs.c | 157 mode_t mode = S_IRUSR | S_IWUSR; local 164 (void) open("/dev/null", O_WRONLY, mode); 165 (void) open("/dev/null", O_WRONLY, mode);
|
/illumos-gate/usr/src/lib/libpkg/common/ |
H A D | gpkgmap.c | 81 * These determine how gpkgmap() deals with mode, owner and group defaults. 86 attrpreset(int mode, char *owner, char *group) argument 88 d_mode = mode; 103 * mode, owner and group. Path is evaluated at a higher level based upon 107 setmapmode(int mode) argument 109 if (mode >= 0 || mode <= 3) { 110 mapmode = mode; 111 if (mode == MAPBUILD) 113 else if (mode [all...] |
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | attrat.c | 146 xattr_openat(int basefd, xattr_view_t view, int mode) argument 157 oflag = mode & O_RDWR; 163 if (mode & O_XATTR)
|
/illumos-gate/usr/src/lib/libc/port/stdio/ |
H A D | popen.c | 89 popen(const char *cmd, const char *mode) argument 134 iop = fdopen(myfd, mode); 180 error = posix_spawn_pipe_np(&pid, &fd, cmd, *mode != 'r', &fact, &attr);
|