Searched defs:mode (Results 651 - 675 of 1040) sorted by relevance

<<21222324252627282930>>

/illumos-gate/usr/src/cmd/su/
H A Dsu.c273 * mode read/write user. Change owner and group to root
1460 * depending on the mode parameter.
1464 message(enum messagemode mode, char *fmt, ...) argument
1475 if (mode == WARN) {
1481 if (mode == USAGE) {
1488 if (mode == USAGE) {
/illumos-gate/usr/src/cmd/ldap/common/
H A Dldapsearch.c954 char mode[20] = "w+b"; local
956 char mode[20] = "w"; local
1032 } else if (( tmpfp = ldaptool_open_file( tmpfname, mode)) == NULL ) {
/illumos-gate/usr/src/uts/common/fs/ufs/
H A Dufs_alloc.c295 ino_t ipref, mode_t mode, struct inode **ipp, cred_t *cr)
318 if ((mode != IFSHAD) && (mode != IFATTRDIR)) {
338 ino = (ino_t)hashalloc(pip, cg, (long)ipref, (int)mode,
341 if ((mode != IFSHAD) && (mode != IFATTRDIR)) {
357 if ((mode != IFSHAD) && (mode != IFATTRDIR)) {
771 ufs_ifree(struct inode *ip, ino_t ino, mode_t mode) argument
783 "ufs_ifree: illegal mode
294 ufs_ialloc(struct inode *pip, ino_t ipref, mode_t mode, struct inode **ipp, cred_t *cr) argument
785 ip->i_mode, mode, (int)ip->i_number, fs->fs_fsmnt); local
813 ip->i_mode, mode, (int)ino, fs->fs_fsmnt); local
1291 ialloccg(struct inode *ip, int cg, daddr_t ipref, int mode) argument
[all...]
H A Dufs_dir.c57 #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 Dufs_inode.c54 #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...]
H A Dufs_acl.c35 #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...]
/illumos-gate/usr/src/uts/common/inet/ip/
H A Drts.c1557 int mode, int32_t *rvalp, cred_t *cr)
1599 cmd, arg, mode, cr, rvalp);
1556 rts_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/fs/dcfs/
H A Ddc_vnops.c333 dc_access(struct vnode *vp, int mode, int flags, argument
339 return (VOP_ACCESS(subvp, mode, flags, cred, ctp));
/illumos-gate/usr/src/uts/common/fs/hsfs/
H A Dhsfs_vfsops.c211 /* default mode, uid, gid */
231 mode_t mode, int flags, struct cred *cr, int isroot);
246 mode_t *mode, cred_t *cr);
292 mode_t mode; local
341 error = hs_getmdev(vfsp, uap->spec, uap->flags, &dev, &mode, cr);
358 error = hs_mountfs(vfsp, dev, dpn.pn_path, mode, flags, cr, 0);
571 mode_t mode,
1238 * inode number even in pure ISO9660 mode.
1339 hs_getmdev(struct vfs *vfsp, char *fspec, int flags, dev_t *pdev, mode_t *mode, argument
1387 vap.va_mask = AT_MODE; /* get protection mode */
567 hs_mountfs( struct vfs *vfsp, dev_t dev, char *path, mode_t mode, int mount_flags, struct cred *cr, int isroot) argument
1463 mode_t mode = 0; local
[all...]
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs4_srv_deleg.c1436 rfs4_check_delegated_byfp(int mode, rfs4_file_t *fp, argument
1458 if (mode == FWRITE || fp->rf_dinfo.rd_dtype == OPEN_DELEGATE_WRITE) {
1505 rfs4_check_delegated(int mode, vnode_t *vp, bool_t trunc) argument
1517 if (rfs4_check_delegated_byfp(mode, fp, trunc,
1633 * opened the file in a conflicting mode. However, first we need to
H A Dnfs_srv.c49 #include <sys/mode.h>
83 * into the mode. This needs to be fixed in the next rev.
1043 * for now we assume no append mode
1086 * For now we assume no append mode.
1577 * For now we assume no append mode.
1686 int mode; local
1712 * Must specify the mode.
1769 * Why was the choice made to use VWRITE as the mode to the
1772 * open fails with an EACESS because of the mode.
1776 mode
[all...]
/illumos-gate/usr/src/uts/common/fs/pcfs/
H A Dpc_vnops.c95 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/portfs/
H A Dport_fop.c214 static int port_fop_open(femarg_t *vf, int mode, cred_t *cr,
226 vcexcl_t excl, int mode, vnode_t **vpp, cred_t *cr, int flag,
2102 port_fop_open(femarg_t *vf, int mode, cred_t *cr, caller_context_t *ct) argument
2107 retval = vnext_open(vf, mode, cr, ct);
2180 int mode, vnode_t **vpp, cred_t *cr, int flag,
2197 retval = vnext_create(vf, name, vap, excl, mode, vpp, cr,
2179 port_fop_create(femarg_t *vf, char *name, vattr_t *vap, vcexcl_t 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/sockfs/
H A Dsockcommon_subr.c1396 * int socket_ioctl_common(struct sonode *so, int cmd, intptr_t arg, int mode,
1412 socket_ioctl_common(struct sonode *so, int cmd, intptr_t arg, int mode, argument
1427 (mode & (int)FKIOCTL)))
1443 (mode & (int)FKIOCTL)))
1466 (mode & (int)FKIOCTL)))
1477 sizeof (pid_t), (mode & (int)FKIOCTL)))
1500 (mode & (int)FKIOCTL))) {
1519 sizeof (retval), (mode & (int)FKIOCTL))) {
1528 if ((mode & FKIOCTL) == 0)
1556 so_strioc_nread(struct sonode *so, intptr_t arg, int mode, int32_ argument
1628 socket_strioc_common(struct sonode *so, int cmd, intptr_t arg, int mode, struct cred *cr, int32_t *rvalp) argument
[all...]
H A Dsockfilter.c1437 sof_filter_ioctl(struct sonode *so, int cmd, intptr_t arg, int mode, argument
1440 __SOF_FILTER_OP(so, ioctl, cr, cmd, arg, mode, rvalp)
H A Dsockstr.c503 * 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/fs/udfs/
H A Dudf_inode.c39 #include <sys/mode.h>
1560 mode_t mode; local
1575 mode = oip->i_type;
1576 if (mode == VFIFO) {
1579 if ((mode != VREG) && (mode != VDIR) &&
1580 (!(mode == VLNK && length == 0))) {
1922 * Check mode permission on inode. Mode is READ, WRITE or EXEC.
1924 * is checked. The applicable mode bits are compared with the
1929 ud_iaccess(struct ud_inode *ip, int32_t mode, struc argument
[all...]
/illumos-gate/usr/src/uts/common/avs/ns/rdc/
H A Drdc_svc.c146 _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/io/aggr/
H A Daggr_lacp.c531 * - when LACP mode is changed.
739 * - when LACP mode is changed.
981 * Update the LACP mode (off, active, or passive) of the specified group.
984 aggr_lacp_update_mode(aggr_grp_t *grp, aggr_lacp_mode_t mode) argument
992 if (mode == old_mode)
995 grp->lg_lacp_mode = mode;
1000 (mode == AGGR_LACP_ACTIVE);
1007 } else if (mode == AGGR_LACP_OFF) {
1051 aggr_lacp_mode_t mode; local
1056 mode
1080 aggr_lacp_set_mode(aggr_grp_t *grp, aggr_lacp_mode_t mode, aggr_lacp_timer_t timer) argument
[all...]
/illumos-gate/usr/src/uts/common/io/atu/
H A Datu.c149 atu_get_opmode(struct atu_softc *sc, uint8_t *mode) argument
152 0x0000, 1, mode);
1083 uint8_t mode, chan; local
1088 err = atu_get_opmode(sc, &mode);
1090 if (mode == ATU_DEV_READY)
1101 if (mode == ATU_DEV_STAGE2)
/illumos-gate/usr/src/uts/common/io/audio/drv/audiols/
H A Daudiols.c231 select_digital_enable(audigyls_dev_t *dev, int mode) argument
238 if (mode == 0) {
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/
H A Dlm_hw_access.c49 /*The NIG mirror is only used in VMChimney in MF/SI mode.
50 In this mode, we assume that the driver in the host OS loads
516 lm_status_t lm_gpio_write(struct _lm_device_t *pdev, u32_t pin_num, u32_t mode, u8_t port) argument
559 switch (mode) {
602 lm_status_t lm_gpio_mult_write(struct _lm_device_t *pdev, u8_t pins, u32_t mode) argument
621 switch (mode) {
641 DbgMessage(pdev, FATAL , "lm_gpio_mult_write: Invalid GPIO mode %d\n", mode);
665 lm_status_t lm_gpio_int_write(struct _lm_device_t *pdev, u32_t pin_num, u32_t mode, u8_t port) argument
693 switch (mode)
[all...]
H A Dlm_phy.c96 /* mode - 0( LOW ) /1(HIGH)*/
97 u8 elink_cb_gpio_write(struct elink_dev *cb, u16 gpio_num, u8 mode, u8 port) argument
99 return lm_gpio_write(cb, gpio_num, mode, port);
102 u8 elink_cb_gpio_mult_write(struct elink_dev *cb, u8 pins, u8 mode) argument
104 return lm_gpio_mult_write(cb, pins, mode);
114 u8 elink_cb_gpio_int_write(struct elink_dev *cb, u16 gpio_num, u8 mode, u8 port) argument
116 return lm_gpio_int_write(cb, gpio_num, mode, port);
694 // if we are in multifunction mode and function is disabled indicate OS link down (unless loopback medium is set)
704 //in NIV mode, link_status is modified only from lm_niv_vif_set or from the FUNCTION_UPDATE completion(for loopback)
833 // in case we are not PMF we still want to run this code in AFEX mode
[all...]
H A Dlm_sb.c169 void lm_set_interrupt_mode(struct _lm_device_t *pdev, u32_t mode) argument
171 DbgBreakIf(mode > LM_INT_MODE_MIMD);
172 pdev->params.interrupt_mode = mode;
184 DbgMessage(pdev, FATAL, "IGU test mode: returned %d fp-messages\n", pdev->hw_info.intr_blk_info.igu_info.igu_test_sb_cnt + pdev->hw_info.intr_blk_info.igu_info.igu_sb_cnt);
730 - these settings are derived from user configured interrupt coalesing mode and tx/rx interrupts rate (lm params).
963 /* Not supported in backward compatible mode! */
1159 /* in mf mode:
1231 /* in mf mode:
/illumos-gate/usr/src/uts/common/io/cpqary3/
H A Dcpqary3_scsi.h125 uint32_t mode:2; member in struct:each_logical_lun_data

Completed in 210 milliseconds

<<21222324252627282930>>