Searched +full:a +full:- +full:hlm (Results 1 – 10 of 10) sorted by relevance
/freebsd/sys/dev/ocs_fc/ |
H A D | sli4.h | 1 /*- 21 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 34 * Define common SLI-4 structures and function prototypes. 43 #define SLI_SUB_PAGE_MASK (SLI_PAGE_SIZE - 1) 53 uint32_t mask = page_size - 1; in sli_page_count() 93 * Common SLI-4 register offsets and field definitions 97 * @brief SLI_INTF - SLI Interface Definition Register 119 * @brief ASIC_ID - SLI ASIC Type and Revision Register 135 * @brief BMBX - Bootstrap Mailbox Register 150 * @brief EQCQ_DOORBELL - EQ and CQ Doorbell Register [all …]
|
H A D | ocs_common.h | 1 /*- 21 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 55 ((ocs->ctrlmask & OCS_CTRLMASK_XPORT_ENABLE_TARGET_RSCN) != 0) 94 /*-------------------------------------------------- 114 uint8_t loop[128]; /**< FC-AL position map */ 120 is_loop:1, /**< Topology is FC-AL */ 121 is_nport:1, /**< Topology is N-PORT */ 151 * a separate SLI port object. 160 uint32_t is_vport:1; /**< this SPORT is a virtual port */ 194 p2p_winner:1; /**< TRUE if we're the point-to-point winner */ [all …]
|
H A D | ocs_xport.c | 1 /*- 21 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 54 * @brief Allocate a transport object. 57 * A transport object is allocated, and associated with a device instance. 71 xport->ocs = ocs; in ocs_xport_alloc() 84 * @return Returns 0 on success, or a non-zero value on failure. 89 ocs_t *ocs = xport->ocs; in ocs_xport_rq_threads_teardown() 92 if (xport->num_rq_threads == 0 || in ocs_xport_rq_threads_teardown() 93 xport->rq_thread_info == NULL) { in ocs_xport_rq_threads_teardown() 98 for (i = 0; i < xport->num_rq_threads; i++) { in ocs_xport_rq_threads_teardown() [all …]
|
H A D | sli4.c | 1 /*- 21 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 33 * @defgroup sli SLI-4 Base APIs 38 * All common (i.e. transport-independent) SLI-4 functions are implemented 98 * @brief Convert queue type enum (SLI_QTYPE_*) into a string. 113 * Although SLI-4 specification defines a common set of registers, their locations 114 * (both BAR and offset) depend on the interface type. This array maps a register 119 * @b Note: A value of UINT32_MAX for either the register set (rset) or offset (off) 260 const sli4_reg_t *r = &(regmap[reg][sli->if_type]); in sli_reg_read() 262 if ((UINT32_MAX == r->rset) || (UINT32_MAX == r->off)) { in sli_reg_read() [all …]
|
H A D | ocs_sport.c | 1 /*- 21 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 68 * This function is called in response to a HW sport event. This code resolves 73 * @param data Application-specific event (pointer to the sport). 75 * @return Returns 0 on success, or a negative error value on failure. 87 ocs_sm_post_event(&sport->sm, OCS_EVT_SPORT_ALLOC_OK, NULL); in ocs_port_cb() 91 ocs_sm_post_event(&sport->sm, OCS_EVT_SPORT_ALLOC_FAIL, NULL); in ocs_port_cb() 95 ocs_sm_post_event(&sport->sm, OCS_EVT_SPORT_ATTACH_OK, NULL); in ocs_port_cb() 99 ocs_sm_post_event(&sport->sm, OCS_EVT_SPORT_ATTACH_FAIL, NULL); in ocs_port_cb() 103 ocs_sm_post_event(&sport->sm, OCS_EVT_SPORT_FREE_OK, NULL); in ocs_port_cb() [all …]
|
H A D | ocs_node.c | 1 /*- 21 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 48 #define SCSI_ITT_SIZE(ocs) ((ocs->ocs_xport == OCS_XPORT_FC) ? 4 : 8) 50 … SCSI_IOFMT_ARGS(io) io->instance_index, SCSI_ITT_SIZE(io->ocs), io->init_task_tag, SCSI_ITT_SIZE(… 52 #define scsi_io_printf(io, fmt, ...) ocs_log_debug(io->ocs, "[%s]" SCSI_IOFMT fmt, \ 53 io->node->display_name, SCSI_IOFMT_ARGS(io), ##__VA_ARGS__) 87 ocs_lock(&node->active_ios_lock); in ocs_node_abort_all_els() 88 ocs_list_foreach_safe(&node->els_io_active_list, els, els_next) { in ocs_node_abort_all_els() 89 ocs_log_debug(node->ocs, "[%s] initiate ELS abort %s\n", node->display_name, els->display_name); in ocs_node_abort_all_els() 90 ocs_unlock(&node->active_ios_lock); in ocs_node_abort_all_els() [all …]
|
H A D | ocs_hw.c | 1 /*- 21 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 36 * the details of the underlying SLI-4 implementation. 65 /* max command and response buffer lengths -- arbitrary at the moment */ 156 io->wqe_timeout = timeout; in ocs_hw_set_io_wqe_timeout() 166 if (hw->config.emulate_wqe_timeout && io->wqe_timeout) { in ocs_hw_add_io_timed_wqe() 171 ocs_lock(&hw->io_lock); in ocs_hw_add_io_timed_wqe() 172 ocs_list_add_tail(&hw->io_timed_wqe, io); in ocs_hw_add_io_timed_wqe() 173 getmicrouptime(&io->submit_time); in ocs_hw_add_io_timed_wqe() 174 ocs_unlock(&hw->io_lock); in ocs_hw_add_io_timed_wqe() [all …]
|
/freebsd/bin/setfacl/ |
H A D | setfacl.c | 1 /*- 16 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 44 #define OP_MERGE_ACL 0x00 /* merge acl's (-mM) */ 45 #define OP_REMOVE_DEF 0x01 /* remove default acl's (-k) */ 46 #define OP_REMOVE_EXT 0x02 /* remove extended acl's (-b) */ 47 #define OP_REMOVE_ACL 0x03 /* remove acl's (-xX) */ 48 #define OP_REMOVE_BY_NUMBER 0x04 /* remove acl's (-xX) by acl entry number */ 49 #define OP_ADD_ACL 0x05 /* add acls entries at a given position */ 79 fprintf(stderr, "usage: setfacl [-R [-H | -L | -P]] [-bdhkn] " in usage() 80 "[-a position entries] [-m entries] [-M file] " in usage() [all …]
|
/freebsd/sbin/ipf/ipnat/ |
H A D | ipnat.c | 7 * Added redirect stuff and a variety of bug fixes. (mcn@EnGarde.com) 55 #define bzero(a,b) memset(a,0,b) argument 81 fprintf(stderr, "Usage: %s [-CFhlnrRsv] [-f filename]\n", name); in usage() 94 fd = -1; in main() 105 while ((c = getopt(argc, argv, "CdFf:hlm:M:N:nO:prRsv")) != -1) in main() 164 (void) fprintf(stderr, "%s: -p must be used with -r\n", in main() 177 if (((fd = open(IPNAT_NAME, mode)) == -1) && in main() 178 ((fd = open(IPNAT_NAME, O_RDONLY)) == -1)) { in main() 188 if (checkrev(IPL_NAME) == -1) { in main() 200 if (ioctl(fd, SIOCGNATS, &obj) == -1) { in main() [all …]
|
/freebsd/contrib/mandoc/ |
H A D | roff.c | 3 * Copyright (c) 2010-2015, 2017-2023 Ingo Schwarze <schwarze@openbsd.org> 4 * Copyright (c) 2008-2012, 2014 Kristaps Dzonsons <kristaps@bsd.lv> 47 #define ROFFDEF_USER (1 << 1) /* User-defined. */ 55 /* --- data types --------------------------------------------------------- */ 58 * An incredibly-simple string buffer. 61 char *p; /* nil-terminated buffer */ 66 * A key-value roffstr pair as part of a singly-linked list. 75 * A single number register as part of a singly-linked list. 93 * A macro processing context. 109 struct roffkv *strtab; /* user-defined strings & macros */ [all …]
|