Home
last modified time | relevance | path

Searched refs:mlp (Results 1 – 25 of 33) sorted by relevance

12

/illumos-gate/usr/src/uts/common/os/
H A Dmemlist_new.c44 struct memlist *mlp; in memlist_get_one() local
48 if (mlp != NULL) { in memlist_get_one()
54 return (mlp); in memlist_get_one()
60 ASSERT(mlp != NULL); in memlist_free_one()
75 if (mlp == NULL) { in memlist_free_list()
101 for (; mlp != mlendp; mlp++) in memlist_free_block()
102 mlp->ml_next = mlp + 1; in memlist_free_block()
164 for (mlp = *curmemlistp; mlp != NULL; mlp = mlp->ml_next) in memlist_del()
186 for (; mlp != NULL; mlp = mlp->ml_next) in memlist_find()
188 address < (mlp->ml_address + mlp->ml_size)) in memlist_find()
[all …]
H A Dmem_config.c881 struct memlist *mlp; in span_to_install() local
889 for (mlp = phys_install; mlp != NULL; mlp = mlp->ml_next) { in span_to_install()
890 if (address >= (mlp->ml_address + mlp->ml_size)) in span_to_install()
892 if ((address + size) > mlp->ml_address) in span_to_install()
895 if (mlp == NULL) { in span_to_install()
900 if (address < mlp->ml_address) { in span_to_install()
901 size -= (mlp->ml_address - address); in span_to_install()
902 address = mlp->ml_address; in span_to_install()
904 ASSERT(address >= mlp->ml_address); in span_to_install()
906 (mlp->ml_address + mlp->ml_size)) { in span_to_install()
[all …]
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_list.c41 mdb_list_append(mdb_list_t *mlp, void *new) in mdb_list_append() argument
46 mlp->ml_prev = q; in mdb_list_append()
54 ASSERT(mlp->ml_next == NULL); in mdb_list_append()
55 mlp->ml_next = q; in mdb_list_append()
60 mdb_list_prepend(mdb_list_t *mlp, void *new) in mdb_list_prepend() argument
65 mlp->ml_next = p; in mdb_list_prepend()
73 ASSERT(mlp->ml_prev == NULL); in mdb_list_prepend()
74 mlp->ml_prev = p; in mdb_list_prepend()
85 mdb_list_append(mlp, new); in mdb_list_insert()
103 mlp->ml_next = p->ml_next; in mdb_list_delete()
[all …]
/illumos-gate/usr/src/cmd/fm/fminject/common/
H A Dinj_list.c34 inj_list_append(inj_list_t *mlp, void *new) in inj_list_append() argument
36 inj_list_t *p = mlp->ml_prev; /* p = tail list element */ in inj_list_append()
39 mlp->ml_prev = q; in inj_list_append()
47 assert(mlp->ml_next == NULL); in inj_list_append()
48 mlp->ml_next = q; in inj_list_append()
53 inj_list_prepend(inj_list_t *mlp, void *new) in inj_list_prepend() argument
56 inj_list_t *q = mlp->ml_next; /* q = head list element */ in inj_list_prepend()
58 mlp->ml_next = p; in inj_list_prepend()
66 assert(mlp->ml_prev == NULL); in inj_list_prepend()
67 mlp->ml_prev = p; in inj_list_prepend()
/illumos-gate/usr/src/lib/libtsol/common/
H A Dgetpathbylabel.c117 struct mntlist *mlp; in tsol_mlist_free() local
120 mlp = mlist; in tsol_mlist_free()
121 while (mlp) { in tsol_mlist_free()
122 struct mnttab *mnt = mlp->mntl_mnt; in tsol_mlist_free()
126 oldmlp = mlp; in tsol_mlist_free()
127 mlp = mlp->mntl_next; in tsol_mlist_free()
231 struct mntlist *mlp; in getnfspathbyautofs() local
257 for (mlp = mlist; mlp; mlp = mlp->mntl_next) { in getnfspathbyautofs()
300 for (mlp = mlist; mlp; mlp = mlp->mntl_next) { in getnfspathbyautofs()
353 struct mntlist *mlp; in getglobalpath() local
[all …]
/illumos-gate/usr/src/lib/libtsnet/common/
H A Dtsol_sgetzcent.c109 tsol_mlp_t *mlp; in parse_mlp_list() local
114 if ((mlp = *list) != NULL) { in parse_mlp_list()
117 mlp++; in parse_mlp_list()
121 mlp = *list; in parse_mlp_list()
126 mlp = realloc(mlp, mmax * sizeof (*mlp)); in parse_mlp_list()
127 if (mlp == NULL) { in parse_mlp_list()
132 *list = mlp; in parse_mlp_list()
142 mlp = realloc(mlp, (mmax + 1) * sizeof (*mlp)); in parse_mlp_list()
143 if (mlp == NULL) { in parse_mlp_list()
148 *list = mlp; in parse_mlp_list()
[all …]
/illumos-gate/usr/src/uts/sun4v/io/
H A Ddr_util.c148 struct memlist *hl = NULL, *tl, **mlp; in dr_memlist_dup() local
153 mlp = &hl; in dr_memlist_dup()
154 tl = *mlp; in dr_memlist_dup()
156 *mlp = (struct memlist *)kmem_zalloc(sizeof (struct memlist),\ in dr_memlist_dup()
158 (*mlp)->ml_address = mlist->ml_address; in dr_memlist_dup()
159 (*mlp)->ml_size = mlist->ml_size; in dr_memlist_dup()
160 (*mlp)->ml_prev = tl; in dr_memlist_dup()
161 tl = *mlp; in dr_memlist_dup()
162 mlp = &((*mlp)->ml_next); in dr_memlist_dup()
164 *mlp = NULL; in dr_memlist_dup()
/illumos-gate/usr/src/uts/i86pc/os/
H A Dmemscrub.c265 struct memlist *mlp; in memscrubber() local
280 mlp = memscrub_memlist; in memscrubber()
281 mlp_next_addr = mlp->ml_address; in memscrubber()
282 mlp_last_addr = mlp->ml_address + mlp->ml_size; in memscrubber()
361 mlp = mlp->ml_next; in memscrubber()
362 if (mlp == NULL) { in memscrubber()
364 mlp = memscrub_memlist; in memscrubber()
366 mlp_next_addr = mlp->ml_address; in memscrubber()
367 mlp_last_addr = mlp->ml_address + mlp->ml_size; in memscrubber()
/illumos-gate/usr/src/uts/sun4u/os/
H A Dmemscrub.c664 struct memlist *mlp; in memscrub_verify_span() local
676 for (mlp = memscrub_memlist; mlp != NULL; mlp = mlp->ml_next) { in memscrub_verify_span()
681 address = mlp->ml_address; in memscrub_verify_span()
687 if (address < (mlp->ml_address + mlp->ml_size)) in memscrub_verify_span()
695 if (mlp == NULL) { in memscrub_verify_span()
696 mlp = memscrub_memlist; in memscrub_verify_span()
697 address = mlp->ml_address; in memscrub_verify_span()
703 bytes_remaining = (mlp->ml_address + mlp->ml_size) - address; in memscrub_verify_span()
711 if ((mlp->ml_next == NULL) && in memscrub_verify_span()
712 ((mlp->ml_address + mlp->ml_size) == (address + bytes))) in memscrub_verify_span()
[all …]
/illumos-gate/usr/src/cmd/format/
H A Dstartup.c658 mlp = controlp; in sup_setdtype()
664 mlp = mlp->next; in sup_setdtype()
1089 mlp = mlp->next; in sup_setpart()
1668 mlp = controlp; in add_device_to_disklist()
1674 mlp = mlp->next; in add_device_to_disklist()
1730 mlp = mlp->next; in add_device_to_disklist()
1843 mlp = mlp->next; in add_device_to_disklist()
2414 mlp = controlp; in search_duplicate_dtypes()
2426 mlp = mlp->next; in search_duplicate_dtypes()
2448 mlp = controlp; in search_duplicate_pinfo()
[all …]
H A Dauto_sense.c380 struct mctlr_list *mlp; in find_ctlr_type() local
386 mlp = controlp; in find_ctlr_type()
388 while (mlp != NULL) { in find_ctlr_type()
389 if (mlp->ctlr_type->ctype_ctype == type) { in find_ctlr_type()
390 return (mlp->ctlr_type); in find_ctlr_type()
392 mlp = mlp->next; in find_ctlr_type()
1753 struct mctlr_list *mlp; local
1755 mlp = controlp;
1757 while (mlp != NULL) {
1759 return (mlp->ctlr_type);
[all …]
/illumos-gate/usr/src/uts/common/inet/udp/
H A Dudp_stats.c74 mib2_transportMLPEntry_t mlp; in udp_snmp_get() local
187 bzero(&mlp, sizeof (mlp)); in udp_snmp_get()
191 mlp.tme_flags |= MIB2_TMEF_SHARED; in udp_snmp_get()
194 mlp.tme_flags |= MIB2_TMEF_PRIVATE; in udp_snmp_get()
198 mlp.tme_flags |= MIB2_TMEF_ANONMLP; in udp_snmp_get()
220 mlp.tme_doi = label2doi(tsl); in udp_snmp_get()
276 mlp.tme_connidx = v4_conn_idx; in udp_snmp_get()
279 (char *)&mlp, sizeof (mlp)); in udp_snmp_get()
335 mlp.tme_connidx = v6_conn_idx; in udp_snmp_get()
338 &mp6_attr_tail, (char *)&mlp, in udp_snmp_get()
[all …]
/illumos-gate/usr/src/uts/i86pc/io/dr/
H A Ddr_util.c267 struct memlist *hl = NULL, *tl, **mlp; in dr_memlist_dup() local
272 mlp = &hl; in dr_memlist_dup()
273 tl = *mlp; in dr_memlist_dup()
275 *mlp = GETSTRUCT(struct memlist, 1); in dr_memlist_dup()
276 (*mlp)->ml_address = mlist->ml_address; in dr_memlist_dup()
277 (*mlp)->ml_size = mlist->ml_size; in dr_memlist_dup()
278 (*mlp)->ml_prev = tl; in dr_memlist_dup()
279 tl = *mlp; in dr_memlist_dup()
280 mlp = &((*mlp)->ml_next); in dr_memlist_dup()
282 *mlp = NULL; in dr_memlist_dup()
/illumos-gate/usr/src/uts/sun4u/ngdr/io/
H A Ddr_util.c266 struct memlist *hl = NULL, *tl, **mlp; in dr_memlist_dup() local
271 mlp = &hl; in dr_memlist_dup()
272 tl = *mlp; in dr_memlist_dup()
274 *mlp = GETSTRUCT(struct memlist, 1); in dr_memlist_dup()
275 (*mlp)->ml_address = mlist->ml_address; in dr_memlist_dup()
276 (*mlp)->ml_size = mlist->ml_size; in dr_memlist_dup()
277 (*mlp)->ml_prev = tl; in dr_memlist_dup()
278 tl = *mlp; in dr_memlist_dup()
279 mlp = &((*mlp)->ml_next); in dr_memlist_dup()
281 *mlp = NULL; in dr_memlist_dup()
/illumos-gate/usr/src/cmd/fs.d/ufs/df/
H A Ddf.c348 struct mntlist *mlp; in main() local
383 mlp = findmntent(cp, &argstat[i], mntl); in main()
387 if (mlp == NULL) { in main()
394 dfreemnt(mlp->mntl_mnt->mnt_mountp, mlp->mntl_mnt); in main()
773 struct mntlist *mlp; in findmntent() local
811 for (mlp = mlist; mlp; mlp = mlp->mntl_next) { in findmntent()
812 struct mnttab *mnt = mlp->mntl_mnt; in findmntent()
825 if (mlp->mntl_dev == NODEV) { in findmntent()
833 mlp->mntl_dev = fs_sb.st_dev; in findmntent()
836 if (pstat->st_dev == mlp->mntl_dev) in findmntent()
[all …]
/illumos-gate/usr/src/uts/common/io/mlxcx/
H A Dmlxcx_cmd.c1688 ASSERT(mutex_owned(&mlp->mlp_mtx)); in mlxcx_cmd_query_nic_vport_ctx()
1840 ASSERT(mutex_owned(&mlp->mlp_mtx)); in mlxcx_cmd_query_port_mtu()
1885 ASSERT(mutex_owned(&mlp->mlp_mtx)); in mlxcx_cmd_set_port_mtu()
1902 ASSERT(mutex_owned(&mlp->mlp_mtx)); in mlxcx_cmd_set_port_led()
1921 ASSERT(mutex_owned(&mlp->mlp_mtx)); in mlxcx_cmd_query_port_status()
1973 mlp->mlp_autoneg = B_FALSE; in mlxcx_cmd_query_port_speed()
1975 mlp->mlp_autoneg = B_TRUE; in mlxcx_cmd_query_port_speed()
1977 mlp->mlp_max_proto = in mlxcx_cmd_query_port_speed()
1979 mlp->mlp_admin_proto = in mlxcx_cmd_query_port_speed()
1981 mlp->mlp_oper_proto = in mlxcx_cmd_query_port_speed()
[all …]
/illumos-gate/usr/src/uts/common/inet/tcp/
H A Dtcp_stats.c162 mib2_transportMLPEntry_t mlp; in tcp_snmp_get() local
254 bzero(&mlp, sizeof (mlp)); in tcp_snmp_get()
258 mlp.tme_flags |= MIB2_TMEF_SHARED; in tcp_snmp_get()
261 mlp.tme_flags |= MIB2_TMEF_PRIVATE; in tcp_snmp_get()
265 mlp.tme_flags |= MIB2_TMEF_ANONMLP; in tcp_snmp_get()
285 mlp.tme_doi = label2doi(tsl); in tcp_snmp_get()
322 mlp.tme_connidx = v6_conn_idx; in tcp_snmp_get()
326 (char *)&mlp, sizeof (mlp)); in tcp_snmp_get()
376 mlp.tme_connidx = v4_conn_idx; in tcp_snmp_get()
379 &mp_attr_tail, (char *)&mlp, in tcp_snmp_get()
[all …]
/illumos-gate/usr/src/cmd/tsol/tnctl/
H A Dtnctl.c367 handle_mlps(zoneid_t zoneid, tsol_mlp_t *mlp, int flags, int cmd) in handle_mlps() argument
373 while (!TSOL_MLP_END(mlp)) { in handle_mlps()
374 tsme.tsme_mlp = *mlp; in handle_mlps()
386 mlp->mlp_port, mlp->mlp_port_upper, mlp->mlp_ipp, in handle_mlps()
390 mlp++; in handle_mlps()
H A Dtnzonecfg38 # mlp info is list of semicolon separated mlp configuration entry.
39 # Each mlp configuration entry is specified by port/protocol.
/illumos-gate/usr/src/uts/common/inet/sctp/
H A Dsctp_snmp.c554 mib2_transportMLPEntry_t mlp; in sctp_snmp_get_mib2() local
765 bzero(&mlp, sizeof (mlp)); in sctp_snmp_get_mib2()
769 mlp.tme_flags |= MIB2_TMEF_SHARED; in sctp_snmp_get_mib2()
772 mlp.tme_flags |= MIB2_TMEF_PRIVATE; in sctp_snmp_get_mib2()
776 mlp.tme_flags |= MIB2_TMEF_ANONMLP; in sctp_snmp_get_mib2()
783 mlp.tme_flags |= MIB2_TMEF_MACEXEMPT; in sctp_snmp_get_mib2()
795 mlp.tme_flags |= MIB2_TMEF_IS_LABELED; in sctp_snmp_get_mib2()
796 mlp.tme_doi = label2doi(tsl); in sctp_snmp_get_mib2()
797 mlp.tme_label = *label2bslabel(tsl); in sctp_snmp_get_mib2()
828 mlp.tme_connidx = idx++; in sctp_snmp_get_mib2()
[all …]
/illumos-gate/usr/src/cmd/tsol/tnchkdb/
H A Dtnchkdb.c68 tsol_mlp_t mlp; member
535 if (mil->mlp.mlp_ipp == mlpptr->mlp_ipp &&
536 !(mil->mlp.mlp_port_upper <
538 mil->mlp.mlp_port >
550 mil->mlp.mlp_port, mil->mlp.mlp_port_upper,
563 mil->mlp = *mlpptr;
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dparseaddr.c1101 mlp = mlist;
1145 mlp->match_first = avp;
1151 cataddr(mlp->match_first, mlp->match_last,
1167 mlp++;
1181 mlp->match_first = avp;
1183 mlp++;
1189 mlp->match_first = avp;
1191 mlp++;
1246 while (--mlp >= mlist)
1274 mlp++;
[all …]
/illumos-gate/usr/src/uts/common/sys/tsol/
H A Dtndb.h249 #define TSOL_MLP_END(mlp) ((mlp)->mlp_ipp == 0 && (mlp)->mlp_port == 0) argument
/illumos-gate/usr/src/lib/libumem/common/
H A Dumem.c1812 umem_depot_alloc(umem_cache_t *cp, umem_maglist_t *mlp) in umem_depot_alloc() argument
1827 if ((mp = mlp->ml_list) != NULL) { in umem_depot_alloc()
1829 mlp->ml_list = mp->mag_next; in umem_depot_alloc()
1830 if (--mlp->ml_total < mlp->ml_min) in umem_depot_alloc()
1831 mlp->ml_min = mlp->ml_total; in umem_depot_alloc()
1832 mlp->ml_alloc++; in umem_depot_alloc()
1844 umem_depot_free(umem_cache_t *cp, umem_maglist_t *mlp, umem_magazine_t *mp) in umem_depot_free() argument
1848 mp->mag_next = mlp->ml_list; in umem_depot_free()
1849 mlp->ml_list = mp; in umem_depot_free()
1850 mlp->ml_total++; in umem_depot_free()
/illumos-gate/usr/src/lib/libipmi/common/
H A Dipmi_entity.c171 ipmi_sdr_management_locator_t *mlp = in ipmi_entity_sdr_parse() local
173 *id = mlp->is_ml_entity_id; in ipmi_entity_sdr_parse()
174 *instance = mlp->is_ml_entity_instance; in ipmi_entity_sdr_parse()

12