Home
last modified time | relevance | path

Searched full:smp (Results 1 – 25 of 938) sorted by relevance

12345678910>>...38

/freebsd/sys/ofed/drivers/infiniband/core/
H A Dib_smi.c128 * Fixup a directed route SMP for sending
129 * Return IB_SMI_DISCARD if the SMP should be discarded
131 enum smi_action smi_handle_dr_smp_send(struct ib_smp *smp, in smi_handle_dr_smp_send() argument
135 &smp->hop_ptr, smp->hop_cnt, in smi_handle_dr_smp_send()
136 smp->initial_path, in smi_handle_dr_smp_send()
137 smp->return_path, in smi_handle_dr_smp_send()
138 ib_get_smp_direction(smp), in smi_handle_dr_smp_send()
139 smp->dr_dlid == IB_LID_PERMISSIVE, in smi_handle_dr_smp_send()
140 smp->dr_slid == IB_LID_PERMISSIVE); in smi_handle_dr_smp_send()
143 enum smi_action opa_smi_handle_dr_smp_send(struct opa_smp *smp, in opa_smi_handle_dr_smp_send() argument
[all …]
H A Dsmi.h50 IB_SMI_LOCAL, /* SMP should be completed up the stack */
51 IB_SMI_SEND, /* received DR SMP should be forwarded to the send queue */
52 IB_SMI_FORWARD /* SMP should be forwarded (for switches only) */
55 enum smi_action smi_handle_dr_smp_recv(struct ib_smp *smp, bool is_switch,
57 int smi_get_fwd_port(struct ib_smp *smp);
58 extern enum smi_forward_action smi_check_forward_dr_smp(struct ib_smp *smp);
59 extern enum smi_action smi_handle_dr_smp_send(struct ib_smp *smp,
63 * Return IB_SMI_HANDLE if the SMP should be handled by the local SMA/SM
66 static inline enum smi_action smi_check_local_smp(struct ib_smp *smp, in smi_check_local_smp() argument
72 !ib_get_smp_direction(smp) && in smi_check_local_smp()
[all …]
H A Dopa_smi.h43 enum smi_action opa_smi_handle_dr_smp_recv(struct opa_smp *smp, bool is_switch,
45 int opa_smi_get_fwd_port(struct opa_smp *smp);
46 extern enum smi_forward_action opa_smi_check_forward_dr_smp(struct opa_smp *smp);
47 extern enum smi_action opa_smi_handle_dr_smp_send(struct opa_smp *smp,
51 * Return IB_SMI_HANDLE if the SMP should be handled by the local SMA/SM
54 static inline enum smi_action opa_smi_check_local_smp(struct opa_smp *smp, in opa_smi_check_local_smp() argument
60 !opa_get_smp_direction(smp) && in opa_smi_check_local_smp()
61 (smp->hop_ptr == smp->hop_cnt + 1)) ? in opa_smi_check_local_smp()
66 * Return IB_SMI_HANDLE if the SMP should be handled by the local SMA/SM
69 static inline enum smi_action opa_smi_check_local_returning_smp(struct opa_smp *smp, in opa_smi_check_local_returning_smp() argument
[all …]
/freebsd/contrib/ofed/libibnetdisc/
H A Dquery_smp.c44 extern int mlnx_ext_port_info_err(smp_engine_t * engine, ibnd_smp_t * smp,
47 static void queue_smp(smp_engine_t * engine, ibnd_smp_t * smp) in queue_smp() argument
49 smp->qnext = NULL; in queue_smp()
51 engine->smp_queue_head = smp; in queue_smp()
52 engine->smp_queue_tail = smp; in queue_smp()
54 engine->smp_queue_tail->qnext = smp; in queue_smp()
55 engine->smp_queue_tail = smp; in queue_smp()
72 static int send_smp(ibnd_smp_t * smp, smp_engine_t * engine) in send_smp() argument
76 ib_rpc_t *rpc = &smp->rpc; in send_smp()
90 if ((rc = mad_build_pkt(umad, &smp->rpc, &smp->path, NULL, NULL)) in send_smp()
[all …]
/freebsd/contrib/ofed/infiniband-diags/src/
H A Dsmpdump.c84 struct drsmp *smp = (struct drsmp *)(umad_get_mad(umad)); in drsmp_get_init() local
86 memset(smp, 0, sizeof(*smp)); in drsmp_get_init()
88 smp->base_version = 1; in drsmp_get_init()
89 smp->mgmt_class = IB_SMI_DIRECT_CLASS; in drsmp_get_init()
90 smp->class_version = 1; in drsmp_get_init()
92 smp->method = 1; in drsmp_get_init()
93 smp->attr_id = (uint16_t) htons((uint16_t) attr); in drsmp_get_init()
94 smp->attr_mod = htonl(mod); in drsmp_get_init()
95 smp->tid = htonll(drmad_tid++); in drsmp_get_init()
96 smp->dr_slid = 0xffff; in drsmp_get_init()
[all …]
/freebsd/contrib/nvi/vi/
H A Dvs_line.c37 vs_line(SCR *sp, SMAP *smp, size_t *yp, size_t *xp) in vs_line() argument
53 smp - HMAP, smp->lno, smp->off); in vs_line()
62 if (F_ISSET(sp, SC_SCR_EXWROTE) && smp - HMAP != LASTLINE(sp)) in vs_line()
71 is_cached = SMAP_CACHE(smp); in vs_line()
87 (void)gp->scr_move(sp, smp - HMAP, 0); in vs_line()
90 dne = db_get(sp, smp->lno, 0, &p, &len); in vs_line()
107 skip_cols = smp->coff; in vs_line()
109 skip_screens = smp->soff - 1; in vs_line()
136 if ((!dne || smp->lno == 1) && skip_cols == 0) { in vs_line()
138 sizeof(cbuf), O_NUMBER_FMT, (u_long)smp->lno); in vs_line()
[all …]
H A Dvs_smap.c516 SMAP *smp; in vs_sm_scroll() local
526 if (vs_sm_cursor(sp, &smp)) in vs_sm_scroll()
534 if (vs_sm_down(sp, rp, count, scmd, smp)) in vs_sm_scroll()
541 if (vs_sm_up(sp, rp, count, scmd, smp)) in vs_sm_scroll()
571 vs_sm_up(SCR *sp, MARK *rp, recno_t count, scroll_t scmd, SMAP *smp) in vs_sm_up() argument
590 if (scmd == CNTRL_E || scmd == Z_PLUS || smp == TMAP) { in vs_sm_up()
594 if (vs_sm_next(sp, smp, &s1)) in vs_sm_up()
596 if (s1.lno > smp->lno && !db_exist(sp, s1.lno)) { in vs_sm_up()
667 if (smp > HMAP) in vs_sm_up()
668 --smp; in vs_sm_up()
[all …]
/freebsd/sys/dev/isci/scil/
H A Dscif_sas_smp_phy.c74 * @brief This routine constructs a smp phy object for an expander phy and insert
77 * @param[in] owning_device The smp remote device that owns this smp phy.
94 //insert to owning device's smp phy list. in scif_sas_smp_phy_construct()
102 * @brief This routine destructs a smp phy object for an expander phy and free the smp
103 * phy to controller's smp phy memory.
104 * @param[in] this_smp_phy The smp phy to be destructed.
119 //update the counterpart phy from the other smp phy list. in scif_sas_smp_phy_destruct()
131 * @brief This routine save a smp phy information based on discover response.
136 * @param[in] discover_response The smp DISCOVER response for this_smp_phy.
168 * @brief This routine constructs a smp phy object for an expander phy.
[all …]
H A Dscif_sas_smp_io_request.c60 * SCIF_SAS_SMP_IO_REQUEST object. The contents will implement SMP
76 * @brief This routine is to fill in the space given by core the SMP command
79 * @param[in] fw_io The smp io request to be constructed.
80 * @param[in] smp_command The SMP request filled according to SAS spec.
106 * SMP requests (e.g. filling in the frame type, zero-out memory,
109 * @param[out] smp_request This parameter specifies the SMP request
110 * structure containing the SMP request to be sent to the
111 * SMP target.
112 * @param[in] smp_function This parameter specifies the SMP function to
116 * SMP request.
[all …]
H A Dscif_sas_smp_remote_device.c75 * @brief This method resets all fields for a smp remote device. This is a
78 * @param[in] fw_device the framework SMP device that is being
87 //reset all fields in smp_device, indicate that the smp device is not in scif_sas_smp_remote_device_clear()
132 * @brief This method intializes a smp remote device.
134 * @param[in] fw_device the framework SMP device that is being
163 * @brief This method decodes a smp response to this smp device and then
164 * continue the smp discover process.
166 * @param[in] fw_device The framework device that a SMP response targets to.
167 * @param[in] fw_request The pointer to an smp request whose response
206 //check the current smp request, decide what's next smp request to issue. in scif_sas_smp_remote_device_decode_smp_response()
[all …]
H A Dscic_sds_smp_request.c87 * This macro returns the address of the smp command buffer in the smp request
88 * memory. No need to cast to SMP request type.
94 * This macro aligns the smp command buffer in DWORD alignment
103 * This macro returns the DWORD-aligned smp command buffer
112 * This macro returns the address of the smp response buffer in the smp request
120 * This macro aligns the smp command buffer in DWORD alignment
129 * This macro returns the DWORD-aligned smp resposne buffer
138 * This macro returs the task context buffer for the SMP request.
147 * This macro returns the dword-aligned smp task context buffer
186 * @brief This method is called by the SCI user to build an SMP
[all …]
H A Dscif_sas_smp_remote_device.h84 * These constants depict the various SMP remote device activities.
114 * @brief The SCIF_SAS_SMP_REMOTE_DEVICE stores data for smp remote devices
121 * This field stores the current SMP request function in the discovering
127 * This field indicates a smp device is either in the middle of normal discover
133 * This field stores the current expander phy index for sending out SMP
151 * This field stores the smp phy whose route entries are edited by sending
157 * This field stores the current smp phy on a destination device's smp phy list whose
158 * attached device's sas address is to be edited into this smp device's route table.
159 * When one config route info response is processed, we can find the next smp phy to edit
165 * This field stores the current smp phy to which a PHY CONTROL (clear affiliation)
[all …]
H A Dscif_sas_domain.c117 //search all the smp devices in the domain and cancel their activities in scif_sas_domain_operation_timeout_handler()
118 //if there is any outstanding activity remained. The smp devices will terminate in scif_sas_domain_operation_timeout_handler()
427 //if there is smp device on this domain that is in the middle of discover in scic_cb_port_bc_change_primitive_recieved()
428 //process or smp target reset, don't notify the driver layer. in scic_cb_port_bc_change_primitive_recieved()
791 //kick off the smp discover process if this expander is direct attached. in scif_sas_domain_remote_device_start_complete()
795 //its containing smp device finish discover. in scif_sas_domain_remote_device_start_complete()
809 * @brief This methods check each smp device in this domain. If there is at
810 * least one smp device in discover or target reset activity, this
811 * domain is considered in smp activity. Note this routine is not
816 * @return BOOL value to indicate whether a domain is in SMP activity.
[all …]
H A Dscif_sas_smp_phy.h78 * @brief This structure stores data for a smp phy of a smp device (expander).
83 * A smp phy can either connect to a end device or another smp phy,
88 * The attached smp phy. This field has valid meaning when
101 * This field records the owning expander device this smp phy belongs to.
106 * The list element of this smp phy for the smp phy list of the ownig expander.
129 * This field records the phy identifier of this smp phy, retrieved from a
136 * route table activity on a smp phy within one DISCOVER process.
/freebsd/sys/fs/smbfs/
H A Dsmbfs_vfsops.c132 struct smbmount *smp = NULL; in smbfs_mount() local
162 smp = malloc(sizeof(*smp), M_SMBFSDATA, M_WAITOK | M_ZERO); in smbfs_mount()
167 free(smp, M_SMBFSDATA); in smbfs_mount()
173 mp->mnt_data = smp; in smbfs_mount()
174 smp->sm_share = ssp; in smbfs_mount()
175 smp->sm_root = NULL; in smbfs_mount()
176 smp->sm_dev = dev; in smbfs_mount()
178 "caseopt", "%d", &smp->sm_caseopt)) { in smbfs_mount()
188 smp->sm_uid = v; in smbfs_mount()
195 smp->sm_gid = v; in smbfs_mount()
[all …]
/freebsd/sys/ofed/include/rdma/
H A Dopa_smi.h126 opa_get_smp_direction(const struct opa_smp *smp) in opa_get_smp_direction() argument
128 return ib_get_smp_direction((const struct ib_smp *)smp); in opa_get_smp_direction()
131 static inline u8 *opa_get_smp_data(struct opa_smp *smp) in opa_get_smp_data() argument
133 if (smp->mgmt_class == IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE) in opa_get_smp_data()
134 return smp->route.dr.data; in opa_get_smp_data()
136 return smp->route.lid.data; in opa_get_smp_data()
139 static inline size_t opa_get_smp_data_size(const struct opa_smp *smp) in opa_get_smp_data_size() argument
141 if (smp->mgmt_class == IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE) in opa_get_smp_data_size()
142 return sizeof(smp->route.dr.data); in opa_get_smp_data_size()
144 return sizeof(smp->route.lid.data); in opa_get_smp_data_size()
[all …]
/freebsd/sys/contrib/device-tree/Bindings/sram/
H A Dsram.yaml81 - allwinner,sun9i-a80-smp-sram
85 - amlogic,meson8-smp-sram
86 - amlogic,meson8b-smp-sram
92 - renesas,smp-sram
93 - rockchip,rk3066-smp-sram
96 - socionext,milbeaut-smp-sram
165 smp-sram@100 {
181 // Samsung SMP-capable Exynos SoCs use part of the SYSRAM for the bringup
195 smp-sram@0 {
200 smp-sram@53000 {
[all …]
/freebsd/share/man/man4/
H A Dsmp.428 .Nm SMP
31 .Cd options SMP
39 .Va kern.smp.disabled
48 .Va kern.smp.threads_per_core .
51 .Va kern.smp.cores .
121 .Cd options SMP .
122 It is permissible to use the SMP kernel configuration on non-SMP hardware.
129 .Cd options SMP ,
164 reference source code from the fine-grained SMP implementation found
169 also introduced support for SMP on the sparc64 architecture.
[all …]
/freebsd/sys/ofed/drivers/infiniband/util/
H A Dmadeye.c66 static int smp = 1; variable
72 module_param(smp, int, 0444);
78 MODULE_PARM_DESC(smp, "Display all SMPs (default=1)");
88 return "LID routed SMP"; in get_class_name()
90 return "Directed route SMP"; in get_class_name()
355 static void print_smp(struct ib_smp *smp) in print_smp() argument
359 printk("MAD version....0x%01x\n", smp->base_version); in print_smp()
360 printk("Class..........0x%01x (%s)\n", smp->mgmt_class, in print_smp()
361 get_class_name(smp->mgmt_class)); in print_smp()
362 printk("Class version..0x%01x\n", smp->class_version); in print_smp()
[all …]
/freebsd/sys/contrib/device-tree/Bindings/arm/
H A Dcpus.yaml219 - actions,s500-smp
222 - allwinner,sun9i-a80-smp
223 - allwinner,sun8i-a83t-smp
224 - amlogic,meson8-smp
225 - amlogic,meson8b-smp
226 - arm,realview-smp
227 - aspeed,ast2600-smp
230 - brcm,bcm2836-smp
232 - brcm,bcm-nsp-smp
234 - marvell,armada-375-smp
[all …]
/freebsd/contrib/libpcap/
H A Dpcap-sita.html32 <TH VALIGN=TOP>SMP</TH>
44 Each IOP will be capable of supporting multiple connections from an SMP
106 "SMP/IOP Inter-Process Communication Protocol" section.
114 <TR><TH VALIGN=TOP NOWRAP>SMP -> IOP</TH>
116 The SMP will open a connection to the selected IOP on its 'sniffer' port
121 <TR><TH VALIGN=TOP NOWRAP>IOP -> SMP</TH>
141 <TR><TH VALIGN=TOP NOWRAP>SMP</TH>
146 <TR><TH VALIGN=TOP NOWRAP>SMP -> IOP</TH>
148 The SMP will sequentially open a connection to each IOP on its 'sniffer' port to ensure
153 <TR><TH VALIGN=TOP NOWRAP>IOP -> SMP</TH>
[all …]
/freebsd/sys/dev/pms/RefTisa/discovery/dm/
H A Ddmsmp.c95 /* increment the number of pending SMP */ in dmSMPStart()
104 /* get an smp REQUEST from the free list */ in dmSMPStart()
108 DM_DBG1(("dmSMPStart: no free SMP!!!\n")); in dmSMPStart()
110 /* undo increment the number of pending SMP */ in dmSMPStart()
126 DM_DBG5(("dmSMPStart: SMP id %d\n", dmSMPRequestBody->id)); in dmSMPStart()
184 …DM_DBG1(("dmSMPStart: SAS 1.1 error, undefined or unused smp function code 0x%x !!!\n", functionCo… in dmSMPStart()
187 /* SMP 1.1 header */ in dmSMPStart()
188 dmSMPFrameHeader.smpFrameType = SMP_REQUEST; /* SMP request */ in dmSMPStart()
200 /* SMP 2.0 header */ in dmSMPStart()
201 dmSMPFrameHeader.smpFrameType = SMP_REQUEST; /* SMP request */ in dmSMPStart()
[all …]
H A Ddmtypes.h44 /* for SMP only */
109 bit32 pendingSMP; /* the number of pending SMP for this discovery */
112 dmTimerRequest_t SMPBusyTimer; /* SMP retry timer for saSMPStart busy */
113 bit32 SMPRetries; /* number of SMP retries when LL returns busy for saSMPStart*/
115 dmTimerRequest_t DiscoverySMPTimer; /* discovery-related SMP application Timer */
315 should DM allocate a pool of SMP and manages it
324 tiDeviceHandle_t *tiDevHandle; /* not used for TD generated SMP */
329 /**< SMP response */
337 tiIORequest_t *CurrentTaskTag; /* SMP is used for simulate target reset */
341 dmIntPortContext_t *dmPortContext; /* portcontext where SMP is sent from */
[all …]
/freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DStackMapPrinter.h19 void prettyPrintStackMap(ScopedPrinter &W, const StackMapParserT &SMP) { in prettyPrintStackMap() argument
21 W.printNumber("LLVM StackMap Version", SMP.getVersion()); in prettyPrintStackMap()
22 W.printNumber("Num Functions", SMP.getNumFunctions()); in prettyPrintStackMap()
25 for (const auto &F : SMP.functions()) in prettyPrintStackMap()
31 W.printNumber("Num Constants", SMP.getNumConstants()); in prettyPrintStackMap()
33 for (const auto &C : SMP.constants()) in prettyPrintStackMap()
37 W.printNumber("Num Records", SMP.getNumRecords()); in prettyPrintStackMap()
38 for (const auto &R : SMP.records()) { in prettyPrintStackMap()
64 << SMP.getConstant(Loc.getConstantIndex()).getValue() << ")"; in prettyPrintStackMap()
/freebsd/sys/dev/pms/RefTisa/tisa/sassata/sas/tgt/
H A Dttdsmp.c128 /* smp header */ /*(TP)*/ in ttdsaNotSupportRespSend()
129 tdSMPFrameHeader.smpFrameType = SMP_RESPONSE; /* SMP response */ in ttdsaNotSupportRespSend()
131 tdSMPFrameHeader.smpFunctionResult = UNKNOWN_SMP_FUNCTION; /* unknown smp */ in ttdsaNotSupportRespSend()
135 //agSMPFrame->frameHeader.smpFrameType = SMP_RESPONSE; /* SMP response */ in ttdsaNotSupportRespSend()
137 //agSMPFrame->frameHeader.smpFunctionResult = UNKNOWN_SMP_FUNCTION; /* unknown smp */ in ttdsaNotSupportRespSend()
144 agSMPFrame->outFrameLen = 0; /* no smp response payload */ in ttdsaNotSupportRespSend()
201 /* smp header */ /*(TP)*/ in ttdsaDiscoverRespSend()
202 tdSMPFrameHeader.smpFrameType = SMP_RESPONSE; /* SMP response */ in ttdsaDiscoverRespSend()
208 //agSMPFrame->frameHeader.smpFrameType = SMP_RESPONSE; /* SMP response */ in ttdsaDiscoverRespSend()
221 /* smp response payload */ in ttdsaDiscoverRespSend()
[all …]

12345678910>>...38