/illumos-gate/usr/src/uts/common/inet/sockmods/ |
H A D | socksctp.c | 1431 sosctp_ioctl(struct sonode *so, int cmd, intptr_t arg, int mode, argument 1452 (mode & (int)FKIOCTL))) { 1466 (mode & (int)FKIOCTL))) { 1484 (mode & (int)FKIOCTL))) { 1496 sizeof (pid_t), (mode & (int)FKIOCTL))) 1511 (mode & (int)FKIOCTL))) 1521 (mode & (int)FKIOCTL))) 1527 if ((mode & FKIOCTL) == 0) 1547 STRUCT_INIT(opt, mode); 1550 (mode [all...] |
/illumos-gate/usr/src/cmd/fs.d/ufs/fsck/ |
H A D | dir.c | 52 static int lfmode = 01700; /* mode to use when creating l+f dir */ 167 int salvaged; /* when to report SALVAGED in preen mode */ 260 * so if we are in fix mode, just extend its record size 384 * in preen mode, and are on a file system using logging, 651 mode_t mode; local 656 mode = dp->di_mode & IFMT; 657 lostdir = (mode == IFDIR) || (mode == IFATTRDIR); 1062 newdir(fsck_ino_t parent, fsck_ino_t request, int mode, caddr_t name) argument 1071 dino = allocdir(parent, request, mode, 1095 reallocdir(fsck_ino_t parent, fsck_ino_t request, int mode, caddr_t name) argument 1123 allocdir(fsck_ino_t parent, fsck_ino_t request, int mode, int update_parent) argument [all...] |
/illumos-gate/usr/src/uts/common/io/1394/targets/dcam1394/ |
H A D | dcam.c | 77 57600, /* vid mode 0 */ 78 153600, /* vid mode 1 */ 79 460800, /* vid mode 2 */ 80 614400, /* vid mode 3 */ 81 921600, /* vid mode 4 */ 82 307200 /* vid mode 5 */ 855 dcam_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *cred_p, argument 876 if (ddi_model_convert_from(mode & FMODELS) == DDI_MODEL_ILP32) 886 sizeof (dcam1394_reg_io_t), mode)) { 897 sizeof (dcam1394_reg_io_t), mode)) { [all...] |
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/ |
H A D | lm_dmae.c | 345 DbgBreakIf(LM_DMAE_MODE_SINGLE_BLOCK != context->mode); 356 operation->mode = LM_DMAE_MODE_SINGLE_BLOCK; 433 DbgBreakIf(LM_DMAE_MODE_SGL != context->mode); 446 operation->mode = LM_DMAE_MODE_SGL; 517 DbgBreakIf(LM_DMAE_MODE_SGL != operation->mode); 606 context->mode = LM_DMAE_MODE_SINGLE_BLOCK; 654 context->mode = LM_DMAE_MODE_SGL; 1070 DbgBreakIf(context->mode != operation->mode); 1074 switch (context->mode) [all...] |
/illumos-gate/usr/src/uts/common/io/drm/ |
H A D | drm_bufs.c | 213 if (ddi_model_convert_from(mode & FMODELS) == DDI_MODEL_ILP32) { 241 if (ddi_model_convert_from(mode & FMODELS) == DDI_MODEL_ILP32) { 309 if (ddi_model_convert_from(mode & FMODELS) == DDI_MODEL_ILP32) { 674 if (ddi_model_convert_from(mode & FMODELS) == DDI_MODEL_ILP32) { 695 if (ddi_model_convert_from(mode & FMODELS) == DDI_MODEL_ILP32) { 726 if (ddi_model_convert_from(mode & FMODELS) == DDI_MODEL_ILP32) { 795 if (ddi_model_convert_from(mode & FMODELS) == DDI_MODEL_ILP32) { 832 if (ddi_model_convert_from(mode & FMODELS) == DDI_MODEL_ILP32) { 858 ASSERT(ddi_model_convert_from(mode & FMODELS) != DDI_MODEL_ILP32); 883 if (ddi_model_convert_from(mode [all...] |
/illumos-gate/usr/src/lib/libast/common/vmalloc/ |
H A D | vmdebug.c | 93 if(vd->mode&VM_DBABORT) 400 if(vd->mode&VM_DBCHECK) 415 if((vd->mode&VM_TRACE) && _Vmtrace) 462 if(vd->mode&VM_DBCHECK) 477 if((vd->mode&VM_TRACE) && _Vmtrace) 536 if(vd->mode&VM_DBCHECK) 571 if((vd->mode&VM_TRACE) && _Vmtrace) 615 if(vd->mode & (VM_MTDEBUG|VM_MTBEST|VM_MTPROFILE)) 618 if(!(vd->mode&VM_MTDEBUG)) 735 if((vd->mode [all...] |
/illumos-gate/usr/src/uts/common/io/sfxge/ |
H A D | sfxge_mac.c | 47 static void sfxge_mac_link_update_locked(sfxge_t *sp, efx_link_mode_t mode); 276 efx_link_mode_t mode; local 287 mode = EFX_LINK_UNKNOWN; 288 if (efx_port_poll(enp, &mode) == 0) 289 sfxge_mac_link_update_locked(sp, mode); 598 sfxge_mac_link_update_locked(sfxge_t *sp, efx_link_mode_t mode) argument 608 if (smp->sm_link_mode == mode) 611 smp->sm_link_mode = mode; 672 sfxge_mac_link_update(sfxge_t *sp, efx_link_mode_t mode) argument 677 sfxge_mac_link_update_locked(sp, mode); [all...] |
/illumos-gate/usr/src/uts/common/io/fibre-channel/impl/ |
H A D | fp.c | 484 * If the port is in the low power mode then there is 485 * possibility that fca too could be in low power mode. 762 fp_ioctl(dev_t dev, int cmd, intptr_t data, int mode, cred_t *credp, int *rval) argument 801 switch (ddi_model_convert_from(mode & FMODELS)) { 806 sizeof (struct fcio32), mode)) { 829 sizeof (fcio_t), mode)) { 836 sizeof (fcio_t), mode)) { 842 ret = fp_fciocmd(port, data, mode, &fcio); 849 mode, credp, rval); 1316 * Further all the discovery is done in handled in callback mode 7223 fp_fciocmd(fc_local_port_t *port, intptr_t data, int mode, fcio_t *fcio) argument 9687 fp_copyout(void *from, void *to, size_t len, int mode) argument 9696 fp_set_rnid(fc_local_port_t *port, intptr_t data, int mode, fcio_t *fcio) argument 9750 fp_get_rnid(fc_local_port_t *port, intptr_t data, int mode, fcio_t *fcio) argument 9834 fp_send_rnid(fc_local_port_t *port, intptr_t data, int mode, fcio_t *fcio, la_wwn_t *pwwn) argument 9965 fp_fcio_copyout(fcio_t *fcio, intptr_t data, int mode) argument 10042 fp_fillout_p2pmap(fc_local_port_t *port, fcio_t *fcio, int mode) argument 10471 fp_fillout_loopmap(fc_local_port_t *port, fcio_t *fcio, int mode) argument [all...] |
/illumos-gate/usr/src/uts/common/io/mega_sas/ |
H A D | megaraid_sas.c | 980 * @mode: 992 megasas_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp, argument 1014 sizeof (struct megasas_ioctl), mode)) { 1021 rval = handle_drv_ioctl(instance, &ioctl, mode); 1023 rval = handle_mfi_ioctl(instance, &ioctl, mode); 1027 (sizeof (struct megasas_ioctl) - 1), mode)) { 1036 sizeof (struct megasas_aen), mode)) { 1045 sizeof (struct megasas_aen), mode)) { 1054 mode, credp, rvalp); 2300 /* issue the init frame in polled mode */ 3541 issue_mfi_pthru(struct megasas_instance *instance, struct megasas_ioctl *ioctl, struct megasas_cmd *cmd, int mode) argument 3666 issue_mfi_dcmd(struct megasas_instance *instance, struct megasas_ioctl *ioctl, struct megasas_cmd *cmd, int mode) argument 3778 issue_mfi_smp(struct megasas_instance *instance, struct megasas_ioctl *ioctl, struct megasas_cmd *cmd, int mode) argument 4005 issue_mfi_stp(struct megasas_instance *instance, struct megasas_ioctl *ioctl, struct megasas_cmd *cmd, int mode) argument 4195 handle_drv_ioctl(struct megasas_instance *instance, struct megasas_ioctl *ioctl, int mode) argument 4310 handle_mfi_ioctl(struct megasas_instance *instance, struct megasas_ioctl *ioctl, int mode) argument [all...] |
/illumos-gate/usr/src/lib/libsec/common/ |
H A D | aclutils.c | 386 * off of the mode argument. After acl has been set owner/group 390 acl_strip(const char *file, uid_t owner, gid_t group, mode_t mode) argument 416 min_acl[0].a_perm = ((mode & 0700) >> 6); 419 min_acl[1].a_perm = ((mode & 0070) >> 3); 422 min_acl[2].a_perm = ((mode & 0070) >> 3); 425 min_acl[3].a_perm = (mode & 0007); 429 if ((error = acl_trivial_create(mode, S_ISDIR(statbuf.st_mode),
|
/illumos-gate/usr/src/lib/libshell/common/sh/ |
H A D | main.c | 426 buff.mode = SH_JMPEXIT; 539 if(buff.mode == SH_JMPEXIT) 541 buff.mode = SH_JMPERREXIT; 543 errormsg(SH_DICT,ERROR_warn(0),"%d: mode changed to JMP_EXIT",getpid()); 722 * mode is 0 for initialization 724 static void fixargs(char **argv, int mode) argument 735 if(mode==0) 747 if(mode==0)
|
/illumos-gate/usr/src/cmd/format/ |
H A D | menu_scsi.c | 31 * a raw access to a scsi device's mode pages. The ability to 90 "p<n> - display a mode sense page", 91 "p<n> b<n> <op> [~]<n> - change a byte and issue mode select", 92 "b<n> <op> [~]<n> - add an operation to the mode select list", 105 "apply - apply mode select list", 106 "cancel - cancel mode select list", 107 "display - display mode select list", 108 "all - display all supported mode sense pages", 109 "default p<n> - mode select page <n> to default values", 110 "default all - mode selec [all...] |
/illumos-gate/usr/src/cmd/sendmail/db/db/ |
H A D | db.c | 92 db_open(fname, type, flags, mode, dbenv, dbinfo, dbpp) 96 int mode; 234 /* Fill in the default file mode. */ 235 if (mode == 0) 236 mode = __db_omode("rwrw--"); 280 OKFLAGS | DB_EXCL, mode, &fd)) != 0) 291 flags, OKFLAGS, mode, &fd)) != 0) {
|
H A D | db_am.c | 76 db_lockmode_t mode; local 152 mode = (op == DB_WRITELOCK) ? DB_LOCK_WRITE : 155 &dbc->lock_dbt, mode, &dbc->mylock)) != 0) {
|
/illumos-gate/usr/src/cmd/genmsg/ |
H A D | util.c | 141 char *mode = "w"; local 151 mode = "a"; 154 if ((fp = fopen(file, mode)) == NULL) { 535 add_comment(Mode mode, char *str) argument 537 char *tag = (mode == MsgCommentMode) ? mctag : sctag; 538 char **comment = (mode == MsgCommentMode)
|
/illumos-gate/usr/src/cmd/svr4pkg/libinst/ |
H A D | pkgobjmap.c | 620 if (ept2->ainfo.mode == BADMODE) 621 ept2->ainfo.mode = ept1->ainfo.mode; 622 if ((ept1->ainfo.mode != ept2->ainfo.mode) && 623 (ept1->ainfo.mode != BADMODE))
|
/illumos-gate/usr/src/uts/common/crypto/io/ |
H A D | dca_3des.c | 288 dca_3desfinal(crypto_ctx_t *ctx, crypto_data_t *out, int mode) argument 302 if (mode & DR_DECRYPT) { 317 int kmflag, crypto_req_handle_t req, int mode) 331 if (mode & DR_DECRYPT) { 338 rv = dca_3desctxinit(&ctx, mechanism, key, kmflag, mode); 356 rv = dca_3des(&ctx, input, output, req, mode); 314 dca_3desatomic(crypto_provider_handle_t provider, crypto_session_id_t session_id, crypto_mechanism_t *mechanism, crypto_key_t *key, crypto_data_t *input, crypto_data_t *output, int kmflag, crypto_req_handle_t req, int mode) argument
|
/illumos-gate/usr/src/uts/common/io/cpqary3/ |
H A D | cpqary3.c | 528 cpqary3_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp, argument 572 return (scsi_hba_ioctl(dev, cmd, arg, mode, credp, retvaluep)); 580 cpqary3_ioctl_driver_info(arg, mode); 585 cpqary3_ioctl_ctlr_info(arg, cpqary3p, mode); 590 cpqary3_ioctl_bmic_pass(arg, cpqary3p, mode); 595 cpqary3_ioctl_scsi_pass(arg, cpqary3p, mode);
|
/illumos-gate/usr/src/uts/common/sys/rsm/ |
H A D | rsmpi.h | 423 rsm_barrier_mode_t *mode); 426 rsm_barrier_mode_t mode); 654 #define RSM_GET_BARRIER_MODE(controller, im_memseg, mode) \ 656 ((im_memseg), (mode)) 657 #define RSM_SET_BARRIER_MODE(controller, im_memseg, mode) \ 659 ((im_memseg), (mode))
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | zfs_znode.c | 47 #include <sys/mode.h> 629 uint64_t mode; local 658 SA_ADD_BULK_ATTR(bulk, count, SA_ZPL_MODE(zfsvfs), NULL, &mode, 8); 681 zp->z_mode = mode; 684 vp->v_type = IFTOVT((mode_t)mode); 767 uint64_t mode, size, links, parent, pflags; local 865 mode = acl_ids->z_mode; 914 NULL, &mode, 8); 921 NULL, &mode, 8); 974 mode 1187 uint64_t mode; local 1663 uint64_t mode; local 1937 uint64_t mode; local [all...] |
/illumos-gate/usr/src/uts/common/fs/ |
H A D | vnode.c | 56 #include <sys/mode.h> 953 int mode; local 965 mode = 0; 968 mode |= VREAD; 970 mode |= VWRITE; 972 mode |= VEXEC; 1003 vn_createat(pnamep, seg, &vattr, excl, mode, &vp, crwhy, 1033 * if FOFFMAX flag is set in file mode 1079 if (error = VOP_ACCESS(vp, mode, accessflags, CRED(), NULL)) 1234 * open mode (ad 1273 vn_create( char *pnamep, enum uio_seg seg, struct vattr *vap, enum vcexcl excl, int mode, struct vnode **vpp, enum create why, int flag, mode_t umask) argument 1292 vn_createat( char *pnamep, enum uio_seg seg, struct vattr *vap, enum vcexcl excl, int mode, struct vnode **vpp, enum create why, int flag, mode_t umask, struct vnode *startvp) argument 2650 vn_has_mandatory_locks(vnode_t *vp, int mode) argument 2729 vn_has_other_opens( vnode_t *vp, v_mode_t mode) argument 2765 vn_is_opened( vnode_t *vp, v_mode_t mode) argument 2799 vn_is_mapped( vnode_t *vp, v_mode_t mode) argument 3163 fop_open( vnode_t **vpp, int mode, cred_t *cr, caller_context_t *ct) argument 3405 fop_access( vnode_t *vp, int mode, int flags, cred_t *cr, caller_context_t *ct) argument 3471 fop_create( vnode_t *dvp, char *name, vattr_t *vap, vcexcl_t excl, int mode, vnode_t **vpp, cred_t *cr, int flags, caller_context_t *ct, vsecattr_t *vsecp) argument [all...] |
/illumos-gate/usr/src/lib/scsi/plugins/ses/ses2/common/ |
H A D | ses2_enclosure_ctl.c | 48 uint64_t mode; local 60 &mode) != 0) 100 uip->sucpi_dl_ucode_mode = mode;
|
/illumos-gate/usr/src/head/rpcsvc/ |
H A D | nfs_prot.x | 122 unsigned mode; /* protection mode bits */ 141 unsigned mode; /* protection mode bits */ 464 mode3 mode; 521 mode3 mode; 562 set_mode3 mode; 773 union createhow3 switch (createmode3 mode) {
|
/illumos-gate/usr/src/cmd/sendmail/db/dbm/ |
H A D | dbm.c | 183 __db_ndbm_open(file, oflags, mode) 185 int oflags, mode; 211 DB_HASH, __db_oflags(oflags), mode, NULL, &dbinfo, &dbp)) != 0)
|
/illumos-gate/usr/src/cmd/sendmail/db/xa/ |
H A D | xa_db.c | 46 db_xa_open(fname, type, flags, mode, dbinfo, dbpp) 50 int mode; 81 type, flags, mode, dbenv, dbinfo, &real_dbp)) != 0)
|