Home
last modified time | relevance | path

Searched refs:nh (Results 1 – 25 of 32) sorted by relevance

12

/titanic_41/usr/src/uts/common/io/lvm/md/
H A Dmd_names.c97 create_key(struct nm_next_hdr *nh) in create_key() argument
100 struct nm_rec_hdr *rh = (struct nm_rec_hdr *)nh->nmn_record; in create_key()
110 unused_key(struct nm_next_hdr *nh, int shared, mdkey_t key) in unused_key() argument
127 if ((shared & NM_SHARED) && (lookup_shared_entry(nh, key, (char *)0, in unused_key()
136 (lookup_entry(nh, 0, -1, key, NODEV64, 0L) != NULL)) in unused_key()
143 destroy_key(struct nm_next_hdr *nh, int shared, mdkey_t key) in destroy_key() argument
145 struct nm_rec_hdr *rh = (struct nm_rec_hdr *)nh->nmn_record; in destroy_key()
158 while (unused_key(nh, shared, key)) in destroy_key()
250 struct nm_next_hdr *nh, /* parent record header */ in create_record() argument
254 struct nm_rec_hdr *rh = (struct nm_rec_hdr *)nh->nmn_record; in create_record()
[all …]
H A Dmd.c1053 struct nm_next_hdr *nh; in md_snarf_db_set() local
1208 if ((nh = get_first_record(setno, 0, NM_NOTSHARED)) != NULL) { in md_snarf_db_set()
1209 size = (int)((((struct nm_rec_hdr *)nh->nmn_record)-> in md_snarf_db_set()
1305 key < ((struct nm_rec_hdr *)nh->nmn_record)->r_next_key; in md_snarf_db_set()
1310 if (lookup_entry(nh, setno, side, key, NODEV64, 0L) != in md_snarf_db_set()
1322 (void) remove_entry(nh, in md_snarf_db_set()
H A Dmd_mddb.c12270 struct nm_next_hdr *nh; in md_update_minor() local
12290 if ((nh = get_first_record(setno, 0, NM_NOTSHARED)) == NULL) { in md_update_minor()
12302 if ((n = lookup_entry(nh, setno, s, key, NODEV64, 0L)) != in md_update_minor()
12316 (void) remove_entry(nh, n->n_side, key, 0L); in md_update_minor()
12341 struct nm_next_hdr *nh; in md_update_top_device_minor() local
12360 if ((nh = get_first_record(setno, 0, NM_NOTSHARED)) == NULL) { in md_update_top_device_minor()
12368 if ((n = lookup_entry(nh, setno, side, MD_KEYWILD, dev, 0L)) != NULL) { in md_update_top_device_minor()
12510 struct nm_next_hdr *nh; in update_setname() local
12528 if ((nh = get_first_record(setno, 0, NM_SHARED)) == NULL) { in update_setname()
12536 if ((shn = (struct nm_shared_name *)lookup_shared_entry(nh, in update_setname()
[all …]
/titanic_41/usr/src/lib/efcode/fcdriver/
H A Dphandle.c80 my_nodeid_t nh; in convert_phandle() local
81 nh.my_handle = (fc_phandle_t) d; in convert_phandle()
82 t = find_resource(&cdp->nodeids, &nh, match_handle); in convert_phandle()
105 my_nodeid_t nh; in revert_phandle() local
106 nh.node = d; in revert_phandle()
107 t = find_resource(&cdp->nodeids, &nh, match_nodeid); in revert_phandle()
122 my_nodeid_t *nh; in add_my_handle() local
125 nh = MALLOC(sizeof (my_nodeid_t)); in add_my_handle()
126 nh->my_handle = mh; in add_my_handle()
127 nh->node = d; in add_my_handle()
[all …]
/titanic_41/usr/src/uts/common/inet/tcp/
H A Dtcp_cluster.c74 netstack_handle_t nh; in cl_tcp_walk_list() local
88 netstack_next_init(&nh); in cl_tcp_walk_list()
89 while ((ns = netstack_next(&nh)) != NULL) { in cl_tcp_walk_list()
94 netstack_next_fini(&nh); in cl_tcp_walk_list()
H A Dtcp_misc.c546 netstack_handle_t nh; in tcp_conn_reclaim() local
561 netstack_next_init(&nh); in tcp_conn_reclaim()
562 while ((ns = netstack_next(&nh)) != NULL) { in tcp_conn_reclaim()
608 netstack_next_fini(&nh); in tcp_conn_reclaim()
/titanic_41/usr/src/uts/common/inet/sctp/
H A Dsctp_misc.c195 netstack_handle_t nh; in sctp_conn_reclaim() local
210 netstack_next_init(&nh); in sctp_conn_reclaim()
211 while ((ns = netstack_next(&nh)) != NULL) { in sctp_conn_reclaim()
257 netstack_next_fini(&nh); in sctp_conn_reclaim()
H A Dsctp_hash.c142 netstack_handle_t nh; in cl_sctp_walk_list() local
146 netstack_next_init(&nh); in cl_sctp_walk_list()
147 while ((ns = netstack_next(&nh)) != NULL) { in cl_sctp_walk_list()
152 netstack_next_fini(&nh); in cl_sctp_walk_list()
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/krb5/rcache/
H A Drc_mem.c53 for (ta = t->h[rephash]; ta; ta = ta->nh) { in rc_store()
63 pta->nh = ta->nh; in rc_store()
68 t->h[rephash] = ta->nh; in rc_store()
89 ta->nh = t->h[rephash]; in rc_store()
H A Drc_common.h58 struct authlist *nh; member
H A Drc_base.c65 qt = q->nh; in krb5int_rc_terminate()
H A Drc_file.c58 for (ta = t->h[rephash]; ta; ta = ta->nh) { in rc_store()
87 ta->nh = t->h[rephash]; t->h[rephash] = ta; in rc_store()
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/nca/
H A Dncab2clf.c692 ssize_t num_iterations, ni, nh, no, olen; in b2clf() local
706 nh = ni = no = 0; in b2clf()
709 nh = read_n_bytes(ifd, ibuf, sizeof (nca_log_buf_hdr_t)); in b2clf()
710 if (nh != sizeof (nca_log_buf_hdr_t)) { in b2clf()
730 ni = read_n_bytes(ifd, &(ibuf[nh]), (ssize_t)s->n_log_size); in b2clf()
743 if (b2clf_buf(ibuf, obuf, ni + nh, OUTFILE_BUF_SIZE, &olen)) { in b2clf()
758 bzero(ibuf, nh + ni); in b2clf()
/titanic_41/usr/src/cmd/picl/plugins/lib/picld_pluginutil/
H A Dpicld_pluginutil.h36 extern int picld_pluginutil_parse_config_file(picl_nodehdl_t nh,
H A Dllib-lpicld_pluginutil36 int picld_pluginutil_parse_config_file(picl_nodehdl_t nh,
H A Dpicld_pluginutil.c1632 picld_pluginutil_parse_config_file(picl_nodehdl_t nh, const char *filename) in picld_pluginutil_parse_config_file() argument
1680 err = process_commands(cmds, STARTING_INDEX, nh, &last_processed_index); in picld_pluginutil_parse_config_file()
/titanic_41/usr/src/cmd/awk/
H A Dtran.c290 int i, nh, nsz; in rehash() local
300 nh = hash(cp->nval, nsz); in rehash()
301 cp->cnext = np[nh]; in rehash()
302 np[nh] = cp; in rehash()
/titanic_41/usr/src/uts/common/io/
H A Dhook.c2086 hook_t *nh; in hook_insert_afterbefore() local
2089 nh = &new->hi_hook; in hook_insert_afterbefore()
2106 if ((nh->h_hint == HH_BEFORE) && in hook_insert_afterbefore()
2108 (char *)nh->h_hintvalue) == 0)) { in hook_insert_afterbefore()
2112 if ((nh->h_hint == HH_AFTER) && in hook_insert_afterbefore()
2114 (char *)nh->h_hintvalue) == 0)) { in hook_insert_afterbefore()
2120 if ((nh->h_hint == HH_AFTER) && in hook_insert_afterbefore()
2122 (char *)nh->h_hintvalue) == 0)) { in hook_insert_afterbefore()
2126 if ((nh->h_hint == HH_BEFORE) && in hook_insert_afterbefore()
2128 (char *)nh->h_hintvalue) == 0)) { in hook_insert_afterbefore()
/titanic_41/usr/src/cmd/cmd-inet/usr.lib/ilbd/ilb/
H A Dilb_probe.c251 boolean_t nh = B_FALSE; in set_sockaddr() local
256 nh = B_TRUE; in set_sockaddr()
283 if (!nh) { in set_sockaddr()
/titanic_41/usr/src/uts/common/inet/ip/
H A Dip_dce.c213 netstack_handle_t nh; in ip_dce_reclaim() local
219 netstack_next_init(&nh); in ip_dce_reclaim()
220 while ((ns = netstack_next(&nh)) != NULL) { in ip_dce_reclaim()
233 netstack_next_fini(&nh); in ip_dce_reclaim()
H A Dip_ire.c2229 netstack_handle_t nh; in ip_ire_reclaim() local
2233 netstack_next_init(&nh); in ip_ire_reclaim()
2234 while ((ns = netstack_next(&nh)) != NULL) { in ip_ire_reclaim()
2246 netstack_next_fini(&nh); in ip_ire_reclaim()
/titanic_41/usr/src/cmd/rpcbind/
H A Drpcbind.c978 struct nd_hostserv nh; in check_hostserv() local
992 nh.h_host = (char *)host; in check_hostserv()
993 nh.h_serv = (char *)serv; in check_hostserv()
995 retval = netdir_getbyname(nconf, &nh, &na); in check_hostserv()
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/ping/
H A Dping.c1222 ipaddr_t nh; in set_nexthop() local
1225 nh = ((struct sockaddr_in *)ai_nexthop-> in set_nexthop()
1231 &nh, sizeof (ipaddr_t)) < 0) { in set_nexthop()
1244 struct sockaddr_in6 *nh; in set_nexthop() local
1247 nh = (struct sockaddr_in6 *)ai_nexthop-> in set_nexthop()
1251 nh, sizeof (struct sockaddr_in6)) < 0) { in set_nexthop()
/titanic_41/usr/src/uts/common/inet/ipnet/
H A Dipnet.c238 netstack_handle_t nh; in ipnetif_init() local
243 netstack_next_init(&nh); in ipnetif_init()
244 while ((ns = netstack_next(&nh)) != NULL) { in ipnetif_init()
252 netstack_next_fini(&nh); in ipnetif_init()
/titanic_41/usr/src/uts/common/fs/ufs/
H A Dlufs_map.c157 map_get(ml_unit_t *ul, enum maptypes maptype, int nh) in map_get() argument
172 mtm->mtm_hash = kmem_zalloc((size_t) (sizeof (mapentry_t *) * nh), in map_get()
174 mtm->mtm_nhash = nh; in map_get()

12