/illumos-gate/usr/src/common/ficl/ |
H A D | loader.c | 429 * fopen ( ptr count mode -- fd ) 436 int mode, fd, count; local 444 mode = ficlStackPopInteger(ficlVmGetDataStack(pVM)); /* get mode */ 464 fd = open(name, mode);
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | zfs_dir.c | 35 #include <sys/mode.h> 171 * system is supporting mixed-mode access. It is sometimes 694 zfs_dirent(znode_t *zp, uint64_t mode) argument 699 de |= IFTODT(mode) << 60;
|
H A D | spa.c | 842 enum zti_modes mode = ztip->zti_mode; local 850 if (mode == ZTI_MODE_NULL) { 861 switch (mode) { 874 panic("unrecognized mode for %s_%s taskq (%u:%u) in " 876 zio_type_name[t], zio_taskq_types[q], mode, value); 1043 spa_activate(spa_t *spa, int mode) argument 1048 spa->spa_mode = mode; 2238 * If this is an untrusted config, access the pool in read-only mode. 2487 * import in read-write mode and (if it is not) whether the 2488 * pool is available for import in read-only mode 2931 int mode = spa->spa_mode; local 3420 spa_validate_aux_devs(spa_t *spa, nvlist_t *nvroot, uint64_t crtxg, int mode, spa_aux_vdev_t *sav, const char *config, uint64_t version, vdev_labeltype_t label) argument 3501 spa_validate_aux(spa_t *spa, nvlist_t *nvroot, uint64_t crtxg, int mode) argument 4051 uint64_t mode = spa_mode_global; local [all...] |
/illumos-gate/usr/src/boot/sys/boot/fdt/ |
H A D | fdt_loader_cmd.c | 1234 fdt_modprop(int nodeoff, char *propname, void *value, char mode) argument 1244 if (mode == 1) { 1245 /* Adding inexistant value in mode 1 is forbidden */ 1249 } else if (mode == 0) {
|
/illumos-gate/usr/src/cmd/ndmpd/tlm/ |
H A D | tlm_restore_writer.c | 1462 NDMP_LOG(LOG_DEBUG, "xattr_hdr: %s size %d mode %06o uid %d gid %d", 1951 mode_t mode; local 1955 mode = S_IFCHR; 1959 mode = S_IFBLK; 1963 mode = S_IFIFO; 1976 if (mknod(name, 0777 | mode, dev) != 0) { 2099 "mode %o", name, st->st_uid, st->st_gid, acls->uname, acls->gname,
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/enchilada/envd/ |
H A D | piclenvd.c | 38 * The environmental policy defaults to the auto mode 1346 uint8_t mode; local 1395 * Need to reinit ADM to manual mode for Tmin range to be 1398 mode = ADM1031_MANUAL_MODE; 1399 if (ioctl(sysfd, ADM1031_SET_MONITOR_MODE, &mode) == -1) { 1440 mode = ADM1031_AUTO_MODE; 1441 if (ioctl(sysfd, ADM1031_SET_MONITOR_MODE, &mode) == -1) { 2090 * lowest power mode if we scan the disk temperature
|
/illumos-gate/usr/src/uts/common/io/dld/ |
H A D | dld_str.c | 400 dld_str_mode_t mode; local 405 mode = dsp->ds_mode; 407 (mode != DLD_FASTPATH && mode != DLD_RAW)) { 415 if (mode == DLD_FASTPATH) { 858 * M_DATA put (IP fast-path mode) 896 * M_DATA put (DLIOCRAW mode) 913 * Here, unless native mode is enabled, we call into the MAC layer so 916 * down. The header goes from raw mode to "cooked" mode [all...] |
/illumos-gate/usr/src/uts/common/io/ |
H A D | fssnap.c | 161 static int snap_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, 1007 snap_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp, argument 1026 if (ddi_copyin((void *)arg, &fc, sizeof (fc), mode)) 1049 if (ddi_copyin((void *)arg, &fc, sizeof (fc), mode)) 1077 if (ddi_copyin((void *)arg, &fc, sizeof (fc), mode))
|
H A D | asy.c | 79 * Just in case someone has a chip with broken loopback mode, we provide a 179 static void async_nstart(struct asyncline *async, int mode); 181 static void asy_program(struct asycom *asy, int mode); 1366 * 16550A until we enable its enhanced mode. 1370 /* Enable enhanced mode register access */ 1375 /* Disable enhanced mode register access */ 1416 /* Set loopback mode */ 1470 * 16550A mode. If less than 16 characters, 1497 /* Disable 16650 enhanced mode */ 1508 /* Clear loopback mode an 2021 asy_program(struct asycom *asy, int mode) argument 3026 async_nstart(struct asyncline *async, int mode) argument [all...] |
H A D | pshot.c | 1831 pshot_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp, argument 1848 "pshot%d ioctl: dev=%p, cmd=%x, arg=%p, mode=%x\n", 1849 instance, (void *)dev, cmd, (void *)arg, mode); 1852 return (pshot_devctl(pshot, nodenum, cmd, arg, mode, credp, 1856 return (pshot_testctl(pshot, nodenum, cmd, arg, mode, credp, 1870 pshot_devctl(pshot_t *pshot, minor_t nodenum, int cmd, intptr_t arg, int mode, argument 1905 rv = ndi_devctl_ioctl(self, cmd, arg, mode, flags); 2251 pshot_testctl(pshot_t *pshot, minor_t nodenum, int cmd, intptr_t arg, int mode, argument
|
/illumos-gate/usr/src/uts/common/io/ntxn/ |
H A D | unm_nic_hw.c | 1873 * P3 does not unset promiscous mode. Why? 2021 unm_niu_control_t mode; local 2024 unm_nic_read_w0(adapter, UNM_NIU_MODE, (uint32_t *)&mode); 2025 if (mode.enable_ge) { // Gb 10/100/1000 Mbps mode 2179 nx_p3_nic_set_promisc(unm_adapter *adapter, u32 mode) argument 2188 req.words[0] = HOST_TO_LE_64(mode); 2202 cmn_err(CE_WARN, "Could not set promisc mode\n");
|
/illumos-gate/usr/src/uts/common/nfs/ |
H A D | nfs.h | 496 uint32_t na_mode; /* protection mode bits */ 565 uint32_t sa_mode; /* protection mode bits */ 1145 mode3 mode; member in struct:fattr3 1219 mode3 mode; member in struct:set_mode3 1254 set_mode3 mode; member in struct:sattr3 1559 createmode3 mode; member in struct:createhow3 2305 extern bool_t rfs4_check_delegated(int mode, vnode_t *, bool_t trunc);
|
/illumos-gate/usr/src/cmd/sgs/libconv/common/ |
H A D | corenote.c | 2509 conv_cnote_filemode(uint32_t mode, Conv_fmt_flags_t fmt_flags, argument 2532 arg.oflags = arg.rflags = mode & ~(0xf000); 2536 switch (mode & (0xf000)) { 2577 arg.rflags = mode; 2580 if (mode == 0)
|
/illumos-gate/usr/src/uts/common/xen/io/ |
H A D | xdf.c | 2548 xdf_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp, argument 2584 return (cmlb_ioctl(vdp->xdf_vd_lbl, dev, cmd, arg, mode, credp, 2598 if (ddi_copyout(&offset, (void *)arg, sizeof (int), mode)) 2613 sizeof (struct dk_minfo), mode)) 2640 if (ddi_copyout(&info, (void *)arg, sizeof (info), mode)) 2648 sizeof (mstate), mode) != 0) 2654 sizeof (mstate), mode) != 0) 2660 if (ddi_copyout(&i, (caddr_t)arg, sizeof (i), mode)) 2666 if (ddi_copyout(&i, (void *)arg, sizeof (i), mode)) 2672 if (ddi_copyin((void *)arg, &i, sizeof (i), mode)) [all...] |
/illumos-gate/usr/src/lib/pkcs11/pkcs11_kernel/common/ |
H A D | kernelAttributeUtil.c | 1001 uint_t mode) 1234 if (mode == KERNEL_CREATE_OBJ) { 1369 uint_t mode) 1748 if (mode == KERNEL_CREATE_OBJ && isValueBits) { 2138 kernel_object_t *new_object, kernel_session_t *sp, uint_t mode) 2163 new_object, sp, mode); 2168 new_object, sp, mode); 999 kernel_build_public_key_object(CK_ATTRIBUTE_PTR template, CK_ULONG ulAttrNum, kernel_object_t *new_object, kernel_session_t *sp, uint_t mode) argument 1367 kernel_build_private_key_object(CK_ATTRIBUTE_PTR template, CK_ULONG ulAttrNum, kernel_object_t *new_object, kernel_session_t *sp, uint_t mode) argument 2137 kernel_build_object(CK_ATTRIBUTE_PTR template, CK_ULONG ulAttrNum, kernel_object_t *new_object, kernel_session_t *sp, uint_t mode) argument
|
/illumos-gate/usr/src/cmd/sgs/rtld/common/ |
H A D | analyze.c | 496 * been established from the reference mode of this object. 587 * relocation mode. 905 * Establish a link-map mode, initializing it if it has just been loaded, or 915 * A newly loaded object hasn't had its mode set yet. Modes are used to 2159 * updating the objects mode, creating a handle if necessary, and adding this 2184 * -zgroupperm), establish the appropriate mode. 2208 * Establish new mode and flags. 2227 * requires that the mode of the object be promoted, create a private 2543 load_one(Lm_list *lml, Aliste lmco, Alist *palp, Rt_map *clmp, int mode, argument 2560 mode, (flag 3174 int ret, mode; local [all...] |
/illumos-gate/usr/src/uts/common/fs/pcfs/ |
H A D | pc_vnops.c | 95 enum vcexcl, int mode, struct vnode **, struct cred *, int, 278 * in append mode start at end of file. 852 int mode, 865 if ((mode & VWRITE) && (pcp->pc_entry.pcd_attr & PCA_RDONLY)) 873 if ((mode & VWRITE) && 1042 int mode, 1099 } else if (mode) { 1100 error = pcfs_access(PCTOV(pcp), mode, 0, 850 pcfs_access( struct vnode *vp, int mode, int flags, struct cred *cr, caller_context_t *ct) argument 1037 pcfs_create( struct vnode *dvp, char *nm, struct vattr *vap, enum vcexcl exclusive, int mode, struct vnode **vpp, struct cred *cr, int flag, caller_context_t *ct, vsecattr_t *vsecp) argument
|
/illumos-gate/usr/src/uts/common/fs/sockfs/ |
H A D | sockstr.c | 503 * Heuristics for determining the socket mode flags 2726 so_set_asyncsigs(vnode_t *vp, pid_t pgrp, int events, int mode, cred_t *cr) argument 2737 return (strioctl(vp, I_ESETSIG, (intptr_t)&ss, mode, K_TO_K, cr, 2756 so_flip_async(struct sonode *so, vnode_t *vp, int mode, cred_t *cr) argument 2768 error = so_set_asyncsigs(vp, so->so_pgrp, events, mode, cr); 2780 * Set new pid/pgrp for SIGPOLL (or SIGIO for FIOASYNC mode), replacing 2784 so_set_siggrp(struct sonode *so, vnode_t *vp, pid_t pgrp, int mode, cred_t *cr) argument 2805 error = so_set_asyncsigs(vp, pgrp, events, mode, cr); 2814 error = so_set_asyncsigs(vp, so->so_pgrp, 0, mode, cr);
|
/illumos-gate/usr/src/uts/common/avs/ns/rdc/ |
H A D | rdc_svc.c | 146 _rdc_sync_event_wait(void *arg0, void *arg1, int mode, spcs_s_info_t kstatus, argument 154 if (ddi_copyin(arg0, master, NSC_MAXPATH, mode)) 177 mode); 179 mode); 2171 rdc_start_server(struct rdc_svc_args *args, int mode) argument 2178 STRUCT_SET_HANDLE(rs, mode, args); 2191 ret = rdcsrv_load(fp, rdc_srvtab, args, mode);
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | dumpsubr.c | 311 lock_t spinlock; /* panic mode spin lock */ 1455 * need to save a little more data to describe the failure mode in 1926 * mode: 1931 dumpsys_bzrun(helper_t *hp, void *buf, size_t size, int mode) argument 1950 if (ps->avail_in == 0 && mode == BZ_RUN) 1964 rc = BZ2_bzCompress(ps, mode); 1968 if (mode == BZ_RUN && rc != BZ_RUN_OK) { 1976 if (ps->avail_out == 0 || mode == BZ_FINISH) { 1987 if (mode == BZ_FINISH) { 1999 if (mode [all...] |
/illumos-gate/usr/src/cmd/devfsadm/ |
H A D | devfsadm.c | 32 * operates in both command line mode to handle user or script invoked 33 * reconfiguration updates, and operates in daemon mode to handle dynamic 56 /* cleanup mode. Set with -C */ 102 /* output directed to syslog during daemon mode if set */ 403 * in daemon mode and when root dir is "/". 885 * We're not in zone mode; Check to see if the rootpath 1083 * Called in non-daemon mode to take a snap shot of the devinfo tree. 2828 * So we enable this only in daemon mode. In addition, 2929 * are not available (during boot or in single-user mode), then 2973 mode_t mode; local 7136 getattr(char *phy_path, char *aminor, int spectype, dev_t dev, mode_t *mode, uid_t *uid, gid_t *gid) argument 7768 s_mkdirp(const char *path, const mode_t mode) argument [all...] |
/illumos-gate/usr/src/uts/common/io/bge/ |
H A D | bge_chip2.c | 307 * + Configure the target-mode endianness (swap) options. 418 * interrupt mode) at this stage ... 465 * The best way to avoid this is to use TAGGED STATUS mode, 581 * These use to distinguish AMD64 or Intel EM64T of CPU running mode. 582 * If CPU runs on Intel EM64T mode,the 64bit operation cannot works fine 2454 bge_ape_driver_state_change(bge_t *bgep, int mode) argument 2460 (void *)bgep, mode)); 2465 switch (mode) { 3452 * Reprogram the Ethernet MAC mode ... 3479 BGE_DEBUG(("bge_sync_mac_modes($%p) Ethernet MAC mode 6520 bge_asf_pre_reset_operations(bge_t *bgep, uint32_t mode) argument 6569 bge_asf_post_reset_old_mode(bge_t *bgep, uint32_t mode) argument 6591 bge_asf_post_reset_new_mode(bge_t *bgep, uint32_t mode) argument [all...] |
/illumos-gate/usr/src/uts/common/crypto/io/ |
H A D | dprov.c | 4307 int *out_error, int mode) 4317 STRUCT_INIT(mech, mode); 4318 STRUCT_INIT(params, mode); 4393 int *out_error, int mode) 4403 STRUCT_INIT(mech, mode); 4404 STRUCT_INIT(params, mode); 4468 int *out_error, int mode) 4478 STRUCT_INIT(mech, mode); 4479 STRUCT_INIT(params, mode); 4548 int *out_error, int mode) 4306 copyin_aes_ccm_mech(crypto_mechanism_t *in_mech, crypto_mechanism_t *out_mech, int *out_error, int mode) argument 4392 copyin_aes_gcm_mech(crypto_mechanism_t *in_mech, crypto_mechanism_t *out_mech, int *out_error, int mode) argument 4467 copyin_aes_gmac_mech(crypto_mechanism_t *in_mech, crypto_mechanism_t *out_mech, int *out_error, int mode) argument 4547 copyin_aes_ctr_mech(crypto_mechanism_t *in_mech, crypto_mechanism_t *out_mech, int *out_error, int mode) argument 4597 copyin_ecc_mech(crypto_mechanism_t *in_mech, crypto_mechanism_t *out_mech, int *out_error, int mode) argument 4674 copyout_aes_ctr_mech(crypto_mechanism_t *in_mech, crypto_mechanism_t *out_mech, int *out_error, int mode) argument 4712 dprov_copyin_mechanism(crypto_provider_handle_t provider, crypto_mechanism_t *umech, crypto_mechanism_t *kmech, int *out_error, int mode) argument 4806 dprov_copyout_mechanism(crypto_provider_handle_t provider, crypto_mechanism_t *kmech, crypto_mechanism_t *umech, int *out_error, int mode) argument [all...] |
/illumos-gate/usr/src/uts/common/io/nxge/ |
H A D | nxge_mac.c | 143 * on N2-NIU systems in 10G mode, but it uses its own table 912 /* Initialize XIF to configure a network mode */ 1056 "nxge_xcvr_init: set ATCA mode")); 1141 "nxge_xif_init: Unknown port mode (%d)" 1146 /* Enable ATCA mode */ 1208 /* Reset PCS multiple time in PORT_1G_TN1010 mode */ 1535 /* Set loopback mode if necessary */ 1617 /* Set loopback mode if necessary */ 1815 /* Set loopback mode if necessary */ 1905 /* Set loopback mode i 8529 mii_mode_control_stat_t mode; local 8789 mii_mode_control_stat_t mode; local [all...] |
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs_vnops.c | 1300 * owner of the file, the group owner, or the mode. These may 1366 * Some servers will change the mode to clear the setuid 1400 nfs_accessx(void *vp, int mode, cred_t *cr) argument 1403 return (nfs_access(vp, mode, 0, cr, NULL)); 1408 nfs_access(vnode_t *vp, int mode, int flags, cred_t *cr, caller_context_t *ct) argument 1420 error = acl_access2(vp, mode, flags, cr); 1435 if ((mode & VWRITE) && vn_is_readonly(vp) && !IS_DEVVP(vp)) 1441 if ((mode & (VWRITE | VREAD | VEXEC)) && 1459 va.va_mode << shift, mode)); 1967 int mode, vnode_ 1966 nfs_create(vnode_t *dvp, char *nm, struct vattr *va, enum vcexcl exclusive, int mode, vnode_t **vpp, cred_t *cr, int lfaware, caller_context_t *ct, vsecattr_t *vsecp) argument [all...] |