/illumos-gate/usr/src/uts/common/fs/devfs/ |
H A D | devfs_vnops.c | 318 * Compare the uid/gid/mode changes requested for a setattr 426 * - mode supplied by ddi_create_priv_minor_node 530 dcmn_err5(("%s persisting mode 0%o\n", 708 devfs_unlocked_access(void *vdv, int mode, struct cred *cr) argument 722 dv->dv_attr->va_mode << shift, mode)); 726 devfs_access(struct vnode *vp, int mode, int flags, struct cred *cr, argument 742 res = devfs_unlocked_access(dv, mode, cr); 744 res = VOP_ACCESS(dv->dv_attrvp, mode, flags, cr, ct); 829 int mode, struct vnode **vpp, struct cred *cred, int flag, 840 else if (vp->v_type == VDIR && (mode 828 devfs_create(struct vnode *dvp, char *nm, struct vattr *vap, vcexcl_t excl, int mode, struct vnode **vpp, struct cred *cred, int flag, caller_context_t *ct, vsecattr_t *vsecp) argument [all...] |
/illumos-gate/usr/src/uts/common/fs/fd/ |
H A D | fdops.c | 82 fdopen(vnode_t **vpp, int mode, cred_t *cr, caller_context_t *ct) argument 197 fdaccess(vnode_t *vp, int mode, int flags, cred_t *cr, caller_context_t *ct) argument 219 int mode, vnode_t **vpp, cred_t *cr, int flag, caller_context_t *ct, 218 fdcreate(vnode_t *dvp, char *comp, vattr_t *vap, enum vcexcl excl, int mode, vnode_t **vpp, cred_t *cr, int flag, caller_context_t *ct, vsecattr_t *vsecp) argument
|
/illumos-gate/usr/src/uts/common/fs/objfs/ |
H A D | objfs_data.c | 484 objfs_data_access(vnode_t *vp, int mode, int flags, cred_t *cr, argument 487 if (mode & (VWRITE|VEXEC))
|
/illumos-gate/usr/src/uts/common/fs/smbclnt/netsmb/ |
H A D | smb_smb.c | 515 uint16_t mode, 535 mb_put_uint16le(mbp, mode); 749 md_get_uint16le(mdp, NULL); /* data compaction mode */ 511 smb_smb_open_prjob( struct smb_share *ssp, char *title, uint16_t setuplen, uint16_t mode, struct smb_cred *scrp, uint16_t *fidp) argument
|
/illumos-gate/usr/src/uts/common/fs/udfs/ |
H A D | udf_dir.c | 39 #include <sys/mode.h> 613 mode_t mode; local 682 if ((mode = ip->i_type) == VDIR) { 706 if (mode == VDIR) { 735 if (mode == VDIR) { 801 if (mode == VDIR) { 845 if (mode == VDIR) {
|
/illumos-gate/usr/src/tools/pmodes/ |
H A D | pmodes.c | 55 * d o owner -> newowner pathname [mode] 294 int modelen; /* number of mode bytes (3 or 4); */ 295 int mode; /* the complete file mode */ member in struct:parsed_line 311 line->modelen, line->mode, line->owner, line->rest); 318 * third the class, the fourth the mode, when appropriate. 383 * [ <mode> <owner> <group> .... ] 404 * At this point, we could have no mode because we are 422 case 'p': /* FIFO - assume mode is sensible, don't treat as file */ 445 * the mode i [all...] |
/illumos-gate/usr/src/uts/common/avs/ncall/ |
H A D | ncall.c | 341 static int ncallioctl(dev_t dev, int cmd, intptr_t arg, int mode, argument 361 if (ddi_copyin((void *)arg, &node, sizeof (node), mode) < 0) 380 sizeof (ncall_nodeinfo), mode) < 0) { 395 rc = ncallgetnodes(arg, mode, rvalp); 404 if (ddi_copyin((void *)arg, &node, sizeof (node), mode) < 0) { 704 ncallgetnodes(intptr_t uaddr, int mode, int *rvalp) argument 758 mode) < 0) {
|
/illumos-gate/usr/src/uts/common/avs/ns/sdbc/ |
H A D | sd_misc.c | 64 * be in write through mode when NVRAM is present. This should 94 static int sdbcioctl(dev_t dev, int cmd, void *arg, int mode, cred_t *crp, 273 * write through mode(when NVRAM is present) 642 convert_ioctl_args(int cmd, void *arg, int mode, _sdbc_ioctl_t *args) argument 655 if (ddi_copyin(arg, &args32, sizeof (_sdbc_ioctl32_t), mode)) 811 sdbc_get_cd_blk(_sdbc_ioctl_t *args, int mode) argument 832 mode)) { 837 if (ddi_model_convert_from(mode & FMODELS) == DDI_MODEL_ILP32) { 839 mode)) { 848 if (ddi_copyin((void *)args->arg2, addr, sizeof (addr), mode)) { 923 sdbcioctl(dev_t dev, int cmd, void *arg, int mode, cred_t *crp, int *rvp) argument [all...] |
/illumos-gate/usr/src/uts/common/des/ |
H A D | des_crypt.c | 71 unsigned int mode, struct desparams *desp); 300 * CBC mode encryption 304 cbc_crypt(char *key, char *buf, size_t len, unsigned int mode, char *ivec) argument 311 err = common_crypt(key, buf, len, mode, &dp); 318 * ECB mode encryption 322 ecb_crypt(char *key, char *buf, size_t len, unsigned int mode) argument 328 err = common_crypt(key, buf, len, mode, &dp); 338 common_crypt(char *key, char *buf, size_t len, unsigned int mode, argument 347 ((mode & DES_DIRMASK) == DES_ENCRYPT) ? ENCRYPT : DECRYPT; 349 desdev = mode [all...] |
/illumos-gate/usr/src/uts/common/inet/tcp/ |
H A D | tcp_socket.c | 654 int mode, int32_t *rvalp, cred_t *cr) 709 cmd, arg, mode, cr, rvalp); 1124 * Turn off the defense mode if we 653 tcp_ioctl(sock_lower_handle_t proto_handle, int cmd, intptr_t arg, int mode, int32_t *rvalp, cred_t *cr) argument
|
/illumos-gate/usr/src/uts/common/io/bge/ |
H A D | bge_mii.c | 472 /* Set to Master mode */ 774 /* Enable EEE advertisement for the specified mode(s)... */ 943 * but if any loopback mode is in effect, that takes precedence. 1100 * and we haven't got (any) loopback mode selected. 1137 uint_t mode; local 1182 mode = aux & MII_AUX_STATUS_MODE_MASK; 1183 mode >>= MII_AUX_STATUS_MODE_SHIFT; 1188 linkup = bge_copper_link_speed[mode] > 0; 1189 linkup &= bge_copper_link_duplex[mode] != 1196 "=> mode [all...] |
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/ |
H A D | lm_dmae.h | 70 * - SGL DMA operations in asynchronous mode (a.k.a post/poll) 71 * SGL DMA operations in asynchronous mode only lock the 92 #define DMAE_COMPLETION_VAL 0xD1AE // local completion word value with edianity mode 2 (for regular command) 93 #define DMAE_COMPLETION_VAL_SWAPPED 0xAED10000 // local completion word value with edianity mode 3 229 lm_dmae_mode_t mode; member in struct:_lm_dmae_context_t 259 * memory depends on the endianness mode of the command, so 291 lm_dmae_mode_t mode; member in struct:_lm_dmae_operation_t
|
/illumos-gate/usr/src/uts/common/io/drm/ |
H A D | drm_io32.h | 125 uint32_t mode; /* AGP mode */ member in struct:drm_agp_mode_32 143 uint32_t mode; member in struct:drm_agp_info_32
|
H A D | drm_sunmod.c | 422 drm_sun_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, argument 438 sizeof (struct vis_identifier), mode)) 452 mode, credp, rvalp, mstate->mis_gfxp); 456 retval = agpmaster_ioctl(dev, cmd, arg, mode, 505 retval = func(dp, arg, fpriv, mode);
|
/illumos-gate/usr/src/psm/stand/cpr/sparcv9/sun4u/ |
H A D | util.c | 228 int valid, mode; local 230 (void) prom_translate_virt(vaddr, &valid, &paddr, &mode);
|
/illumos-gate/usr/src/uts/common/io/cardbus/ |
H A D | cardbus_hp.c | 1113 cardbus_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp, argument 1179 rv = ndi_devctl_ioctl(self, cmd, arg, mode, 0); 1397 if (ddi_model_convert_from(mode & FMODELS) == DDI_MODEL_ILP32) {
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | driver.c | 562 cdev_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, struct cred *cred, argument 568 return ((*cb->cb_ioctl)(dev, cmd, arg, mode, cred, rvalp)); 573 size_t *maplen, uint_t mode) 578 return ((*cb->cb_devmap)(dev, dhp, off, len, maplen, mode)); 572 cdev_devmap(dev_t dev, devmap_cookie_t dhp, offset_t off, size_t len, size_t *maplen, uint_t mode) argument
|
H A D | ipc.c | 82 * mode bits, and optionally facility-specific arguments. If the key 83 * is IPC_PRIVATE, a new object with the requested mode bits and 96 * addition to the owner uid and gid, and mode bits. It can fail if 472 * mode - Desired access permissions 475 ipcperm_access(kipc_perm_t *p, int mode, cred_t *cr) argument 489 mode &= ~(p->ipc_mode << shifts); 491 if (mode == 0) 496 return (secpolicy_ipc_access(cr, p, mode)); 517 mode_t mode; local 525 mode [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 */
|
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | sem.c | 875 int cvres, needundo, mode; local 976 mode = 0; 978 mode |= op->sem_op ? SEM_A : SEM_R; 986 if (error = ipcperm_access(&sp->sem_perm, mode, CRED())) 1009 if (error = ipcperm_access(&sp->sem_perm, mode, CRED()))
|
/illumos-gate/usr/src/uts/common/tnf/ |
H A D | tnf.c | 381 tnf_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, argument 386 if ((mode & FMODELS) != FNATIVE) 398 return (tnf_getmaxprobe((caddr_t)arg, mode)); 400 return (tnf_getprobevals((caddr_t)arg, mode)); 402 return (tnf_getprobestring((caddr_t)arg, mode)); 404 return (tnf_setprobevals((caddr_t)arg, mode)); 406 return (tnf_getstate((caddr_t)arg, mode)); 418 return (tnf_getpidstate((caddr_t)arg, mode)); 424 return (tnf_setpidstate(filterval, (pid_t)arg, mode)); 426 return (tnf_pidfilterget((caddr_t)arg, mode)); 443 tnf_getmaxprobe(caddr_t arg, int mode) argument 466 tnf_getprobevals(caddr_t arg, int mode) argument 496 tnf_getprobestring(caddr_t arg, int mode) argument 520 tnf_setprobevals(caddr_t arg, int mode) argument 560 tnf_getstate(caddr_t arg, int mode) argument 738 tnf_getpidstate(caddr_t arg, int mode) argument 764 tnf_setpidstate(int filterval, pid_t pid, int mode) argument 783 tnf_pidfilterset(int mode) argument 809 tnf_pidfilterget(caddr_t dest, int mode) argument 874 tnf_getheader(caddr_t arg, int mode) argument 884 tnf_getblock(caddr_t arg, int mode) argument 914 tnf_getfwzone(caddr_t arg, int mode) argument [all...] |
/illumos-gate/usr/src/uts/common/vm/ |
H A D | vpm.c | 318 get_freelndx(int mode) argument 323 switch (mode) {
|
/illumos-gate/usr/src/uts/i86pc/i86hvm/io/xpv/ |
H A D | xpv_support.c | 782 xpv_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *cr, argument
|
/illumos-gate/usr/src/uts/i86pc/io/pci/ |
H A D | pci.c | 785 pci_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp, int *rvalp) argument 799 ret = pci_common_ioctl(pci_p->pci_dip, dev, cmd, arg, mode, 804 ret = (pcihp_get_cb_ops())->cb_ioctl(dev, cmd, arg, mode,
|
/illumos-gate/usr/src/uts/i86pc/io/pciex/ |
H A D | npe.c | 678 * These will handle default and protected mode accesses too. 1063 npe_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp, int *rvalp) argument 1077 ret = pci_common_ioctl(pci_p->pci_dip, dev, cmd, arg, mode, 1082 ret = pcie_ioctl(pci_p->pci_dip, dev, cmd, arg, mode, credp,
|