Home
last modified time | relevance | path

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

12345678910>>...42

/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 …]
H A Dosm_ucast_dnup.c76 osm_switch_t *sw; member
138 for (pn = 1; pn < u->sw->num_ports; pn++) { in dnup_bfs_by_node()
146 osm_node_get_remote_node(u->sw->p_node, pn, in dnup_bfs_by_node()
150 if (!p_remote_node || !p_remote_node->sw) in dnup_bfs_by_node()
153 p_remote_sw = p_remote_node->sw; in dnup_bfs_by_node()
159 current_min_hop = osm_switch_get_least_hops(u->sw, lid); in dnup_bfs_by_node()
171 cl_ntoh64(osm_node_get_node_guid(u->sw->p_node)), in dnup_bfs_by_node()
248 p_sw = u->sw; in dnup_subn_rank()
270 if (p_remote_physp && p_remote_physp->p_node->sw) { in dnup_subn_rank()
271 remote_u = p_remote_physp->p_node->sw->priv; in dnup_subn_rank()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DELFAttributeParser.cpp42 if (sw) { in integerAttribute()
43 DictScope scope(*sw, "Attribute"); in integerAttribute()
44 sw->printNumber("Tag", tag); in integerAttribute()
46 sw->printString("TagName", tagName); in integerAttribute()
47 sw->printNumber("Value", value); in integerAttribute()
58 if (sw) { in stringAttribute()
59 DictScope scope(*sw, "Attribute"); in stringAttribute()
60 sw->printNumber("Tag", tag); in stringAttribute()
62 sw->printString("TagName", tagName); in stringAttribute()
63 sw->printString("Value", desc); in stringAttribute()
[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()
289 if (sw) { in compatibility()
290 DictScope scope(*sw, "Attribute"); in compatibility()
291 sw->printNumber("Tag", tag); in compatibility()
292 sw->startLine() << "Value: " << integer << ", " << string << '\n'; in compatibility()
293 sw->printString("TagName", in compatibility()
[all …]
/freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DARMWinEHPrinter.cpp331 SW.startLine() << format("0x%02x ; %s sp, #(%u * 4)\n", in opcode_0xxxxxxx()
348 SW.startLine() << format("0x%02x 0x%02x ; %s.w ", in opcode_10Lxxxxx()
361 SW.startLine() << format("0x%02x ; mov r%u, sp\n", in opcode_1100xxxx()
364 SW.startLine() << format("0x%02x ; mov sp, r%u\n", in opcode_1100xxxx()
378 SW.startLine() << format("0x%02x ; %s ", OC[Offset], in opcode_11010Lxx()
395 SW.startLine() << format("0x%02x ; %s.w ", OC[Offset], in opcode_11011Lxx()
409 SW.startLine() << format("0x%02x ; %s ", OC[Offset], in opcode_11100xxx()
422 SW.startLine() << format("0x%02x 0x%02x ; %s.w sp, #(%u * 4)\n", in opcode_111010xx()
436 SW.startLine() << format("0x%02x 0x%02x ; %s ", OC[Offset + 0], in opcode_1110110L()
450 SW 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.cpp245 SW.printString("StartAddress", in printRuntimeFunctionEntry()
247 SW.printString("EndAddress", in printRuntimeFunctionEntry()
250 SW.printString("UnwindInfoAddress", in printRuntimeFunctionEntry()
260 SW.startLine() << format("0x%02X: ", unsigned(UC[0].u.CodeOffset)) in printUnwindCode()
316 DictScope UIS(SW, "UnwindInfo"); in printUnwindInfo()
317 SW.printNumber("Version", UI.getVersion()); in printUnwindInfo()
318 SW.printFlags("Flags", UI.getFlags(), ArrayRef(UnwindFlags)); in printUnwindInfo()
319 SW.printNumber("PrologSize", UI.PrologSize); in printUnwindInfo()
321 SW.printEnum("FrameRegister", UI.getFrameRegister(), in printUnwindInfo()
323 SW in printUnwindInfo()
[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/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.S144 sw $1, (4 * 1)($4)
145 sw $2, (4 * 2)($4)
146 sw $3, (4 * 3)($4)
147 sw $4, (4 * 4)($4)
148 sw $5, (4 * 5)($4)
149 sw $6, (4 * 6)($4)
150 sw $7, (4 * 7)($4)
151 sw $8, (4 * 8)($4)
152 sw $9, (4 * 9)($4)
153 sw $10, (4 * 10)($4)
[all …]
/freebsd/lib/libmd/
H A Dsha1c.c145 int ew,ec,sw,sc; in SHA1_Update() local
160 sw=c->num>>2; in SHA1_Update()
165 l= p[sw]; in SHA1_Update()
167 p[sw++]=l; in SHA1_Update()
168 for (; sw<SHA_LBLOCK; sw++) in SHA1_Update()
171 p[sw]=l; in SHA1_Update()
184 l= p[sw]; in SHA1_Update()
186 p[sw]=l; in SHA1_Update()
192 l= p[sw]; in SHA1_Update()
194 p[sw++]=l; in SHA1_Update()
[all …]
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/llvm-project/compiler-rt/lib/xray/
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/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/libfido2/src/
H A Dnfc.c26 uint8_t sw[2]; in tx_short_apdu() local
45 if (d->io.read(d->io_handle, sw, sizeof(sw), -1) != 2) { in tx_short_apdu()
49 if ((sw[0] << 8 | sw[1]) != SW_NO_ERROR) { in tx_short_apdu()
50 fido_log_debug("%s: unexpected sw", __func__); in tx_short_apdu()
204 rx_apdu(fido_dev_t *d, uint8_t sw[2], unsigned char **buf, size_t *count, int *ms) in rx_apdu()
226 memcpy(sw, f + n - 2, 2); in rx_apdu()
238 uint8_t sw[2]; in rx_msg() local
241 if (rx_apdu(d, sw, &buf, &count, &ms) < 0) { in rx_msg()
246 while (sw[0] == SW1_MORE_DATA) in rx_msg()
247 if (tx_get_response(d, sw[1]) < 0 || in rx_msg()
[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 …]
/freebsd/sys/dev/fb/
H A Dsplashreg.h49 #define SPLASH_DECODER(name, sw) \ argument
54 return splash_register(&sw); \
56 return splash_unregister(&sw); \
71 #define SAVER_MODULE(name, sw) \ argument
76 return splash_register(&sw); \
78 return splash_unregister(&sw); \

12345678910>>...42