Searched defs:mode (Results 876 - 900 of 1040) sorted by relevance

<<31323334353637383940>>

/illumos-gate/usr/src/uts/common/fs/sockfs/
H A Dsocksubr.c1515 pr_state(uint_t state, uint_t mode) argument
1554 if (mode & SM_PRIV)
1556 if (mode & SM_ATOMIC)
1558 if (mode & SM_ADDR)
1560 if (mode & SM_CONNREQUIRED)
1563 if (mode & SM_FDPASSING)
1565 if (mode & SM_EXDATA)
1567 if (mode & SM_OPTDATA)
1569 if (mode & SM_BYTESTREAM)
/illumos-gate/usr/src/uts/common/fs/udfs/
H A Dudf_vnops.c45 #include <sys/mode.h>
385 * In append mode start at end of file.
483 ud_iaccess_vmode(void *ip, int mode, struct cred *cr) argument
485 return (ud_iaccess(ip, UD_UPERM2DPERM(mode), cr, 0));
614 int32_t mode,
627 return (ud_iaccess(ip, UD_UPERM2DPERM(mode), cr, 1));
716 int32_t mode,
764 if ((ip->i_type == VDIR) && (mode & VWRITE)) {
766 } else if (mode) {
768 UD_UPERM2DPERM(mode), c
612 udf_access( struct vnode *vp, int32_t mode, int32_t flags, struct cred *cr, caller_context_t *ct) argument
711 udf_create( struct vnode *dvp, char *name, struct vattr *vap, enum vcexcl excl, int32_t mode, struct vnode **vpp, struct cred *cr, int32_t flag, caller_context_t *ct, vsecattr_t *vsecp) argument
[all...]
/illumos-gate/usr/src/uts/common/io/comstar/lu/stmf_sbd/
H A Dsbd.c66 static int stmf_sbd_ioctl(dev_t dev, int cmd, intptr_t data, int mode,
320 stmf_sbd_ioctl(dev_t dev, int cmd, intptr_t data, int mode, argument
334 ret = stmf_copyin_iocdata(data, mode, &iocd, &ibuf, &obuf);
474 ret = stmf_copyout_iocdata(data, mode, iocd, obuf);
476 (void) stmf_copyout_iocdata(data, mode, iocd, obuf);
2084 * be in standby mode
/illumos-gate/usr/src/uts/common/io/comstar/port/fct/
H A Dfct.c54 static int fct_ioctl(dev_t dev, int cmd, intptr_t data, int mode,
56 static int fct_fctiocmd(intptr_t data, int mode);
215 fct_ioctl(dev_t dev, int cmd, intptr_t data, int mode, argument
230 ret = fct_fctiocmd(data, mode);
241 fct_copyin_iocdata(intptr_t data, int mode, fctio_t **fctio, argument
250 if (ddi_copyin((void *)data, *fctio, sizeof (fctio_t), mode)) {
258 *ibuf, (*fctio)->fctio_ilen, mode)) {
266 *abuf, (*fctio)->fctio_alen, mode)) {
294 fct_copyout_iocdata(intptr_t data, int mode, fctio_t *fctio, void *obuf) argument
301 mode);
776 fct_fctiocmd(intptr_t data, int mode) argument
[all...]
/illumos-gate/usr/src/uts/common/io/mac/
H A Dmac_sched.c420 * toggled into bandwidth mode. This changes how we transmit and receive the
623 * This mode is controlled by having the client pass the MAC_DROP_ON_NO_DESC
630 * This mode is controlled by having the client pass the MAC_TX_NO_ENQUEUE flag.
632 * mode, when we hit a case where a driver runs out of transmit descriptors,
635 * soft ring set into flow control mode.
673 * SRS_TX_DEFAULT transmission mode, having a single mblk_t (not a chain), their
1009 * in mac_tx_srs_setup(). Except for the experimental TX_SERIALIZE mode,
1014 * When the Tx SRS is operating in aggr mode (st_mode) or if there are
1047 * polling mode and enforces any specified B/W control.
1055 * the underlying Rx ring is forced into poll mode fo
3631 mac_tx_get_func(uint32_t mode) argument
[all...]
/illumos-gate/usr/src/uts/common/os/
H A Dsunndi.c681 ndi_devctl_ioctl(dev_info_t *dip, int cmd, intptr_t arg, int mode, uint_t flags) argument
683 _NOTE(ARGUNUSED(mode))
/illumos-gate/usr/src/cmd/truss/
H A Dmain.c1960 int mode = 0666; local
1963 fd = creat(path, mode);
1991 if ((fd = creat(path, mode)) >= 0)
1997 fd = creat(path, mode);
/illumos-gate/usr/src/common/acl/
H A Dacl_common.c379 mode_to_ace_access(mode_t mode, boolean_t isdir, int isowner, int isallow) argument
386 haswriteperm = (mode & S_IWOTH);
387 hasreadperm = (mode & S_IROTH);
389 haswriteperm = !(mode & S_IWOTH);
390 hasreadperm = !(mode & S_IROTH);
411 if (mode & S_IROTH) {
415 if (mode & S_IWOTH) {
422 if (mode & S_IXOTH) {
740 o_mode_t mode = 0; local
745 mode |
1575 acl_trivial_access_masks(mode_t mode, boolean_t isdir, trivial_acl_t *masks) argument
1638 acl_trivial_create(mode_t mode, boolean_t isdir, ace_t **acl, int *count) argument
[all...]
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzfs_acl.c44 #include <sys/mode.h>
889 * Determine mode of file based on ACL.
896 mode_t mode; local
904 mode = (fmode & (S_IFMT | S_ISUID | S_ISGID | S_ISVTX));
926 mode |= S_IRUSR;
933 mode |= S_IWUSR;
940 mode |= S_IXUSR;
949 mode |= S_IRGRP;
956 mode |= S_IWGRP;
963 mode |
1187 uint64_t mode; local
1333 zfs_acl_chmod(vtype_t vtype, uint64_t mode, boolean_t split, boolean_t trim, zfs_acl_t *aclp) argument
1454 zfs_acl_chmod_setattr(znode_t *zp, zfs_acl_t **aclp, uint64_t mode) argument
1496 zfs_acl_inherit(zfsvfs_t *zfsvfs, vtype_t vtype, zfs_acl_t *paclp, uint64_t mode) argument
2344 zfs_zaccess(znode_t *zp, int mode, int flags, boolean_t skipaclchk, cred_t *cr) argument
2497 zfs_zaccess_rwx(znode_t *zp, mode_t mode, int flags, cred_t *cr) argument
2506 zfs_zaccess_unix(znode_t *zp, mode_t mode, cred_t *cr) argument
[all...]
H A Dspa_misc.c1677 * Return the failure mode that has been set to this pool. The default
1845 spa_init(int mode) argument
1861 spa_mode_global = mode;
/illumos-gate/usr/src/uts/intel/io/vgatext/
H A Dvgatext.c148 int mode; /* KD_TEXT or KD_GRAPHICS */ member in struct:vgatext_softc
191 static int vgatext_kdsetmode(struct vgatext_softc *softc, int mode);
588 /* only do this if not in graphics mode */
725 do_gfx_ioctl(int cmd, intptr_t data, int mode, struct vgatext_softc *softc) argument
737 kd_mode = softc->mode;
738 if (ddi_copyout(&kd_mode, (void *)data, sizeof (int), mode))
744 sizeof (struct vis_identifier), mode))
750 if (!(mode & FKIOCTL)) {
768 sizeof (struct vis_conscopy), mode))
780 sizeof (display_request), mode))
835 vgatext_ioctl( dev_t dev, int cmd, intptr_t data, int mode, cred_t *cred, int *rval) argument
914 vgatext_kdsetmode(struct vgatext_softc *softc, int mode) argument
[all...]
/illumos-gate/usr/src/uts/common/fs/tmpfs/
H A Dtmp_vnops.c632 * In append mode start at end of file.
805 int mode,
814 error = tmp_taccess(tp, mode, cred);
945 int mode,
1003 else if ((oldtp->tn_type == VDIR) && (mode & VWRITE))
1006 error = tmp_taccess(oldtp, mode, cred);
803 tmp_access( struct vnode *vp, int mode, int flags, struct cred *cred, caller_context_t *ct) argument
940 tmp_create( struct vnode *dvp, char *nm, struct vattr *vap, enum vcexcl exclusive, int mode, struct vnode **vpp, struct cred *cred, int flag, caller_context_t *ct, vsecattr_t *vsecp) argument
/illumos-gate/usr/src/uts/common/io/arn/
H A Darn_main.c506 arn_setcurmode(struct arn_softc *sc, enum wireless_mode mode) argument
514 rt = sc->hw_rate_table[mode];
522 sc->sc_curmode = mode;
529 sc->sc_protrix = (mode == ATH9K_MODE_11G ? 1 : 0);
610 arn_setup_rates(struct arn_softc *sc, uint32_t mode) argument
617 /* rate_table = arn_get_ratetable(sc, mode); */
618 switch (mode) {
650 "invalid mode %u\n", mode));
666 rateset = &ic->ic_sup_rates[mode];
804 enum ieee80211_phymode mode; local
[all...]
/illumos-gate/usr/src/uts/common/io/sfxge/common/
H A Def10_tlv_layout.h533 /* Dynamic port mode.
653 /* Turning on/off the PFIOV mode.
666 /* Multicast filter chaining mode selection.
677 * The DEFAULT mode (which is the same as the tag not being present at all)
691 uint32_t mode; member in struct:tlv_mcast_filter_chaining
711 * The DEFAULT mode (which is the same as the tag not being present) is
726 uint32_t mode; member in struct:tlv_ocsd
/illumos-gate/usr/src/lib/brand/solaris10/s10_brand/common/
H A Ds10_brand.c1048 s10_adjust_ace_mask(void *pair, size_t access_off, size_t pairsize, mode_t mode) argument
1055 if (mode & S_IROTH)
1059 if (mode & S_IWOTH)
1063 if (mode & S_IXOTH)
1198 * The mode shift, mode mask and option mask for acctctl have changed. The
1199 * mode is currently the top full byte and the option is the lower 3 full bytes.
1204 int mode = S10_AC_MODE(cmd); local
1207 switch (mode) {
1209 mode
[all...]
/illumos-gate/usr/src/lib/libshare/nfs/
H A Dlibshare_nfs.c290 * nfs_validate_security_mode(mode)
292 * is the specified mode string a valid one for use with NFS?
296 nfs_validate_security_mode(char *mode) argument
302 err = nfs_getseconfig_byname(mode, &secinfo);
1862 "get default security mode\n"));
2960 * mode or not. Maintenance implies something
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dfsys_reiserfs.c286 #define S_ISREG(mode) (((mode) & 0170000) == 0100000)
287 #define S_ISDIR(mode) (((mode) & 0170000) == 0040000)
288 #define S_ISLNK(mode) (((mode) & 0170000) == 0120000)
1005 int mode; local
1026 mode = ((struct stat_data *) INFO->current_item)->sd_mode;
1029 if (S_ISLNK (mode))
1094 if (! S_ISREG (mode))
[all...]
/illumos-gate/usr/src/uts/intel/io/scsi/adapters/pvscsi/
H A Dpvscsi.c2565 pvscsi_ioctl(dev_t dev, int cmd, intptr_t data, int mode, cred_t *credp, argument
2576 if ((ret = scsi_hba_ioctl(dev, cmd, data, mode, credp, rval)) != ENOTTY)
/illumos-gate/usr/src/lib/libbe/common/
H A Dbe_utils.c3873 * mode - the original mode used for the failed attempt to
3886 char *mode)
3895 if (menu_file == NULL || menu_fp == NULL || mode == NULL)
3998 *menu_fp = fopen(menu_file, mode);
4011 * exist it is simply opened using the mode passed in.
4018 * mode - the original mode to be used for opening the menu.lst
4035 char *mode,
4041 *menu_fp = fopen(menu_file, mode);
3882 be_create_menu( char *pool, char *menu_file, FILE **menu_fp, char *mode) argument
4031 be_open_menu( char *pool, char *menu_file, FILE **menu_fp, char *mode, boolean_t create_menu) argument
[all...]
/illumos-gate/usr/src/boot/sys/boot/fdt/
H A Dfdt_loader_cmd.c1234 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/uts/common/io/bge/
H A Dbge_main2.c738 * the device is in any sort of loopback mode ...
776 * while the device is in any sort of loopback mode.
1417 * bge_m_promisc() -- set or reset promiscuous mode on the board
1430 * Store MAC layer specified mode and pass to chip layer to update h/w
1840 bge_set_loop_mode(bge_t *bgep, uint32_t mode) argument
1843 * If the mode isn't being changed, there's nothing to do ...
1845 if (mode == bgep->param_loop_mode)
1849 * Validate the requested mode and prepare a suitable message
1853 switch (mode) {
1868 * the PHY and/or MAC for the new mode
[all...]
/illumos-gate/usr/src/uts/common/io/fibre-channel/ulp/
H A Dfcsm.c1410 fcsm_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp, argument
1437 switch (ddi_model_convert_from(mode & FMODELS)) {
1442 sizeof (struct fcio32), mode)) {
1462 sizeof (fcio_t), mode)) {
1469 sizeof (fcio_t), mode)) {
1475 retval = fcsm_fciocmd(arg, mode, credp, &fcio);
1492 intptr_t arg, int mode, cred_t *credp, int *rval, uint32_t claimed)
1500 fcsm_fciocmd(intptr_t arg, int mode, cred_t *credp, fcio_t *fcio) argument
1530 if (ddi_copyin(fcio->fcio_abuf, abuf, fcio->fcio_alen, mode)) {
1586 fcio->fcio_ilen, mode)) {
1491 fcsm_port_ioctl(opaque_t ulph, opaque_t port_handle, dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp, int *rval, uint32_t claimed) argument
1682 fcsm_fcio_copyout(fcio_t *fcio, intptr_t arg, int mode) argument
[all...]
/illumos-gate/usr/src/cmd/sgs/elfdump/common/
H A Dcorenote.c1622 uint32_t fileflags, mode; local
1627 mode = extract_as_word(state, &layout->pr_mode);
1630 conv_cnote_filemode(mode, 0, buf, sizeof (buf)));
/illumos-gate/usr/src/cmd/sgs/libconv/common/
H A Dcorenote.c2509 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/lib/libzpool/common/
H A Dkernel.c407 vn_open(char *path, int x1, int flags, int mode, vnode_t **vpp, int x2, int x3) argument
454 fd = open64(realpath, flags - FREAD, mode);
492 vn_openat(char *path, int x1, int flags, int mode, vnode_t **vpp, int x2, argument
502 ret = vn_open(realpath, x1, flags, mode, vpp, x2, x3);
928 kernel_init(int mode) argument
940 (mode & FWRITE) ? gethostid() : 0);
949 spa_init(mode);

Completed in 325 milliseconds

<<31323334353637383940>>