/illumos-gate/usr/src/uts/common/fs/dev/ |
H A D | sdev_vtops.c | 452 int mode, struct vnode **vpp, struct cred *cred, int flag, 469 else if (vp->v_type == VDIR && (mode & VWRITE)) 472 error = VOP_ACCESS(vp, mode, 0, cred, ct); 451 devvt_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
|
/illumos-gate/usr/src/uts/common/fs/ufs/ |
H A D | ufs_acl.c | 35 #include <sys/mode.h> 299 * Change the mode bits to follow the acl list 624 * Check the inode's ACL's to see if this mode of access is 631 ufs_acl_access(struct inode *ip, int mode, cred_t *cr) argument 634 * mode mode of access read, write, execute/examine 660 * (1) If user owns the file, obey user mode bits 664 return (MODE_CHECK(owner, mode, (sp->aowner->acl_ic_perm << 6), 674 return (MODE_CHECK(owner, mode, 680 * (3) If user belongs to file's group, obey group mode bit 1311 ufs_si_inherit(struct inode *ip, struct inode *tdp, o_mode_t mode, cred_t *cr) argument [all...] |
H A D | ufs_dir.c | 57 #include <sys/mode.h> 152 * Check accessibility of directory against inquired mode and type. 160 ufs_diraccess(struct inode *ip, int mode, struct cred *cr) argument 166 return (ufs_iaccess(ip, mode, cr, 1)); 2070 int imode; /* mode and format as in inode */ 2420 int mode; local 2474 mode = ip->i_mode & IFMT; 2475 if (mode == IFDIR || mode == IFATTRDIR) { 2529 if (mode [all...] |
H A D | ufs_xattr.c | 39 #include <sys/mode.h>
|
/illumos-gate/usr/src/uts/common/avs/ns/dsw/ |
H A D | dsw.c | 60 static int iiioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *crp, 489 iiioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *crp, int *rvp) argument 494 ilp32 = (ddi_model_convert_from(mode & FMODELS) == DDI_MODEL_ILP32);
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | priv.c | 571 priv_proc_cred_perm(const cred_t *scr, proc_t *tp, cred_t **pcr, int mode) argument 603 if (!(mode & VWRITE)) { 620 !idsmatch && secpolicy_proc_owner(scr, tcr, mode) != 0)
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | srn.c | 46 #include <sys/mode.h> 375 srn_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *cr, int *rval_p) argument 446 sizeof (srn_event_info_t), mode) != 0) {
|
/illumos-gate/usr/src/uts/common/sys/ib/adapters/tavor/ |
H A D | tavor.h | 219 * Define used to determine the device mode to which Tavor driver has been 221 * come up in the "maintenance mode". In this mode, no InfiniBand interfaces 225 * HCA mode. In this mode, all necessary InfiniBand interfaces are enabled 251 * Used to determine if the device is operational, or not in maintenance mode. 253 * device in tavor compatibility mode, or against a tavor device in full HCA 254 * mode. 256 #define TAVOR_IS_OPERATIONAL(mode) \ 257 (mode [all...] |
/illumos-gate/usr/src/uts/sun4v/io/px/ |
H A D | px_tools_4v.c | 457 pxtool_bus_reg_ops(dev_info_t *dip, void *arg, int cmd, int mode) argument 473 mode) != DDI_SUCCESS) { 529 mode) != DDI_SUCCESS) {
|
/illumos-gate/usr/src/uts/i86pc/io/acpi_drv/ |
H A D | acpi_drv.c | 242 static int acpi_drv_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, 246 static int acpi_drv_ac_ioctl(int index, int cmd, intptr_t arg, int mode, 248 static int acpi_drv_cbat_ioctl(int index, int cmd, intptr_t arg, int mode, 250 static int acpi_drv_lid_ioctl(int index, int cmd, intptr_t arg, int mode, 468 acpi_drv_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *cr, argument 483 res = acpi_drv_cbat_ioctl(index, cmd, arg, mode, cr, rval); 486 res = acpi_drv_ac_ioctl(index, cmd, arg, mode, cr, rval); 489 res = acpi_drv_lid_ioctl(index, cmd, arg, mode, cr, rval); 492 res = acpi_drv_hotkey_ioctl(cmd, arg, mode, cr, rval); 505 acpi_drv_cbat_ioctl(int index, int cmd, intptr_t arg, int mode, cred_ argument 638 acpi_drv_ac_ioctl(int index, int cmd, intptr_t arg, int mode, cred_t *cr, int *rval) argument 690 acpi_drv_lid_ioctl(int index, int cmd, intptr_t arg, int mode, cred_t *cr, int *rval) argument [all...] |
/illumos-gate/usr/src/uts/intel/io/intel_nb5000/ |
H A D | intel_nbdrv.c | 351 inb_mc_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp, argument 378 mode) < 0) 383 mode) < 0)
|
/illumos-gate/usr/src/lib/libshell/common/sh/ |
H A D | xec.c | 464 int sh_eval(register Sfio_t *iop, int mode) argument 478 if (mode & SH_TOPFUN) 480 mode ^= SH_TOPFUN; 488 if(mode&SH_READEVAL) 494 t = (Shnode_t*)sh_parse(shp,iop,(mode&(SH_READEVAL|SH_FUNEVAL))?mode&SH_FUNEVAL:SH_NL); 495 if(!(mode&SH_FUNEVAL) || !sfreserve(iop,0,0)) 497 if(!(mode&SH_READEVAL)) 500 mode &= ~SH_FUNEVAL; 502 mode 639 unset_instance(Namval_t *nq, Namval_t *node, struct Namref *nr,long mode) argument 1096 long mode; local 2758 long mode; local 2962 sigreset(int mode) argument [all...] |
/illumos-gate/usr/src/uts/intel/io/dktp/controller/ata/ |
H A D | ata_common.c | 1982 /* map failed, try to use in non-pci-ide mode */ 2002 * If the controller is being used in compatibility mode 2054 * DMA transfer mode. 2124 * Some motherboards have CSB5's that are wired "to emulate CSB4 mode". 2125 * In such a mode, the simplex bit is asserted, but in fact testing 2244 * DMA mode is mandatory on ATA-3 (or newer) drives but is 2775 * was in sleep mode; but we don't put drives to sleep 2902 * Bus master IDE register is not usable when in PIO mode, 2962 * request used DMA mode then we also have to check and clear 2972 * Some requests don't use DMA mode an 3846 int mode, rval = FALSE; local 3895 int mode; local [all...] |
/illumos-gate/usr/src/uts/sun4u/io/ |
H A D | sbd.c | 74 int mode; member in struct:__anon9802 362 static int sbd_copyin_ioarg(sbd_handle_t *hp, int mode, int cmd, 364 static int sbd_copyout_errs(int mode, sbd_ioctl_arg_t *iap, 366 static int sbd_copyout_ioarg(int mode, int cmd, sbd_cmd_t *scp, 488 sbd_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, char *event) argument 528 init_arg.mode = mode; 1465 hp->h_mode = iap->mode; 1590 sbd_copyin_ioarg(sbd_handle_t *hp, int mode, int cmd, sbd_cmd_t *cmdp, argument 1601 if (ddi_model_convert_from(mode 1669 sbd_copyout_ioarg(int mode, int cmd, sbd_cmd_t *scp, sbd_ioctl_arg_t *iap) argument 1715 sbd_copyout_errs(int mode, sbd_ioctl_arg_t *iap, void *arg) argument 4294 int nstat, mode, ncm, sz, cksz; local [all...] |
/illumos-gate/usr/src/uts/common/io/mr_sas/ |
H A D | mr_sas.c | 164 struct mrsas_ioctl *ioctl, int mode); 166 struct mrsas_ioctl *ioctl, int mode); 182 mrsas_ioctl *ioctl, struct mrsas_cmd *cmd, int mode); 184 mrsas_ioctl *ioctl, struct mrsas_cmd *cmd, int mode); 186 mrsas_ioctl *ioctl, struct mrsas_cmd *cmd, int mode); 188 mrsas_ioctl *ioctl, struct mrsas_cmd *cmd, int mode); 1385 * @mode: 1398 mrsas_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp, argument 1423 sizeof (struct mrsas_ioctl), mode)) { 1431 rval = handle_drv_ioctl(instance, ioctl, mode); 5380 issue_mfi_pthru(struct mrsas_instance *instance, struct mrsas_ioctl *ioctl, struct mrsas_cmd *cmd, int mode) argument 5551 issue_mfi_dcmd(struct mrsas_instance *instance, struct mrsas_ioctl *ioctl, struct mrsas_cmd *cmd, int mode) argument 5688 issue_mfi_smp(struct mrsas_instance *instance, struct mrsas_ioctl *ioctl, struct mrsas_cmd *cmd, int mode) argument 5953 issue_mfi_stp(struct mrsas_instance *instance, struct mrsas_ioctl *ioctl, struct mrsas_cmd *cmd, int mode) argument 6179 handle_drv_ioctl(struct mrsas_instance *instance, struct mrsas_ioctl *ioctl, int mode) argument 6291 handle_mfi_ioctl(struct mrsas_instance *instance, struct mrsas_ioctl *ioctl, int mode) argument [all...] |
/illumos-gate/usr/src/lib/fm/libfmd_snmp/common/ |
H A D | resource.c | 613 switch (reqinfo->mode) { 633 "mode %d\n", reqinfo->mode); 735 switch (reqinfo->mode) { 739 * - set reqinfo->mode to MODE_GET 741 * - set reqinfo->mode to MODE_GETNEXT (even if the request was not 756 "mode %d\n", reqinfo->mode);
|
/illumos-gate/usr/src/lib/krb5/kadm5/ |
H A D | adb.h | 117 osa_adb_ret_t osa_adb_get_lock(osa_adb_db_t db, int mode);
|
/illumos-gate/usr/src/lib/libsmedia/library/inc/ |
H A D | smedia.h | 152 int smedia_format(smedia_handle_t handle, uint_t flavor, uint_t mode);
|
/illumos-gate/usr/src/common/fs/ |
H A D | hsfs.c | 187 ip->i_smode = hsdep.hs_dir.mode; 274 ip->i_smode = hsdep->hs_dir.mode; 672 hdp->mode = IFREG; 676 hdp->mode = IFDIR;
|
/illumos-gate/usr/src/cmd/sendmail/db/include/ |
H A D | btree.h | 193 db_lockmode_t mode; /* Lock mode. */ member in struct:__cursor
|
H A D | lock.h | 142 db_lockmode_t mode; /* What sort of lock. */ member in struct:__db_lock
|
/illumos-gate/usr/src/cmd/sgs/libld/common/ |
H A D | outfile.c | 80 mode_t mode; local 84 * Determine the required file mode from the type of output file we 87 mode = (ofl->ofl_flags & (FLG_OF_EXEC | FLG_OF_SHAROBJ)) 127 mode)) < 0) { 158 mode)) < 0) {
|
/illumos-gate/usr/src/cmd/fs.d/ufs/ff/ |
H A D | ff.c | 76 ushort_t mode; member in struct:ilist 105 int sflg = 0; /* print only special files and files with set-user-ID mode */ 434 ilist[i].mode = ip->di_mode; 444 ilist[nxfile].mode = ip->di_mode; 515 (void) printf("mode %-6o uid %-5ld gid %-5ld ino ", 516 ilist[k].mode, ilist[k].uid, ilist[k].gid);
|
/illumos-gate/usr/src/cmd/fs.d/ufs/ncheck/ |
H A D | ncheck.c | 76 ushort_t mode; member in struct:ilist 387 ilist[i].mode = ip->di_mode; 399 ilist[ilist_index].mode = ip->di_mode; 477 (void) printf("mode %-6o uid %-5ld gid %-5ld ino ", 478 ilist[k].mode, ilist[k].uid, ilist[k].gid);
|
/illumos-gate/usr/src/cmd/ldap/common/ |
H A D | ldaptool.h | 201 FILE * ldaptool_open_file(const char *filename, const char *mode);
|