Home
last modified time | relevance | path

Searched full:sw (Results 1 – 25 of 1145) sorted by relevance

12345678910>>...46

/freebsd/contrib/ofed/opensm/opensm/
H A Dosm_torus.c86 * sw ==> NULL
96 * sw ==> pointer to valid struct switch containing this endpoint
109 * sw ==> pointer to valid struct switch containing this endpoint,
128 void *sw; /* void* can point to either switch type */ member
179 struct t_switch *sw; /* what switch we're attached to */ member
250 struct f_switch **sw; member
305 struct t_switch ****sw; member
337 struct f_switch *sw; in teardown_fabric() local
342 if (f->sw) { in teardown_fabric()
348 sw = f->sw[s]; in teardown_fabric()
[all …]
H A Dosm_ucast_lash.c122 if (p->p_node->sw) in get_osm_switch_from_port()
123 return p->p_node->sw; in get_osm_switch_from_port()
124 else if (p->p_remote_physp && p->p_remote_physp->p_node->sw) in get_osm_switch_from_port()
125 return p->p_remote_physp->p_node->sw; in get_osm_switch_from_port()
171 static inline int get_next_switch(lash_t *p_lash, int sw, int link) in get_next_switch() argument
173 return p_lash->switches[sw]->node->links[link]->switch_id; in get_next_switch()
176 static void remove_semipermanent_depend_for_sp(lash_t * p_lash, int sw, in remove_semipermanent_depend_for_sp() argument
186 output_link = switches[sw]->routing_table[dest_switch].out_link; in remove_semipermanent_depend_for_sp()
187 i_next_switch = get_next_switch(p_lash, sw, output_link); in remove_semipermanent_depend_for_sp()
189 while (sw != dest_switch) { in remove_semipermanent_depend_for_sp()
[all …]
H A Dosm_ucast_updn.c75 osm_switch_t *sw; member
143 for (pn = 1; pn < u->sw->num_ports; pn++) { in updn_bfs_by_node()
151 osm_node_get_remote_node(u->sw->p_node, pn, in updn_bfs_by_node()
155 if (!p_remote_node || !p_remote_node->sw) in updn_bfs_by_node()
158 p_remote_sw = p_remote_node->sw; in updn_bfs_by_node()
170 cl_ntoh64(osm_node_get_node_guid(u->sw->p_node)), in updn_bfs_by_node()
176 current_min_hop = osm_switch_get_least_hops(u->sw, lid); in updn_bfs_by_node()
237 p_sw = u->sw; in updn_subn_rank()
259 if (p_remote_physp && p_remote_physp->p_node->sw) { in updn_subn_rank()
260 remote_u = p_remote_physp->p_node->sw->priv; in updn_subn_rank()
[all …]
H A Dosm_mesh.c590 * the adjacent switch nodes to sw along paths
591 * that do not go through sw. do calculation by
595 static int get_switch_metric(lash_t *p_lash, int sw) in get_switch_metric() argument
601 switch_t *s = p_lash->switches[sw]; in get_switch_metric()
634 if (sw3 == sw) in get_switch_metric()
674 static void classify_switch(lash_t *p_lash, mesh_t *mesh, int sw) in classify_switch() argument
678 switch_t *s = p_lash->switches[sw]; in classify_switch()
696 mesh->class_type[mesh->num_class] = sw; in classify_switch()
709 static void classify_mesh_type(lash_t *p_lash, int sw) in classify_mesh_type() argument
713 switch_t *s = p_lash->switches[sw]; in classify_mesh_type()
[all …]
H A Dosm_ucast_mgr.c121 if (p_remote_node && p_remote_node->sw && in ucast_mgr_process_hop_0_1()
178 static struct osm_remote_node *find_and_add_remote_sys(osm_switch_t * sw, in find_and_add_remote_sys() argument
185 osm_physp_t *p = osm_node_get_physp_ptr(sw->p_node, port); in find_and_add_remote_sys()
429 if (p_remote_node && p_remote_node->sw in ucast_mgr_process_neighbors()
438 p_remote_node->sw, in ucast_mgr_process_neighbors()
455 if (!node || !node->sw) { in set_hop_wf()
463 port >= node->sw->num_ports) { in set_hop_wf()
489 osm_switch_t *sw = (osm_switch_t *) p_map_item; in set_default_hop_wf() local
492 for (i = 1; i < sw->num_ports; i++) { in set_default_hop_wf()
493 osm_physp_t *p = osm_node_get_physp_ptr(sw->p_node, i); in set_default_hop_wf()
[all …]
H A Dosm_ucast_dfsssp.c97 osm_switch_t *sw; /* selfpointer */ member
164 vertex->sw = NULL; in set_default_vertex()
812 while (remote_node && remote_node->sw) { in update_channel_dep_graph()
814 local_port = local_node->sw->new_lft[dlid]; in update_channel_dep_graph()
827 if (!remote_node || !remote_node->sw) in update_channel_dep_graph()
964 while (remote_node && remote_node->sw) { in remove_path_from_cdg()
966 local_port = local_node->sw->new_lft[dlid]; in remove_path_from_cdg()
976 if (!remote_node || !remote_node->sw) in remove_path_from_cdg()
1031 static void add_sw_endports_to_order_list(osm_switch_t * sw, in add_sw_endports_to_order_list() argument
1043 for (i = 1; i < sw->num_ports; i++) { in add_sw_endports_to_order_list()
[all …]
H A Dosm_mcast_mgr.c146 osm_switch_t *sw; in create_mgrp_switch_map() local
155 if (port->p_node->sw) { in create_mgrp_switch_map()
156 sw = port->p_node->sw; in create_mgrp_switch_map()
157 sw->is_mc_member = 1; in create_mgrp_switch_map()
159 sw = port->p_physp->p_remote_physp->p_node->sw; in create_mgrp_switch_map()
160 sw->num_of_mcm++; in create_mgrp_switch_map()
163 guid = osm_node_get_node_guid(sw->p_node); in create_mgrp_switch_map()
165 cl_qmap_insert(m, guid, &sw->mgrp_item); in create_mgrp_switch_map()
171 osm_switch_t *sw; in destroy_mgrp_switch_map() local
175 sw = cl_item_obj(i, sw, mgrp_item); in destroy_mgrp_switch_map()
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/builtins/riscv/
H A Dsave.S28 sw s11, 12(sp)
46 sw s10, 16(sp)
47 sw s9, 20(sp)
48 sw s8, 24(sp)
49 sw s7, 28(sp)
67 sw s6, 32(sp)
68 sw s5, 36(sp)
69 sw s4, 40(sp)
70 sw s3, 44(sp)
71 sw s2, 48(sp)
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DELFAttrParserCompact.cpp45 if (sw) { in integerAttribute()
46 DictScope scope(*sw, "Attribute"); in integerAttribute()
47 sw->printNumber("Tag", tag); in integerAttribute()
49 sw->printString("TagName", tagName); in integerAttribute()
50 sw->printNumber("Value", value); in integerAttribute()
61 if (sw) { in stringAttribute()
62 DictScope scope(*sw, "Attribute"); in stringAttribute()
63 sw->printNumber("Tag", tag); in stringAttribute()
65 sw->printString("TagName", tagName); in stringAttribute()
66 sw->printString("Value", desc); in stringAttribute()
[all …]
H A DELFAttrParserExtended.cpp154 if (Sw) { in parse()
155 Sw->startLine() << "Section " << ++SectionNumber << " {\n"; in parse()
156 Sw->indent(); in parse()
157 Sw->printNumber("SectionLength", ExtBASubsectionLength); in parse()
158 Sw->startLine() << "VendorName" << ": " << VendorName in parse()
161 Sw->startLine() << "Attributes {\n"; in parse()
162 Sw->indent(); in parse()
185 if (Sw) in parse()
186 Sw->printString("" != TagName ? TagName : utostr(Tag), ValueStr); in parse()
191 if (Sw) in parse()
[all …]
H A DARMAttributeParser.cpp77 if (sw) { in stringAttribute()
78 DictScope scope(*sw, "Attribute"); in stringAttribute()
79 sw->printNumber("Tag", tag); in stringAttribute()
81 sw->printString("TagName", tagName); in stringAttribute()
82 sw->printString("Value", desc); in stringAttribute()
314 if (sw) { in compatibility()
315 DictScope scope(*sw, "Attribute"); in compatibility()
316 sw->printNumber("Tag", tag); in compatibility()
317 sw->startLine() << "Value: " << integer << ", " << string << '\n'; in compatibility()
318 sw->printString("TagName", in compatibility()
[all …]
/freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DARMWinEHPrinter.cpp332 SW.startLine() << format("0x%02x ; %s sp, #(%u * 4)\n", in opcode_0xxxxxxx()
349 SW.startLine() << format("0x%02x 0x%02x ; %s.w ", in opcode_10Lxxxxx()
362 SW.startLine() << format("0x%02x ; mov r%u, sp\n", in opcode_1100xxxx()
365 SW.startLine() << format("0x%02x ; mov sp, r%u\n", in opcode_1100xxxx()
379 SW.startLine() << format("0x%02x ; %s ", OC[Offset], in opcode_11010Lxx()
396 SW.startLine() << format("0x%02x ; %s.w ", OC[Offset], in opcode_11011Lxx()
410 SW.startLine() << format("0x%02x ; %s ", OC[Offset], in opcode_11100xxx()
423 SW.startLine() << format("0x%02x 0x%02x ; %s.w sp, #(%u * 4)\n", in opcode_111010xx()
437 SW.startLine() << format("0x%02x 0x%02x ; %s ", OC[Offset + 0], in opcode_1110110L()
451 SW.startLine() << format("0x%02x 0x%02x ; reserved\n", in opcode_11101110()
[all …]
H A DARMEHABIPrinter.h28 ScopedPrinter &SW; variable
65 OpcodeDecoder(ScopedPrinter &SW) : SW(SW), OS(SW.getOStream()) {} in OpcodeDecoder() argument
100 SW.startLine() << format("0x%02X ; vsp = vsp + %u\n", Opcode, in Decode_00xxxxxx()
106 SW.startLine() << format("0x%02X ; vsp = vsp - %u\n", Opcode, in Decode_01xxxxxx()
115 SW.startLine() in Decode_1000iiii_iiiiiiii()
125 SW.startLine() << format("0x%02X ; reserved (ARM MOVrr)\n", Opcode); in Decode_10011101()
130 SW.startLine() << format("0x%02X ; reserved (WiMMX MOVrr)\n", Opcode); in Decode_10011111()
135 SW.startLine() << format("0x%02X ; vsp = r%u\n", Opcode, (Opcode & 0x0f)); in Decode_1001nnnn()
140 SW.startLine() << format("0x%02X ; pop ", Opcode); in Decode_10100nnn()
147 SW.startLine() << format("0x%02X ; pop ", Opcode); in Decode_10101nnn()
[all …]
H A DWindowsResourceDumper.cpp57 SW.printString("Resource type (string)", NarrowStr); in printEntry()
62 SW.printString("Resource type (int)", IDStr); in printEntry()
67 SW.printString("Resource name (string)", NarrowStr); in printEntry()
69 SW.printNumber("Resource name (int)", Ref.getNameID()); in printEntry()
71 SW.printNumber("Data version", Ref.getDataVersion()); in printEntry()
72 SW.printHex("Memory flags", Ref.getMemoryFlags()); in printEntry()
73 SW.printNumber("Language ID", Ref.getLanguage()); in printEntry()
74 SW.printNumber("Version (major)", Ref.getMajorVersion()); in printEntry()
75 SW.printNumber("Version (minor)", Ref.getMinorVersion()); in printEntry()
76 SW in printEntry()
[all...]
H A DWin64EHDumper.cpp248 SW.printString("StartAddress", in printRuntimeFunctionEntry()
250 SW.printString("EndAddress", in printRuntimeFunctionEntry()
253 SW.printString("UnwindInfoAddress", in printRuntimeFunctionEntry()
264 SW.startLine() << format("0x%02X: ", unsigned(UC[0].u.CodeOffset)) in printUnwindCode()
337 DictScope UIS(SW, "UnwindInfo"); in printUnwindInfo()
338 SW.printNumber("Version", UI.getVersion()); in printUnwindInfo()
339 SW.printFlags("Flags", UI.getFlags(), ArrayRef(UnwindFlags)); in printUnwindInfo()
340 SW.printNumber("PrologSize", UI.PrologSize); in printUnwindInfo()
342 SW.printEnum("FrameRegister", UI.getFrameRegister(), in printUnwindInfo()
344 SW.printHex("FrameOffset", UI.getFrameOffset()); in printUnwindInfo()
[all …]
/freebsd/crypto/openssl/crypto/aes/asm/
H A Daes-riscv32-zkn.pl77 $ret.=" sw $_,$stack_offset(sp)\n";
334 sw $Q0,0($OUTP)
335 sw $Q1,4($OUTP)
336 sw $Q2,8($OUTP)
337 sw $Q3,12($OUTP)
449 sw $Q0,0($OUTP)
450 sw $Q1,4($OUTP)
451 sw $Q2,8($OUTP)
452 sw $Q3,12($OUTP)
510 sw $T0,0($KEYP)
[all …]
/freebsd/usr.sbin/ppp/
H A Dmain.c211 ProcessArgs(int argc, char **argv, struct switches *sw) in ProcessArgs() argument
217 memset(sw, '\0', sizeof *sw); in ProcessArgs()
218 sw->mode = PHYS_INTERACTIVE; in ProcessArgs()
219 sw->unit = -1; in ProcessArgs()
230 sw->nat = 1; in ProcessArgs()
240 sw->nat = 1; in ProcessArgs()
251 sw->unit = atoi(argv[arg]); in ProcessArgs()
253 sw->unit = atoi(cp + 4); in ProcessArgs()
255 sw->quiet = 1; in ProcessArgs()
266 sw->mode = newmode; in ProcessArgs()
[all …]
/freebsd/contrib/llvm-project/libunwind/src/
H A DUnwindRegistersSave.S185 sw $1, (4 * 1)($4)
186 sw $2, (4 * 2)($4)
187 sw $3, (4 * 3)($4)
188 sw $4, (4 * 4)($4)
189 sw $5, (4 * 5)($4)
190 sw $6, (4 * 6)($4)
191 sw $7, (4 * 7)($4)
192 sw $8, (4 * 8)($4)
193 sw $9, (4 * 9)($4)
194 sw $10, (4 * 10)($4)
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/xray/
H A Dxray_trampoline_riscv32.S21 sw ra, 108(sp)
22 sw a7, 104(sp)
23 sw a6, 100(sp)
24 sw a5, 96(sp)
25 sw a4, 92(sp)
26 sw a3, 88(sp)
27 sw a2, 84(sp)
28 sw a1, 80(sp)
29 sw a0, 76(sp)
67 sw ra, 28(sp)
[all …]
H A Dxray_trampoline_mips.S28 sw $ra, 32($sp)
30 sw $a3, 28($sp)
31 sw $a2, 24($sp)
32 sw $a1, 20($sp)
33 sw $a0, 16($sp)
75 sw $ra, 32($sp)
77 sw $a1, 28($sp)
78 sw $a0, 24($sp)
79 sw $v1, 20($sp)
80 sw $v0, 16($sp)
/freebsd/lib/libmd/
H A Dsha0c.c117 int ew,ec,sw,sc; in SHA_Update() local
132 sw=c->num>>2; in SHA_Update()
137 l= p[sw]; in SHA_Update()
139 p[sw++]=l; in SHA_Update()
140 for (; sw<SHA_LBLOCK; sw++) in SHA_Update()
143 p[sw]=l; in SHA_Update()
156 l= p[sw]; in SHA_Update()
158 p[sw]=l; in SHA_Update()
164 l= p[sw]; in SHA_Update()
166 p[sw++]=l; in SHA_Update()
[all …]
H A Drmd160c.c103 int sw,sc; in RIPEMD160_Update() local
118 sw=c->num>>2; in RIPEMD160_Update()
123 l= p[sw]; in RIPEMD160_Update()
125 p[sw++]=l; in RIPEMD160_Update()
126 for (; sw<RIPEMD160_LBLOCK; sw++) in RIPEMD160_Update()
129 p[sw]=l; in RIPEMD160_Update()
144 l= p[sw]; in RIPEMD160_Update()
146 p[sw]=l; in RIPEMD160_Update()
152 l= p[sw]; in RIPEMD160_Update()
154 p[sw++]=l; in RIPEMD160_Update()
[all …]
/freebsd/contrib/libfido2/src/
H A Dnfc.c26 uint8_t sw[2]; in tx_short_apdu() local
48 if (d->io.read(d->io_handle, sw, sizeof(sw), -1) != 2) { in tx_short_apdu()
52 if ((sw[0] << 8 | sw[1]) != SW_NO_ERROR) { in tx_short_apdu()
53 fido_log_debug("%s: unexpected sw", __func__); in tx_short_apdu()
168 rx_apdu(fido_dev_t *d, uint8_t sw[2], unsigned char **buf, size_t *count, int *ms) in rx_apdu()
190 memcpy(sw, f + n - 2, 2); in rx_apdu()
202 uint8_t sw[2]; in rx_msg() local
205 if (rx_apdu(d, sw, &buf, &count, &ms) < 0) { in rx_msg()
210 while (sw[0] == SW1_MORE_DATA) in rx_msg()
211 if (tx_get_response(d, sw[1], cbor) < 0 || in rx_msg()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVMakeCompressible.cpp21 // sw zero, 0(a0) # if zero
22 // sw zero, 8(a0) # if zero
23 // sw zero, 4(a0) # if zero
24 // sw zero, 24(a0) # if zero
29 // c.sw a1, 0(a0)
30 // c.sw a1, 8(a0)
31 // c.sw a1, 4(a0)
32 // c.sw a1, 24(a0)
41 // For example, the following offsets are too large for c.sw:
43 // sw a1, -236(a2)
[all …]
/freebsd/contrib/ofed/infiniband-diags/src/
H A Dibtracert.c121 * The "sw" argument is only relevant when the port is on a
126 static int is_port_inactive(Node * node, Port * port, Switch * sw) in is_port_inactive() argument
131 (node->type == IB_NODE_SWITCH && sw->enhsp0))) in is_port_inactive()
175 static int switch_lookup(Switch * sw, ib_portid_t * portid, int lid) in switch_lookup() argument
177 void *si = sw->switchinfo, *fdb = sw->fdb; in switch_lookup()
179 memset(si, 0, sizeof(sw->switchinfo)); in switch_lookup()
184 mad_decode_field(si, IB_SW_LINEAR_FDB_CAP_F, &sw->linearcap); in switch_lookup()
185 mad_decode_field(si, IB_SW_LINEAR_FDB_TOP_F, &sw->linearFDBtop); in switch_lookup()
186 mad_decode_field(si, IB_SW_ENHANCED_PORT0_F, &sw->enhsp0); in switch_lookup()
188 if (lid >= sw->linearcap && lid > sw->linearFDBtop) in switch_lookup()
[all …]

12345678910>>...46