Home
last modified time | relevance | path

Searched refs:sysid (Results 1 – 22 of 22) sorted by relevance

/illumos-gate/usr/src/cmd/mdb/common/modules/klmmod/
H A Dklmmod.c677 int sysid; member
708 char *sysid = NULL; in nlm_list_dcmd() local
720 's', MDB_OPT_STR, &sysid, in nlm_list_dcmd()
725 arg->sysid = -1; in nlm_list_dcmd()
728 if (sysid != NULL) { in nlm_list_dcmd()
729 arg->sysid = (int)mdb_strtoull(sysid); in nlm_list_dcmd()
730 if (arg->sysid < 1) { in nlm_list_dcmd()
732 arg->sysid = -1; in nlm_list_dcmd()
737 if (arg->host != NULL || arg->sysid >= 0) in nlm_list_dcmd()
794 if (arg->sysid != -1 && arg->sysid != (nh->nh_sysid & LM_SYSID_MAX)) in nlm_list_host_cb()
[all …]
/illumos-gate/usr/src/uts/common/os/
H A Dshare.c364 cleanshares_by_sysid(struct vnode *vp, int32_t sysid) in cleanshares_by_sysid() argument
366 if (sysid == 0) in cleanshares_by_sysid()
369 do_cleanshares(vp, 0, sysid); in cleanshares_by_sysid()
380 do_cleanshares(struct vnode *vp, pid_t pid, int32_t sysid) in do_cleanshares() argument
390 shr.s_sysid = sysid; in do_cleanshares()
435 shr_has_remote_shares(vnode_t *vp, int32_t sysid) in shr_has_remote_shares() argument
443 if (is_match_for_has_remote(sysid, shrl->shr->s_sysid)) { in shr_has_remote_shares()
566 int sysid; in nbl_share_conflict() local
572 sysid = 0; in nbl_share_conflict()
575 sysid = ct->cc_sysid; in nbl_share_conflict()
[all …]
H A Dflock.c68 #define CHECK_OWNER_LOCKS(gp, pid, sysid, vp) \ argument
70 check_owner_locks(gp, pid, sysid, vp);
82 #define CHECK_OWNER_LOCKS(gp, pid, sysid, vp) argument
2625 flk_has_remote_locks_for_sysid(vnode_t *vp, int sysid) in flk_has_remote_locks_for_sysid() argument
2631 if (sysid == 0) in flk_has_remote_locks_for_sysid()
2645 if (lock->l_flock.l_sysid == sysid) { in flk_has_remote_locks_for_sysid()
2657 if (lock->l_flock.l_sysid == sysid) { in flk_has_remote_locks_for_sysid()
2681 flk_sysid_has_locks(int sysid, int lck_type) in flk_sysid_has_locks() argument
2702 if (lock->l_flock.l_sysid == sysid) in flk_sysid_has_locks()
2711 if (lock->l_flock.l_sysid == sysid) in flk_sysid_has_locks()
[all …]
/illumos-gate/usr/src/cmd/fs.d/hsfs/labelit/
H A Dlabelit.c72 char *sysid; variable
106 sysid = string; in main()
312 copystring(sysid, (char *)HSV_sys_id(hs_buf), 32); in updatelabel()
323 copystring(sysid, (char *)ISO_sys_id(unix_buf), 32); in updatelabel()
339 copystring(sysid, (char *)ISO_sys_id(iso_buf), 32); in updatelabel()
360 sysid = (char *)HSV_sys_id(hs_buf); in prntlabel()
376 sysid = (char *)ISO_sys_id(iso_buf); in prntlabel()
392 sysid = (char *)ISO_sys_id(unix_buf); in prntlabel()
410 prntstring("System id", sysid, 32); in prntlabel()
/illumos-gate/usr/src/uts/common/sys/
H A Dflock.h238 locklist_t *flk_get_sleeping_locks(int sysid, pid_t pid);
239 locklist_t *flk_get_active_locks(int sysid, pid_t pid);
249 int flk_sysid_has_locks(int sysid, int chklck);
267 void cl_flk_remove_locks_by_sysid(int sysid);
H A Dfcntl.h123 #define GETNLMID(sysid) ((int)(((uint_t)(sysid) & NODEIDMASK) >> \ argument
127 #define GETPXFSID(sysid) ((int)(((uint_t)(sysid) & NODEIDMASK) >> \ argument
H A Dflock_impl.h445 long sysid; /* sysid of the process */ member
481 ((lock)->l_flock.l_sysid == (pvertex)->sysid))
/illumos-gate/usr/src/uts/common/klm/
H A Dklmmod.c452 lm_rel_sysid(struct lm_sysid *sysid) in lm_rel_sysid() argument
457 nlm_host_release(g, (struct nlm_host *)sysid); in lm_rel_sysid()
477 lm_free_sysidt(sysid_t sysid) in lm_free_sysidt() argument
479 nlm_sysid_free(sysid); in lm_free_sysidt()
H A Dnlm_client.c146 int error, sysid; in nlm_reclaim_client() local
151 sysid = hostp->nh_sysid | LM_SYSID_CLIENT; in nlm_reclaim_client()
188 llp_head = llp = flk_get_active_locks(sysid, NOPID); in nlm_reclaim_client()
475 int error, sysid; in nlm_client_cancel_all() local
477 sysid = hostp->nh_sysid | LM_SYSID_CLIENT; in nlm_client_cancel_all()
483 llp_head = llp = flk_get_active_locks(sysid, NOPID); in nlm_client_cancel_all()
622 int sysid = 0; in nlm_register_lock_locally() local
641 sysid = hostp->nh_sysid | LM_SYSID_CLIENT; in nlm_register_lock_locally()
647 flk->l_sysid = sysid; in nlm_register_lock_locally()
H A Dnlm_impl.c1079 nlm_vhold_clean(struct nlm_vhold *nvp, int sysid) in nlm_vhold_clean() argument
1081 cleanlocks(nvp->nv_vp, IGN_PID, sysid); in nlm_vhold_clean()
1082 cleanshares_by_sysid(nvp->nv_vp, sysid); in nlm_vhold_clean()
1116 int sysid; in nlm_vhold_busy() local
1124 sysid = hostp->nh_sysid; in nlm_vhold_busy()
1125 if (flk_has_remote_locks_for_sysid(vp, sysid) || in nlm_vhold_busy()
1126 shr_has_remote_shares(vp, sysid)) in nlm_vhold_busy()
1755 nlm_host_find_by_sysid(struct nlm_globals *g, sysid_t sysid) in nlm_host_find_by_sysid() argument
1764 (mod_hash_key_t)(uintptr_t)sysid, in nlm_host_find_by_sysid()
2686 nlm_sysid_free(sysid_t sysid) in nlm_sysid_free() argument
[all …]
H A Dnlm_service.c285 uint16_t sysid; in nlm_do_notify1() local
288 bcopy(&argp->priv, &sysid, sizeof (sysid)); in nlm_do_notify1()
290 DTRACE_PROBE2(nsm__notify, uint16_t, sysid, in nlm_do_notify1()
293 host = nlm_host_find_by_sysid(g, (sysid_t)sysid); in nlm_do_notify1()
/illumos-gate/usr/src/cmd/fs.d/hsfs/fstyp/
H A Dfstyp.c390 char *sysid; in get_attr() local
409 sysid = (char *)HSV_sys_id(h->hs_buf); in get_attr()
426 sysid = (char *)ISO_sys_id(h->iso_buf); in get_attr()
443 sysid = (char *)ISO_sys_id(h->unix_buf); in get_attr()
461 copy_string(s, sysid, 32); in get_attr()
/illumos-gate/usr/src/lib/libbsm/
H A DxmlHandlers.pm211 my ($obj, $base, $sysid, $pubid) = @_;
215 print "external: base $base\nexternal: sysid $sysid\nexternal: pubid $pubid\n";
/illumos-gate/usr/src/cmd/ptools/pfiles/
H A Dpfiles.c371 unsigned long sysid = info->pr_locksysid; in dofcntl() local
376 if (sysid) in dofcntl()
377 (void) printf(" by system 0x%lX", sysid); in dofcntl()
/illumos-gate/usr/src/lib/libfdisk/common/
H A Dlibfdisk.h286 extern int fdisk_get_part_info(ext_part_t *epp, int pnum, uchar_t *sysid,
H A Dlibfdisk.c384 fdisk_get_part_info(ext_part_t *epp, int pnum, uchar_t *sysid, uint32_t *begsec, in fdisk_get_part_info() argument
401 *sysid = LE_8(temp->parts[0].systid); in fdisk_get_part_info()
/illumos-gate/usr/src/lib/smbclnt/libfksmbfs/common/
H A Dfake_fssub.c375 cleanlocks(vnode_t *vp, pid_t pid, int sysid) in cleanlocks() argument
/illumos-gate/usr/src/cmd/fdisk/
H A Dfdisk.c685 static void id_to_name(uchar_t sysid, char *buffer);
4931 id_to_name(uchar_t sysid, char *buffer) argument
4933 (void) strcpy(buffer, fdisk_part_types[sysid]);
5469 int sysid; local
5504 sysid = fpart->systid;
5510 if (sysid == SUNIXOS) {
5519 id_to_name(sysid, namebuff);
5542 pno, startcyl, endcyl, length, percent, sysid, namebuff);
/illumos-gate/usr/src/cmd/pools/poolcfg/
H A Dpoolcfg.y1477 int64_t sysid; in get_cpu() local
1504 sysid = strtoll(name, NULL, 0); in get_cpu()
1510 pool_value_set_int64(vals[1], sysid); in get_cpu()
/illumos-gate/usr/src/cmd/pools/poolstat/
H A Dpoolstat.c937 int64_t sysid = Atoi(poolid->ple_obj, &error); in prt_pool_stats() local
940 pool_value_set_int64(pv_sys_id, sysid); in prt_pool_stats()
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs4_srv.c4091 sysid_t sysid; in rfs4_op_release_lockowner() local
4133 sysid = lo->rl_client->rc_sysidt; in rfs4_op_release_lockowner()
4148 llist = flk_get_active_locks(sysid, lo->rl_pid); in rfs4_op_release_lockowner()
6951 sysid_t sysid; in rfs4_do_open() local
6978 if ((status = rfs4_client_sysid(oo->ro_client, &sysid)) != NFS4_OK) { in rfs4_do_open()
7096 ct.cc_sysid = sysid; in rfs4_do_open()
8940 sysid_t sysid; in rfs4_do_lock() local
8948 if ((status = rfs4_client_sysid(lo->rl_client, &sysid)) != NFS4_OK) in rfs4_do_lock()
8994 flock.l_sysid = sysid; in rfs4_do_lock()
9027 cleanlocks(vp, lsp->rls_locker->rl_pid, sysid); in rfs4_do_lock()
[all …]
/illumos-gate/usr/src/lib/libpool/common/
H A Dpool_internal.c1296 resource_by_sysid(const pool_conf_t *conf, id_t sysid, const char *type) in resource_by_sysid() argument
1325 pool_value_set_int64(props[1], sysid); in resource_by_sysid()