/illumos-gate/usr/src/uts/common/fs/proc/ |
H A D | prvnops.c | 51 #include <sys/mode.h> 1073 * mode, and one for long mode, sigh. 3208 praccess(vnode_t *vp, int mode, int flags, cred_t *cr, caller_context_t *ct) argument 3219 if ((mode & VWRITE) && vn_is_readonly(vp)) 3236 if ((type == PR_OBJECT && (mode & VWRITE)) || 3238 (type == PR_FD && (vmode & mode) != mode && 3241 return (VOP_ACCESS(rvp, mode, flags, cr, ct)); 3268 error = priv_proc_cred_perm(cr, p, NULL, mode); 3423 prcreate(vnode_t *dp, char *comp, vattr_t *vap, vcexcl_t 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/common/io/bge/ |
H A D | bge_chip2.c | 307 * + Configure the target-mode endianness (swap) options. 418 * interrupt mode) at this stage ... 465 * The best way to avoid this is to use TAGGED STATUS mode, 581 * These use to distinguish AMD64 or Intel EM64T of CPU running mode. 582 * If CPU runs on Intel EM64T mode,the 64bit operation cannot works fine 2454 bge_ape_driver_state_change(bge_t *bgep, int mode) argument 2460 (void *)bgep, mode)); 2465 switch (mode) { 3452 * Reprogram the Ethernet MAC mode ... 3479 BGE_DEBUG(("bge_sync_mac_modes($%p) Ethernet MAC mode 6520 bge_asf_pre_reset_operations(bge_t *bgep, uint32_t mode) argument 6569 bge_asf_post_reset_old_mode(bge_t *bgep, uint32_t mode) argument 6591 bge_asf_post_reset_new_mode(bge_t *bgep, uint32_t mode) argument [all...] |
/illumos-gate/usr/src/cmd/savecore/ |
H A D | savecore.c | 80 static int verbose; /* chatty mode */ 256 Open(const char *name, int oflags, mode_t mode) argument 260 if ((fd = open64(name, oflags, mode)) == -1)
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppdump/ |
H A D | zlib.c | 2738 /* mode */ 2749 mode; /* current inflate mode */ member in struct:internal_state 2751 /* mode dependent information */ 2761 /* mode independent information */ 2779 z->state->mode = z->state->nowrap ? BLOCKS : METHOD; 2868 while (1) switch (z->state->mode) 2874 z->state->mode = BAD; 2881 z->state->mode = BAD; 2886 z->state->mode 3062 mode; /* current inflate_block mode */ member in struct:inflate_blocks_state 4097 mode; /* current inflate_codes mode */ member in struct:inflate_codes_state [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | in.telnetd.c | 251 static int SYNCHing = 0; /* we are in TELNET SYNCH mode */ 266 static void mode(int, int); 321 modenegotiated, /* last time operating mode negotiated */ 2209 * standalone mode. 3068 * some clients (MIT KRB5 telnet) have quirky 'kludge mode' support 3069 * that has them turn off local echo mode if SGA is not received first. 3260 char mode; local 3317 * binary mode of telnet daemon. binary_in and 3318 * binary_out are 0 if not in binary mode. 3323 mode 4196 mode(int on, int off) function [all...] |
/illumos-gate/usr/src/cmd/syslogd/ |
H A D | syslogd.c | 514 case SIGUSR1: /* secret debug dump mode */ 515 /* if in debug mode, use stdout */ 542 openklog(char *name, int mode) argument 552 if ((fd = open(name, mode)) < 0) { 2009 "not owned by root or not mode 644.\n"
|
/illumos-gate/usr/src/uts/common/crypto/io/ |
H A D | crypto.c | 105 static int sign_verify_update(dev_t dev, caddr_t arg, int mode, 844 get_function_list(dev_t dev, caddr_t arg, int mode, int *rval) argument 922 get_mechanism_number(dev_t dev, caddr_t arg, int mode, int *rval) argument 930 STRUCT_INIT(get_number, mode); 979 get_mechanism_list(dev_t dev, caddr_t arg, int mode, int *rval) argument 989 STRUCT_INIT(get_list, mode); 1040 copyout_mechinfos(int mode, caddr_t out, uint_t count, argument 1051 STRUCT_INIT(mi, mode); 1077 get_all_mechanism_info(dev_t dev, caddr_t arg, int mode, int *rval) argument 1096 STRUCT_INIT(get_all_mech, mode); 1227 get_provider_list(dev_t dev, caddr_t arg, int mode, int *rval) argument 1321 ext_to_provider_data(int mode, kcf_provider_desc_t *provider, crypto_provider_ext_info_t *ei, void *out) argument 1410 get_provider_info(dev_t dev, caddr_t arg, int mode, int *rval) argument 1513 get_provider_mechanisms(dev_t dev, caddr_t arg, int mode, int *rval) argument 1613 get_provider_mechanism_info(dev_t dev, caddr_t arg, int mode, int *rval) argument 2051 open_session(dev_t dev, caddr_t arg, int mode, int *rval) argument 2084 close_session(dev_t dev, caddr_t arg, int mode, int *rval) argument 2105 copyin_mech(int mode, crypto_session_data_t *sp, crypto_mechanism_t *in_mech, crypto_mechanism_t *out_mech, size_t *out_rctl_bytes, boolean_t *out_rctl_chk, int *out_rv, int *out_error) argument 2225 copyin_attributes(int mode, crypto_session_data_t *sp, uint_t count, caddr_t oc_attributes, crypto_object_attribute_t **k_attrs_out, size_t *k_attrs_size_out, caddr_t *u_attrs_out, int *out_rv, int *out_error, size_t *out_rctl_bytes, boolean_t *out_rctl_chk, boolean_t copyin_value) argument 2354 copyin_key(int mode, crypto_session_data_t *sp, crypto_key_t *in_key, crypto_key_t *out_key, size_t *out_rctl_bytes, boolean_t *out_rctl_chk, int *out_rv, int *out_error) argument 2500 encrypt_init(dev_t dev, caddr_t arg, int mode, int *rval) argument 2507 decrypt_init(dev_t dev, caddr_t arg, int mode, int *rval) argument 2525 crypto_provider_copyin_mech_param(kcf_provider_desc_t *pd, crypto_mechanism_t *umech, crypto_mechanism_t *kmech, int mode, int *error) argument 2557 crypto_provider_copyout_mech_param(kcf_provider_desc_t *pd, crypto_mechanism_t *kmech, crypto_mechanism_t *umech, int mode, int *error) argument 2602 cipher_init(dev_t dev, caddr_t arg, int mode, int (*init)(crypto_provider_t, crypto_session_id_t, crypto_mechanism_t *, crypto_key_t *, crypto_ctx_template_t, crypto_context_t *, crypto_call_req_t *)) argument 2724 encrypt(dev_t dev, caddr_t arg, int mode, int *rval) argument 2731 decrypt(dev_t dev, caddr_t arg, int mode, int *rval) argument 2741 cipher(dev_t dev, caddr_t arg, int mode, int (*single)(crypto_context_t, crypto_data_t *, crypto_data_t *, crypto_call_req_t *)) argument 2883 encrypt_update(dev_t dev, caddr_t arg, int mode, int *rval) argument 2890 decrypt_update(dev_t dev, caddr_t arg, int mode, int *rval) argument 2900 cipher_update(dev_t dev, caddr_t arg, int mode, int (*update)(crypto_context_t, crypto_data_t *, crypto_data_t *, crypto_call_req_t *)) argument 3041 encrypt_final(dev_t dev, caddr_t arg, int mode, int *rval) argument 3048 decrypt_final(dev_t dev, caddr_t arg, int mode, int *rval) argument 3058 common_final(dev_t dev, caddr_t arg, int mode, int (*final)(crypto_context_t, crypto_data_t *, crypto_call_req_t *)) argument 3186 digest_init(dev_t dev, caddr_t arg, int mode, int *rval) argument 3266 digest_update(dev_t dev, caddr_t arg, int mode, int *rval) argument 3351 digest_key(dev_t dev, caddr_t arg, int mode, int *rval) argument 3411 digest_final(dev_t dev, caddr_t arg, int mode, int *rval) argument 3418 digest(dev_t dev, caddr_t arg, int mode, int *rval) argument 3428 common_digest(dev_t dev, caddr_t arg, int mode, int (*single)(crypto_context_t, crypto_data_t *, crypto_data_t *, crypto_call_req_t *)) argument 3600 set_pin(dev_t dev, caddr_t arg, int mode, int *rval) argument 3688 login(dev_t dev, caddr_t arg, int mode, int *rval) argument 3762 logout(dev_t dev, caddr_t arg, int mode, int *rval) argument 3816 sign_init(dev_t dev, caddr_t arg, int mode, int *rval) argument 3823 sign_recover_init(dev_t dev, caddr_t arg, int mode, int *rval) argument 3831 verify_init(dev_t dev, caddr_t arg, int mode, int *rval) argument 3838 verify_recover_init(dev_t dev, caddr_t arg, int mode, int *rval) argument 3850 sign_verify_init(dev_t dev, caddr_t arg, int mode, int (*init)(crypto_provider_t, crypto_session_id_t, crypto_mechanism_t *, crypto_key_t *, crypto_ctx_template_t, crypto_context_t *, crypto_call_req_t *)) argument 3979 sign(dev_t dev, caddr_t arg, int mode, int *rval) argument 3986 sign_recover(dev_t dev, caddr_t arg, int mode, int *rval) argument 3993 verify(dev_t dev, caddr_t arg, int mode, int *rval) argument 4085 verify_recover(dev_t dev, caddr_t arg, int mode, int *rval) argument 4092 sign_update(dev_t dev, caddr_t arg, int mode, int *rval) argument 4099 verify_update(dev_t dev, caddr_t arg, int mode, int *rval) argument 4109 sign_verify_update(dev_t dev, caddr_t arg, int mode, int (*update)(crypto_context_t, crypto_data_t *, crypto_call_req_t *)) argument 4194 sign_final(dev_t dev, caddr_t arg, int mode, int *rval) argument 4205 verify_final(dev_t dev, caddr_t arg, int mode, int *rval) argument 4285 seed_random(dev_t dev, caddr_t arg, int mode, int *rval) argument 4376 generate_random(dev_t dev, caddr_t arg, int mode, int *rval) argument 4476 copyout_attributes(int mode, caddr_t out, uint_t count, crypto_object_attribute_t *k_attrs, caddr_t u_attrs) argument 4522 object_create(dev_t dev, caddr_t arg, int mode, int *rval) argument 4616 object_copy(dev_t dev, caddr_t arg, int mode, int *rval) argument 4712 object_destroy(dev_t dev, caddr_t arg, int mode, int *rval) argument 4778 object_get_attribute_value(dev_t dev, caddr_t arg, int mode, int *rval) argument 4880 object_get_size(dev_t dev, caddr_t arg, int mode, int *rval) argument 4948 object_set_attribute_value(dev_t dev, caddr_t arg, int mode, int *rval) argument 5030 object_find_init(dev_t dev, caddr_t arg, int mode, int *rval) argument 5127 object_find_update(dev_t dev, caddr_t arg, int mode, int *rval) argument 5253 object_find_final(dev_t dev, caddr_t arg, int mode, int *rval) argument 5304 object_generate_key(dev_t dev, caddr_t arg, int mode, int *rval) argument 5424 nostore_generate_key(dev_t dev, caddr_t arg, int mode, int *rval) argument 5566 object_generate_key_pair(dev_t dev, caddr_t arg, int mode, int *rval) argument 5718 nostore_generate_key_pair(dev_t dev, caddr_t arg, int mode, int *rval) argument 5914 object_wrap_key(dev_t dev, caddr_t arg, int mode, int *rval) argument 6073 object_unwrap_key(dev_t dev, caddr_t arg, int mode, int *rval) argument 6240 object_derive_key(dev_t dev, caddr_t arg, int mode, int *rval) argument 6391 nostore_derive_key(dev_t dev, caddr_t arg, int mode, int *rval) argument 6555 crypto_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *c, int *rval) argument [all...] |
/illumos-gate/usr/src/uts/common/io/comstar/port/qlt/ |
H A D | qlt.c | 132 static int qlt_ioctl(dev_t dev, int cmd, intptr_t data, int mode, 1683 qlt_ioctl(dev_t dev, int cmd, intptr_t data, int mode, argument 1705 ret = stmf_copyin_iocdata(data, mode, &iocd, &ibuf, &obuf); 1932 ret = stmf_copyout_iocdata(data, mode, iocd, obuf); 1934 (void) stmf_copyout_iocdata(data, mode, iocd, obuf); 2618 * in a interrupt disabled mode and another device 2622 * disabled mode handle it. 3593 * Decide the SCSI status mode, that should be used 3598 * Prepare required information per the SCSI status mode
|
/illumos-gate/usr/src/uts/common/io/drm/ |
H A D | drm.h | 439 full-screen DGA-like mode. */ 688 unsigned long mode; /**< AGP mode */ member in struct:drm_agp_mode 723 unsigned long mode; member in struct:drm_agp_info
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | modctl.c | 1882 /* mode */ 1884 ASSERT(strcmp(nvpair_name(nvp), "mode") == 0); 4068 * modules the mod_filename was allocated in standalone mode: 4069 * it is illegal to kobj_alloc in standalone mode and kobj_free 4070 * in non-standalone mode. 4728 ddi_modopen(const char *modname, int mode, int *errnop) argument 4736 ASSERT(modname && (mode == KRTLD_MODE_FIRST)); 4737 if ((modname == NULL) || (mode != KRTLD_MODE_FIRST)) 4765 printf("ddi_modopen %s mode %x: %s %p %d\n", 4766 modname ? modname : "<unknown>", mode, [all...] |
/illumos-gate/usr/src/uts/common/pcmcia/nexus/ |
H A D | pcmcia.c | 3645 SSResetSocket(int socket, int mode) argument 3654 sockp->ls_socket, mode)); 4146 * that we can use the INTRACK mode if it proves desirable
|
/illumos-gate/usr/src/uts/common/xen/public/ |
H A D | domctl.h | 169 /* Disable shadow mode. */ 172 /* Enable shadow mode (mode contains ORed XEN_DOMCTL_SHADOW_ENABLE_* flags). */ 186 /* Equiv. to ENABLE with no mode flags. */ 188 /* Equiv. to ENABLE with mode flag ENABLE_LOG_DIRTY. */ 190 /* Equiv. to ENABLE with mode flags ENABLE_REFCOUNT and ENABLE_TRANSLATE. */ 226 uint32_t mode; /* XEN_DOMCTL_SHADOW_ENABLE_* */ member in struct:xen_domctl_shadow_op 554 /* SYSCALL from 32-bit mode and SYSENTER callback information. */ 555 /* NB. SYSCALL from 64-bit mode is contained in vcpu_guest_context_t */ 701 * mode [all...] |
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlge/ |
H A D | qlge.c | 657 QL_PRINT(DBG_INIT, ("rx copy mode disabled\n")); 660 QL_PRINT(DBG_INIT, ("rx copy mode enabled\n")); 688 /* Get pause mode, default is Per Priority mode. */ 694 cmn_err(CE_NOTE, "new pause mode %d\n", qlge->pause); 1808 cmn_err(CE_WARN, "%s(%d)ring not started, mode %d " 1926 /* if using rx copy mode, we need to allocate a big enough buffer */ 2595 /* do not enable interrupt for polling mode */ 4389 * We will have 2 completion queues in MSI / Legacy mode, 4418 /* Try Fixed interrupt Legacy mode */ 4560 ql_set_promiscuous(qlge_t *qlge, int mode) argument [all...] |
/illumos-gate/usr/src/uts/common/io/fibre-channel/impl/ |
H A D | fctl.c | 5299 intptr_t data, int mode, cred_t *credp, int *rval) 5330 dev, cmd, data, mode, credp, rval, claimed); 5298 fctl_ulp_port_ioctl(fc_local_port_t *port, dev_t dev, int cmd, intptr_t data, int mode, cred_t *credp, int *rval) argument
|
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/ib/clients/daplt/ |
H A D | daplt.c | 1131 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/uts/common/io/ib/clients/ibd/ |
H A D | ibd.c | 1123 * the "non" list is used for promiscuous mode, when all mcg traffic 1211 * If we are in late hca initialization mode, do not 1893 * initiate a RC mode connection for unicast address 1960 * If in promiscuous mode ... 2105 * 6. In promiscuous mode, acquire all non memberships. 2498 ibd_print_warn(state, "RC mode: Set #sgl = %d instead of " 2893 * Make the default link mode as RC. If this fails during connection 2894 * setup, the link mode is automatically transitioned to UD. 4310 * interrupt driven mode. 4366 * If we are in promiscuous mode o 8165 ibd_create_partition(void *karg, intptr_t arg, int mode, cred_t *credp, int *rvalp) argument 8334 ibd_delete_partition(void *karg, intptr_t arg, int mode, cred_t *credp, int *rvalp) argument 8413 ibd_get_partition_info(void *karg, intptr_t arg, int mode, cred_t *cred, int *rvalp) argument [all...] |
/illumos-gate/usr/src/uts/common/io/ib/mgt/ibcm/ |
H A D | ibcm_ti.c | 57 ibcm_state_data_t *statep, ibt_execution_mode_t mode); 110 ibt_execution_mode_t mode, ibt_chan_open_args_t *chan_args, 155 channel, flags, mode, chan_args, ret_args); 169 if (mode == IBT_NONBLOCKING) { 173 "non-blocking mode", channel); 176 } else if (mode == IBT_BLOCKING) { 180 "blocking mode", channel); 195 } else { /* any other mode is not valid for ibt_open_rc_channel */ 197 "invalid mode %x specified", channel, mode); 109 ibt_open_rc_channel(ibt_channel_hdl_t channel, ibt_chan_open_flags_t flags, ibt_execution_mode_t mode, ibt_chan_open_args_t *chan_args, ibt_rc_returns_t *ret_args) argument 1206 ibt_close_rc_channel(ibt_channel_hdl_t channel, ibt_execution_mode_t mode, void *priv_data, ibt_priv_data_len_t priv_data_len, uint8_t *ret_status, void *ret_priv_data, ibt_priv_data_len_t *ret_priv_data_len_p) argument 1332 ibcm_close_rc_channel(ibt_channel_hdl_t channel, ibcm_state_data_t *statep, ibt_execution_mode_t mode) argument 1857 ibcm_validate_dqpn_data(ibt_ud_dest_attr_t *attr, ibt_execution_mode_t mode, ibt_ud_returns_t *ret_args) argument 1925 ibcm_ud_get_dqpn(ibt_ud_dest_attr_t *attr, ibt_execution_mode_t mode, ibt_ud_returns_t *ret_args) argument 2177 ibt_request_ud_dest(ibt_ud_dest_hdl_t ud_dest, ibt_execution_mode_t mode, ibt_ud_dest_attr_t *attr, ibt_ud_returns_t *ud_ret_args) argument 2276 ibt_ud_get_dqpn(ibt_ud_dest_attr_t *attr, ibt_execution_mode_t mode, ibt_ud_returns_t *returns) argument 4284 ibt_set_alt_path(ibt_channel_hdl_t channel, ibt_execution_mode_t mode, ibt_alt_path_info_t *alt_path, void *priv_data, ibt_priv_data_len_t priv_data_len, ibt_ap_returns_t *ret_args) argument [all...] |
/illumos-gate/usr/src/uts/common/io/rsm/ |
H A D | rsm.c | 338 static int rsm_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, 453 static int rsm_unpublish(rsmseg_t *seg, int mode); 1057 rsm_getadapter(rsm_ioctlmsg_t *msg, int mode) argument 1073 if (ddi_copyin(msg->cname, adapter_devname, msg->cname_len, mode)) 1324 /* Find resource and lock it in READER mode */ 1365 /* Find resource and lock it in READER mode */ 2308 rsm_bind(rsmseg_t *seg, rsm_ioctlmsg_t *msg, intptr_t dataptr, int mode) argument 2316 adapter = rsm_getadapter(msg, mode); 2394 if ((mode & DATAMODEL_MASK) == DATAMODEL_ILP32) { 2400 sizeof (minor_t), mode)) { 2656 rsmacl_build(rsm_ioctlmsg_t *msg, int mode, rsmapi_access_entry_t **list, int *len, int loopback) argument 2849 rsm_publish(rsmseg_t *seg, rsm_ioctlmsg_t *msg, intptr_t dataptr, int mode) argument 3104 rsm_republish(rsmseg_t *seg, rsm_ioctlmsg_t *msg, int mode) argument 3261 rsm_unpublish(rsmseg_t *seg, int mode) argument 6066 rsm_access(uid_t owner, gid_t group, int perm, int mode, const struct cred *cr) argument 6086 rsm_connect(rsmseg_t *seg, rsm_ioctlmsg_t *msg, cred_t *cred, intptr_t dataptr, int mode) argument 6852 rsmexport_ioctl(rsmseg_t *seg, rsm_ioctlmsg_t *msg, int cmd, intptr_t arg, int mode, cred_t *credp) argument 6895 rsmimport_ioctl(rsmseg_t *seg, rsm_ioctlmsg_t *msg, int cmd, intptr_t arg, int mode, cred_t *credp) argument 6920 rsmbar_ioctl(rsmseg_t *seg, rsm_ioctlmsg_t *msg, int cmd, intptr_t arg, int mode) argument 7061 rsm_consumeevent_copyin(caddr_t arg, rsm_consume_event_msg_t *msgp, rsm_poll_event_t **eventspp, int mode) argument 7180 rsm_consumeevent_copyout(rsm_consume_event_msg_t *msgp, rsm_poll_event_t *eventsp, int mode) argument 7258 rsm_consumeevent_ioctl(caddr_t arg, int mode) argument 7303 iovec_copyin(caddr_t user_vec, rsmka_iovec_t *iovec, int count, int mode) argument 7359 sgio_copyin(caddr_t arg, rsmka_scat_gath_t *sg_io, int mode) argument 7398 sgio_resid_copyout(caddr_t arg, rsmka_scat_gath_t *sg_io, int mode) argument 7458 rsm_iovec_ioctl(dev_t dev, caddr_t arg, int cmd, int mode, cred_t *credp) argument 7748 rsmaddr_ioctl(int cmd, rsm_ioctlmsg_t *msg, int mode) argument 7804 rsm_ddi_copyin(caddr_t arg, rsm_ioctlmsg_t *msg, int mode) argument 7850 rsmattr_ddi_copyout(adapter_t *adapter, caddr_t arg, int mode) argument 7959 rsm_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp, int *rvalp) argument [all...] |
/illumos-gate/usr/src/uts/common/io/scsi/adapters/scsi_vhci/ |
H A D | scsi_vhci.c | 595 vhci_ioctl(dev_t dev, int cmd, intptr_t data, int mode, argument 599 return (vhci_devctl(dev, cmd, data, mode, credp, rval)); 601 return (vhci_mpapi_ctl(dev, cmd, data, mode, credp, rval)); 603 return (vhci_ctl(dev, cmd, data, mode, credp, rval)); 1445 * SCSI-II RESERVE cmd is not expected in polled mode. 5402 vhci_ctl(dev_t dev, int cmd, intptr_t data, int mode, cred_t *credp, int *rval) argument 5531 retval = vhci_get_iocdata((const void *)data, pioc, mode, s); 5536 mode, s); 5561 if (vhci_ioc_get_client_path(pioc, client_path, mode, s)) { 5581 sizeof (num_paths), mode)) { 6080 vhci_devctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp, int *rvalp) argument 6186 vhci_ioc_get_phci_path(sv_iocdata_t *pioc, caddr_t phci_path, int mode, caddr_t s) argument 6206 vhci_ioc_get_client_path(sv_iocdata_t *pioc, caddr_t client_path, int mode, caddr_t s) argument 6225 vhci_ioc_get_paddr(sv_iocdata_t *pioc, caddr_t paddr, int mode, caddr_t s) argument 6243 vhci_ioc_send_client_path(caddr_t client_path, sv_iocdata_t *pioc, int mode, caddr_t s) argument 6433 vhci_get_iocdata(const void *data, sv_iocdata_t *pioc, int mode, caddr_t s) argument 6485 vhci_get_iocswitchdata(const void *data, sv_switch_to_cntlr_iocdata_t *piocsc, int mode, caddr_t s) argument 6537 vhci_ioc_alloc_pathinfo(sv_path_info_t **upibuf, sv_path_info_t **kpibuf, uint_t num_paths, sv_iocdata_t *pioc, int mode, caddr_t s) argument 6678 vhci_ioc_send_pathinfo(sv_path_info_t *upibuf, sv_path_info_t *kpibuf, uint_t num_paths, sv_iocdata_t *pioc, int mode, caddr_t s) argument [all...] |
/illumos-gate/usr/src/uts/common/io/uath/ |
H A D | uath_reg.h | 324 uint32_t mode; member in struct:uath_cmd_txq_attr 345 #define UATH_FILTER_RX_PROM 0x00000020 /* promiscuous mode */
|
/illumos-gate/usr/src/uts/common/io/usb/hcd/openhci/ |
H A D | ohci.c | 507 static int ohci_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, 902 int mode, 909 dev, cmd, arg, mode, credp, rvalp)); 1278 "running in simulated polled mode"); 7704 * Suppose if we switched to the polled mode from the normal 7705 * mode when interrupt handler is executing then we need to 7706 * save the interrupt status information in the polled mode 7709 * respectively. This flag will be used in the polled mode 7711 * switched to the polled mode from the normal mode 899 ohci_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp, int *rvalp) argument [all...] |
/illumos-gate/usr/src/uts/common/sys/crypto/ |
H A D | dca.h | 207 int mode; /* Mode of operation */ member in struct:dca_ctx 579 #define DMACTL_OFM 0x10000000U /* output fragment mode */ 580 #define DMACTL_BE32 0x08000000U /* 32-bit big endian mode */ 581 #define DMACTL_BE64 0x04000000U /* 64-bit big endian mode */ 583 #define DMACTL_RNGMASK 0x01800000U /* RNG mode mask */
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | epm.h | 230 PM_CPUPM_POLLING, /* CPUPM enabled: polling mode */ 231 PM_CPUPM_EVENT, /* CPUPM enabled: event driven mode */ 378 int mode; member in struct:power_req::req::ppm_all_lowest_req 613 * Returns true if cpupm is enabled in event driven mode. 618 * Returns true if cpupm is enabled in polling mode. 623 * Returns true if cpupm operating using the default mode. 634 * (CPUPM is not disabled and we're not in event mode, or it isn't a cpu))
|
/illumos-gate/usr/src/lib/libast/common/sfio/ |
H A D | sfhdr.h | 462 /* to test for executable access mode of a file */ 486 #define SF_MMAP 00000001 /* in memory mapping mode */ 494 #define SF_WIDE 00000400 /* in wide mode - stdio only */ 517 /* bits for the mode field, SF_INIT defined in sfio_t.h */ 666 int mode; /* type of pool */ member in struct:_sfpool_s 874 #define SFKILL(f) ((f)->mode = (SF_AVAIL|SF_LOCK) ) 875 #define SFKILLED(f) (((f)->mode&(SF_AVAIL|SF_LOCK)) == (SF_AVAIL|SF_LOCK) ) 883 #define SETLOCAL(f) ((f)->mode |= SF_LOCAL) 884 #define GETLOCAL(f,v) ((v) = ((f)->mode&SF_LOCAL), (f)->mode [all...] |