Home
last modified time | relevance | path

Searched refs:in_use (Results 1 – 25 of 37) sorted by relevance

12

/titanic_44/usr/src/cmd/nscd/
H A Dnscd_getentctx.c172 if (ret->aborted == 1 || ret->in_use == 1) in _nscd_is_getent_ctx()
175 ret->in_use = 1; in _nscd_is_getent_ctx()
189 int in_use; in _nscd_is_getent_ctx_in_use() local
196 ctx->in_use, ctx->thr_id, thr_self()); in _nscd_is_getent_ctx_in_use()
198 in_use = ctx->in_use; in _nscd_is_getent_ctx_in_use()
199 if (in_use == 1 && ctx->thr_id == thr_self()) in _nscd_is_getent_ctx_in_use()
200 in_use = 0; in _nscd_is_getent_ctx_in_use()
202 return (in_use); in _nscd_is_getent_ctx_in_use()
221 (me, "in_use = %d, aborted = %d\n", ctx->in_use, ctx->aborted); in _nscd_free_ctx_if_aborted()
223 if (ctx->in_use != 1) { in _nscd_free_ctx_if_aborted()
[all …]
H A Dnscd_switch.h142 int in_use; member
/titanic_44/usr/src/uts/common/syscall/
H A Dsysconfig.c189 vmusage_t in_use; in sysconfig() local
196 if (vm_getusage(VMUSAGE_ZONE, 1, &in_use, &cnt, in sysconfig()
198 in_use.vmu_rss_all = 0; in sysconfig()
199 rss = btop(in_use.vmu_rss_all); in sysconfig()
H A Dacctctl.c102 boolean_t in_use = B_FALSE; in ac_file_in_use() local
119 for (acg = list_head(&exacct_globals_list); !in_use && acg != NULL; in ac_file_in_use()
129 in_use = B_TRUE; in ac_file_in_use()
143 return (in_use); in ac_file_in_use()
/titanic_44/usr/src/lib/libzfs_jni/common/
H A Dlibzfs_jni_diskmgt.c47 const char *name, uint32_t blocksize, int *in_use, int *error);
141 &(dp->in_use), error); in get_disk()
360 uint32_t blocksize, int *in_use, int *error) in get_disk_usable_slices() argument
367 *in_use = 0; in get_disk_usable_slices()
397 *in_use = 1; in get_disk_usable_slices()
642 int in_use; in slice_in_use() local
645 in_use = dm_inuse(slice->name, &msg, DM_WHO_ZPOOL_FORCE, error); in slice_in_use()
651 if (in_use) { in slice_in_use()
662 return (in_use); in slice_in_use()
708 if (!dp->in_use || in dmgt_avail_disk_iter()
H A Dlibzfs_jni_disk.c59 jboolean in_use = dp->in_use ? JNI_TRUE : JNI_FALSE; in create_DiskDeviceBean() local
72 in_use); in create_DiskDeviceBean()
H A Dlibzfs_jni_diskmgt.h55 int in_use; member
/titanic_44/usr/src/uts/common/avs/ns/solaris/
H A Dnsc_raw.c73 char in_use; /* flag */ member
336 } else if (the_cd == -1 && !cdi->in_use) in _raw_open()
352 if (cdi->in_use) { in _raw_open()
403 cdi->in_use++; in _raw_open()
455 if ((cd = __raw_get_cd(fd)) == -1 || !_nsc_raw_files[cd].in_use) { in _raw_close()
516 if ((cd = __raw_get_cd(fd)) == -1 || !_nsc_raw_files[cd].in_use) in _raw_partsize()
584 if ((cd = __raw_get_cd(dev)) == -1 || !_nsc_raw_files[cd].in_use) in _raw_get_bsize()
711 if ((cd = __raw_get_cd(fd)) == -1 || !_nsc_raw_files[cd].in_use) in _raw_init_dev()
745 if ((cd = __raw_get_cd(fd)) == -1 || !_nsc_raw_files[cd].in_use) in _raw_attach_io()
772 if (cd == -1 || !_nsc_raw_files[cd].in_use) in nskern_bsize()
[all …]
/titanic_44/usr/src/cmd/fs.d/autofs/
H A Dautod_readdir.c107 assert(rdcp->in_use); in do_readdir()
209 rdcp->in_use--; in do_readdir()
212 assert(rdcp->in_use >= 0); in do_readdir()
380 p->in_use = 1; in autofs_rddir_cache_enter()
411 p->in_use++; in autofs_rddir_cache_lookup()
456 assert(!p->in_use); in autofs_rddir_cache_entry_free()
485 if (p->in_use) in autofs_rddir_cache_delete()
599 if (p->in_use > 0) { in cache_cleanup()
635 assert(!p->in_use); in cache_cleanup()
H A Dautod_lookup.c94 rdcp->in_use--; in do_lookup1()
95 assert(rdcp->in_use >= 0); in do_lookup1()
H A Dautomount.h214 int in_use; /* # threads referencing it */ member
/titanic_44/usr/src/uts/common/rpc/sec_gss/
H A Drpcsec_gss.c116 bool_t in_use; member
198 now) || p->in_use) { in gssauth_zone_fini()
200 now) && p->in_use) { in gssauth_zone_fini()
212 ASSERT(!p->in_use); in gssauth_zone_fini()
302 !current->in_use) { in rpc_gss_secget()
303 current->in_use = TRUE; in rpc_gss_secget()
353 new->in_use = TRUE; in rpc_gss_secget()
403 ASSERT(cur->in_use == TRUE); in rpc_gss_secfree()
404 cur->in_use = FALSE; in rpc_gss_secfree()
1461 if (cur->in_use) { in rpc_gss_revauth()
[all …]
/titanic_44/usr/src/uts/common/io/vscan/
H A Dvscan_drv.c375 boolean_t in_use = B_FALSE; in vscan_drv_in_use() local
380 in_use = B_TRUE; in vscan_drv_in_use()
384 if (in_use) in vscan_drv_in_use()
H A Dvscan_svc.c409 boolean_t in_use; in vscan_svc_in_use() local
416 in_use = B_FALSE; in vscan_svc_in_use()
419 in_use = B_TRUE; in vscan_svc_in_use()
424 return (in_use); in vscan_svc_in_use()
/titanic_44/usr/src/uts/intel/io/drm/
H A Di915_mem.c56 void mark_block(drm_device_t * dev, struct mem_block *p, int in_use) in mark_block() argument
80 list[i].in_use = (unsigned char)in_use; in mark_block()
/titanic_44/usr/src/uts/common/nfs/
H A Dnfs4_drc.h42 uint32_t in_use; member
/titanic_44/usr/src/uts/common/io/xge/hal/xgehal/
H A Dxgehal-device-fp.c998 lro_new->in_use = 1; in __hal_open_lro_session()
1029 if (!lro_temp->in_use) in __hal_lro_get_free_slot()
1066 if (ring_lro->lro_recent && ring_lro->lro_recent->in_use) { in __hal_get_lro_session()
1081 if (!lro_temp->in_use) { in __hal_get_lro_session()
1400 lro->in_use = 0; in xge_hal_lro_close_session()
1419 if (!lro->in_use) in xge_hal_lro_next_session()
/titanic_44/usr/src/uts/sun4v/sys/
H A Dvldc_impl.h90 uint_t in_use; /* in use counter */ member
/titanic_44/usr/src/uts/common/fs/nfs/
H A Dnfs4_dispatch.c74 drc->in_use = 0; in rfs4_init_drc()
176 if (drc->in_use < drc->max_size) { in rfs4_alloc_dr()
182 drc->in_use++; in rfs4_alloc_dr()
H A Dnfs4_db.c524 uint32_t in_use; in rfs4_dbe_tabreap_adjust() local
534 in_use = table->dbt_count + 1; /* see rfs4_dbe_create */ in rfs4_dbe_tabreap_adjust()
535 if (in_use >= table->dbt_id_hwat) { in rfs4_dbe_tabreap_adjust()
538 } else if (in_use >= table->dbt_id_lwat) { in rfs4_dbe_tabreap_adjust()
/titanic_44/usr/src/uts/sun4u/io/
H A Drmc_comm_dp.c104 dbuf[i].in_use = 0; in dp_init_buffers()
118 dbuf[type].in_use) { in dp_get_buffer()
122 type, dbuf[type].in_use)); in dp_get_buffer()
129 dbuf[type].in_use = 1; in dp_get_buffer()
147 type, dbuf[type].in_use)); in dp_release_buffer()
152 dbuf[type].in_use = 0; in dp_release_buffer()
/titanic_44/usr/src/uts/sun4u/sys/
H A Drmc_comm_dp.h61 boolean_t in_use; member
/titanic_44/usr/src/uts/sun4v/io/
H A Dvldc.c665 vldcp->minor_tbl[minor_idx].in_use = 0; in i_vldc_add_port()
731 while (vminor->in_use > 0) { in i_vldc_remove_port()
1452 vminor->in_use += 1; in vldc_ioctl()
1491 vminor->in_use -= 1; in vldc_ioctl()
1492 if (vminor->in_use == 0) { in vldc_ioctl()
/titanic_44/usr/src/uts/common/inet/ipf/
H A Dip_nat.c929 n->in_use = 0;
1163 if (n->in_use == 0) {
1656 in->in_use = 1;
2005 ipn->in_use--;
2006 if (ipn->in_use == 0 && (ipn->in_flags & IPN_DELETE)) {
2056 if (n->in_use == 0) {
2733 np->in_use++;
3983 ATOMIC_INC32(np->in_use);
3988 np->in_use--;
4309 ATOMIC_INC32(np->in_use);
[all …]
/titanic_44/usr/src/cmd/availdevs/
H A Davaildevs.c77 (dp->in_use ? VAL_ATTR_TRUE : VAL_ATTR_FALSE)); in add_disk_to_xml()

12