Home
last modified time | relevance | path

Searched refs:mb (Results 1 – 25 of 221) sorted by relevance

123456789

/illumos-gate/usr/src/common/smbsrv/
H A Dsmb_msgbuf.c69 return (mb->scan - mb->base); in smb_msgbuf_used()
78 return (mb->max); in smb_msgbuf_size()
84 return (mb->base); in smb_msgbuf_base()
93 mb->scan = (uint8_t *)((uintptr_t)(mb->scan + 1) & ~1); in smb_msgbuf_word_align()
102 mb->scan = (uint8_t *)((uintptr_t)(mb->scan + 3) & ~3); in smb_msgbuf_dword_align()
112 if (size > mb->max || (mb->scan + size) > mb->end) in smb_msgbuf_has_space()
149 mb->scan = mb->base = buf; in smb_msgbuf_init()
150 mb->max = mb->count = size; in smb_msgbuf_init()
359 mb->scan += 4; in buf_decode()
402 if ((mb->scan + datalen) >= mb->end) in msgbuf_get_oem_string()
[all …]
/illumos-gate/usr/src/cmd/smbsrv/test-msgbuf/
H A Dtest_msgbuf.c43 smb_msgbuf_t mb; in msg_put_a0() local
75 smb_msgbuf_t mb; in msg_put_a1() local
104 smb_msgbuf_t mb; in msg_put_apad() local
134 smb_msgbuf_t mb; in msg_put_atrunc1() local
165 smb_msgbuf_t mb; in msg_put_atrunc2() local
200 smb_msgbuf_t mb; in msg_put_u0() local
232 smb_msgbuf_t mb; in msg_put_u1() local
260 smb_msgbuf_t mb; in msg_put_u3() local
288 smb_msgbuf_t mb; in msg_put_u4() local
500 if (mb.scan != mb.end) { in msg_get_a2()
[all …]
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlc/
H A Dql_mbx.c569 rval, mcp->mb[1], mcp->mb[2], mcp->mb[3]); in ql_online_selftest()
633 rval, mcp->mb[1], mcp->mb[2], mcp->mb[3]); in ql_loop_back()
3837 mcp->mb[1] = mr->mb[1]; in ql_serdes_param()
3838 mcp->mb[2] = mr->mb[2]; in ql_serdes_param()
3839 mcp->mb[3] = mr->mb[3]; in ql_serdes_param()
3840 mcp->mb[4] = mr->mb[4]; in ql_serdes_param()
4318 mcp->mb[1] = mr->mb[1]; in ql_idc_request()
4319 mcp->mb[2] = mr->mb[2]; in ql_idc_request()
4320 mcp->mb[3] = mr->mb[3]; in ql_idc_request()
4321 mcp->mb[4] = mr->mb[4]; in ql_idc_request()
[all …]
H A Dql_isr.c874 "mbx12=%xh,\n", mb[0], mb[1], mb[2], mb[3], in ql_async_event()
916 mb[2], mb[3]); in ql_async_event()
965 " mbx2=%xh, mbx3=%xh\n", mb[0], mb[1], mb[2], mb[3]); in ql_async_event()
1108 mb[2] == 7 && (MSB(mb[3]) == 0xe || MSB(mb[3]) == 0x1a || in ql_async_event()
1134 (mb[1] != 0xffff || mb[2] != 6 || mb[3] != 0))))) { in ql_async_event()
1137 mb[0], mb[1], mb[2], mb[3]); in ql_async_event()
1140 " mbx2=%xh, mbx3=%xh\n", mb[0], mb[1], mb[2], in ql_async_event()
1183 "mbx3=%xh\n", mb[0], mb[1], mb[2], mb[3]); in ql_async_event()
1186 "mbx3=%xh\n", mb[0], mb[1], mb[2], mb[3]); in ql_async_event()
1215 "mbx2=%xh, mbx3=%xh\n", mb[0], mb[1], mb[2], mb[3]); in ql_async_event()
[all …]
H A Dql_init.c2235 (mr.mb[2] == PROD_ID_2 || mr.mb[2] == PROD_ID_2a) && in ql_chip_diag()
2236 (mr.mb[3] == PROD_ID_3 || mr.mb[3] == id)) { in ql_chip_diag()
2248 ha->instance, mr.mb[1], mr.mb[2], mr.mb[3]); in ql_chip_diag()
2529 ha->fw_ext_memory_size = ((SHORT_TO_LONG(mr.mb[4], mr.mb[5]) - in ql_start_firmware()
2541 mr.mb[12]); in ql_start_firmware()
2701 mr.mb[1] = (uint16_t)(mr.mb[1] | BIT_9); in ql_init_rings()
2702 mr.mb[2] = 0; in ql_init_rings()
2883 state = mr.mb[1]; in ql_fw_ready()
3054 if (mr.mb[1]) { in ql_configure_n_port_info()
3181 mr.mb[1] = 0; in ql_configure_hba()
[all …]
/illumos-gate/usr/src/cmd/localedef/
H A Dwide.c130 if (isascii(*mb) && isgraph(*mb)) { in show_mb()
131 buf[0] = *mb; in show_mb()
136 while (*mb != 0) { in show_mb()
140 mb++; in show_mb()
173 *c = (uint8_t)*mb; in towide_none()
185 mb[1] = 0; in tomb_none()
301 c = *(uint8_t *)mb; in towide_dbcs()
391 c = *(uint8_t *)mb; in towide_gb18030()
410 show_mb(mb)); in towide_gb18030()
434 c = *(uint8_t *)mb; in towide_mskanji()
[all …]
/illumos-gate/usr/src/lib/librpcsvc/common/
H A Dmountlist_xdr.c64 mb = tmp;
65 tmp = mb->ml_next;
70 free(mb);
77 mountbody *mb; local
88 if (mb == NULL) {
98 mb_prev = mb;
99 *objp = mb;
109 mb_prev = mb;
116 mountbody *mb; local
118 mb = *objp;
[all …]
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlge/
H A Dqlge_mpi.c384 mbx_cmds->mb[2], mbx_cmds->mb[3]); in ql_async_event_parser()
518 mbx_cmds->mb[1], mbx_cmds->mb[2])); in ql_async_event_parser()
556 reply_cmd.mb[1] = mbx_cmds->mb[1]; in ql_async_event_parser()
557 reply_cmd.mb[2] = mbx_cmds->mb[2]; in ql_async_event_parser()
558 reply_cmd.mb[3] = mbx_cmds->mb[3]; in ql_async_event_parser()
559 reply_cmd.mb[4] = mbx_cmds->mb[4]; in ql_async_event_parser()
581 mbx_cmds->mb[1], mbx_cmds->mb[2])); in ql_async_event_parser()
635 mbx_cmds->mb[1], mbx_cmds->mb[2]); in ql_async_event_parser()
644 mbx_cmds->mb[0], mbx_cmds->mb[1], in ql_async_event_parser()
909 mbx_cmds.mb[0], mbx_cmds.mb[1], mbx_cmds.mb[2]); in ql_set_IDC_Req()
[all …]
/illumos-gate/usr/src/cmd/smbsrv/smbd/
H A Dsmbd_ntlmssp.c176 smb_msgbuf_t mb; in smbd_ntlmssp_negotiate() local
280 save_scan = mb.scan; in smbd_ntlmssp_negotiate()
281 mb.scan = mb.base + TARGET_NAME_OFFSET; in smbd_ntlmssp_negotiate()
283 mb.scan = save_scan; in smbd_ntlmssp_negotiate()
358 save_scan = mb.scan; in smbd_ntlmssp_negotiate()
359 mb.scan = mb.base + TARGET_INFO_OFFSET; in smbd_ntlmssp_negotiate()
361 mb.scan = save_scan; in smbd_ntlmssp_negotiate()
394 smb_msgbuf_t mb; in smbd_ntlmssp_authenticate() local
551 mb, "wwl", in decode_secbuf_bin()
577 mb, "wwl", in decode_secbuf_str()
[all …]
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_mbox.c1474 MAILBOX *mb; in emlxs_mb_retry() local
1482 mb = (MAILBOX *)mbq; in emlxs_mb_retry()
1516 MAILBOX *mb; in emlxs_read_la_mbcmpl() local
1789 MAILBOX *mb; in emlxs_clear_la_mbcmpl() local
2054 MAILBOX *mb; in emlxs_init_link_mbcmpl() local
2230 MAILBOX *mb; in emlxs_read_sparam_mbcmpl() local
2570 MAILBOX *mb; in emlxs_reg_vpi_mbcmpl() local
2605 MAILBOX *mb; in emlxs_mb_reg_vpi() local
2697 MAILBOX *mb; in emlxs_unreg_vpi_mbcmpl() local
2726 MAILBOX *mb; in emlxs_mb_unreg_vpi() local
[all …]
H A Demlxs_download.c2523 mb->mbxCommand, mb->mbxStatus); in emlxs_start_abs_download()
2563 mb->mbxCommand, mb->mbxStatus); in emlxs_start_abs_download()
3205 mb->mbxCommand, mb->mbxStatus); in emlxs_start_rel_download()
3247 mb->mbxCommand, mb->mbxStatus); in emlxs_start_rel_download()
3720 mb->mbxCommand, mb->mbxStatus); in emlxs_delete_load_entry()
3812 mb->mbxCommand, mb->mbxStatus); in emlxs_read_wakeup_parms()
3935 mb->mbxCommand, mb->mbxStatus); in emlxs_read_load_list()
4959 mb->mbxCommand, mb->mbxStatus); in emlxs_update_exp_rom()
5003 mb->mbxCommand, mb->mbxStatus); in emlxs_update_exp_rom()
5027 mb->mbxCommand, mb->mbxStatus); in emlxs_update_exp_rom()
[all …]
H A Demlxs_sli3.c379 mb->mbxCommand, mb->mbxStatus); in emlxs_sli3_online()
434 mb->mbxCommand, mb->mbxStatus); in emlxs_sli3_online()
919 mb->mbxCommand, mb->mbxStatus); in emlxs_sli3_online()
991 mb->mbxCommand, mb->mbxStatus); in emlxs_sli3_online()
1117 mb->mbxCommand, mb->mbxStatus); in emlxs_sli3_online()
1157 mb->mbxCommand, mb->mbxStatus); in emlxs_sli3_online()
1350 mb->mbxCommand, mb->mbxStatus); in emlxs_sli3_online()
1365 mb->mbxCommand, mb->mbxStatus); in emlxs_sli3_online()
1594 mb->mbxCommand, mb->mbxStatus); in emlxs_sli3_online()
3223 emlxs_mb_cmd_xlate(mb->mbxCommand), mb->mbxStatus, mb); in emlxs_sli3_issue_mbox_cmd()
[all …]
H A Demlxs_sli4.c447 mb->mbxCommand, mb->mbxStatus); in emlxs_sli4_online()
469 mb->mbxCommand, mb->mbxStatus); in emlxs_sli4_online()
487 mb->mbxCommand, mb->mbxStatus); in emlxs_sli4_online()
901 mb->mbxCommand, mb->mbxStatus); in emlxs_sli4_online()
1002 mb->mbxCommand, mb->mbxStatus); in emlxs_sli4_online()
1211 mb->mbxCommand, mb->mbxStatus); in emlxs_sli4_online()
1229 mb->mbxCommand, mb->mbxStatus); in emlxs_sli4_online()
1391 mb->mbxCommand, mb->mbxStatus); in emlxs_sli4_online()
3630 emlxs_mb_cmd_xlate(mb->mbxCommand), mb->mbxStatus, mb); in emlxs_sli4_issue_mbox_cmd()
3684 mb->mbxStatus, mb); in emlxs_sli4_issue_mbox_cmd()
[all …]
H A Demlxs_dump.c2386 MAILBOX *mb; in emlxs_dump_table_check() local
2398 mb = (MAILBOX *) mbq; in emlxs_dump_table_check()
2406 mb->mbxStatus); in emlxs_dump_table_check()
2499 MAILBOX *mb; in emlxs_dump_table_read() local
2534 mb->mbxStatus); in emlxs_dump_table_read()
2677 MAILBOX *mb; in emlxs_dump_hba_memory() local
3543 MAILBOX *mb; in emlxs_dump_saturn_log() local
3579 mb->mbxStatus); in emlxs_dump_saturn_log()
3711 MAILBOX4 *mb = NULL; in emlxs_dump_tigershark_log() local
3727 mb = (MAILBOX4*)mbq; in emlxs_dump_tigershark_log()
[all …]
/illumos-gate/usr/src/data/locale/tools/
H A Dutf8-rollup.pl134 my $mb = wctomb($d[0]);
139 next if !defined $utf8map{$mb};
160 $data{$cat}{$mb}{'wc'} = $d[0];
164 $data{$cat}{$mb}{'start'} = 1;
166 $data{$cat}{$mb}{'end'} = 1;
171 $data{'toupper'}{$mb} = wctomb($d[12]);
173 $data{'tolower'}{$mb} = wctomb($d[13]);
190 if !defined $data{$cat}{$mb}{'end'};
198 print FOUT "($utf8map{$mb},$utf8map{$data{$cat}{$mb}})";
200 if (defined($data{$cat}{$mb}{'start'})) {
[all …]
/illumos-gate/usr/src/lib/smbsrv/libsmbns/common/
H A Dsmbns_netlogon.c132 smb_msgbuf_t mb; in smb_netlogon_receive() local
166 smb_msgbuf_term(&mb); in smb_netlogon_receive()
212 smb_msgbuf_term(&mb); in smb_netlogon_receive()
218 smb_msgbuf_term(&mb); in smb_netlogon_receive()
229 smb_msgbuf_term(&mb); in smb_netlogon_receive()
245 smb_msgbuf_term(&mb); in smb_netlogon_receive()
274 smb_msgbuf_t mb; in smb_netlogon_query() local
312 smb_msgbuf_term(&mb); in smb_netlogon_query()
318 smb_msgbuf_term(&mb); in smb_netlogon_query()
352 smb_msgbuf_t mb; in smb_netlogon_samlogon() local
[all …]
H A Dsmbns_browser.c600 smb_msgbuf_t mb; in smb_browser_load_transact_header() local
619 smb_msgbuf_init(&mb, buffer, maxcnt, 0); in smb_browser_load_transact_header()
621 result = smb_msgbuf_encode(&mb, fmt, in smb_browser_load_transact_header()
644 smb_msgbuf_term(&mb); in smb_browser_load_transact_header()
774 smb_msgbuf_t mb; in smb_browser_send_HostAnnouncement() local
831 announce_len = smb_msgbuf_encode(&mb, "bbl16cbblls", in smb_browser_send_HostAnnouncement()
847 smb_msgbuf_term(&mb); in smb_browser_send_HostAnnouncement()
891 smb_msgbuf_t mb; in smb_browser_dispatch() local
940 smb_msgbuf_term(&mb); in smb_browser_dispatch()
954 smb_msgbuf_term(&mb); in smb_browser_dispatch()
[all …]
/illumos-gate/usr/src/uts/common/os/
H A Dmodsubr.c511 struct bind *mb; in find_mbind() local
513 for (mb = hashtab[nm_hash(name)]; mb; mb = mb->b_next) { in find_mbind()
524 return (mb); in find_mbind()
538 struct bind *mb; in make_mbind() local
551 mb->b_num = num; in make_mbind()
558 *pmb = mb; in make_mbind()
570 struct bind *mb; in delete_mbind() local
572 for (mb = hashtab[nm_hash(name)]; mb; mb = mb->b_next) { in delete_mbind()
573 if ((mb->b_num >= 0) && (strcmp(name, mb->b_name) == 0)) { in delete_mbind()
579 mb->b_num = -mb->b_num; in delete_mbind()
[all …]
/illumos-gate/usr/src/test/util-tests/tests/grep_xpg4/files/
H A Dgout.t11.41 test.mb.0:1:à
2 test.mb.0:7:ï
3 test.mb.0:14:ï
4 test.mb.0:19:à
/illumos-gate/usr/src/lib/libdwarf/common/
H A Ddwarf_line_table_reader_common.h1237 dwarfstring mb; in read_line_table_program() local
1240 dwarfstring_constructor(&mb); in read_line_table_program()
1246 dwarfstring_destructor(&mb); in read_line_table_program()
1315 dwarfstring mb; in read_line_table_program() local
1418 dwarfstring_destructor(&mb); in read_line_table_program()
1453 dwarfstring_destructor(&mb); in read_line_table_program()
1506 dwarfstring_destructor(&mb); in read_line_table_program()
1538 dwarfstring_destructor(&mb); in read_line_table_program()
1584 dwarfstring_destructor(&mb); in read_line_table_program()
1645 dwarfstring_destructor(&mb); in read_line_table_program()
[all …]
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dboot.c51 struct multiboot_header *mb; in load_image() member
142 cur_addr = pu.mb->load_addr; in load_image()
147 if (! pu.mb->load_end_addr) in load_image()
148 pu.mb->load_end_addr = cur_addr + filemax; in load_image()
154 if (! pu.mb->bss_end_addr) in load_image()
155 pu.mb->bss_end_addr = pu.mb->load_end_addr; in load_image()
157 bss_len = pu.mb->bss_end_addr - pu.mb->load_end_addr; in load_image()
159 if (pu.mb->header_addr < pu.mb->load_addr in load_image()
160 || pu.mb->load_end_addr <= pu.mb->load_addr in load_image()
161 || pu.mb->bss_end_addr < pu.mb->load_end_addr in load_image()
[all …]
/illumos-gate/usr/src/lib/libnsl/nss/
H A Dinet_matchaddr.c155 long mb; in inet_matchaddr() local
158 mb = strtol(mp, &ep, 10); in inet_matchaddr()
159 if (errno != 0 || mb < 0 || mb > 32 || *ep != '\0') { in inet_matchaddr()
163 mask4 = mb ? ~0 << ((sizeof (struct in_addr) * NBBY) in inet_matchaddr()
164 - mb) : 0; in inet_matchaddr()
/illumos-gate/usr/src/lib/libefi/common/
H A Drdwr_efi.c620 smbios_info_t sys, mb; in hardware_workarounds() local
643 (void) memset(&mb, '\0', sizeof (mb)); in hardware_workarounds()
681 (mb.smbi_product == NULL || in hardware_workarounds()
685 (mb.smbi_version == NULL || in hardware_workarounds()
719 struct mboot mb; in write_pmbr() local
741 (void) memcpy(&mb, buf, sizeof (mb)); in write_pmbr()
742 bzero(&mb, sizeof (mb)); in write_pmbr()
745 (void) memcpy(&mb, buf, sizeof (mb)); in write_pmbr()
747 bzero(&mb, sizeof (mb)); in write_pmbr()
752 bzero(&mb.parts, sizeof (mb.parts)); in write_pmbr()
[all …]
/illumos-gate/usr/src/data/hwdata/
H A Defi.fixes41 # mb.manufacturer
42 # mb.product
43 # mb.version
68 mb.manufacturer="Intel Corporation" mb.product="DP965LT" pmbr_active=1
69 mb.manufacturer="Intel Corporation" mb.product="D510MO" pmbr_active=1
71 mb.manufacturer="Acer" mb.product="Veriton M6630G" pmbr_active=1
/illumos-gate/usr/src/uts/sun4v/os/
H A Dmpo.c1001 struct mblock_md *mb; in plat_pfn_to_mem_node() local
1013 mb = &mpo_mblock[0]; in plat_pfn_to_mem_node()
1015 if (pfn >= mb->base_pfn && pfn <= mb->end_pfn) { in plat_pfn_to_mem_node()
1023 mb++; in plat_pfn_to_mem_node()
1042 struct mblock_md *mb; in plat_rapfn_to_papfn() local
1053 for (mb = &mpo_mblock[0], i = 0; i < n_mblocks; i++, mb++) { in plat_rapfn_to_papfn()
1054 if (pfn <= mb->end_pfn && pfn >= mb->base_pfn) { in plat_rapfn_to_papfn()
1366 uint64_t end = mb->base + mb->size - 1; in valid_pages()
1402 MNODE(mb[1].base + mb[1].ra_to_pa)) { in valid_pages()
1410 mb++; in valid_pages()
[all …]

123456789