/illumos-gate/usr/src/uts/common/fs/udfs/ |
H A D | udf_alloc.c | 1280 int32_t flag, struct cred *cr) 1322 i = (flag & (FNDELAY|FNONBLOCK)) ? 0 : SLPFLCK; 1278 ud_freesp(struct vnode *vp, struct flock64 *lp, int32_t flag, struct cred *cr) argument
|
/illumos-gate/usr/src/uts/common/avs/ns/nsctl/ |
H A D | nsc_dev.c | 194 int rc, id, flag; local 198 flag = (type & ~NSC_TYPES); 204 if (!(io = _nsc_alloc_io(id, name, flag))) 274 * nsc_unregister_io (nsc_io_t *io, int flag) 289 nsc_unregister_io(nsc_io_t *io, int flag) argument 315 if ((rc = nsc_unregister_path(sp, flag)) != 0) { 327 while ((rc = _nsc_reopen_io(NULL, flag)) != 0) 410 * nsc_unregister_path (nsc_path_t *sp, int flag) 425 nsc_unregister_path(sp, flag) 427 int flag; 727 int flag, rc; local [all...] |
/illumos-gate/usr/src/uts/common/avs/ns/sdbc/ |
H A D | sd_bio.c | 87 static void _sd_setup_iob(struct buf *bp, dev_t dev, nsc_off_t pos, int flag); 369 _sd_setup_iob(struct buf *bp, dev_t dev, nsc_off_t pos, int flag) argument 374 flag &= (B_READ | B_WRITE); 384 bp->b_flags |= B_KERNBUF | B_BUSY | flag; 540 * flag - signal whether this is a read or write request. 547 sd_alloc_iob(dev_t dev, nsc_off_t fba_pos, int blks, int flag) argument 555 _sd_setup_iob(bp, dev, fba_pos, flag);
|
H A D | sd_ft.c | 65 * flag to inhibit reset of remote SCSI buses and sending of 931 int rc, cd, flag = 0; local 971 if (_sd_open_cd(cd_gl->sv_volname, cd, flag) < 0) { 1102 int flag) 1127 SDTRACE(ST_ENTER|SDF_UNCOMMIT, cd, fba_len, fba_pos, flag, 0); 1170 SDTRACE(ST_EXIT|SDF_UNCOMMIT, cd, fba_len, fba_pos, flag, 0); 1101 _sd_uncommit(_sd_buf_handle_t *handle, nsc_off_t fba_pos, nsc_size_t fba_len, int flag) argument
|
H A D | sd_misc.c | 92 static int sdbcopen(dev_t *devp, int flag, int otyp, cred_t *crp); 93 static int sdbcclose(dev_t dev, int flag, int otyp, cred_t *crp); 607 sdbcopen(dev_t *devp, int flag, int otyp, cred_t *crp) argument 635 sdbcclose(dev_t dev, int flag, int otyp, cred_t *crp) argument 675 args->arg4 = args32.arg4; /* flag */ 684 args->arg4 = args32.arg4; /* flag */ 736 args->arg2 = args32.arg2; /* flag */ 747 args->arg1 = args32.arg1; /* flag */ 786 /* toggle flusher flag for testing */ 1166 /* toggle flusher flag fo [all...] |
/illumos-gate/usr/src/uts/common/avs/ns/solaris/ |
H A D | nsc_raw.c | 73 char in_use; /* flag */ 285 _raw_open(char *path, int flag, blind_t *cdp, void *iodev) argument 531 _raw_maxfbas(dev_t dev, int flag, nsc_size_t *ptr) argument 534 if (flag == NSC_CACHEBLK) 763 int flag; local 783 flag = FREAD | FWRITE | ddi_mmap_get_model(); 788 DKIOCINFO, (intptr_t)bsize->dki_info, flag, cred, rvp); 796 DKIOCGVTOC, (intptr_t)bsize->vtoc, flag, cred, rvp); 805 DKIOCPARTITION, (intptr_t)bsize->p64, flag, cred, rvp);
|
/illumos-gate/usr/src/uts/common/c2/ |
H A D | audit_io.c | 104 au_close(au_kcontext_t *kctx, caddr_t *d, int flag, au_event_t e_type, argument 123 if ((flag & AU_DONTBLOCK) || ((flag & AU_DEFER) && 125 au_close_defer(dchain, flag, e_type, e_mod, e_time); 128 au_close_time(kctx, dchain, flag, e_type, e_mod, e_time); 137 au_close_defer(token_t *dchain, int flag, au_event_t e_type, au_emod_t e_mod, argument 146 if ((flag & AU_OK) == 0) { 162 attr->audi_flag = flag; 173 if (flag & AU_DONTBLOCK) { 231 au_close_time(au_kcontext_t *kctx, token_t *dchain, int flag, au_event_ argument [all...] |
/illumos-gate/usr/src/uts/common/io/audio/drv/audio810/ |
H A D | audio810.c | 399 * int flag Open flags 408 audio810_open(void *arg, int flag, unsigned *nframes, caddr_t *bufp) argument 412 _NOTE(ARGUNUSED(flag));
|
/illumos-gate/usr/src/uts/common/io/audio/drv/audiocmi/ |
H A D | audiocmi.c | 93 cmpci_open(void *arg, int flag, uint_t *nframesp, caddr_t *bufp) argument 98 _NOTE(ARGUNUSED(flag));
|
/illumos-gate/usr/src/uts/common/io/audio/drv/audiocmihd/ |
H A D | audiocmihd.c | 329 /* remove the powerdown flag */ 521 cmediahd_open(void *arg, int flag, unsigned *nframesp, caddr_t *bufp) argument 525 _NOTE(ARGUNUSED(flag));
|
/illumos-gate/usr/src/uts/common/io/audio/drv/audiots/ |
H A D | audiots.c | 631 /* clear PME# flag */ 1007 * the broken busy flag. Resetting the busy flag requires a software tweak 1213 * int flag Open flags 1222 audiots_open(void *arg, int flag, unsigned *nframesp, caddr_t *bufp) argument 1226 _NOTE(ARGUNUSED(flag));
|
/illumos-gate/usr/src/uts/common/io/drm/ |
H A D | drm_sunmod.c | 275 drm_sun_open(dev_t *devp, int flag, int otyp, cred_t *credp) argument 375 err = drm_open(dp, newp, flag, otyp, credp); 393 drm_sun_close(dev_t dev, int flag, int otyp, cred_t *credp) argument 415 ret = drm_close(dp, minor, flag, otyp, credp);
|
/illumos-gate/usr/src/lib/storage/libg_fc/common/ |
H A D | genf.c | 610 g_object_open(char *path, int flag) argument 615 if (flag & O_WRONLY) { 617 } else if (flag & O_RDWR) { 622 if (flag & O_NDELAY) { 625 if (flag & O_APPEND) { 628 if (flag & O_DSYNC) { 631 if (flag & O_RSYNC) { 634 if (flag & O_SYNC) { 637 if (flag & O_NOCTTY) { 640 if (flag [all...] |
/illumos-gate/usr/src/stand/lib/fs/ufs/ |
H A D | ufsops.c | 73 static void boot_ufs_closeall(int flag); 823 boot_ufs_closeall(int flag) argument
|
/illumos-gate/usr/src/stand/lib/inet/ |
H A D | dhcpv4.c | 217 remove_list(PKT_LIST *pl, int flag) argument 235 if (flag) {
|
/illumos-gate/usr/src/uts/common/io/chxge/com/ |
H A D | pm3393.c | 570 int flag) 863 * Set successful reset flag if everything worked else try again 569 pm3393_update_statistics(struct cmac *mac, int flag) argument
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | aio_subr.c | 283 * when the AIO_CLEANUP flag is enabled for this 390 * No need to set this flag for pollq, portq, lio requests. 692 aio_cleanup(int flag) argument 705 if (flag == AIO_CLEANUP_EXIT) 732 if (flag) { 763 if (flag && (cleanupport || portq))
|
H A D | ddifm.c | 89 * drivers to flag any errors seen during subsequent IO transactions. 101 * DDI_FM_FATAL is returned, the ena is valid and the expectation flag 1013 int flag) 1021 i_hdlp->ahi_err->err_expected = flag; 1027 int flag) 1034 hdlp->dmai_error.err_expected = flag; 1012 i_ddi_fm_acc_err_set(ddi_acc_handle_t handle, uint64_t ena, int status, int flag) argument 1026 i_ddi_fm_dma_err_set(ddi_dma_handle_t handle, uint64_t ena, int status, int flag) argument
|
H A D | driver.c | 281 dev_open(dev_t *devp, int flag, int type, struct cred *cred) argument 286 return ((*cb->cb_open)(devp, flag, type, cred)); 290 dev_close(dev_t dev, int flag, int type, struct cred *cred) argument 295 return ((*cb->cb_close)(dev, flag, type, cred)); 308 dev_lopen(dev_t *devp, int flag, int otype, struct cred *cred) argument 315 error = VOP_OPEN(&vp, flag | FKLYR, cred, NULL); 341 dev_lclose(dev_t dev, int flag, int otype, struct cred *cred) argument 350 error = VOP_CLOSE(vp, flag | FKLYR, 1, (offset_t)0, cred, NULL);
|
H A D | ipc.c | 913 ipc_keylookup(ipc_service_t *service, key_t key, int flag, kipc_perm_t **permp) argument 925 if ((flag & (IPC_CREAT | IPC_EXCL)) == (IPC_CREAT | IPC_EXCL)) 927 if ((flag & 0777) & ~perm->ipc_mode) { 934 } else if (flag & IPC_CREAT) { 990 ipc_get(ipc_service_t *service, key_t key, int flag, kipc_perm_t **permp, argument 1001 error = ipc_keylookup(service, key, flag, &perm); 1033 perm->ipc_mode = flag & 0777; 1055 ipc_commit_begin(ipc_service_t *service, key_t key, int flag, argument 1079 (((error = ipc_keylookup(service, key, flag, &perm)) != 0) ||
|
H A D | modconf.c | 270 static void mod_dprintf(int flag, const char *format, ...) __KPRINTFLIKE(2); 273 mod_dprintf(int flag, const char *format, ...) argument 277 if ((moddebug & flag) != 0) { 551 uint_t flag; local 572 /* Verify MP safety flag */ 621 flag = CBFLAG(major); 622 if ((err = devflg_to_qflag(str, flag, &qflag, &sqtype)) != 0) 654 /* Don't auto unload modules on if moddebug flag is set */ 779 * clear the old call method flag, and get the new one from the module. 1012 * set the VSW_STATS flag i [all...] |
/illumos-gate/usr/src/uts/common/tnf/ |
H A D | tnf.c | 153 D_NEW | D_MP /* Driver compatibility flag */ 312 tnf_open(dev_t *devp, int flag, int otyp, struct cred *cred) argument 334 tnf_close(dev_t dev, int flag, int otyp, struct cred *cred) argument 656 * pidlock, and check the busy flag in all
|
/illumos-gate/usr/src/uts/common/xen/io/ |
H A D | blk_common.c | 152 static int blk_kstat_update(kstat_t *ksp, int flag); 318 blk_kstat_update(kstat_t *ksp, int flag) argument 325 if (flag != KSTAT_READ) {
|
H A D | xencons.c | 415 xenconsopen(queue_t *rq, dev_t *dev, int flag, int sflag, cred_t *cr) argument 472 xenconsclose(queue_t *q, int flag, cred_t *credp) argument 1422 * It does not handle HW, and just change the SW output flow control flag. 1424 * FLOW_START means to clear SW output flow control flag, 1426 * FLOW_STOP means to set SW output flow control flag, 1463 * and clear SW input flow control flag. 1465 * and set SW input flow control flag.
|
H A D | xpvd.c | 840 xpvd_bus_unconfig(dev_info_t *parent, uint_t flag, ddi_bus_config_op_t op, argument 843 return (ndi_busop_bus_unconfig(parent, flag, op, device_name)); 908 xpvd_bus_config(dev_info_t *parent, uint_t flag, ddi_bus_config_op_t op, argument 936 return (ndi_busop_bus_config(parent, flag, 953 return (ndi_busop_bus_config(parent, flag, op, 963 return (ndi_busop_bus_config(parent, flag, op,
|