Searched refs:mode (Results 376 - 400 of 1589) sorted by relevance

<<11121314151617181920>>

/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/tftp/
H A Dtftp.c114 tftp_sendfile(int fd, char *name, char *mode) argument
132 convert = (strcmp(mode, "netascii") == 0);
141 if ((size = makerequest(WRQ, name, dp, mode)) == -1) {
241 tftp_recvfile(int fd, char *name, char *mode) argument
259 convert = (strcmp(mode, "netascii") == 0);
265 if ((size = makerequest(RRQ, name, ap, mode)) == -1) {
408 makerequest(int request, char *name, struct tftphdr *tp, char *mode) argument
424 len = strlcpy(cp, mode, cpend - cp) + 1;
651 char *cp, *file, *mode; local
666 if ((mode
[all...]
/illumos-gate/usr/src/lib/libast/common/vmalloc/
H A Dvmlast.c51 if(!(local = vd->mode&VM_TRUST))
79 else if(vd->mode&VM_AGAIN)
80 vd->mode &= ~VM_AGAIN;
95 if(!local && (vd->mode&VM_TRACE) && _Vmtrace)
123 if(!(local = vd->mode&VM_TRUST) )
140 if(!local && (vd->mode&VM_TRACE) && _Vmtrace)
193 if(!(local = vd->mode&VM_TRUST))
295 if(!local && (vd->mode&VM_TRACE) && _Vmtrace)
320 if(!(vd->mode&VM_TRUST) && ISLOCK(vd,0))
337 if(!(vd->mode
[all...]
/illumos-gate/usr/src/uts/common/io/dld/
H A Ddld_drv.c333 drv_ioc_attr(void *karg, intptr_t arg, int mode, cred_t *cred, int *rvalp) argument
375 drv_ioc_phys_attr(void *karg, intptr_t arg, int mode, cred_t *cred, int *rvalp) argument
427 drv_ioc_hwgrpget(void *karg, intptr_t arg, int mode, cred_t *cred, int *rvalp) argument
561 drv_ioc_macaddrget(void *karg, intptr_t arg, int mode, cred_t *cred, int *rvalp) argument
630 cred_t *cred, int mode)
660 if (ddi_copyin((void *)arg, kprop, dsize, mode) != 0) {
729 link_tagmode_t mode = *(link_tagmode_t *)kprop->pr_val; local
731 if (mode != LINK_TAGMODE_VLANONLY &&
732 mode != LINK_TAGMODE_NORMAL) {
735 dlp->dl_tagmode = mode;
629 drv_ioc_prop_common(dld_ioc_macprop_t *prop, intptr_t arg, boolean_t set, cred_t *cred, int mode) argument
825 drv_ioc_setprop(void *karg, intptr_t arg, int mode, cred_t *cred, int *rvalp) argument
832 drv_ioc_getprop(void *karg, intptr_t arg, int mode, cred_t *cred, int *rvalp) argument
845 drv_ioc_rename(void *karg, intptr_t arg, int mode, cred_t *cred, int *rvalp) argument
999 drv_ioc_doorserver(void *karg, intptr_t arg, int mode, cred_t *cred, int *rvalp) argument
1011 drv_ioc_usagelog(void *karg, intptr_t arg, int mode, cred_t *cred, int *rvalp) argument
1035 drv_ioc_addflow(void *karg, intptr_t arg, int mode, cred_t *cred, int *rvalp) argument
1048 drv_ioc_removeflow(void *karg, intptr_t arg, int mode, cred_t *cred, int *rvalp) argument
1060 drv_ioc_modifyflow(void *karg, intptr_t arg, int mode, cred_t *cred, int *rvalp) argument
1072 drv_ioc_walkflow(void *karg, intptr_t arg, int mode, cred_t *cred, int *rvalp) argument
1162 drv_ioc_secobj_set(void *karg, intptr_t arg, int mode, cred_t *cred, int *rvalp) argument
1238 drv_ioc_secobj_get(void *karg, intptr_t arg, int mode, cred_t *cred, int *rvalp) argument
1284 drv_ioc_secobj_unset(void *karg, intptr_t arg, int mode, cred_t *cred, int *rvalp) argument
1437 drv_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *cred, int *rvalp) argument
[all...]
/illumos-gate/usr/src/cmd/rexd/
H A Dunix_login.c484 SetPtyMode(mode)
485 struct rex_ttymode *mode;
501 svr4_sgttyb_var.sg_ispeed = mode->basic.sg_ispeed;
502 svr4_sgttyb_var.sg_ospeed = mode->basic.sg_ospeed;
503 svr4_sgttyb_var.sg_erase = mode->basic.sg_erase;
504 svr4_sgttyb_var.sg_kill = mode->basic.sg_kill;
505 svr4_sgttyb_var.sg_flags = (int)mode->basic.sg_flags;
515 ioctl(Slave, TIOCSETC, &mode->more);
518 ioctl(Slave, TIOCSLTC, &mode->yetmore);
521 ioctl(Slave, TIOCLSET, &mode
[all...]
/illumos-gate/usr/src/uts/common/fs/namefs/
H A Dnamevno.c206 nm_ioctl(vnode_t *vp, int cmd, intptr_t arg, int mode, cred_t *cr, int *rvalp, argument
209 return (VOP_IOCTL(VTONM(vp)->nm_filevp, cmd, arg, mode, cr, rvalp, ct));
239 * Standard access() like check. Figure out which mode bits apply
240 * to the caller then pass the missing mode bits to the secpolicy function.
243 nm_access_unlocked(void *vnp, int mode, cred_t *crp) argument
256 mode));
285 * Change ownership/group/time/access mode of mounted file
296 * If request to change mode, copy new
297 * mode into existing attribute structure.
330 * Check mode permissio
336 nm_access(vnode_t *vp, int mode, int flags, cred_t *crp, caller_context_t *ct) argument
358 nm_create(vnode_t *dvp, char *name, vattr_t *vap, enum vcexcl excl, int mode, vnode_t **vpp, cred_t *cr, int flag, caller_context_t *ct, vsecattr_t *vsecp) argument
[all...]
/illumos-gate/usr/src/uts/i86pc/io/gfx_private/
H A Dgfxp_vgatext.c74 int mode; /* KD_TEXT or KD_GRAPHICS */ member in struct:vgatext_softc
186 static int vgatext_kdsetmode(struct vgatext_softc *softc, int mode);
472 /* only do this if not in graphics mode */
538 do_gfx_ioctl(int cmd, intptr_t data, int mode, struct vgatext_softc *softc) argument
550 kd_mode = softc->mode;
551 if (ddi_copyout(&kd_mode, (void *)data, sizeof (int), mode))
557 if (!(mode & FKIOCTL)) {
576 sizeof (struct vis_conscopy), mode))
588 sizeof (display_request), mode))
600 sizeof (cursor_request), mode))
642 gfxp_vgatext_ioctl( dev_t dev, int cmd, intptr_t data, int mode, cred_t *cred, int *rval, gfxp_vgatext_softc_ptr_t ptr) argument
788 vgatext_kdsetmode(struct vgatext_softc *softc, int mode) argument
[all...]
/illumos-gate/usr/src/uts/common/avs/ns/sv/
H A Dsv.c46 * the device through the block device in O_WRITE mode. This is because
333 * nsc_reserve/nsc_release are used in NSC_MULTI mode to allow multiple
1446 * guard access mode
1531 int *mode, *nblocks; local
1563 mode = &svn32->svn_mode;
1570 mode = &svn->svn_mode;
1579 *mode = svp->sv_flag;
1729 svioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *crp, int *rvalp) argument
1768 ilp32 = (ddi_model_convert_from((mode & FMODELS)) == DDI_MODEL_ILP32);
1778 sizeof (svc32), mode) <
2423 sv_fix_dkiocgvtoc(const intptr_t arg, const int mode, sv_dev_t *svp) argument
2520 sv_fix_dkiocgetefi(const intptr_t arg, const int mode, sv_dev_t *svp) argument
2632 sv_fix_dkiocpartition(const intptr_t arg, const int mode, sv_dev_t *svp) argument
2689 sv_lyr_ioctl(const dev_t dev, const int cmd, const intptr_t arg, const int mode, cred_t *crp, int *rvalp) argument
[all...]
/illumos-gate/usr/src/cmd/mdb/common/kmdb/
H A Dkmdb_promif.c384 (void) strcat(modepname, "-mode");
428 kmdb_parse_mode(const char *mode, struct termios *tip, int in) argument
436 char *m = strdup(mode);
566 char *mode = kmdb_get_ttyio_mode(kav, conout); local
574 if (mode == NULL && strcmp(conout, "ttya") == 0) {
580 if (mode == NULL || kmdb_parse_mode(mode,
595 if (mode != NULL)
596 kmdb_prom_free_ddi_prop(mode);
609 char *mode local
[all...]
/illumos-gate/usr/src/cmd/sendmail/libsmutil/
H A Dsafefile.c33 ** mode -- mode bits that must match.
38 ** 0 if fn exists, is owned by uid, and matches mode.
46 safefile(fn, uid, gid, user, flags, mode, st)
52 int mode;
64 sm_dprintf("safefile(%s, uid=%d, gid=%d, flags=%lx, mode=%o):\n",
65 fn, (int) uid, (int) gid, flags, mode);
246 sm_dprintf("\t[final dir %s uid %d mode %lo] %s\n",
260 sm_dprintf("\t[slink mode %lo]\tE_SM_NOSLINK\n",
268 sm_dprintf("\t[non-reg mode
404 int mode = S_IWOTH; local
[all...]
/illumos-gate/usr/src/lib/libpp/common/
H A Dppsearch.c75 message((-3, "search: %s: status=%s%s test=%s", fp->name, status == INC_CLEAR ? "[CLEAR]" : status == INC_TEST ? "[ONCE]" : status == INC_IGNORE ? "[IGNORE]" : status->name, (pp.mode & HOSTED) ? "[HOSTED]" : "", test == INC_CLEAR ? "[CLEAR]" : test == INC_TEST ? "[TEST]" : test->name));
87 if ((pp.mode & (ALLMULTIPLE|LOADING)) == LOADING)
89 if ((pp.state & WARN) && (pp.mode & (HOSTED|MARKHOSTED|RELAX|PEDANTIC)) == PEDANTIC)
97 if ((pp.mode & (ALLMULTIPLE|LOADING)) == LOADING)
489 pp.mode |= MARKC;
491 pp.mode &= ~MARKC;
495 else if (!(markhosted = (dp->type & TYPE_HOSTED)) && dp->index == INC_PREFIX && (pp.mode & (FILEDEPS|HEADERDEPS|INIT)) == FILEDEPS)
503 pp.mode |= MARKHOSTED;
505 pp.mode &= ~MARKHOSTED;
509 message((-2, "search: %s -> %s%s%s", fp->name, pp.path, (pp.mode
[all...]
/illumos-gate/usr/src/uts/common/tnf/
H A Dtnf_writer.c452 saved_mode = ops->mode;
453 ops->mode = TNF_ALLOC_FIXED;
466 ops->mode = saved_mode;
482 saved_mode = ops->mode;
483 ops->mode = TNF_ALLOC_FIXED;
501 ops->mode = saved_mode;
517 saved_mode = ops->mode;
518 ops->mode = TNF_ALLOC_FIXED;
532 ops->mode = saved_mode;
548 saved_mode = ops->mode;
[all...]
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dmap.c83 /* default error message for trying to open a map in write mode */
117 ** bool map_open(MAP *map, int mode)
118 ** Open the map for the indicated mode. Mode should
983 dns_map_open(map, mode)
985 int mode;
988 sm_dprintf("dns_map_open(%s, %d)\n", map->map_mname, mode);
990 mode &= O_ACCMODE;
991 if (mode != O_RDONLY)
1408 ndbm_map_open(map, mode)
1410 int mode;
[all...]
/illumos-gate/usr/src/uts/common/io/1394/targets/av1394/
H A Dav1394_cfgrom.c105 av1394_ioctl_node_get_bus_name(av1394_inst_t *avp, void *arg, int mode) argument
122 if (ddi_copyout(&val, arg, sizeof (uint32_t), mode) != 0) {
135 av1394_ioctl_node_get_uid(av1394_inst_t *avp, void *arg, int mode) argument
155 if (ddi_copyout(&eui64, arg, sizeof (uint64_t), mode) != 0) {
168 av1394_ioctl_node_get_text_leaf(av1394_inst_t *avp, void *arg, int mode) argument
187 if (ddi_model_convert_from(mode & FMODELS) == DDI_MODEL_ILP32) {
188 if (ddi_copyin(arg, &tl32, sizeof (tl32), mode) != 0) {
196 if (ddi_copyin(arg, &tl, sizeof (tl), mode) != 0) {
253 if (ddi_model_convert_from(mode & FMODELS) == DDI_MODEL_ILP32) {
259 if (ddi_copyout(&tl32, arg, sizeof (tl32), mode) !
[all...]
H A Dav1394_async.c325 av1394_async_ioctl(av1394_inst_t *avp, int cmd, intptr_t arg, int mode, argument
334 ret = av1394_ioctl_arq_get_ibuf_size(avp, (void *)arg, mode);
337 ret = av1394_ioctl_arq_set_ibuf_size(avp, (void *)arg, mode);
340 ret = av1394_ioctl_node_get_bus_name(avp, (void *)arg, mode);
343 ret = av1394_ioctl_node_get_uid(avp, (void *)arg, mode);
346 ret = av1394_ioctl_node_get_text_leaf(avp, (void *)arg, mode);
519 av1394_ioctl_arq_get_ibuf_size(av1394_inst_t *avp, void *arg, int mode) argument
529 if (ddi_copyout(&sz, arg, sizeof (sz), mode) != 0) {
539 av1394_ioctl_arq_set_ibuf_size(av1394_inst_t *avp, void *arg, int mode) argument
/illumos-gate/usr/src/uts/common/io/net80211/
H A Dnet80211.c195 return; /* Not running on WPA mode */
374 * Set the current phy mode and recalculate the active channel
376 * this mode. Also select a new BSS channel if the current one
377 * is inappropriate for this mode.
382 ieee80211_setmode(ieee80211com_t *ic, enum ieee80211_phymode mode) argument
401 /* validate new mode */
402 if ((ic->ic_modecaps & (1 << mode)) == 0) {
403 ieee80211_err("ieee80211_setmode(): mode %u not supported"
404 " (caps 0x%x)\n", mode, ic->ic_modecaps);
410 * channel list before committing to the new mode
[all...]
/illumos-gate/usr/src/uts/sun4/io/efcode/
H A Dfcode.c421 fc_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp, int *rvalp) argument
443 return (fc_get_parameters(dev, arg, mode, credp, rvalp));
450 return (fc_get_my_args(dev, arg, mode, credp, rvalp));
457 return (fc_run_priv(dev, arg, mode, credp, rvalp));
464 return (fc_validate(dev, arg, mode, credp, rvalp));
470 return (fc_get_fcode(dev, arg, mode, credp, rvalp));
477 return (fc_set_fcode_error(dev, arg, mode, credp, rvalp));
494 fc_get_parameters(dev_t dev, intptr_t arg, int mode, cred_t *credp, int *rvalp) argument
567 fc_get_my_args(dev_t dev, intptr_t arg, int mode, cred_t *credp, int *rvalp) argument
613 fc_run_priv(dev_t dev, intptr_t arg, int mode, cred_ argument
776 fc_validate(dev_t dev, intptr_t arg, int mode, cred_t *credp, int *rvalp) argument
828 fc_get_fcode(dev_t dev, intptr_t arg, int mode, cred_t *credp, int *rvalp) argument
891 fc_set_fcode_error(dev_t dev, intptr_t arg, int mode, cred_t *credp, int *rvalp) argument
[all...]
/illumos-gate/usr/src/boot/lib/libz/test/
H A Dminigzip.c13 * or in pipe mode.
182 gzFile gzopen(path, mode)
184 const char *mode;
186 return gz_open(path, -1, mode);
189 gzFile gzdopen(fd, mode)
191 const char *mode;
193 return gz_open(NULL, fd, mode);
196 gzFile gz_open(path, fd, mode)
199 const char *mode;
207 gz->write = strchr(mode, '
[all...]
/illumos-gate/usr/src/cmd/sendmail/db/log/
H A Dlog.c38 log_open(path, flags, mode, dbenv, lpp)
41 int mode;
86 dblp->reginfo.mode = mode;
111 lp->persist.mode = mode;
419 dblp->lp->persist.mode = persist.mode;
531 (*gspp)->st_mode = lp->persist.mode;
/illumos-gate/usr/src/uts/common/io/drm/
H A Ddrm_ioctl.c59 if (ddi_model_convert_from(mode & FMODELS) == DDI_MODEL_ILP32) {
80 if (ddi_model_convert_from(mode & FMODELS) == DDI_MODEL_ILP32) {
141 if (ddi_model_convert_from(mode & FMODELS) == DDI_MODEL_ILP32) {
183 if (ddi_model_convert_from(mode & FMODELS) == DDI_MODEL_ILP32) {
211 if (ddi_model_convert_from(mode & FMODELS) == DDI_MODEL_ILP32) {
239 if (ddi_model_convert_from(mode & FMODELS) ==
292 if (ddi_model_convert_from(mode & FMODELS) == DDI_MODEL_ILP32) {
370 if (ddi_model_convert_from(mode & FMODELS) == DDI_MODEL_ILP32) {
404 if (ddi_model_convert_from(mode & FMODELS) == DDI_MODEL_ILP32) {
/illumos-gate/usr/src/uts/common/io/ib/clients/daplt/
H A Ddaplt.c1131 daplka_ep_create(daplka_ia_resource_t *ia_rp, intptr_t arg, int mode, argument
1149 mode);
1363 mode);
1641 daplka_ep_modify(daplka_ia_resource_t *ia_rp, intptr_t arg, int mode, argument
1654 mode);
1728 daplka_ep_free(daplka_ia_resource_t *ia_rp, intptr_t arg, int mode, argument
1736 retval = ddi_copyin((void *)arg, &args, sizeof (dapl_ep_free_t), mode);
1835 * ibt_close_rc_channel in blocking mode. this would cause
2064 daplka_ep_connect(daplka_ia_resource_t *ia_rp, intptr_t arg, int mode, argument
2091 mode);
2321 daplka_ep_disconnect(daplka_ia_resource_t *ia_rp, intptr_t arg, int mode, cred_t *cred, int *rvalp) argument
2415 daplka_ep_reinit(daplka_ia_resource_t *ia_rp, intptr_t arg, int mode, cred_t *cred, int *rvalp) argument
2583 daplka_evd_create(daplka_ia_resource_t *ia_rp, intptr_t arg, int mode, cred_t *cred, int *rvalp) argument
2747 daplka_cq_resize(daplka_ia_resource_t *ia_rp, intptr_t arg, int mode, cred_t *cred, int *rvalp) argument
2834 daplka_event_poll_copyin(intptr_t inarg, dapl_event_poll_t *outarg, int mode) argument
2873 daplka_event_poll_copyout(dapl_event_poll_t *inarg, intptr_t outarg, int mode) argument
3021 daplka_event_poll(daplka_ia_resource_t *ia_rp, intptr_t arg, int mode, cred_t *cred, int *rvalp) argument
3324 daplka_event_wakeup(daplka_ia_resource_t *ia_rp, intptr_t arg, int mode, cred_t *cred, int *rvalp) argument
3356 daplka_evd_modify_cno(daplka_ia_resource_t *ia_rp, intptr_t arg, int mode, cred_t *cred, int *rvalp) argument
3425 daplka_evd_free(daplka_ia_resource_t *ia_rp, intptr_t arg, int mode, cred_t *cred, int *rvalp) argument
3702 daplka_cno_alloc(daplka_ia_resource_t *ia_rp, intptr_t arg, int mode, cred_t *cred, int *rvalp) argument
3806 daplka_cno_free(daplka_ia_resource_t *ia_rp, intptr_t arg, int mode, cred_t *cred, int *rvalp) argument
3837 daplka_cno_wait(daplka_ia_resource_t *ia_rp, intptr_t arg, int mode, cred_t *cred, int *rvalp) argument
3928 daplka_cr_accept(daplka_ia_resource_t *ia_rp, intptr_t arg, int mode, cred_t *cred, int *rvalp) argument
4086 daplka_cr_reject(daplka_ia_resource_t *ia_rp, intptr_t arg, int mode, cred_t *cred, int *rvalp) argument
4226 daplka_cr_handoff(daplka_ia_resource_t *ia_rp, intptr_t arg, int mode, cred_t *cred, int *rvalp) argument
4388 daplka_ia_query(daplka_ia_resource_t *ia_rp, intptr_t arg, int mode, cred_t *cred, int *rvalp) argument
4571 daplka_mr_register(daplka_ia_resource_t *ia_rp, intptr_t arg, int mode, cred_t *cred, int *rvalp) argument
4716 daplka_mr_register_shared(daplka_ia_resource_t *ia_rp, intptr_t arg, int mode, cred_t *cred, int *rvalp) argument
5048 daplka_mr_register_lmr(daplka_ia_resource_t *ia_rp, intptr_t arg, int mode, cred_t *cred, int *rvalp) argument
5265 daplka_mr_deregister(daplka_ia_resource_t *ia_rp, intptr_t arg, int mode, cred_t *cred, int *rvalp) argument
5296 daplka_mr_sync(daplka_ia_resource_t *ia_rp, intptr_t arg, int mode, cred_t *cred, int *rvalp) argument
5447 daplka_pd_alloc(daplka_ia_resource_t *ia_rp, intptr_t arg, int mode, cred_t *cred, int *rvalp) argument
5563 daplka_pd_free(daplka_ia_resource_t *ia_rp, intptr_t arg, int mode, cred_t *cred, int *rvalp) argument
5594 daplka_mw_alloc(daplka_ia_resource_t *ia_rp, intptr_t arg, int mode, cred_t *cred, int *rvalp) argument
5758 daplka_mw_free(daplka_ia_resource_t *ia_rp, intptr_t arg, int mode, cred_t *cred, int *rvalp) argument
5842 daplka_srq_create(daplka_ia_resource_t *ia_rp, intptr_t arg, int mode, cred_t *cred, int *rvalp) argument
5993 daplka_srq_resize(daplka_ia_resource_t *ia_rp, intptr_t arg, int mode, cred_t *cred, int *rvalp) argument
6081 daplka_srq_free(daplka_ia_resource_t *ia_rp, intptr_t arg, int mode, cred_t *cred, int *rvalp) argument
6179 daplka_service_register(daplka_ia_resource_t *ia_rp, intptr_t arg, int mode, cred_t *cred, int *rvalp) argument
6381 daplka_service_deregister(daplka_ia_resource_t *ia_rp, intptr_t arg, int mode, cred_t *cred, int *rvalp) argument
7475 daplka_ia_create(minor_t rnum, intptr_t arg, int mode, cred_t *cred, int *rvalp) argument
8632 daplka_common_ioctl(int cmd, minor_t rnum, intptr_t arg, int mode, cred_t *cred, int *rvalp) argument
8652 daplka_evd_ioctl(int cmd, daplka_ia_resource_t *rp, intptr_t arg, int mode, cred_t *cred, int *rvalp) argument
8690 daplka_ep_ioctl(int cmd, daplka_ia_resource_t *rp, intptr_t arg, int mode, cred_t *cred, int *rvalp) argument
8728 daplka_mr_ioctl(int cmd, daplka_ia_resource_t *rp, intptr_t arg, int mode, cred_t *cred, int *rvalp) argument
8762 daplka_mw_ioctl(int cmd, daplka_ia_resource_t *rp, intptr_t arg, int mode, cred_t *cred, int *rvalp) argument
8784 daplka_cno_ioctl(int cmd, daplka_ia_resource_t *rp, intptr_t arg, int mode, cred_t *cred, int *rvalp) argument
8810 daplka_pd_ioctl(int cmd, daplka_ia_resource_t *rp, intptr_t arg, int mode, cred_t *cred, int *rvalp) argument
8832 daplka_sp_ioctl(int cmd, daplka_ia_resource_t *rp, intptr_t arg, int mode, cred_t *cred, int *rvalp) argument
8854 daplka_srq_ioctl(int cmd, daplka_ia_resource_t *rp, intptr_t arg, int mode, cred_t *cred, int *rvalp) argument
8881 daplka_misc_ioctl(int cmd, daplka_ia_resource_t *rp, intptr_t arg, int mode, cred_t *cred, int *rvalp) argument
8912 daplka_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *cred, int *rvalp) argument
[all...]
/illumos-gate/usr/src/cmd/ipf/tools/
H A Dip_fil.c213 int iplioctl(dev, cmd, data, mode)
217 int mode;
233 error = fr_nat_ioctl(data, cmd, mode, uid, NULL, ifs);
241 error = fr_state_ioctl(data, cmd, mode, uid, NULL, ifs);
251 if (!(mode & FWRITE)) {
258 error = fr_auth_ioctl(data, cmd, mode, uid,
269 error = fr_sync_ioctl(data, cmd, mode);
279 error = fr_scan_ioctl(data, cmd, mode);
288 error = ip_lookup_ioctl(data, cmd, mode, uid,
305 if (!(mode
[all...]
/illumos-gate/usr/src/cmd/svr4pkg/libinst/
H A Dpkgdbmerg.c209 el_ent->cf_ent.ainfo.mode &= ~(S_ISUID | S_ISGID);
561 if (el_ent->cf_ent.ainfo.mode == WILDCARD) {
563 el_ent->cf_ent.ainfo.mode = DEFAULT_MODE;
565 el_ent->cf_ent.ainfo.mode = DEFAULT_MODE_FILE;
568 (int)el_ent->cf_ent.ainfo.mode);
690 (ent->ainfo.mode != BADMODE) &&
691 (ent->ainfo.mode != WILDCARD) &&
692 (ent->ainfo.mode & S_ISUID));
699 (ent->ftype == 'e')) && (ent->ainfo.mode != BADMODE) &&
700 (ent->ainfo.mode !
[all...]
/illumos-gate/usr/src/uts/common/avs/ns/rdc/
H A Drdcsrv.c271 rdcsrv_create(file_t *fp, rdc_svc_args_t *args, int mode) argument
286 STRUCT_SET_HANDLE(uap, mode, args);
292 addrmask.len, mode);
411 rdcsrv_load(file_t *fp, rdcsrv_t *disptab, rdc_svc_args_t *args, int mode) argument
417 rc = rdcsrv_create(fp, args, mode);
/illumos-gate/usr/src/uts/common/zmod/
H A Dinffast.c44 state->mode == LEN
50 On return, state->mode is one of:
181 state->mode = BAD;
193 state->mode = BAD;
269 state->mode = BAD;
279 state->mode = TYPE;
284 state->mode = BAD;
/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/
H A Discsi.c131 static int iscsi_ioctl(dev_t dev, int cmd, intptr_t arg, int mode,
1452 iscsi_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, argument
1536 if (ddi_copyin((caddr_t)arg, &oid, sizeof (oid), mode)) {
1548 if (ddi_copyout(&oid, (caddr_t)arg, sizeof (oid), mode)) {
1560 if (ddi_copyin((caddr_t)arg, ilg, sizeof (*ilg), mode)) {
1720 sizeof (iscsi_param_get_t), mode);
1734 if (ddi_copyin((caddr_t)arg, ils, sizeof (*ils), mode)) {
1851 if (ddi_copyin((caddr_t)arg, ils, sizeof (*ils), mode)) {
1885 if (ddi_copyin((caddr_t)arg, &e, sizeof (e), mode)) {
2105 sizeof (idl), mode)) {
[all...]

Completed in 134 milliseconds

<<11121314151617181920>>