Searched refs:mp (Results 1 - 25 of 1084) sorted by path

1234567891011>>

/illumos-gate/usr/src/boot/include/isofs/cd9660/
H A Diso.h259 #define VFSTOISOFS(mp) ((struct iso_mnt *)((mp)->mnt_data))
/illumos-gate/usr/src/boot/lib/libstand/
H A Dzalloc.c89 znalloc(MemPool *mp, uintptr_t bytes) argument
106 if (bytes <= mp->mp_Size - mp->mp_Used) {
110 for (pmn = &mp->mp_First; (mn=*pmn) != NULL; pmn = &mn->mr_Next) {
130 mp->mp_Used += bytes;
148 zfree(MemPool *mp, void *ptr, uintptr_t bytes) argument
163 if ((char *)ptr < (char *)mp->mp_Base ||
164 (char *)ptr + bytes > (char *)mp->mp_End ||
176 mp->mp_Used -= bytes;
178 for (pmn = &mp
257 zextendPool(MemPool *mp, void *base, uintptr_t bytes) argument
284 zallocstats(MemPool *mp) argument
[all...]
H A Dzalloc_protos.h34 Library void zextendPool(MemPool *mp, void *base, uintptr_t bytes);
35 Library void zallocstats(struct MemPool *mp);
/illumos-gate/usr/src/boot/sys/boot/common/
H A Dbootstrap.h217 int (* l_exec)(struct preloaded_file *mp);
H A Dload_elf.c75 static int __elfN(loadimage)(struct preloaded_file *mp, elf_file_t ef, u_int64_t loadaddr);
76 static int __elfN(lookup_symbol)(struct preloaded_file *mp, elf_file_t ef, const char* name, Elf_Sym* sym);
77 static int __elfN(reloc_ptr)(struct preloaded_file *mp, elf_file_t ef,
79 static int __elfN(parse_modmetadata)(struct preloaded_file *mp, elf_file_t ef,
1049 __elfN(reloc_ptr)(struct preloaded_file *mp, elf_file_t ef, argument
1057 (void)mp;
H A Dload_elf_obj.c65 static int __elfN(obj_loadimage)(struct preloaded_file *mp, elf_file_t ef,
67 static int __elfN(obj_lookup_set)(struct preloaded_file *mp, elf_file_t ef,
69 static int __elfN(obj_reloc_ptr)(struct preloaded_file *mp, elf_file_t ef,
71 static int __elfN(obj_parse_modmetadata)(struct preloaded_file *mp,
461 __elfN(obj_reloc_ptr)(struct preloaded_file *mp, elf_file_t ef, Elf_Addr p, argument
472 (void)mp;
H A Dmodule.c61 static void file_insert_tail(struct preloaded_file *mp);
256 struct kernel_module *mp; local
292 for (mp = fp->f_modules; mp; mp = mp->m_next) {
293 sprintf(lbuf, "%s.%d ", mp->m_name, mp->m_version);
360 struct kernel_module *mp; local
381 mp
483 struct kernel_module *mp; local
597 struct kernel_module *mp, *best; local
861 struct kernel_module *mp; local
890 struct kernel_module *mp, *mp1; local
[all...]
/illumos-gate/usr/src/boot/sys/sys/
H A Dmount.h199 struct vnode *__mnt_vnode_next_all(struct vnode **mvp, struct mount *mp);
200 struct vnode *__mnt_vnode_first_all(struct vnode **mvp, struct mount *mp);
201 void __mnt_vnode_markerfree_all(struct vnode **mvp, struct mount *mp);
203 #define MNT_VNODE_FOREACH_ALL(vp, mp, mvp) \
204 for (vp = __mnt_vnode_first_all(&(mvp), (mp)); \
205 (vp) != NULL; vp = __mnt_vnode_next_all(&(mvp), (mp)))
207 #define MNT_VNODE_FOREACH_ALL_ABORT(mp, mvp) \
209 MNT_ILOCK(mp); \
210 __mnt_vnode_markerfree_all(&(mvp), (mp)); \
211 /* MNT_IUNLOCK(mp);
371 MNT_SHARED_WRITES(struct mount *mp) argument
378 MNT_EXTENDED_SHARED(struct mount *mp) argument
[all...]
/illumos-gate/usr/src/cmd/ast/msgcc/
H A Dmsggen.c222 Sfio_t* mp; local
359 if (!(mp = sfopen(NiL, msgfile, "r")))
375 while (s = sfgetr(mp, '\n', 1))
413 t = s + sfvalue(mp);
428 while (s = sfgetr(mp, '\n', 0))
431 t = s + sfvalue(mp);
/illumos-gate/usr/src/cmd/avs/dscfglockd/
H A Ddscfglockd.c935 dispatch(struct lock_msg *mp, daemonaddr_t *host) argument
937 int message = mp->message;
946 lockd_msg(message), dp_addr(host), mp->pid);
951 mp->order, mp->pid);
957 daemon_alive(host, mp->order);
959 mp->order = order;
967 remote_unlock(mp->order, host);
976 remote_lock(host, mp);
982 local_lock(LOCK_READ, mp, hos
[all...]
/illumos-gate/usr/src/cmd/backup/dump/
H A Ddumptape.c2033 char *mp; /* current map entry */ local
2184 mp = recmap;
2191 mp++;
2196 for (; mp < endmp; mp++) {
2197 if (*mp)
/illumos-gate/usr/src/cmd/bnu/
H A Duuto85 mesg="Usage: uuto [-mp] files remote!user\n"
90 while getopts mp FLAG; do
/illumos-gate/usr/src/cmd/boot/bootadm/
H A Dbootadm.c259 static error_t update_entry(menu_t *mp, char *menu_root, char *opt);
260 static error_t update_temp(menu_t *mp, char *dummy, char *opt);
982 list_setting(menu_t *mp, char *which, char *setting) argument
1004 which = mp->curdefault->arg;
1008 which = mp->curdefault->arg;
1013 for (ent = mp->entries; ((ent != NULL) && (ent->entryNum != entry));
1288 error_t (*f)(menu_t *mp, char *menu_path, char *opt);
4510 append_line(menu_t *mp, line_t *lp) argument
4512 if (mp->start == NULL) {
4513 mp
4522 unlink_line(menu_t *mp, line_t *lp) argument
4536 boot_entry_new(menu_t *mp, line_t *start, line_t *end) argument
4725 line_parser(menu_t *mp, char *str, int *lineNum, int *entryNum) argument
4903 update_numbering(menu_t *mp) argument
5004 menu_t *mp; local
5042 selector(menu_t *mp, char *opt, int *entry, char **title) argument
5096 list_entry(menu_t *mp, char *menu_path, char *opt) argument
5165 add_boot_entry(menu_t *mp, char *title, char *findroot, char *kernel, char *mod_kernel, char *module, char *bootfs) argument
5269 delete_boot_entry(menu_t *mp, int entryNum, int quiet) argument
5345 delete_all_entries(menu_t *mp, char *dummy, char *opt) argument
5800 struct mnttab mp = {0}; local
7092 struct mnttab mp = {0}; local
7779 struct mnttab mp = {0}; local
8363 bam_add_line(menu_t *mp, entry_t *entry, line_t *prev, line_t *lp) argument
8402 find_boot_entry( menu_t *mp, char *title, char *kernel, char *findroot, char *root, char *module, int root_opt, int *entry_num) argument
8550 update_boot_entry(menu_t *mp, char *title, char *findroot, char *root, char *kernel, char *mod_kernel, char *module, int root_opt) argument
8790 update_entry(menu_t *mp, char *menu_root, char *osdev) argument
8930 save_default_entry(menu_t *mp, const char *which) argument
8958 restore_default_entry(menu_t *mp, const char *which, line_t *lp) argument
8996 update_temp(menu_t *mp, char *dummy, char *opt) argument
9256 set_global(menu_t *mp, char *globalcmd, int val) argument
9483 get_set_kernel( menu_t *mp, menu_cmd_t optnum, char *path, char *buf, size_t bufsize) argument
9841 get_kernel(menu_t *mp, menu_cmd_t optnum, char *buf, size_t bufsize) argument
9849 set_kernel(menu_t *mp, menu_cmd_t optnum, char *path, char *buf, size_t bufsize) argument
9860 set_option(menu_t *mp, char *dummy, char *opt) argument
9936 read_globals(menu_t *mp, char *menu_path, char *globalcmd, int quiet) argument
9987 menu_write(char *root, menu_t *mp) argument
10033 menu_free(menu_t *mp) argument
[all...]
H A Dbootadm.h192 extern void bam_add_line(menu_t *mp, entry_t *entry, line_t *prev, line_t *lp);
193 extern void update_numbering(menu_t *mp);
223 extern void unlink_line(menu_t *mp, line_t *lp);
H A Dbootadm_hyper.c755 cvt_to_hyper(menu_t *mp, char *osroot, char *extra_args) argument
807 curdef = atoi(mp->curdefault->arg);
810 for (ent = mp->entries; ((ent != NULL) && (ent->entryNum != curdef));
981 if ((newdef = add_boot_entry(mp, title, findroot, kernel, mod_kernel,
989 if (delete_boot_entry(mp, curdef, DBE_QUIET) == BAM_SUCCESS)
1000 return (set_global(mp, menu_cmds[DEFAULT_CMD], newdef));
1013 cvt_to_metal(menu_t *mp, char *osroot, char *menu_root) argument
1057 curdef = atoi(mp->curdefault->arg);
1060 for (ent = mp->entries; ((ent != NULL) && (ent->entryNum != curdef));
1246 if ((newdef = add_boot_entry(mp, titl
[all...]
H A Dbootadm_loader.c233 struct menu_entry *mp; local
302 if ((mp = malloc(sizeof (struct menu_entry))) == NULL) {
308 mp->entry = i++;
309 mp->title = title;
310 mp->bootfs = bootfs;
311 STAILQ_INSERT_TAIL(menu, mp, next);
1019 struct mnttab mp = { 0 }; local
1038 if (getmntany(fp, &mp, &mpref) != 0) {
1054 (void) snprintf(buf, MAX_INPUT, "set currdev=zfs:%s:", mp.mnt_special);
1219 struct mnttab mp local
[all...]
H A Dbootadm_upgrade.c565 bam_warn_hand_entries(menu_t *mp, char *osroot) argument
588 for (entry = mp->entries; entry; entry = entry->next) {
721 bam_add_findroot(menu_t *mp, char *grubsign, char *grubroot, int root_opt) argument
734 entry = find_matching_entry(mp->entries, grubsign, grubroot, root_opt);
765 bam_add_line(mp, entry, line, newlp);
776 unlink_line(mp, line);
790 update_numbering(mp);
798 bam_add_hv(menu_t *mp, char *grubsign, char *grubroot, int root_opt) argument
805 entry = find_matching_entry(mp->entries, grubsign, grubroot, root_opt);
816 (void) add_boot_entry(mp, NEW_HV_ENTR
829 bam_add_dboot( menu_t *mp, char *osroot, char *grubsign, char *grubroot, int root_opt) argument
914 upgrade_menu(menu_t *mp, char *osroot, char *menu_root) argument
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppdump/
H A Dppp-comp.h62 int (*decompress) __P((void *state, u_char *mp, int inlen,
65 void (*incomp) __P((void *state, u_char *mp, int len));
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/
H A Drwho.c83 register struct myutmp *mp; local
103 mp = myutmp;
132 mp->myutmp = we->we_utmp; mp->myidle = we->we_idle;
133 (void) strncpy(mp->myhost, w->wd_hostname,
134 sizeof (mp->myhost));
135 nusers++; we++; mp++;
140 mp = myutmp;
143 int j = strlen(mp->myhost) + 1 + strlen(mp
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/inetd/
H A Dwait.c157 method_el_t *mp = arg; local
160 methods[mp->method].name, mp->inst->fmri);
162 mp->inst->timer_id = -1;
164 if (mp->method == IM_START) {
165 process_start_term(mp->inst, mp->proto_name);
167 process_non_start_term(mp->inst, IMRET_FAILURE);
170 unregister_method(mp);
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/
H A Dradix.c507 uint8_t *mp = m_arg, *np = n_arg, *lim; local
509 lim = mp + sizeof (struct sockaddr);
510 while (mp < lim)
511 if (*mp++ > *np++)
553 struct radix_mask *m, **mp; local
645 for (mp = &t->rn_mklist; x; x = x->rn_dupedkey)
648 if ((*mp = m = rn_new_radix_mask(x, 0)) != NULL)
649 mp = &m->rm_mklist;
655 for (mp = &x->rn_mklist; (m = *mp) !
712 struct radix_mask *m, *saved_m, **mp; local
[all...]
/illumos-gate/usr/src/cmd/cron/
H A Dcron.c3509 struct miscpid *mp; local
3511 mp = xmalloc(sizeof (*mp));
3512 mp->pid = pid;
3513 mp->next = miscpid_head;
3514 miscpid_head = mp;
3520 struct miscpid *mp, *omp; local
3524 for (mp = miscpid_head; mp != NULL; mp
[all...]
/illumos-gate/usr/src/cmd/csh/
H A Dsh.lex.c755 tchar *wp, *mp, *np; local
778 for (mp = cp; *mp; mp++)
779 if (matchs(mp, lhsb)) {
780 for (np = cp; np < mp; )
804 mp += strlen_(lhsb);
805 i -= strlen_(mp);
812 (void) strcat_(wp, mp);
/illumos-gate/usr/src/cmd/dc/
H A Ddc.c1344 struct blk *mp, *mq, *mr; local
1350 mp = p;
1353 mp = copy(p, length(p));
1354 chsign(mp);
1367 mr = salloc(length(mp) + length(mq));
1372 rewind(mp);
1376 while (sfeof(mp) == 0) {
1377 cp = sgetc(mp);
1392 if (mp != p)
1393 release(mp);
[all...]
/illumos-gate/usr/src/cmd/devfsadm/
H A Ddevfsadm.c1057 struct minor *mp, *smp; local
1072 for (smp = NULL, mp = dep->head; mp; mp = mp->next) {
1074 (void) check_minor_type(mp->node, mp->minor, dcip);
1076 smp = mp;
1978 struct minor *mp; local
1990 mp
4645 char *np, *ap, *mp; local
7148 struct mperm *mp; local
[all...]

Completed in 264 milliseconds

1234567891011>>