/illumos-gate/usr/src/uts/common/sys/ |
H A D | fcntl.h | 109 /* clustering: lock id contains both per-node sysid and node id */ 114 #define GETNLMID(sysid) ((int)(((uint_t)(sysid) & NODEIDMASK) >> \ 118 #define GETPXFSID(sysid) ((int)(((uint_t)(sysid) & NODEIDMASK) >> \
|
H A D | flock.h | 80 * cleanlocks() should flush all locks for the given sysid, not just the 238 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); 266 void cl_flk_remove_locks_by_sysid(int sysid);
|
H A D | flock_impl.h | 445 long sysid; /* sysid of the process */ member in struct:proc_vertex 481 ((lock)->l_flock.l_sysid == (pvertex)->sysid))
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | share.c | 234 * nlmid sysid pid 301 * Delete the shares with the matching sysid and owner 302 * But if own_len == 0 and sysid == 0 delete all with matching pid 303 * But if own_len == 0 delete all with matching sysid. 320 /* XXX deref sysid */ 349 * were made by the given sysid on given vnode. 352 cleanshares_by_sysid(struct vnode *vp, int32_t sysid) argument 354 if (sysid == 0) 357 do_cleanshares(vp, 0, sysid); 362 * by the either given pid or sysid 368 do_cleanshares(struct vnode *vp, pid_t pid, int32_t sysid) argument 423 shr_has_remote_shares(vnode_t *vp, int32_t sysid) argument 554 int sysid; local [all...] |
H A D | flock.c | 68 #define CHECK_OWNER_LOCKS(gp, pid, sysid, vp) \ 70 check_owner_locks(gp, pid, sysid, vp); 82 #define CHECK_OWNER_LOCKS(gp, pid, sysid, vp) 129 * but you're using UFS not PXFS? The upper two bytes of the sysid 2517 /* get NLM id from sysid */ 2536 /* get NLM id from sysid */ 2558 * sysid. Returns zero if not, non-zero if there are. 2610 * sysid matching given sysid. 2614 flk_has_remote_locks_for_sysid(vnode_t *vp, int sysid) argument 2670 flk_sysid_has_locks(int sysid, int lck_type) argument 2722 cl_flk_remove_locks_by_sysid(int sysid) argument 2778 int sysid = request->l_flock.l_sysid; local 2922 cleanlocks(vnode_t *vp, pid_t pid, int sysid) argument 3660 get_lock_list(int list_type, int lock_state, int sysid, boolean_t use_sysid, pid_t pid, const vnode_t *vp, zoneid_t zoneid) argument 3749 flk_get_sleeping_locks(int sysid, pid_t pid) argument 3756 flk_get_active_locks(int sysid, pid_t pid) argument 4296 int sysid; local 4538 check_owner_locks(graph_t *gp, pid_t pid, int sysid, vnode_t *vp) argument [all...] |
/illumos-gate/usr/src/cmd/fs.d/hsfs/labelit/ |
H A D | labelit.c | 30 * sysid system identifier (a characters, 32 max) 72 char *sysid; variable 105 if (match("sysid=")) { 106 sysid = string; 312 copystring(sysid, (char *)HSV_sys_id(hs_buf), 32); 323 copystring(sysid, (char *)ISO_sys_id(unix_buf), 32); 338 copystring(sysid, (char *)ISO_sys_id(iso_buf), 32); 359 sysid = (char *)HSV_sys_id(hs_buf); 375 sysid = (char *)ISO_sys_id(iso_buf); 391 sysid [all...] |
/illumos-gate/usr/src/uts/common/klm/ |
H A D | klmmod.c | 58 * Call-back hook for clusters: Delete all locks held by sysid. 381 * Add the nlm_id bits to the sysid (by ref). 418 * Find or create a "sysid" for given knc+addr. 448 * Release a reference on a "sysid". 451 lm_rel_sysid(struct lm_sysid *sysid) argument 456 nlm_host_release(g, (struct nlm_host *)sysid); 467 * sysid. 476 lm_free_sysidt(sysid_t sysid) argument 478 nlm_sysid_free(sysid); 481 /* Access private member lms->sysid */ [all...] |
H A D | nlm_impl.c | 98 * Total number of sysids in NLM sysid bitmap 104 * for allocation of sysid numbers. 291 * Reserv the sysid #0, because it's associated 1068 * given sysid 1071 nlm_vhold_clean(struct nlm_vhold *nvp, int sysid) argument 1073 cleanlocks(nvp->nv_vp, IGN_PID, sysid); 1074 cleanshares_by_sysid(nvp->nv_vp, sysid); 1108 int sysid; local 1116 sysid = hostp->nh_sysid; 1117 if (flk_has_remote_locks_for_sysid(vp, sysid) || 1747 nlm_host_find_by_sysid(struct nlm_globals *g, sysid_t sysid) argument 2653 nlm_sysid_free(sysid_t sysid) argument [all...] |
H A D | nlm_client.c | 146 int error, sysid; local 151 sysid = hostp->nh_sysid | LM_SYSID_CLIENT; 188 llp_head = llp = flk_get_active_locks(sysid, NOPID); 475 int error, sysid; local 477 sysid = hostp->nh_sysid | LM_SYSID_CLIENT; 483 llp_head = llp = flk_get_active_locks(sysid, NOPID); 622 int sysid = 0; local 641 sysid = hostp->nh_sysid | LM_SYSID_CLIENT; 647 flk->l_sysid = sysid; 708 * our NLM server, we use a different sysid valu [all...] |
H A D | nlm_service.c | 274 * In nlm_host_monitor(), we put the sysid in the private data 284 uint16_t sysid; local 287 bcopy(&argp->priv, &sysid, sizeof (sysid)); 289 DTRACE_PROBE2(nsm__notify, uint16_t, sysid, 292 host = nlm_host_find_by_sysid(g, (sysid_t)sysid); 958 * Over in nlm_call_lock(), the client encoded the sysid for this
|
/illumos-gate/usr/src/cmd/fs.d/hsfs/fstyp/ |
H A D | fstyp.c | 390 char *sysid; local 409 sysid = (char *)HSV_sys_id(h->hs_buf); 426 sysid = (char *)ISO_sys_id(h->iso_buf); 443 sysid = (char *)ISO_sys_id(h->unix_buf); 461 copy_string(s, sysid, 32);
|
/illumos-gate/usr/src/lib/libfdisk/common/ |
H A D | libfdisk.h | 286 extern int fdisk_get_part_info(ext_part_t *epp, int pnum, uchar_t *sysid,
|
H A D | libfdisk.c | 383 fdisk_get_part_info(ext_part_t *epp, int pnum, uchar_t *sysid, uint32_t *begsec, argument 400 *sysid = LE_8(temp->parts[0].systid);
|
/illumos-gate/usr/src/lib/libbsm/ |
H A D | xmlHandlers.pm | 211 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 D | pfiles.c | 397 unsigned long sysid = flock.l_sysid; local 402 if (sysid) 403 (void) printf(" system 0x%lX", sysid);
|
/illumos-gate/usr/src/cmd/pools/poolcfg/ |
H A D | poolcfg.y | 1479 int64_t sysid; 1506 sysid = strtoll(name, NULL, 0); 1512 pool_value_set_int64(vals[1], sysid);
|
/illumos-gate/usr/src/cmd/avs/sdbc/ |
H A D | scmadm.c | 1494 int sysid; local 1516 if (nsc_getsystemid(&sysid) < 0) { 1522 myid = sysid; 1602 /* Check if our sysid was defined */
|
/illumos-gate/usr/src/cmd/fdisk/ |
H A D | fdisk.c | 692 static void id_to_name(uchar_t sysid, char *buffer); 4921 id_to_name(uchar_t sysid, char *buffer) argument 4923 (void) strcpy(buffer, fdisk_part_types[sysid]); 5459 int sysid; local 5494 sysid = fpart->systid; 5500 if (sysid == SUNIXOS) { 5509 id_to_name(sysid, namebuff); 5532 pno, startcyl, endcyl, length, percent, sysid, namebuff);
|
/illumos-gate/usr/src/cmd/pools/poolstat/ |
H A D | poolstat.c | 935 int64_t sysid = Atoi(poolid->ple_obj, &error); local 938 pool_value_set_int64(pv_sys_id, sysid);
|
/illumos-gate/usr/src/lib/libpool/common/ |
H A D | pool_internal.c | 1293 * resource_by_sysid() finds a resource from it's supplied sysid and type. 1298 resource_by_sysid(const pool_conf_t *conf, id_t sysid, const char *type) argument 1327 pool_value_set_int64(props[1], sysid);
|
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs4_srv.c | 152 static sysid_t lockt_sysid; /* dummy sysid for all LOCKT calls */ 3899 sysid_t sysid; local 3932 * If no sysid has been assigned, then no locks exist; just return. 3941 sysid = lo->rl_client->rc_sysidt; 3950 * sysid-pid pair should now not be used since the lockowner is 3956 llist = flk_get_active_locks(sysid, lo->rl_pid); 6705 sysid_t sysid; local 6731 /* try to get the sysid before continuing */ 6732 if ((status = rfs4_client_sysid(oo->ro_client, &sysid)) != NFS4_OK) { 6850 ct.cc_sysid = sysid; 8650 sysid_t sysid; local 9355 sysid_t sysid; local [all...] |