Searched defs:hostp (Results 1 - 14 of 14) sorted by relevance

/illumos-gate/usr/src/uts/common/klm/
H A Dnlm_rpc_handle.c71 get_nlm_rpc_fromcache(struct nlm_host *hostp, int vers) argument
76 ASSERT(MUTEX_HELD(&hostp->nh_lock));
77 if (TAILQ_EMPTY(&hostp->nh_rpchc))
80 TAILQ_FOREACH(rpcp, &hostp->nh_rpchc, nr_link) {
90 TAILQ_REMOVE(&hostp->nh_rpchc, rpcp, nr_link);
99 update_host_rpcbinding(struct nlm_host *hostp, int vers) argument
103 ASSERT(MUTEX_HELD(&hostp->nh_lock));
110 hostp->nh_rpcb_state = NRPCB_UPDATE_INPROGRESS;
111 hostp->nh_rpcb_ustat = RPC_SUCCESS;
112 mutex_exit(&hostp
131 refresh_nlm_rpc(struct nlm_host *hostp, nlm_rpc_t *rpcp) argument
192 nlm_host_get_rpc(struct nlm_host *hostp, int vers, nlm_rpc_t **rpcpp) argument
277 nlm_host_rele_rpc(struct nlm_host *hostp, nlm_rpc_t *rpcp) argument
285 nlm_host_rele_rpc_locked(struct nlm_host *hostp, nlm_rpc_t *rpcp) argument
301 nlm_host_invalidate_binding(struct nlm_host *hostp) argument
317 nlm_rpc_cache_destroy(struct nlm_host *hostp) argument
[all...]
H A Dklmmod.c431 struct nlm_host *hostp; local
440 hostp = nlm_host_findcreate(g, name, netid, addr);
441 if (hostp == NULL)
444 return ((struct lm_sysid *)hostp);
H A Dnlm_service.c81 struct nlm_host *hostp; member in struct:nlm_block_cb_data
230 nlm_fh_to_vhold(struct nlm_host *hostp, struct netobj *fh) argument
240 nvp = nlm_vhold_get(hostp, vp);
713 cb_data.hostp = host;
757 (void) nlm_slreq_unregister(cb_data->hostp,
1024 struct nlm_host *hostp; local
1037 for (hostp = avl_first(&g->nlm_hosts_tree); hostp != NULL;
1038 hostp = AVL_NEXT(&g->nlm_hosts_tree, hostp)) {
[all...]
H A Dnlm_client.c137 * on the given server represented by hostp.
143 nlm_reclaim_client(struct nlm_globals *g, struct nlm_host *hostp) argument
151 sysid = hostp->nh_sysid | LM_SYSID_CLIENT;
155 state = nlm_host_get_state(hostp);
158 struct nlm_host *, hostp, int, state);
183 nlm_host_cancel_slocks(g, hostp);
190 error = nlm_reclaim_lock(hostp, llp->ll_vp,
220 nsp_head = nsp = nlm_get_active_shres(hostp);
222 error = nlm_reclaim_share(hostp, nsp->ns_vp,
232 nlm_shres_untrack(hostp, ns
266 struct nlm_host *hostp; local
317 nlm_frlock_getlk(struct nlm_host *hostp, vnode_t *vp, struct flock64 *flkp, int flags, u_offset_t offset, struct netobj *fhp, int vers) argument
369 nlm_frlock_setlk(struct nlm_host *hostp, vnode_t *vp, struct flock64 *flkp, int flags, u_offset_t offset, struct netobj *fhp, struct flk_callback *flcb, int vers, bool_t do_block) argument
469 nlm_client_cancel_all(struct nlm_globals *g, struct nlm_host *hostp) argument
618 nlm_register_lock_locally(struct vnode *vp, struct nlm_host *hostp, struct flock64 *flk, int flags, u_offset_t offset) argument
661 nlm_reclaim_lock(struct nlm_host *hostp, vnode_t *vp, struct flock64 *flp, int32_t orig_state) argument
748 nlm_call_lock(vnode_t *vp, struct flock64 *flp, struct nlm_host *hostp, struct netobj *fhp, struct flk_callback *flcb, int vers, int xflags) argument
949 nlm_call_cancel(struct nlm4_lockargs *largs, struct nlm_host *hostp, int vers) argument
1036 nlm_call_unlock(struct flock64 *flp, struct nlm_host *hostp, struct netobj *fhp, int vers) argument
1106 nlm_call_test(struct flock64 *flp, struct nlm_host *hostp, struct netobj *fhp, int vers) argument
1285 nlm_reclaim_share(struct nlm_host *hostp, vnode_t *vp, struct shrlock *shr, uint32_t orig_state) argument
[all...]
H A Dnlm_impl.c347 struct nlm_host *hostp; local
373 for (hostp = avl_first(&g->nlm_hosts_tree); hostp != NULL;
374 hostp = AVL_NEXT(&g->nlm_hosts_tree, hostp)) {
377 mutex_enter(&hostp->nh_lock);
379 nvp = TAILQ_FIRST(&hostp->nh_vholds_list);
398 nlm_vhold_destroy(hostp, nvp);
404 mutex_exit(&hostp->nh_lock);
411 while ((hostp
502 nlm_reclaimer(struct nlm_host *hostp) argument
603 struct nlm_host *hostp; local
665 struct nlm_host *hostp, *h_next; local
995 nlm_vhold_get(struct nlm_host *hostp, vnode_t *vp) argument
1040 nlm_vhold_release(struct nlm_host *hostp, struct nlm_vhold *nvp) argument
1078 nlm_vhold_destroy(struct nlm_host *hostp, struct nlm_vhold *nvp) argument
1105 nlm_vhold_busy(struct nlm_host *hostp, struct nlm_vhold *nvp) argument
1146 nlm_vhold_find_locked(struct nlm_host *hostp, const vnode_t *vp) argument
1179 struct nlm_host *hostp = (struct nlm_host *)datap; local
1189 struct nlm_host *hostp = (struct nlm_host *)datap; local
1194 nlm_host_unregister(struct nlm_globals *g, struct nlm_host *hostp) argument
1212 nlm_host_destroy(struct nlm_host *hostp) argument
1253 nlm_host_notify_server(struct nlm_host *hostp, int32_t state) argument
1309 nlm_host_notify_client(struct nlm_host *hostp, int32_t state) argument
1342 nlm_host_wait_grace(struct nlm_host *hostp) argument
1411 nlm_host_cancel_slocks(struct nlm_globals *g, struct nlm_host *hostp) argument
1435 nlm_host_gc_vholds(struct nlm_host *hostp) argument
1461 nlm_host_has_srv_locks(struct nlm_host *hostp) argument
1486 nlm_host_has_cli_locks(struct nlm_host *hostp) argument
1528 nlm_host_has_locks(struct nlm_host *hostp) argument
1613 struct nlm_host *hostp, key; local
1650 struct nlm_host *hostp = NULL; local
1749 struct nlm_host *hostp = NULL; local
1792 nlm_host_release_locked(struct nlm_globals *g, struct nlm_host *hostp) argument
1818 nlm_host_release(struct nlm_globals *g, struct nlm_host *hostp) argument
1915 nlm_host_get_state(struct nlm_host *hostp) argument
2047 nlm_slock_grant(struct nlm_globals *g, struct nlm_host *hostp, struct nlm4_lock *alock) argument
2084 nlm_slreq_register(struct nlm_host *hostp, struct nlm_vhold *nvp, struct flock64 *flp) argument
2125 nlm_slreq_unregister(struct nlm_host *hostp, struct nlm_vhold *nvp, struct flock64 *flp) argument
2148 nlm_slreq_find_locked(struct nlm_host *hostp, struct nlm_vhold *nvp, struct flock64 *flp) argument
2182 nlm_shres_track(struct nlm_host *hostp, vnode_t *vp, struct shrlock *shrp) argument
2218 nlm_shres_untrack(struct nlm_host *hostp, vnode_t *vp, struct shrlock *shrp) argument
2253 nlm_get_active_shres(struct nlm_host *hostp) argument
2458 struct nlm_host *hostp; local
2528 struct nlm_host *hostp; local
2568 struct nlm_host *hostp; local
[all...]
/illumos-gate/usr/src/cmd/fs.d/nfs/nfslog/
H A Dnfslog_ipaddr.c248 struct hostdata *hostp; local
253 hostp = iplookup(&((struct sockaddr_in *)sockp)->sin_addr);
256 hostp = ip6lookup(&((struct sockaddr_in6 *)sockp)->sin6_addr);
261 hostp = NULL;
263 return ((hostp != NULL) ? hostp->h_hostname : NULL);
/illumos-gate/usr/src/lib/librdc/common/
H A Drdcrules.c78 bitmap_in_use(int cmd, char *hostp, char *bmp) argument
185 if (self_check(hostp)) {
198 if ((strcmp(hostp, shost) == 0) &&
210 } else { /* self_check(hostp) failed */
212 if ((strcmp(shost, hostp) == 0) &&
224 if ((strcmp(host, hostp) == 0) &&
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Dopen.c627 * Return the first host and port in hostlist (setting *hostp and *portp).
633 ldap_x_hostlist_first( const char *hostlist, int defport, char **hostp, argument
637 if ( NULL == hostp || NULL == portp || NULL == statusp ) {
642 *hostp = nsldapi_strdup( "127.0.0.1" );
643 if ( NULL == *hostp ) {
661 return( ldap_x_hostlist_next( hostp, portp, *statusp ));
665 * Return the next host and port in hostlist (setting *hostp and *portp).
667 * If no more hosts are available, LDAP_SUCCESS is returned but *hostp is set
671 ldap_x_hostlist_next( char **hostp, int *portp, argument
677 if ( NULL == hostp || NUL
[all...]
/illumos-gate/usr/src/cmd/fs.d/ufs/quota/
H A Dquota.c762 getnfsquota(char *hostp, char *path, uid_t uid, struct dqblk *dqp) argument
772 rpc_err = callaurpc(hostp, RQUOTAPROG, RQUOTAVERS,
813 fprintf(stderr, "quota permission error, host: %s\n", hostp);
817 fprintf(stderr, "bad rpc result, host: %s\n", hostp);
/illumos-gate/usr/src/lib/libresolv2/common/irs/
H A Dirpmarshall.c1219 irp_unmarshall_ng(const char **hostp, const char **userp, const char **domainp, argument
1227 if (userp == NULL || hostp == NULL ||
1278 *hostp = host;
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dparseaddr.c1967 char **hostp; local
2017 hostp = ++tv;
2021 hostp = NULL;
2033 if (tv == hostp)
2034 hostp = NULL;
2035 else if (hostp != NULL)
2036 cataddr(hostp, tv - 1, hbuf, sizeof(hbuf), '\0', false);
2048 if (hostp != NULL)
2123 if (hostp == NULL)
/illumos-gate/usr/src/cmd/fm/fmadm/common/
H A Dfaulty.c275 host_id_list_t *hostp; local
281 hostp = host_list;
282 while (hostp) {
283 if (hostp->hostid.platform &&
284 strcmp(hostp->hostid.platform, platform) == 0 &&
285 hostp->hostid.server &&
286 strcmp(hostp->hostid.server, server) == 0 &&
287 (chassis == NULL || hostp->hostid.chassis == NULL ||
288 strcmp(chassis, hostp->hostid.chassis) == 0) &&
289 (product_sn == NULL || hostp
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/telnet/
H A Dcommands.c2943 char *hostp = NULL; local
3022 if (hostp == 0) {
3023 hostp = *argv++;
3045 if (hostp == 0)
3052 real_host = hostp;
3053 hostp = itelnet_host;
3055 num_gw = parse_input(hostp, hostname_list, &src_rtng_type);
3061 hostp = hostname_list[num_gw];
3092 if (inet_addr(hostp) != (in_addr_t)-1) {
3094 (void) strlcpy(_hostname, hostp, sizeo
[all...]
/illumos-gate/usr/src/cmd/avs/rdc/
H A Dsndradm.c1065 check_rdcbitmap(int cmd, char *hostp, char *bmp) argument
1162 if (self_check(hostp)) {
1173 if ((strcmp(hostp, shost) == 0) &&
1183 } else { /* self_check(hostp) failed */
1185 if ((strcmp(shost, hostp) == 0) &&
1194 if ((strcmp(host, hostp) == 0) &&

Completed in 216 milliseconds