| /illumos-gate/usr/src/boot/efi/include/Protocol/ |
| H A D | Print2.h | 7 Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> 8 SPDX-License-Identifier: BSD-2-Clause-Patent 24 Produces a Null-terminated Unicode string in an output buffer based on 25 a Null-terminated Unicode format string and a BASE_LIST argument list. 27 Produces a Null-terminated Unicode string in the output buffer specified by StartOfBuffer 30 Arguments are pulled from the variable argument list specified by Marker based on the 33 the Null-terminator. 35 If StartOfBuffer is not aligned on a 16-bit boundary, then ASSERT(). 36 If FormatString is not aligned on a 16-bit boundary, then ASSERT(). 46 PcdMaximumUnicodeStringLength Unicode characters not including the Null-terminator, then [all …]
|
| /illumos-gate/usr/src/uts/common/inet/ip/ |
| H A D | ip_sadb.c | 54 ASSERT(ipl->ipl_ids_latched == B_TRUE); in ipsec_match_outbound_ids() 55 return ipsid_equal(ipl->ipl_local_cid, sa->ipsa_src_cid) && in ipsec_match_outbound_ids() 56 ipsid_equal(ipl->ipl_remote_cid, sa->ipsa_dst_cid); in ipsec_match_outbound_ids() 88 * Look up a security association based on the unique ID generated by IP and 89 * transport or tunnel information, such as ports and upper-layer protocol, 93 * I expect an SA hash bucket, and that its per-bucket mutex is held. 103 boolean_t tunnel_mode = (ixa->ixa_flags & IXAF_IPSEC_TUNNEL); in ipsec_getassocbyconn() 106 ipsec_policy_t *pp = ixa->ixa_ipsec_policy; in ipsec_getassocbyconn() 107 ipsec_action_t *actlist = ixa->ixa_ipsec_action; in ipsec_getassocbyconn() 109 ipsec_latch_t *ipl = ixa->ixa_ipsec_latch; in ipsec_getassocbyconn() [all …]
|
| H A D | ip6.c | 104 /* Temporary; for CR 6451644 work-around */ 205 ill_t *ill = ira->ira_ill; in icmp_inbound_v6() 206 ip_stack_t *ipst = ill->ill_ipst; in icmp_inbound_v6() 209 ip6h = (ip6_t *)mp->b_rptr; in icmp_inbound_v6() 211 BUMP_MIB(ill->ill_icmp6_mib, ipv6IfIcmpInMsgs); in icmp_inbound_v6() 214 if (IN6_IS_ADDR_MULTICAST(&ip6h->ip6_src)) { in icmp_inbound_v6() 215 BUMP_MIB(ill->ill_ip_mib, ipIfStatsInAddrErrors); in icmp_inbound_v6() 222 if (!(ira->ira_flags & IRAF_L2SRC_SET)) in icmp_inbound_v6() 223 ip_setl2src(mp, ira, ira->ira_rill); in icmp_inbound_v6() 225 ip_hdr_length = ira->ira_ip_hdr_length; in icmp_inbound_v6() [all …]
|
| /illumos-gate/usr/src/uts/common/io/sfxge/common/ |
| H A D | efx_sram.c | 2 * Copyright (c) 2007-2015 Solarflare Communications Inc. 49 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC); in efx_sram_buf_tbl_set() 50 EFSYS_ASSERT3U(enp->en_mod_flags, &, EFX_MOD_NIC); in efx_sram_buf_tbl_set() 53 if (enp->en_family == EFX_FAMILY_HUNTINGTON || in efx_sram_buf_tbl_set() 54 enp->en_family == EFX_FAMILY_MEDFORD) { in efx_sram_buf_tbl_set() 57 * pulled inside the Falcon/Siena queue create/destroy code, in efx_sram_buf_tbl_set() 60 * no-ops for EF10, to allow bringing up existing drivers in efx_sram_buf_tbl_set() 90 EFSYS_PROBE2(buf, uint32_t, start, uint32_t, stop - 1); in efx_sram_buf_tbl_set() 99 addr -= EFX_BUF_SIZE; in efx_sram_buf_tbl_set() 109 id - 1, &qword); in efx_sram_buf_tbl_set() [all …]
|
| /illumos-gate/usr/src/man/man3scf/ |
| H A D | scf_simple_prop_get.3scf | 15 scf_simple_prop_next_reset \- simplified property read interface to Service 19 cc [ \fIflag\fR\&.\|.\|. ] \fIfile\fR\&.\|.\|. \fB-lscf\fR [ \fIlibrary\fR\&.\|.\|. ] 130 Individual properties are pulled from the block using the 141 The \fBscf_simple_prop_*()\fR functions return references to the read-only 142 in-memory copy of the property information. Any changes to this information 165 library looks up the instance FMRI of the process calling the function. The 247 number of values in a property. Otherwise, it returns -1. 251 \fBscf_type_t\fR. Otherwise, it returns -1. 471 * illustration, the non-simple approach is used. The property 472 * is a list of integers that are pulled into an array. [all …]
|
| /illumos-gate/usr/src/cmd/mdb/intel/modules/smbios/ |
| H A D | smbios.c | 27 * in sys/systm.h. sys/systm.h is being pulled in because mdb is building with 35 * open up a new smbios handle to perform operations on. 42 int err, fd = -1; in smbios_mdb_write() 85 if (fd != -1) { in smbios_mdb_write() 119 "\t-w path\t\tWrite SMBIOS data out to path\n"); in smbios_mdb_help() 123 { "smbios", ":[-w path]", "Manipulate an smbios handle",
|
| /illumos-gate/usr/src/lib/udapl/udapl_tavor/common/ |
| H A D | dapl_evd_connection_callb.c | 23 * Copyright (c) 2002-2003, Network Appliance, Inc. All rights reserved. 81 "--> dapl_evd_connection_callback: ctxt: %p event: %x" in dapl_evd_connection_callback() 91 dapl_os_assert(((DAPL_HEADER *)context)->magic == DAPL_MAGIC_EP || in dapl_evd_connection_callback() 92 ((DAPL_HEADER *)context)->magic == DAPL_MAGIC_EP_EXIT); in dapl_evd_connection_callback() 98 evd_ptr = (DAPL_EVD *)ep_ptr->param.connect_evd_handle; in dapl_evd_connection_callback() 107 * up in dapl_evd_connection_callback() 111 if (ep_ptr->param.ep_state == DAT_EP_STATE_DISCONNECT_PENDING) { in dapl_evd_connection_callback() 113 * If someone pulled the plug on the connection, just in dapl_evd_connection_callback() 119 ep_ptr->param.ep_state = DAT_EP_STATE_CONNECTED; in dapl_evd_connection_callback() 120 ep_ptr->cm_handle = ib_cm_handle; in dapl_evd_connection_callback() [all …]
|
| H A D | dapl_cr_callback.c | 23 * Copyright (c) 2002-2003, Network Appliance, Inc. All rights reserved. 98 "--> dapls_cr_callback! context: 0x%p " in dapls_cr_callback() 101 ((DAPL_HEADER *)context)->magic); in dapls_cr_callback() 103 if (((DAPL_HEADER *)context)->magic == DAPL_MAGIC_INVALID) { in dapls_cr_callback() 108 * we need to look up the EP. in dapls_cr_callback() 110 dapl_os_assert(((DAPL_HEADER *)context)->magic == DAPL_MAGIC_PSP || in dapls_cr_callback() 111 ((DAPL_HEADER *)context)->magic == DAPL_MAGIC_RSP); in dapls_cr_callback() 122 * Obtain the EP if required and set an event up on the correct EVD. in dapls_cr_callback() 127 evd_ptr = sp_ptr->evd_handle; in dapls_cr_callback() 131 evd_ptr = (DAPL_EVD *) ep_ptr->param.connect_evd_handle; in dapls_cr_callback() [all …]
|
| /illumos-gate/usr/src/tools/ctf/common/ |
| H A D | ctf_headers.h | 47 * we can not simply force the order of inclusion with -I/usr/include first 49 * ctf headers. Depending on the order of the -I includes, we can also have 51 * headers getting pulled in from /usr/include and others from 60 * 2) In $(SRC)/tools/ctf/Makefile.ctf, we order the -I includes such 63 * This last -I include is needed in order to prevent a build failure 67 * We'll also include the local ccompile.h - older build systems often lack 70 * kernel, and we can't easily pick it up otherwise.
|
| /illumos-gate/usr/src/cmd/lp/filter/postscript/font/ |
| H A D | README | 26 in /usr/lib/font/devpost. You can point troff there using the -Tpost option, while 28 printer using postio (with the -t option) and the files that you'll find in 35 column) less than 32 are looked up (by dpost) in the charlib directory. A code 44 1: Pick a one or two character font name for troff and dpost - no longer a 48 ls -l ? ?? 59 grep internalname ? ?? | sort -n +1 -2 65 can be built by hand or you can use postio (with the -t option) and the stuff 69 Times-Roman you could send the following to a PostScript printer, 71 /Times-Roman findfont 100 scalefont setfont 78 built up using files in devpost/charlib. [all …]
|
| /illumos-gate/usr/src/tools/scripts/ |
| H A D | nightly.1onbld | 28 \- build an OS-Net consolidation overnight 30 \fBnightly\fP [\fB-in\fP] [\fB-V\fP \fIVERS\fP] [\fB-B\fP \fIWS\fP] 31 [\fB-b\fP \fIBR\fP] [\fB-d\fP \fIWS\fP] \fIenv_file\fP 39 simple build to all of the cross-checking a gatekeeper 57 perform a "make clobber" to clean up old binaries 63 perform non-DEBUG and DEBUG builds 125 The -i, -n, +t and -V options may also be used from the command 127 The -i and -n options complete the build more quickly by bypassing 130 exits with a non-zero status after printing a usage message. 134 .B \-D [all …]
|
| H A D | ws.1onbld | 27 \- enable SunOS avocet environments 30 [-e] [workspace_name] 39 script sets up the environment variables for a SunOS avocet 43 sets up the environment variables to define in which proto areas 57 ENVCPPFLAGS{1-4} 58 ENVLDLIBS{1-3} 65 The ENVCPPFLAGS{1-4} and the ENVLDLIBS{1-3} environment variables 88 start-up file (eg: .cshrc) then that will undo what what 90 has done. If you do this in your shell start-up script, 106 .B \-e [all …]
|
| /illumos-gate/usr/src/lib/libnisdb/yptol/ |
| H A D | ttl_utils.c | 62 * missing entries to be pulled out of the DIT. 75 if ((map == NULL) || (map->ttl == NULL)) in has_entry_expired() 79 ttl = dbm_fetch(map->ttl, *key); in has_entry_expired() 87 if ((key->dsize == strlen(MAP_EXPIRY_KEY)) && in has_entry_expired() 88 (0 == strncmp(key->dptr, MAP_EXPIRY_KEY, key->dsize))) { in has_entry_expired() 91 MAP_EXPIRY_KEY, map->map_name); in has_entry_expired() 119 map->map_name, dbm_error(map->ttl)); in has_entry_expired() 122 key_name = (char *)am(myself, key->dsize + 1); in has_entry_expired() 127 strncpy(key_name, key->dptr, key->dsize); in has_entry_expired() 128 key_name[key->dsize] = '\0'; in has_entry_expired() [all …]
|
| /illumos-gate/usr/src/uts/common/syscall/ |
| H A D | umount.c | 55 * The heart of the umount2 call - it is pulled out to allow kernel 60 * may not have an associated curthread->t_lwp. This is handled 75 * At one point, we did the non-blocking version (vfs_lock()), in umount2_engine() 82 * as a side-effect of fsflush() and other mount and unmount in umount2_engine() 90 * Note that vfsp->vfs_vnodecovered can be NULL here, either because in umount2_engine() 93 * returns EBUSY and we just pass that up. Also note that we're in umount2_engine() 98 if (vn_vfswlock(vfsp->vfs_vnodecovered)) { in umount2_engine() 135 * Lookup user-supplied name by trying to match it against the in umount2() 158 (PTOU(curproc)->u_rdir != NULL && in umount2() 159 PTOU(curproc)->u_rdir != curproc->p_zone->zone_rootvp) || in umount2() [all …]
|
| /illumos-gate/usr/src/lib/udapl/udapl_tavor/tavor/ |
| H A D | dapl_tavor_wr.c | 68 dapl_os_lock(&cq->cq_wrid_wqhdr_lock); in dapls_tavor_wrid_get_entry() 86 dapl_os_lock(&wq->wq_wrid_lock->wrl_lock); in dapls_tavor_wrid_get_entry() 93 dapl_os_assert(error || (wre_tmp->wr_signaled_dbd & in dapls_tavor_wrid_get_entry() 107 wre->wr_wqeaddrsz = dapli_tavor_wrid_get_wqeaddrsz(wq); in dapls_tavor_wrid_get_entry() 111 wrid = wre_tmp->wr_wrid; in dapls_tavor_wrid_get_entry() 113 dapl_os_unlock(&wq->wq_wrid_lock->wrl_lock); in dapls_tavor_wrid_get_entry() 114 dapl_os_unlock(&cq->cq_wrid_wqhdr_lock); in dapls_tavor_wrid_get_entry() 132 /* dapl_os_assert(MUTEX_HELD(&wq->wq_wrid_lock)); */ in dapli_tavor_wrid_find_match() 148 container = wq->wq_wrid_poll; in dapli_tavor_wrid_find_match() 152 last_container = (container != wq->wq_wrid_post) ? 0 : 1; in dapli_tavor_wrid_find_match() [all …]
|
| H A D | dapl_arbel_hw.c | 119 ((tavor_hw_uar_t *)ia_uar)->cq = HTOBE_64(doorbell); in dapli_arbel_cq_doorbell() 127 ((tavor_hw_uar32_t *)ia_uar)->cq[0] = in dapli_arbel_cq_doorbell() 129 ((tavor_hw_uar32_t *)ia_uar)->cq[1] = in dapli_arbel_cq_doorbell() 134 &((tavor_hw_uar_t *)ia_uar)->cq); in dapli_arbel_cq_doorbell() 146 qp->qp_sq_dbp[0] = HTOBE_32((wqe_counter + 1) & 0xffff); in dapli_arbel_sq_dbrec() 163 ((tavor_hw_uar_t *)ia_uar)->send = HTOBE_64(doorbell); in dapli_arbel_sq_dbreg() 171 ((tavor_hw_uar32_t *)ia_uar)->send[0] = in dapli_arbel_sq_dbreg() 173 ((tavor_hw_uar32_t *)ia_uar)->send[1] = in dapli_arbel_sq_dbreg() 178 &((tavor_hw_uar_t *)ia_uar)->send); in dapli_arbel_sq_dbreg() 200 int max_inline_bytes = -1; in dapli_arbel_wqe_send_build() [all …]
|
| H A D | dapl_tavor_hw.c | 77 ((tavor_hw_uar_t *)ia_uar)->cq = HTOBE_64( \ 98 ((tavor_hw_uar_t *)ia_uar)->cq = HTOBE_64(doorbell); in dapli_tavor_cq_doorbell() 106 ((tavor_hw_uar32_t *)ia_uar)->cq[0] = in dapli_tavor_cq_doorbell() 108 ((tavor_hw_uar32_t *)ia_uar)->cq[1] = in dapli_tavor_cq_doorbell() 113 &((tavor_hw_uar_t *)ia_uar)->cq); in dapli_tavor_cq_doorbell() 122 ((tavor_hw_uar_t *)ia_uar)->send = HTOBE_64( \ 150 ((tavor_hw_uar_t *)ia_uar)->send = HTOBE_64(doorbell); in dapli_tavor_qp_send_doorbell() 158 ((tavor_hw_uar32_t *)ia_uar)->send[0] = in dapli_tavor_qp_send_doorbell() 160 ((tavor_hw_uar32_t *)ia_uar)->send[1] = in dapli_tavor_qp_send_doorbell() 165 &((tavor_hw_uar_t *)ia_uar)->send); in dapli_tavor_qp_send_doorbell() [all …]
|
| /illumos-gate/usr/src/lib/fm/topo/modules/i86pc/chip/ |
| H A D | chip_serial.c | 75 topo_mod_dprintf(mod, "Looking up FRU data for %s ...\n", ipmi_tag); in ipmi_serial_lookup() 113 * an 18-character serial number that has been synthesized using in ipmi_serial_lookup() 115 * find an 18-character then we'll simply use it, as-is, and in ipmi_serial_lookup() 154 * yyww: The module's manufacturing date (2-digit year/2-digit week) in ipmi_serial_lookup() 159 * First we need to normalize the manufacturer name we pulled out of in ipmi_serial_lookup() 162 * - convert all alpha chars to uppercase in ipmi_serial_lookup() 163 * - convert non-alphanumeric characters to a single space in ipmi_serial_lookup() 237 rv = -1; in get_dimm_serial()
|
| /illumos-gate/usr/src/uts/common/io/qede/ |
| H A D | qede_fp.c | 9 * or http://opensource.org/licenses/CDDL-1.0. 23 * Copyright 2014-2017 Cavium, Inc. 32 qede_dma_handles_list_t *list = &tx_ring->dmah_list; in qede_get_dmah_entry() 35 mutex_enter(&list->lock); in qede_get_dmah_entry() 36 dmah = list->free_list[list->head]; in qede_get_dmah_entry() 37 list->free_list[list->head] = NULL; in qede_get_dmah_entry() 38 list->head = (list->head + 1) & TX_RING_MASK; in qede_get_dmah_entry() 39 mutex_exit(&list->lock); in qede_get_dmah_entry() 47 qede_dma_handles_list_t *list = &tx_ring->dmah_list; in qede_put_dmah_entries() 51 mutex_enter(&list->lock); in qede_put_dmah_entries() [all …]
|
| /illumos-gate/usr/src/contrib/ast/src/lib/libast/ |
| H A D | Makefile | 15 IFFEFLAGS = -v -X ast -X std 198 aso.c asolock.c asometh.c asorelax.c aso-sem.c aso-fcntl.c \ 211 -liconv -lw /* these should be pulled in by -lc */ 218 * also, -D_BLD_ast must be explicit for the uwin bootstrap 223 CCFLAGS += -D_BLD_ast 232 "linux.i386-64*":NOOPTIMIZE: sfset.c 235 "win32*-64*" :NOOPTIMIZE: sfvprintf.c 249 if "$(PWD:B)" != "cc-*" 258 …$(*:O=1:P=A) $(IFFEFLAGS:V:N=-v) $(*:O>1) $(CC) $(CCFLAGS:VP:N!=-D_BLD_*|$\(*\)) /* 2007-07-01: $(… 265 $(CC.NATIVE|CC) -o $(<) $(*) [all …]
|
| /illumos-gate/usr/src/uts/intel/io/vmxnet3s/ |
| H A D | vmxnet3_tx.c | 54 ASSERT(!dp->devEnabled); in vmxnet3_txqueue_fini() 56 for (i = 0; i < txq->cmdRing.size; i++) { in vmxnet3_txqueue_fini() 57 mblk_t *mp = txq->metaRing[i].mp; in vmxnet3_txqueue_fini() 69 * +n if n bytes need to be pulled up. 70 * -1 in case of error (not used). 79 ol->om = VMXNET3_OM_NONE; in vmxnet3_tx_prepare_offload() 80 ol->hlen = 0; in vmxnet3_tx_prepare_offload() 81 ol->msscof = 0; in vmxnet3_tx_prepare_offload() 88 struct ether_vlan_header *eth = (void *) mp->b_rptr; in vmxnet3_tx_prepare_offload() 91 if (eth->ether_tpid == htons(ETHERTYPE_VLAN)) { in vmxnet3_tx_prepare_offload() [all …]
|
| /illumos-gate/usr/src/cmd/sgs/elfedit/common/ |
| H A D | elfconst.c | 50 * elfedit output style, with and without leading -o 176 * - STE_STATIC items must supply a statically allocated buffer here. 177 * - The non-STE_STATIC items use libconv strings. These items are 180 * and can be released and rebuilt at runtime as necessary to keep up 255 elfedit_atoui_sym_t *sym = &fill_state->desc[fill_state->cur++]; in libconv_fill_cb() 257 sym->sym_name = str; in libconv_fill_cb() 258 sym->sym_value = value; in libconv_fill_cb() 271 switch (sym->ste_type) { in libconv_fill_iter() 273 (void) (* sym->ste_conv_func.simple)( in libconv_fill_iter() 275 (void) (* sym->ste_conv_func.simple)( in libconv_fill_iter() [all …]
|
| /illumos-gate/usr/src/lib/smbclnt/libfknsmb/common/ |
| H A D | fake_stream.c | 68 (8 * (&((dblk_t *)0)->db_struioflag - &((dblk_t *)0)->field)) 71 (8 * (&((dblk_t *)0)->field - &((dblk_t *)0)->db_ref)) 77 (((flags) | (ref - 1)) << DBLK_RTFU_SHIFT(db_flags)) | \ 80 #define DBLK_RTFU_WORD(dbp) (*((uint32_t *)&(dbp)->db_ref)) 81 #define MBLK_BAND_FLAG_WORD(mp) (*((uint32_t *)&(mp)->b_band)) 122 index = (msg_size - 1) >> DBLK_SIZE_SHIFT; in dblk_constructor() 126 if ((dbp->db_mblk = kmem_cache_alloc(mblk_cache, kmflags)) == NULL) in dblk_constructor() 127 return (-1); in dblk_constructor() 129 dbp->db_base = kmem_alloc(msg_size, kmflags); in dblk_constructor() 130 if (dbp->db_base == NULL) { in dblk_constructor() [all …]
|
| /illumos-gate/usr/src/uts/common/io/ib/adapters/tavor/ |
| H A D | tavor_misc.c | 29 * Tavor Miscellaneous routines - Address Handle, Multicast, Protection 30 * Domain, and port-related operations 36 * port-related query and modify operations. 94 if (!tavor_portnum_is_valid(state, attr_p->av_port_num)) { in tavor_ah_alloc() 118 ah = (tavor_ahhdl_t)rsrc->tr_addr; in tavor_ah_alloc() 129 * portions that can be pulled from the "ibt_adds_vect_t" passed in in tavor_ah_alloc() 140 udav_entry.pd = pd->pd_pdnum; in tavor_ah_alloc() 141 udav_entry.msg_sz = state->ts_cfg_profile->cp_max_mtu - 1; in tavor_ah_alloc() 148 * We might be able to pre-register all the memory for the UDAV XXX in tavor_ah_alloc() 151 mr_attr.mr_vaddr = (uint64_t)(uintptr_t)udav->tr_addr; in tavor_ah_alloc() [all …]
|
| H A D | tavor_cq.c | 91 cq_is_umap = (cq_attr->cq_flags & IBT_CQ_USER_MAP) ? 1 : 0; in tavor_cq_alloc() 93 status = tavor_umap_db_find(state->ts_instance, ddi_get_pid(), in tavor_cq_alloc() 98 uarpg = ((tavor_rsrc_t *)(uintptr_t)value)->tr_indx; in tavor_cq_alloc() 101 /* Use the internal protection domain (PD) for setting up CQs */ in tavor_cq_alloc() 102 pd = state->ts_pdhdl_internal; in tavor_cq_alloc() 129 cq = (tavor_cqhdl_t)rsrc->tr_addr; in tavor_cq_alloc() 131 cq->cq_is_umap = cq_is_umap; in tavor_cq_alloc() 134 cq->cq_cqnum = cqc->tr_indx; in tavor_cq_alloc() 137 * If this will be a user-mappable CQ, then allocate an entry for in tavor_cq_alloc() 143 if (cq->cq_is_umap) { in tavor_cq_alloc() [all …]
|