| /illumos-gate/usr/src/cmd/lp/lib/msgs/ |
| H A D | mdisconnect.c | 43 int mdisconnect ( MESG * md ) 45 int mdisconnect (md) 46 MESG *md; 53 if (!md) 59 switch(md->type) 64 if (md->writefd >= 0) 65 (void) Close(md->writefd); 66 if (md->readfd >= 0) 67 (void) Close(md->readfd); 72 disconnect3_2(md); [all...] |
| H A D | mclose.c | 40 MESG *md = lp_Md; local 44 return(mdisconnect(md));
|
| H A D | mcreate.c | 50 MESG *md; local 63 if ((md = (MESG *)Malloc(MDSIZE)) == NULL) 66 memset(md, 0, sizeof (MESG)); 67 md->admin = 1; 68 md->file = Strdup(path); 69 md->gid = getgid(); 70 md->readfd = fds[0]; 71 md->state = MDS_IDLE; 72 md->type = MD_MASTER; 73 md [all...] |
| H A D | mdestroy.c | 41 int mdestroy(MESG *md) argument 46 if (!md || md->type != MD_MASTER || md->file == NULL) { 51 if (fdetach(md->file) != 0) 54 pfd.fd = md->readfd; 57 if (ioctl(md->readfd, I_RECVFD, &recbuf) == 0) 64 if (ioctl(md->writefd, I_POP, 0) != 0) 67 Free(md->file); 68 md [all...] |
| H A D | mconnect.c | 68 MESG *md; local 120 if ((md = (MESG *)Malloc(MDSIZE)) == NULL) 126 memset(md, 0, sizeof (MESG)); 127 md->gid = getgid(); 128 md->on_discon = NULL; 129 md->readfd = fd; 130 md->state = MDS_IDLE; 131 md->type = MD_STREAM; 132 md->uid = getuid(); 133 md [all...] |
| H A D | mwrite.c | 43 static int _mwrite ( MESG * md , char * msgbuf , int ); 54 mflush(MESG *md) argument 59 if (md == NULL || md->mque == NULL) { 64 while ((p = md->mque) != NULL) { 65 if (_mwrite(md, p->dat->buf, p->dat->len) != 0) 69 md->mque = p->next; 83 * and md->mque is updated. 87 int mwrite ( MESG * md, char * msgbuf ) argument 94 if (md 163 _mwrite( MESG * md, char * msgbuf , int size ) argument [all...] |
| H A D | mgetputm.c | 62 int mgetm ( MESG * md, int type, ... ) argument 64 int mgetm (md, type, va_alist) 65 MESG *md; 80 needsize = mpeek(md); 96 if (mread(md, MBG, MBGSize) < 0) 107 int mputm ( MESG * md, int type, ... ) argument 109 int mputm (md, type, va_alist) 110 MESG *md; 153 return(mwrite(md, MBP)); 171 short mpeek ( MESG * md ) [all...] |
| H A D | mread.c | 47 ** EINVAL Bad value for md or msgbuf. 58 int mread ( MESG * md, char * msgbuf, int size ) argument 60 int mread ( md, msgbuf, size ) 61 MESG *md; 71 if (md == NULL || msgbuf == NULL) 77 switch(md->type) 96 if (Getmsg(md, &ctl, &dat, &flag) < 0) 105 (void) Close(md->readfd); 118 if (read3_2(md, msgbuf, size) < 0)
|
| H A D | mlisten.c | 56 mlisteninit(MESG * md) argument 58 if (md == NULL) 78 Connections[0] = md; 79 PollFdList[0].fd = md->readfd; 87 mlistenadd(MESG * md, short events) argument 125 fdp->fd = md->readfd; 133 Connections[NumCons + NumNewCons++] = md; 141 MESG * md; local 151 md = Connections[0]; 161 return(md); 170 MESG * md; local 528 mon_discon(MESG * md, void (*fn)()) argument [all...] |
| H A D | streamio.c | 104 int read3_2 ( MESG * md, char *msgbuf, int size ) argument 108 if (md->type == MD_USR_FIFO) 109 (void) Close (Open(md->file, O_RDONLY, 0)); 113 switch (read_fifo(md->readfd, msgbuf, size)) 154 int write3_2 ( MESG * md, char * msgbuf, int size ) argument 166 rval = write_fifo(md->writefd, tmpbuf, size + EXCESS_3_2_LEN);
|
| /illumos-gate/usr/src/cmd/lp/cmd/lpsched/ |
| H A D | msgs.c | 68 MESG * md; local 71 if ((md = mlisten()) == NULL) 92 if ((md->event & POLLHUP) && !(md->event & POLLIN) || 93 (md->event & (POLLERR|POLLNVAL))) { 94 switch (md->type) { 104 if (Exec_Table[i]->md == md) 123 if (md->readfd == -1) { /* something happened to the readfd */ 127 bytes = mread(md, Messag 154 do_msg(MESG *md) argument 219 MESG * md; local 247 MESG *md; local [all...] |
| H A D | disp5.c | 45 s_child_done(char *m, MESG *md) argument 57 if ((Exec_Table[i]->key == key) && (Exec_Table[i]->md == md)) { 62 key, md, ep); 69 DROP_MD (ep->md);
|
| H A D | disptab.c | 304 dispatch(int type, char *m, MESG *md) argument 309 dispatchName(type), m, md); 312 mputm(md, R_BAD_MESSAGE); 315 mputm(md, R_BAD_MESSAGE); 317 else if (pd->flags & D_ADMIN && !md->admin) 319 (*pd->fncp) (md, type+1); 321 mputm(md, R_BAD_MESSAGE); 323 else if (pd->flags & D_SYSTEM && md->type != MD_CHILD && 324 md->type != MD_BOUND) 326 (*pd->fncp) (md, typ 340 r_H(MESG *md, int type) argument 346 r_HS(MESG *md, int type) argument [all...] |
| H A D | disp4.c | 40 s_accept_dest(char *m, MESG *md) argument 80 mputm (md, R_ACCEPT_DEST, status); 89 s_reject_dest(char *m, MESG *md) argument 134 mputm (md, R_REJECT_DEST, status); 143 s_enable_dest(char *m, MESG *md) argument 164 mputm (md, R_ENABLE_DEST, status); 173 s_disable_dest(char *m, MESG *md) argument 218 mputm (md, R_DISABLE_DEST, status, NB(req_id)); 230 s_load_filter_table(char *m, MESG *md) argument 248 mputm (md, R_LOAD_FILTER_TABL 257 s_unload_filter_table(char *m, MESG *md) argument 277 s_load_user_file(char *m, MESG *md) argument 295 s_unload_user_file(char *m, MESG *md) argument 309 s_shutdown(char *m, MESG *md) argument 337 s_quiet_alert(char *m, MESG *md) argument 428 s_send_fault(char *m, MESG *md) argument 455 s_clear_fault(char *m, MESG *md) argument 484 s_paper_changed(char *m, MESG *md) argument [all...] |
| H A D | disp1.c | 44 s_alloc_files(char *m, MESG *md) /* funcdef */ argument 60 if ((file_prefix = _alloc_files(count, (char *)0, md->uid, md->gid))) { 61 mputm(md, R_ALLOC_FILES, MOK, file_prefix); 62 add_flt_act(md, FLT_FILES, file_prefix, count); 64 mputm(md, R_ALLOC_FILES, MERRDEST, ""); 66 mputm(md, R_ALLOC_FILES, MNOMEM, ""); 77 s_print_request(char *m, MESG *md) argument 129 rp->secure->uid = md->uid; 130 rp->secure->gid = md 336 s_start_change_request(char *m, MESG *md) argument 442 s_end_change_request(char *m, MESG *md) argument 647 _cancel(MESG *md, char *dest, char *user, char *req_id) argument 729 s_cancel_request(char *m, MESG *md) argument 749 s_cancel(char *m, MESG *md) argument 792 s_inquire_request_rank(char *m, MESG *md) argument 991 s_move_request(char *m, MESG *md) argument 1036 s_move_dest(char *m, MESG *md) argument 1154 s_pass_peer_connection(char *m, MESG *md) argument [all...] |
| /illumos-gate/usr/src/cmd/lvm/etc/ |
| H A D | svm.save.sh | 36 cp ${FLASH_ROOT}/kernel/drv/md.conf ${SAVE_DIR} 38 cp ${FLASH_ROOT}/etc/lvm/md.cf ${SAVE_DIR} 39 cp ${FLASH_ROOT}/etc/lvm/md.ctlrmap ${SAVE_DIR} 40 cp ${FLASH_ROOT}/etc/lvm/md.tab ${SAVE_DIR}
|
| H A D | svm.cleanup.sh | 35 IN_CONF=${FLASH_ROOT}/kernel/drv/md.conf 39 TMP_CONF=/var/tmp/md.conf.1 64 # need to copy the md.conf file from the current root onto the 67 if [ -h /kernel/drv/md.conf ]; then 68 # Remove SVM mddb entries from /kernel/drv/md.conf. 85 cp /kernel/drv/md.conf ${IN_CONF} 95 # the md.conf on the currently running root to see if SVM is 97 # volumes already so the mini-root md.conf has the mddb info. For 98 # the live-upgade case both roots will be sharing the same md.conf 101 # Check if there are mddb entries in md [all...] |
| /illumos-gate/usr/src/tools/ctf/stabs/common/ |
| H A D | genassym.c | 216 ga_member_cb_data_t *md = arg; local 220 if (strcmp(name, md->gmcb_memname) != 0) 223 md->gmcb_off += off / 8; /* off is in bits */ 225 if (md->gmcb_submem != NULL) { 232 smd.gmcb_memname = md->gmcb_submem; 234 smd.gmcb_offdef = md->gmcb_offdef; 235 smd.gmcb_off = md->gmcb_off; 240 if (md->gmcb_offdef == NULL) { 243 label = md->gmcb_memname; 247 label = md 269 ga_member_find(ctf_id_t curtype, ga_member_cb_data_t *md) argument 290 ga_member_cb_data_t md = { 0 }; local [all...] |
| /illumos-gate/usr/src/cmd/mdb/intel/amd64/md/ |
| H A D | Makefile | 26 MODULE = md.so 33 md.c \
|
| /illumos-gate/usr/src/cmd/mdb/intel/ia32/md/ |
| H A D | Makefile | 26 MODULE = md.so 33 md.c \
|
| /illumos-gate/usr/src/cmd/mdb/sparc/v9/md/ |
| H A D | Makefile | 26 MODULE = md.so 33 md.c \
|
| /illumos-gate/usr/src/cmd/lvm/util/ |
| H A D | svc-metainit | 32 METADEV=/dev/md/admin 36 if [ ! -s /kernel/drv/md.conf ]; then 37 echo "/kernel/drv/md.conf is missing or empty."
|
| /illumos-gate/usr/src/cmd/mdb/sun4v/modules/mdesc/ |
| H A D | mdesc.c | 43 machine_descrip_t md; local 62 if (mdb_vread(&md, sizeof (md), mdp) == -1) { 69 mdp, md.va, md.memops, md.size); 73 } while ((mdp = (uintptr_t)md.next) != NULL); 83 machine_descrip_t md; local 104 if (mdb_vread(&md, sizeof (md), md 238 machine_descrip_t md; local [all...] |
| /illumos-gate/usr/src/boot/sys/boot/i386/libi386/ |
| H A D | bootinfo32.c | 104 struct file_metadata *md; local 117 for (md = fp->f_metadata; md != NULL; md = md->md_next) 118 if (!(md->md_type & MODINFOMD_NOCOPY)) 119 MOD_METADATA(addr, md, c); 139 struct file_metadata *md; local 232 md = file_findmetadata(kfp, MODINFOMD_KERNEND); 233 bcopy(&kernend, md [all...] |
| /illumos-gate/usr/src/boot/sys/boot/userboot/userboot/ |
| H A D | bootinfo32.c | 104 struct file_metadata *md; local 117 for (md = fp->f_metadata; md != NULL; md = md->md_next) 118 if (!(md->md_type & MODINFOMD_NOCOPY)) 119 MOD_METADATA(addr, md, c); 139 struct file_metadata *md; local 211 md = file_findmetadata(kfp, MODINFOMD_KERNEND); 212 bcopy(&kernend, md [all...] |