Home
last modified time | relevance | path

Searched refs:mctl (Results 1 – 25 of 26) sorted by relevance

12

/titanic_41/usr/src/cmd/mdb/common/kmdb/kctl/
H A Dkctl_auxv.c39 struct modctl *mctl; in kctl_lookup_by_name() local
43 if ((mctl = mod_hold_by_name(modname)) == NULL) in kctl_lookup_by_name()
45 if ((ksym = kobj_lookup_all(mctl->mod_mp, symname, 1)) == NULL) { in kctl_lookup_by_name()
46 mod_release_mod(mctl); in kctl_lookup_by_name()
52 mod_release_mod(mctl); in kctl_lookup_by_name()
60 struct modctl *mctl; in kctl_boot_lookup_by_name() local
63 if ((mctl = kobj_boot_mod_lookup(modname)) == NULL) in kctl_boot_lookup_by_name()
66 if ((ksym = kobj_lookup_all(mctl->mod_mp, symname, 1)) == NULL) in kctl_boot_lookup_by_name()
/titanic_41/usr/src/uts/common/os/
H A Dstreamio.c2542 strput(struct stdata *stp, mblk_t *mctl, struct uio *uiop, ssize_t *iosize, in strput() argument
2562 freemsg(mctl); in strput()
2567 freemsg(mctl); in strput()
2574 freemsg(mctl); in strput()
2586 if (mctl != NULL) { in strput()
2587 if (mctl->b_cont == NULL) in strput()
2588 mctl->b_cont = mp; in strput()
2590 linkb(mctl, mp); in strput()
2591 mp = mctl; in strput()
2618 freemsg(mctl); in strput()
[all …]
H A Ddumpsubr.c1545 mblk_t *mctl, *mdata; in dump_messages() local
1561 for (mctl = q->q_first; mctl != NULL; mctl = mctl->b_next) { in dump_messages()
1563 mdata = mctl->b_cont; in dump_messages()
1565 ld.ld_msgsize = MBLKL(mctl->b_cont); in dump_messages()
1566 ld.ld_csum = checksum32(mctl->b_rptr, MBLKL(mctl)); in dump_messages()
1569 dumpvp_write(mctl->b_rptr, MBLKL(mctl)); in dump_messages()
H A Dstrsubr.c2735 struct strbuf *mctl, in strmakemsg() argument
2750 if ((mctl != NULL) && (mctl->len >= 0)) { in strmakemsg()
2751 error = strmakectl(mctl, flag, uiop->uio_fmode, &mpctl); in strmakemsg()
2779 struct strbuf *mctl, in strmakectl() argument
2796 if ((mctl != NULL) && (mctl->len >= 0)) { in strmakectl()
2806 ctlcount = mctl->len; in strmakectl()
2807 base = mctl->buf; in strmakectl()
/titanic_41/usr/src/lib/libbc/libc/gen/common/
H A Dmunlockall.c41 return (mctl(0, 0, MC_UNLOCKAS, 0)); in munlockall()
H A Dmlockall.c41 return (mctl(0, 0, MC_LOCKAS, flags)); in mlockall()
H A Dmunlock.c41 return (mctl(addr, len, MC_UNLOCK, 0)); in munlock()
H A Dmlock.c45 return (mctl(addr, len, MC_LOCK, 0)); in mlock()
H A Dmsync.c45 return (mctl(addr, len, MC_SYNC, flags)); in msync()
H A Dmadvise.c46 return (mctl(addr, len, MC_ADVISE, advice)); in madvise()
/titanic_41/usr/src/ucblib/libucb/port/sys/
H A Dmctl.c53 mctl(caddr_t addr, size_t len, int function, int arg) in mctl() function
/titanic_41/usr/src/uts/common/inet/sockmods/
H A Dsocksctp.c728 mblk_t *mctl; in sosctp_sendmsg() local
887 mctl = sctp_alloc_hdr(msg->msg_name, msg->msg_namelen, in sosctp_sendmsg()
889 if (mctl == NULL) { in sosctp_sendmsg()
895 if ((error = sosctp_uiomove(mctl, count, so->so_proto_props.sopp_maxblk, in sosctp_sendmsg()
899 error = sctp_sendmsg((struct sctp_s *)so->so_proto_handle, mctl, 0); in sosctp_sendmsg()
904 freemsg(mctl); in sosctp_sendmsg()
932 mblk_t *mctl; in sosctp_seq_sendmsg() local
1090 mctl = sctp_alloc_hdr(msg->msg_name, namelen, msg->msg_control, in sosctp_seq_sendmsg()
1092 if (mctl == NULL) { in sosctp_seq_sendmsg()
1098 if ((error = sosctp_uiomove(mctl, count, ssa->ssa_wrsize, in sosctp_seq_sendmsg()
[all …]
/titanic_41/usr/src/uts/common/fs/sockfs/
H A Dsockstr.c2002 mblk_t *mctl, *mdata; in strsock_proto() local
2043 mctl = mp; in strsock_proto()
2044 mdata = mctl->b_cont; in strsock_proto()
2045 mctl->b_cont = NULL; in strsock_proto()
2048 mctl = so_oob_exdata(so, mctl, allmsgsigs, pollwakeups); in strsock_proto()
2088 freemsg(mctl); in strsock_proto()
2114 ASSERT(mctl != NULL); in strsock_proto()
2115 mctl->b_next = mdata; in strsock_proto()
2116 mp = mctl; in strsock_proto()
2837 struct strbuf *mctl, in sock_getmsg() argument
[all …]
/titanic_41/usr/src/uts/common/io/elxl/
H A Delxl.c912 uint16_t mctl; in elxl_set_media() local
913 mctl = GET16(W3_MAC_CONTROL); in elxl_set_media()
915 mctl |= MAC_CONTROL_FDX; in elxl_set_media()
917 mctl &= ~MAC_CONTROL_FDX; in elxl_set_media()
919 PUT16(W3_MAC_CONTROL, mctl); in elxl_set_media()
2137 int mctl; in elxl_mii_notify() local
2150 mctl = GET16(W3_MAC_CONTROL); in elxl_mii_notify()
2152 mctl |= MAC_CONTROL_FDX; in elxl_mii_notify()
2154 mctl &= ~MAC_CONTROL_FDX; in elxl_mii_notify()
2155 PUT16(W3_MAC_CONTROL, mctl); in elxl_mii_notify()
/titanic_41/usr/src/uts/common/krtld/
H A Dkobj.c1279 struct modctl *mctl = kobj_modules; in mod_already_loaded() local
1282 if (strcmp(modname, mctl->mod_filename) == 0) in mod_already_loaded()
1283 return (mctl); in mod_already_loaded()
1284 mctl = mctl->mod_next; in mod_already_loaded()
1286 } while (mctl != kobj_modules); in mod_already_loaded()
1381 struct modctl *mctl; in load_kmdb() local
1393 if ((mctl = add_primary("misc/kmdbmod", KOBJ_LM_DEBUGGER)) == NULL) in load_kmdb()
1396 mctl->mod_busy = 1; in load_kmdb()
1397 (void) kobj_load_module(mctl, 1); in load_kmdb()
1398 mctl->mod_busy = 0; in load_kmdb()
[all …]
/titanic_41/usr/src/uts/common/io/usb/clients/usbser/usbftdi/
H A Duftdi_dsd.c844 uint16_t mctl; in uftdi_set_modem_ctl() local
856 mctl = (val & TIOCM_DTR) ? in uftdi_set_modem_ctl()
860 FTDI_SIO_MODEM_CTRL, mctl, uf->uf_hwport); in uftdi_set_modem_ctl()
865 uf->uf_mctl |= mctl & FTDI_SIO_SET_DTR_HIGH; in uftdi_set_modem_ctl()
872 mctl = (val & TIOCM_RTS) ? in uftdi_set_modem_ctl()
876 FTDI_SIO_MODEM_CTRL, mctl, uf->uf_hwport); in uftdi_set_modem_ctl()
881 uf->uf_mctl |= mctl & FTDI_SIO_SET_RTS_HIGH; in uftdi_set_modem_ctl()
/titanic_41/usr/src/ucblib/libucb/
H A DMakefile.com36 mctl.o \
/titanic_41/usr/src/ucblib/libucb/port/
H A Dmapfile-vers100 mctl;
/titanic_41/usr/src/ucbcmd/sbcp/
H A Dsyscalls.list77 mctl SIMPLE /* 53 = 4, memory control */
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/ftp/
H A Dftp.c1752 struct sockaddr_in6 mctl; in pswitch() member
1797 ip->mctl = myctladdr; in pswitch()
1798 myctladdr = op->mctl; in pswitch()
/titanic_41/usr/src/cmd/mdb/common/kmdb/
H A Dkmdb_kvm.c1456 kmt_defbp_modchg(struct modctl *mctl, int isload) in kmt_defbp_modchg() argument
1467 if (strcmp(mctl->mod_modname, dbp->dbp_objname) == 0) { in kmt_defbp_modchg()
1472 kmt_defbp_modchg_modctl = mctl; in kmt_defbp_modchg()
/titanic_41/usr/src/uts/common/inet/sctp/
H A Dsctp_input.c630 mblk_t *mp, *mpnext, *mctl; in sctp_free_reass() local
640 mctl = mp; in sctp_free_reass()
642 srp = (sctp_reass_t *)DB_BASE(mctl); in sctp_free_reass()
647 mctl->b_cont = NULL; in sctp_free_reass()
648 freeb(mctl); in sctp_free_reass()
/titanic_41/usr/src/uts/common/c2/
H A Daudit.c651 audit_strgetmsg(struct vnode *vp, struct strbuf *mctl, struct strbuf *mdata, in audit_strgetmsg() argument
681 audit_strputmsg(struct vnode *vp, struct strbuf *mctl, struct strbuf *mdata, in audit_strputmsg() argument
/titanic_41/usr/src/uts/common/io/aac/
H A Daac.c4109 struct mode_control_scsi3 *mctl; in aac_mode_sense() local
4111 mctl = (void *)next_page; in aac_mode_sense()
4112 mctl->mode_page.code = MODEPAGE_CTRL_MODE; in aac_mode_sense()
4113 mctl->mode_page.length = in aac_mode_sense()
4116 mctl->d_sense = 1; in aac_mode_sense()
/titanic_41/usr/src/lib/libbsm/
H A Daudit_event.txt85 19:AUE_MCTL:mctl(2):no

12