/illumos-gate/usr/src/uts/sun4u/io/ |
H A D | pic16f747.c | 343 pic_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp, int *rvalp) argument 358 mode) != DDI_SUCCESS) { 391 (void) ddi_copyout(&tempr, (caddr_t)arg, sizeof (tempr), mode); 409 (void) ddi_copyout(&in_command, (caddr_t)arg, 1, mode); 429 (void) ddi_copyout(&in_command, (caddr_t)arg, 1, mode); 449 (void) ddi_copyout(&in_command, (caddr_t)arg, 1, mode);
|
H A D | rmcadm.c | 50 static int rmcadm_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, 311 rmcadm_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *cred_p, argument 336 switch (ddi_model_convert_from(mode & FMODELS)) { 346 sizeof (rr32), mode)) { 362 sizeof (rr), mode)) { 369 sizeof (rr), mode) != 0) { 386 rr.req.msg_len, mode) != 0) { 477 rr.resp.msg_bytes, mode) != 0) { 494 switch (ddi_model_convert_from(mode & FMODELS)) { 515 sizeof (rr32), mode)) { [all...] |
/illumos-gate/usr/src/uts/sun4u/io/px/ |
H A D | px_tools_4u.c | 345 pxtool_bus_reg_ops(dev_info_t *dip, void *arg, int cmd, int mode) argument 362 if (ddi_copyin(arg, &prg, sizeof (pcitool_reg_t), mode) != 412 mode) != DDI_SUCCESS) {
|
/illumos-gate/usr/src/uts/sun4u/littleneck/io/ |
H A D | pcf8574_lneck.c | 298 pcf8574_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, argument 329 sizeof (i2c_port_t), mode) != DDI_SUCCESS) { 347 sizeof (i2c_port_t), mode) != DDI_SUCCESS) { 360 sizeof (uint8_t), mode) != DDI_SUCCESS) { 379 sizeof (i2c_bit_t), mode) != DDI_SUCCESS) { 411 sizeof (i2c_bit_t), mode) != DDI_SUCCESS) { 421 sizeof (i2c_bit_t), mode) != DDI_SUCCESS) {
|
/illumos-gate/usr/src/uts/intel/io/intel_nhm/ |
H A D | intel_nhmdrv.c | 113 inhm_mc_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp, argument 143 mode) < 0) 148 inhm_mc_snapshotsz[chip], mode) < 0)
|
/illumos-gate/usr/src/uts/intel/io/agpgart/ |
H A D | amd64_gart.c | 245 amd64_gart_ioctl(dev_t dev, int cmd, intptr_t data, int mode, argument 253 if (!(mode & FKIOCTL)) { 273 sizeof (amdgart_info_t), mode)) { 283 if (ddi_copyin((void *)data, &addr, sizeof (uint32_t), mode)) {
|
/illumos-gate/usr/src/cmd/lp/lib/lp/ |
H A D | files.c | 68 chownmod(char *path, uid_t owner, gid_t group, mode_t mode) argument 73 rc = Chmod(path, mode); 123 open_locked(char *path, char *type, mode_t mode) argument 155 if ((fd = Open(path, oflag, mode)) == -1) 160 if ((fd = Open(path, oflag|O_CREAT, mode)) != -1) 204 open_lpfile(char *path, char *type, mode_t mode) argument 209 if ((fd = open_locked(path, type, mode)) >= 0) {
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/fcoei/ |
H A D | fcoei.c | 66 dev_t dev, int cmd, intptr_t data, int mode, cred_t *credp, int *rval); 356 fcoei_ioctl(dev_t dev, int cmd, intptr_t data, int mode, argument 363 FCOEI_LOG(__FUNCTION__, "data: %p, %x", data, mode);
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/oce/ |
H A D | oce_gld.c | 452 uint32_t *mode = (uint32_t *)val; local 456 *mode = LINK_DUPLEX_FULL; 458 *mode = LINK_DUPLEX_UNKNOWN;
|
/illumos-gate/usr/src/uts/i86pc/io/pcplusmp/ |
H A D | apic_regops.c | 63 * 1 0 APIC is enabled in xAPIC mode 64 * 1 1 APIC is enabled in X2APIC mode 68 apic_mode_t apic_mode = LOCAL_APIC; /* Default mode is Local APIC */ 208 * and x2APIC mode. 272 * Determine which mode the current CPU is in. See the table above. 356 * Generates an interprocessor interrupt to another CPU when X2APIC mode is 412 * Generates IPI to another CPU depending on the local APIC mode. 414 * mode of the local APIC, but that may not match the actual mode 425 int mode local [all...] |
/illumos-gate/usr/src/uts/common/io/1394/targets/av1394/ |
H A D | av1394_async.c | 325 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/cmd/make/lib/mksh/ |
H A D | dosys.cc | 76 my_open(const char *path, int oflag, mode_t mode) { argument 77 int res = open(path, oflag, mode); 80 res = open(path, oflag, mode);
|
/illumos-gate/usr/src/uts/i86xpv/io/ |
H A D | privcmd.c | 130 do_privcmd_mmap(void *uarg, int mode, cred_t *cr) argument 138 if (ddi_copyin(uarg, mmc, sizeof (*mmc), mode)) 153 if (ddi_copyin(umme, mme, sizeof (*mme), mode)) { 206 do_privcmd_mmapbatch(void *uarg, int mode, cred_t *cr) argument 215 if (ddi_copyin(uarg, mmb, sizeof (*mmb), mode)) 273 privcmd_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *cr, int *rval) argument 281 if ((mode & FMODELS) != FNATIVE) 286 return (do_privcmd_hypercall((void *)arg, mode, cr, rval)); 289 return (do_privcmd_mmap((void *)arg, mode, cr)); 293 return (do_privcmd_mmapbatch((void *)arg, mode, c [all...] |
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_fem.c | 222 int mode, 236 error = vnext_create(arg, name, vap, excl, mode, vpp, cr, flag, 422 int mode, 430 if (mode & (FWRITE|FTRUNC)) 437 rc = vnext_open(arg, mode, cr, ct); 217 smb_fem_fcn_create( femarg_t *arg, 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 420 smb_fem_oplock_open( femarg_t *arg, int mode, cred_t *cr, caller_context_t *ct) argument
|
/illumos-gate/usr/src/uts/common/io/sfxge/common/ |
H A D | efx_nvram.c | 737 __in uint32_t mode) 759 MCDI_IN_SET_DWORD(req, NVRAM_READ_IN_V2_MODE, mode); 731 efx_mcdi_nvram_read( __in efx_nic_t *enp, __in uint32_t partn, __in uint32_t offset, __out_bcount(size) caddr_t data, __in size_t size, __in uint32_t mode) argument
|
H A D | efx_phy.c | 141 __in efx_phy_led_mode_t mode) 152 if (epp->ep_phy_led_mode == mode) 158 if (!((1 << mode) & mask)) { 163 EFSYS_ASSERT3U(mode, <, EFX_PHY_LED_NMODES); 164 epp->ep_phy_led_mode = mode; 139 efx_phy_led_set( __in efx_nic_t *enp, __in efx_phy_led_mode_t mode) argument
|
/illumos-gate/usr/src/cmd/format/ |
H A D | menu_fdisk.c | 313 open_cur_file(int mode) argument 318 switch (mode) { 333 err_print("Error: Invalid mode option for opening " 352 * Use of this is restricted to interactive mode only. 363 * We must be in interactive mode to use the fdisk command
|
/illumos-gate/usr/src/common/ficl/ |
H A D | fileaccess.c | 29 char mode[4]; local 35 *mode = 0; 43 strcat(mode, "r"); 46 strcat(mode, writeMode); 49 strcat(mode, writeMode); 50 strcat(mode, "+"); 54 strcat(mode, (fam & FICL_FAM_BINARY) ? "b" : "t"); 56 f = fopen(filename, mode);
|
/illumos-gate/usr/src/boot/include/isofs/cd9660/ |
H A D | cd9660_rrip.h | 46 char mode [ISODCL ( 4, 11)]; /* 733 */ member in struct:__anon11
|
/illumos-gate/usr/src/boot/lib/libz/ |
H A D | gzguts.h | 153 #define GZ_APPEND 1 /* mode set to GZ_WRITE after the file is opened */ 168 int mode; /* see gzip modes above */ member in struct:__anon107
|
/illumos-gate/usr/src/boot/sys/boot/efi/loader/arch/amd64/ |
H A D | framebuffer.c | 97 efifb_from_gop(struct efi_fb *efifb, EFI_GRAPHICS_OUTPUT_PROTOCOL_MODE *mode, argument 102 efifb->fb_addr = mode->FrameBufferBase; 103 efifb->fb_size = mode->FrameBufferSize; 447 print_efifb(int mode, struct efi_fb *efifb, int verbose) argument 451 if (mode >= 0) 452 printf("mode %d: ", mode); 473 u_int mode; local 491 mode = strtol(argv[2], &cp, 0); 493 sprintf(command_errbuf, "mode i [all...] |
/illumos-gate/usr/src/boot/sys/boot/i386/libi386/ |
H A D | linux.c | 197 /* temporary location of real mode part */ 209 /* copy real mode part to place */ 310 /* video mode selection */ 322 long mode; local 330 mode = strtol(value, NULL, 0); 331 if (errno != 0 || mode >> 16 != 0 || mode == 0) { 332 printf("bad value for video mode\n"); 335 vid_mode = (uint16_t) mode;
|
H A D | multiboot.c | 259 * If the console is in mirror mode, set the kernel console from $os_console. 261 * If $console is "ttyX", also pass $ttyX-mode, since it may have been set by 275 char mode[10]; local 289 snprintf(mode, sizeof (mode), "%s-mode", os_console); 290 ttymode = getenv(mode); /* never NULL */ 304 len += 13; /* ",ttyX-mode=\"\"" */ 314 "%s -B console=%s,%s-mode=\"%s\"", 320 /* console is set, do we need tty mode [all...] |
/illumos-gate/usr/src/uts/common/fs/smbclnt/smbfs/ |
H A D | smbfs_client.c | 217 mode_t mode; local 224 * (and the mode, which depends on the type). 228 mode = smi->smi_dmode; 231 mode = smi->smi_fmode; 276 np->n_mode = mode; 469 * Take type, mode, uid, gid from the smbfs node,
|
/illumos-gate/usr/src/uts/common/io/net80211/ |
H A D | net80211_output.c | 77 "Invalid mode %u\n", ic->ic_opmode); 281 * Add extended supported rates element to a frame, usually for 11g mode 429 enum ieee80211_phymode mode; local 449 mode = ieee80211_chan2mode(ic, ic->ic_curchan); 450 frm = ieee80211_add_rates(frm, &ic->ic_sup_rates[mode]); 451 frm = ieee80211_add_xrates(frm, &ic->ic_sup_rates[mode]); 474 * when in station mode). Nodes other than ic_bss have their reference 950 * Finally, if an ACM policy is setup (in station mode) it's
|