Home
last modified time | relevance | path

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

12

/titanic_41/usr/src/tools/stabs/
H A Dforth.c37 static void switch_on_type(struct mlist *mlp, struct tdesc *tdp,
40 static void print_intrinsic(struct mlist *mlp, struct tdesc *tdp,
42 static void print_forward(struct mlist *mlp, struct tdesc *tdp,
44 static void print_pointer(struct mlist *mlp, struct tdesc *tdp,
46 static void print_array(struct mlist *mlp, struct tdesc *tdp,
48 static void print_function(struct mlist *mlp, struct tdesc *tdp,
50 static void print_union(struct mlist *mlp, struct tdesc *tdp,
52 static void print_enum(struct mlist *mlp, struct tdesc *tdp,
54 static void print_forward(struct mlist *mlp, struct tdesc *tdp,
56 static void print_typeof(struct mlist *mlp, struct tdesc *tdp,
[all …]
H A Dgenassym.c37 static void switch_on_type(struct mlist *mlp, struct tdesc *tdp,
40 static void print_intrinsic(struct mlist *mlp, struct tdesc *tdp,
42 static void print_forward(struct mlist *mlp, struct tdesc *tdp,
44 static void print_pointer(struct mlist *mlp, struct tdesc *tdp,
46 static void print_array(struct mlist *mlp, struct tdesc *tdp,
48 static void print_function(struct mlist *mlp, struct tdesc *tdp,
50 static void print_union(struct mlist *mlp, struct tdesc *tdp,
52 static void print_enum(struct mlist *mlp, struct tdesc *tdp,
54 static void print_forward(struct mlist *mlp, struct tdesc *tdp,
56 static void print_typeof(struct mlist *mlp, struct tdesc *tdp,
[all …]
H A Dsquander.c45 struct mlist *mlp; in squander_do_sou() local
55 for (mlp = tdp->data.members.forw; mlp != NULL; mlp = mlp->next) { in squander_do_sou()
56 if (offset != (mlp->offset / 8)) { in squander_do_sou()
58 (mlp->offset / 8) - offset, in squander_do_sou()
60 mlp->name == NULL ? "(null)" : mlp->name, in squander_do_sou()
61 offset, mlp->offset / 8); in squander_do_sou()
63 msize += (mlp->size / 8); in squander_do_sou()
64 offset = (mlp->offset / 8) + (mlp->size / 8); in squander_do_sou()
H A Dstabs.c51 static char *offsize(char *cp, struct mlist *mlp);
586 struct mlist *mlp = malloc(sizeof (*mlp)); in soudef() local
588 mlp->prev = prev_p; /* links for the backward list */ in soudef()
589 prev_p = mlp; in soudef()
590 *next_pp = mlp; /* links for the forward list */ in soudef()
591 next_pp = &mlp->next; in soudef()
594 mlp->name = w; in soudef()
615 mlp->fdesc = tdp; in soudef()
616 cp = offsize(cp, mlp); /* cp is now pointing to next field */ in soudef()
625 offsize(char *cp, struct mlist *mlp) in offsize() argument
[all …]
H A Dmain.c239 struct mlist *mlp; in find_member() local
245 for (mlp = tdp->data.members.forw; mlp != NULL; mlp = mlp->next) in find_member()
246 if (strcmp(mlp->name, name) == 0) in find_member()
247 return (mlp->fdesc); in find_member()
/titanic_41/usr/src/uts/common/os/
H A Dmemlist_new.c44 struct memlist *mlp; in memlist_get_one() local
47 mlp = memlist_freelist; in memlist_get_one()
48 if (mlp != NULL) { in memlist_get_one()
49 memlist_freelist = mlp->ml_next; in memlist_get_one()
54 return (mlp); in memlist_get_one()
58 memlist_free_one(struct memlist *mlp) in memlist_free_one() argument
60 ASSERT(mlp != NULL); in memlist_free_one()
63 mlp->ml_next = memlist_freelist; in memlist_free_one()
64 memlist_freelist = mlp; in memlist_free_one()
70 memlist_free_list(struct memlist *mlp) in memlist_free_list() argument
[all …]
/titanic_41/usr/src/cmd/mdb/common/mdb/
H A Dmdb_list.c43 mdb_list_append(mdb_list_t *mlp, void *new) in mdb_list_append() argument
45 mdb_list_t *p = mlp->ml_prev; /* p = tail list element */ in mdb_list_append()
48 mlp->ml_prev = q; in mdb_list_append()
56 ASSERT(mlp->ml_next == NULL); in mdb_list_append()
57 mlp->ml_next = q; in mdb_list_append()
62 mdb_list_prepend(mdb_list_t *mlp, void *new) in mdb_list_prepend() argument
65 mdb_list_t *q = mlp->ml_next; /* q = head list element */ in mdb_list_prepend()
67 mlp->ml_next = p; in mdb_list_prepend()
75 ASSERT(mlp->ml_prev == NULL); in mdb_list_prepend()
76 mlp->ml_prev = p; in mdb_list_prepend()
[all …]
/titanic_41/usr/src/cmd/fm/fminject/common/
H A Dinj_list.c36 inj_list_append(inj_list_t *mlp, void *new) in inj_list_append() argument
38 inj_list_t *p = mlp->ml_prev; /* p = tail list element */ in inj_list_append()
41 mlp->ml_prev = q; in inj_list_append()
49 assert(mlp->ml_next == NULL); in inj_list_append()
50 mlp->ml_next = q; in inj_list_append()
55 inj_list_prepend(inj_list_t *mlp, void *new) in inj_list_prepend() argument
58 inj_list_t *q = mlp->ml_next; /* q = head list element */ in inj_list_prepend()
60 mlp->ml_next = p; in inj_list_prepend()
68 assert(mlp->ml_prev == NULL); in inj_list_prepend()
69 mlp->ml_prev = p; in inj_list_prepend()
/titanic_41/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()
115 while (!TSOL_MLP_END(mlp)) { 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()
134 if (str_to_mlp(tokp, mlp + mc) == -1) { in parse_mlp_list()
142 mlp = realloc(mlp, (mmax + 1) * sizeof (*mlp)); in parse_mlp_list()
[all …]
/titanic_41/usr/src/lib/libtsol/common/
H A Dgetpathbylabel.c120 struct mntlist *mlp; in tsol_mlist_free() local
123 mlp = mlist; in tsol_mlist_free()
124 while (mlp) { in tsol_mlist_free()
125 struct mnttab *mnt = mlp->mntl_mnt; in tsol_mlist_free()
129 oldmlp = mlp; in tsol_mlist_free()
130 mlp = mlp->mntl_next; in tsol_mlist_free()
234 struct mntlist *mlp; in getnfspathbyautofs() local
260 for (mlp = mlist; mlp; mlp = mlp->mntl_next) { in getnfspathbyautofs()
261 struct mnttab *mnt = mlp->mntl_mnt; in getnfspathbyautofs()
303 for (mlp = mlist; mlp; mlp = mlp->mntl_next) { in getnfspathbyautofs()
[all …]
/titanic_41/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()
/titanic_41/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()
/titanic_41/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()
680 if (address < mlp->ml_address) { 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()
[all …]
/titanic_41/usr/src/cmd/format/
H A Dstartup.c541 struct mctlr_list *mlp; in sup_setdtype() local
638 mlp = controlp; in sup_setdtype()
640 while (mlp != NULL) { in sup_setdtype()
641 if (strcmp(mlp->ctlr_type->ctype_name, in sup_setdtype()
644 mlp = mlp->next; in sup_setdtype()
649 if (mlp == NULL) { in sup_setdtype()
669 ctype = mlp->ctlr_type; in sup_setdtype()
946 struct mctlr_list *mlp; in sup_setpart() local
1063 mlp = controlp; in sup_setpart()
1065 while (mlp != NULL) { in sup_setpart()
[all …]
H A Dauto_sense.c383 struct mctlr_list *mlp; in find_direct_ctlr_type() local
385 mlp = controlp; in find_direct_ctlr_type()
387 while (mlp != NULL) { in find_direct_ctlr_type()
388 if (mlp->ctlr_type->ctype_ctype == DKC_DIRECT) { in find_direct_ctlr_type()
389 return (mlp->ctlr_type); in find_direct_ctlr_type()
391 mlp = mlp->next; in find_direct_ctlr_type()
402 struct mctlr_list *mlp; in find_vbd_ctlr_type() local
404 mlp = controlp; in find_vbd_ctlr_type()
406 while (mlp != NULL) { in find_vbd_ctlr_type()
407 if (mlp->ctlr_type->ctype_ctype == DKC_VBD) { in find_vbd_ctlr_type()
[all …]
/titanic_41/usr/src/uts/common/inet/udp/
H A Dudp_stats.c65 mib2_transportMLPEntry_t mlp; in udp_snmp_get() local
165 bzero(&mlp, sizeof (mlp)); in udp_snmp_get()
169 mlp.tme_flags |= MIB2_TMEF_SHARED; in udp_snmp_get()
172 mlp.tme_flags |= MIB2_TMEF_PRIVATE; in udp_snmp_get()
176 mlp.tme_flags |= MIB2_TMEF_ANONMLP; in udp_snmp_get()
183 mlp.tme_flags |= MIB2_TMEF_MACEXEMPT; in udp_snmp_get()
187 mlp.tme_flags |= MIB2_TMEF_MACIMPLICIT; in udp_snmp_get()
197 mlp.tme_flags |= MIB2_TMEF_IS_LABELED; in udp_snmp_get()
198 mlp.tme_doi = label2doi(tsl); in udp_snmp_get()
199 mlp.tme_label = *label2bslabel(tsl); in udp_snmp_get()
[all …]
/titanic_41/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()
/titanic_41/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()
/titanic_41/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 …]
/titanic_41/usr/src/tools/ctf/cvt/
H A Dst_parse.c850 offsize(char *cp, mlist_t *mlp) in offsize() argument
862 mlp->ml_offset = offset; in offsize()
863 mlp->ml_size = size; in offsize()
888 mlist_t *mlp, **prev; in soudef() local
914 mlp = xcalloc(sizeof (*mlp)); in soudef()
915 *prev = mlp; in soudef()
917 mlp->ml_name = w; in soudef()
952 cp = offsize(cp, mlp); in soudef()
956 if (mlp->ml_size != itdp->t_intr->intr_nbits) { in soudef()
958 "from %s", mlp->ml_size, tdesc_name(itdp)); in soudef()
[all …]
/titanic_41/usr/src/uts/common/inet/tcp/
H A Dtcp_stats.c107 mib2_transportMLPEntry_t mlp; in tcp_snmp_get() local
198 bzero(&mlp, sizeof (mlp)); in tcp_snmp_get()
202 mlp.tme_flags |= MIB2_TMEF_SHARED; in tcp_snmp_get()
205 mlp.tme_flags |= MIB2_TMEF_PRIVATE; in tcp_snmp_get()
209 mlp.tme_flags |= MIB2_TMEF_ANONMLP; in tcp_snmp_get()
216 mlp.tme_flags |= MIB2_TMEF_MACEXEMPT; in tcp_snmp_get()
220 mlp.tme_flags |= MIB2_TMEF_MACIMPLICIT; in tcp_snmp_get()
228 mlp.tme_flags |= MIB2_TMEF_IS_LABELED; in tcp_snmp_get()
229 mlp.tme_doi = label2doi(tsl); in tcp_snmp_get()
230 mlp.tme_label = *label2bslabel(tsl); in tcp_snmp_get()
[all …]
/titanic_41/usr/src/cmd/tsol/tnctl/
H A Dtnctl.c366 handle_mlps(zoneid_t zoneid, tsol_mlp_t *mlp, int flags, int cmd) in handle_mlps() argument
372 while (!TSOL_MLP_END(mlp)) { in handle_mlps()
373 tsme.tsme_mlp = *mlp; in handle_mlps()
385 mlp->mlp_port, mlp->mlp_port_upper, mlp->mlp_ipp, in handle_mlps()
389 mlp++; in handle_mlps()
/titanic_41/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;
/titanic_41/usr/src/uts/common/inet/sctp/
H A Dsctp_snmp.c546 mib2_transportMLPEntry_t mlp; in sctp_snmp_get_mib2() local
752 bzero(&mlp, sizeof (mlp)); in sctp_snmp_get_mib2()
756 mlp.tme_flags |= MIB2_TMEF_SHARED; in sctp_snmp_get_mib2()
759 mlp.tme_flags |= MIB2_TMEF_PRIVATE; in sctp_snmp_get_mib2()
763 mlp.tme_flags |= MIB2_TMEF_ANONMLP; in sctp_snmp_get_mib2()
770 mlp.tme_flags |= MIB2_TMEF_MACEXEMPT; in sctp_snmp_get_mib2()
774 mlp.tme_flags |= MIB2_TMEF_MACIMPLICIT; in sctp_snmp_get_mib2()
782 mlp.tme_flags |= MIB2_TMEF_IS_LABELED; in sctp_snmp_get_mib2()
783 mlp.tme_doi = label2doi(tsl); in sctp_snmp_get_mib2()
784 mlp.tme_label = *label2bslabel(tsl); in sctp_snmp_get_mib2()
[all …]
/titanic_41/usr/src/cmd/sendmail/src/
H A Dparseaddr.c1025 register struct match *mlp; /* cur ptr into mlist */ local
1103 mlp = mlist;
1146 mlp->match_pattern = rvp;
1147 mlp->match_first = avp;
1152 mlp->match_last = avp++;
1153 cataddr(mlp->match_first, mlp->match_last,
1169 mlp++;
1182 mlp->match_pattern = rvp;
1183 mlp->match_first = avp;
1184 mlp->match_last = avp++;
[all …]

12