Searched refs:sw (Results 1 - 25 of 120) sorted by relevance

12345

/freebsd-11-stable/contrib/ofed/opensm/include/opensm/
H A Dosm_mesh.h73 void osm_mesh_node_delete(struct _lash *p_lash, struct _switch *sw);
74 int osm_mesh_node_create(struct _lash *p_lash, struct _switch *sw);
/freebsd-11-stable/sys/dev/fb/
H A Dsplashreg.h49 #define SPLASH_DECODER(name, sw) \
54 return splash_register(&sw); \
56 return splash_unregister(&sw); \
71 #define SAVER_MODULE(name, sw) \
76 return splash_register(&sw); \
78 return splash_unregister(&sw); \
/freebsd-11-stable/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 in struct:endpoint
179 struct t_switch *sw; /* what switch we're attached to */ member in struct:port_grp
250 struct f_switch **sw; member in struct:fabric
305 struct t_switch ****sw; member in struct:torus
337 struct f_switch *sw; local
342 if (f->sw) {
348 sw
375 struct t_switch *sw; local
461 struct f_switch *sw; local
503 struct f_switch *sw = NULL; local
577 struct f_switch *sw; local
644 struct f_switch *sw; local
1334 struct t_switch *sw = NULL; local
1386 struct t_switch **sw = &t->sw[i][j][k]; local
6469 struct t_switch ****sw = t->sw; local
7014 struct f_switch *sw; local
7271 struct t_switch ****sw = t->sw; local
7596 rpt_torus_missing(struct torus *t, int i, int j, int k, struct t_switch *sw, int *missing_z) argument
7803 struct t_switch *sw; local
8021 sl2vl_entry(struct torus *t, struct t_switch *sw, int input_pt, int output_pt, unsigned sl) argument
8063 struct t_switch *sw = NULL; local
8093 struct t_switch *sw = NULL; local
8227 ring_next_sw(struct t_switch *sw, unsigned cdir, int rdir) argument
8263 struct t_switch *sw; local
8397 warn_on_routing(const char *msg, struct t_switch *sw, struct t_switch *dsw) argument
8457 lft_port(struct torus *t, struct t_switch *sw, struct t_switch *dsw, bool update_port_cnt, bool ca) argument
8617 torus_lft(struct torus *t, struct t_switch *sw) argument
8678 mcast_stree_branch(struct t_switch *sw, osm_switch_t *osm_sw, osm_mgrp_box_t *mgb, unsigned depth, unsigned *port_cnt, unsigned *max_depth) argument
8915 struct t_switch ****sw = t->sw; local
8933 struct t_switch ****sw = t->sw; local
8957 struct t_switch ****sw = t->sw; local
9017 sw_in_master_stree(struct t_switch *sw) argument
9040 struct t_switch *sw, *n_sw, *p_sw; local
9150 struct t_switch *sw = t->sw[i][j][k]; local
[all...]
H A Dosm_ucast_lash.c122 if (p->p_node->sw)
123 return p->p_node->sw;
124 else if (p->p_remote_physp && p->p_remote_physp->p_node->sw)
125 return p->p_remote_physp->p_node->sw;
171 static inline int get_next_switch(lash_t *p_lash, int sw, int link) argument
173 return p_lash->switches[sw]->node->links[link]->switch_id;
176 static void remove_semipermanent_depend_for_sp(lash_t * p_lash, int sw, argument
186 output_link = switches[sw]->routing_table[dest_switch].out_link;
187 i_next_switch = get_next_switch(p_lash, sw, output_link);
189 while (sw !
238 enqueue(cl_list_t * bfsq, switch_t * sw) argument
245 dequeue(cl_list_t * bfsq, switch_t ** sw) argument
252 get_phys_connection(switch_t *sw, int switch_to) argument
264 switch_t **switches = p_lash->switches, *sw, *swi; local
291 switch_t *sw = p_lash->switches[sw_id]; local
327 generate_cdg_for_sp(lash_t * p_lash, int sw, int dest_switch, int lane) argument
389 set_temp_depend_to_permanent_for_sp(lash_t * p_lash, int sw, int dest_switch, int lane) argument
418 remove_temp_depend_for_sp(lash_t * p_lash, int sw, int dest_switch, int lane) argument
611 switch_t *sw; local
643 switch_delete(lash_t *p_lash, switch_t * sw) argument
971 get_next_port(switch_t *sw, int link) argument
1001 switch_t *sw; local
[all...]
H A Dosm_ucast_updn.c75 osm_switch_t *sw; member in struct:updn_node
143 for (pn = 1; pn < u->sw->num_ports; pn++) {
151 osm_node_get_remote_node(u->sw->p_node, pn,
155 if (!p_remote_node || !p_remote_node->sw)
158 p_remote_sw = p_remote_node->sw;
170 cl_ntoh64(osm_node_get_node_guid(u->sw->p_node)),
176 current_min_hop = osm_switch_get_least_hops(u->sw, lid);
237 p_sw = u->sw;
259 if (p_remote_physp && p_remote_physp->p_node->sw) {
260 remote_u = p_remote_physp->p_node->sw
285 updn_clear_non_root_hops(updn_t * updn, osm_switch_t * sw) argument
387 create_updn_node(osm_switch_t * sw) argument
513 osm_switch_t *sw = (osm_switch_t *)item; local
522 osm_switch_t *sw; local
551 osm_switch_t *sw; local
[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) argument
601 switch_t *s = p_lash->switches[sw];
634 if (sw3 == sw)
674 static void classify_switch(lash_t *p_lash, mesh_t *mesh, int sw) argument
678 switch_t *s = p_lash->switches[sw];
696 mesh->class_type[mesh->num_class] = sw;
709 static void classify_mesh_type(lash_t *p_lash, int sw) argument
713 switch_t *s = p_lash->switches[sw];
746 int sw; local
781 int sw; local
814 print_axis(lash_t *p_lash, char *p, int sw, int port) argument
838 seed_axes(lash_t *p_lash, int sw) argument
925 make_geometry(lash_t *p_lash, int sw) argument
1134 reorder_node_links(lash_t *p_lash, mesh_t *mesh, int sw) argument
1215 int sw; local
1290 int sw; local
1360 int sw; local
1499 osm_mesh_node_delete(lash_t *p_lash, switch_t *sw) argument
1541 osm_mesh_node_create(lash_t *p_lash, switch_t *sw) argument
1578 int sw; local
[all...]
H A Dosm_ucast_dnup.c76 osm_switch_t *sw; member in struct:dnup_node
138 for (pn = 1; pn < u->sw->num_ports; pn++) {
146 osm_node_get_remote_node(u->sw->p_node, pn,
150 if (!p_remote_node || !p_remote_node->sw)
153 p_remote_sw = p_remote_node->sw;
159 current_min_hop = osm_switch_get_least_hops(u->sw, lid);
171 cl_ntoh64(osm_node_get_node_guid(u->sw->p_node)),
248 p_sw = u->sw;
270 if (p_remote_physp && p_remote_physp->p_node->sw) {
271 remote_u = p_remote_physp->p_node->sw
389 create_dnup_node(osm_switch_t * sw) argument
[all...]
H A Dosm_mcast_mgr.c146 osm_switch_t *sw; local
155 if (port->p_node->sw) {
156 sw = port->p_node->sw;
157 sw->is_mc_member = 1;
159 sw = port->p_physp->p_remote_physp->p_node->sw;
160 sw->num_of_mcm++;
163 guid = osm_node_get_node_guid(sw->p_node);
165 cl_qmap_insert(m, guid, &sw
171 osm_switch_t *sw; local
196 osm_switch_t *sw; local
227 osm_switch_t *sw; local
[all...]
H A Dosm_ucast_dfsssp.c97 osm_switch_t *sw; /* selfpointer */ member in struct:vertex
164 vertex->sw = NULL;
812 while (remote_node && remote_node->sw) {
814 local_port = local_node->sw->new_lft[dlid];
827 if (!remote_node || !remote_node->sw)
964 while (remote_node && remote_node->sw) {
966 local_port = local_node->sw->new_lft[dlid];
976 if (!remote_node || !remote_node->sw)
1031 static void add_sw_endports_to_order_list(osm_switch_t * sw, argument
1043 for (i = 1; i < sw
1213 osm_switch_t *sw = NULL; local
1674 osm_switch_t *sw = NULL; local
1839 osm_switch_t *sw = NULL; local
2299 osm_switch_t *sw = NULL; local
[all...]
H A Dosm_ucast_mgr.c121 if (p_remote_node && p_remote_node->sw &&
178 static struct osm_remote_node *find_and_add_remote_sys(osm_switch_t * sw, argument
185 osm_physp_t *p = osm_node_get_physp_ptr(sw->p_node, port);
429 if (p_remote_node && p_remote_node->sw
438 p_remote_node->sw,
455 if (!node || !node->sw) {
463 port >= node->sw->num_ports) {
489 osm_switch_t *sw = (osm_switch_t *) p_map_item; local
492 for (i = 1; i < sw->num_ports; i++) {
493 osm_physp_t *p = osm_node_get_physp_ptr(sw
503 osm_switch_t *sw; local
785 osm_switch_t *sw = (osm_switch_t *) p_map_item; local
795 add_sw_endports_to_order_list(osm_switch_t * sw, osm_ucast_mgr_t * m) argument
818 sw_count_endport_links(osm_switch_t * sw) argument
[all...]
/freebsd-11-stable/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
[all...]
/freebsd-11-stable/usr.sbin/ppp/
H A Dmain.c213 ProcessArgs(int argc, char **argv, struct switches *sw) argument
219 memset(sw, '\0', sizeof *sw);
220 sw->mode = PHYS_INTERACTIVE;
221 sw->unit = -1;
232 sw->nat = 1;
242 sw->nat = 1;
253 sw->unit = atoi(argv[arg]);
255 sw->unit = atoi(cp + 4);
257 sw
312 struct switches sw; local
[all...]
/freebsd-11-stable/lib/libc/riscv/sys/
H A Dcerror.S45 sw a1, 0(a0)
/freebsd-11-stable/lib/libmd/
H A Dsha0c.c124 int ew,ec,sw,sc; local
139 sw=c->num>>2;
144 l= p[sw];
146 p[sw++]=l;
147 for (; sw<SHA_LBLOCK; sw++)
150 p[sw]=l;
163 l= p[sw];
165 p[sw]=l;
171 l= p[sw];
[all...]
H A Dsha1c.c152 int ew,ec,sw,sc; local
167 sw=c->num>>2;
172 l= p[sw];
174 p[sw++]=l;
175 for (; sw<SHA_LBLOCK; sw++)
178 p[sw]=l;
191 l= p[sw];
193 p[sw]=l;
199 l= p[sw];
[all...]
H A Drmd160c.c110 int sw,sc; local
125 sw=c->num>>2;
130 l= p[sw];
132 p[sw++]=l;
133 for (; sw<RIPEMD160_LBLOCK; sw++)
136 p[sw]=l;
151 l= p[sw];
153 p[sw]=l;
159 l= p[sw];
[all...]
/freebsd-11-stable/contrib/gcc/config/mips/
H A Dcrti.asm13 sw $31,20($sp)
25 sw $31,20($sp)
/freebsd-11-stable/sys/dev/syscons/
H A Dscterm.c74 sc_term_add(sc_term_sw_t *sw) argument
76 LIST_INSERT_HEAD(&sc_term_list, sw, link);
81 sc_term_remove(sc_term_sw_t *sw) argument
83 LIST_REMOVE(sw, link);
/freebsd-11-stable/sys/opencrypto/
H A Dcryptosoft.c84 swcr_encdec(struct cryptodesc *crd, struct swcr_data *sw, caddr_t buf, argument
99 exf = sw->sw_exf;
136 if (sw->sw_kschedule)
137 exf->zerokey(&(sw->sw_kschedule));
139 error = exf->setkey(&sw->sw_kschedule,
172 exf->reinit(sw->sw_kschedule, iv);
196 exf->encrypt(sw->sw_kschedule,
199 exf->decrypt(sw->sw_kschedule,
207 exf->encrypt(sw->sw_kschedule, blk);
223 exf->decrypt(sw
321 swcr_authprepare(struct auth_hash *axf, struct swcr_data *sw, u_char *key, int klen) argument
385 swcr_authcompute(struct cryptodesc *crd, struct swcr_data *sw, caddr_t buf, int flags) argument
468 struct swcr_data *sw, *swa, *swe = NULL; local
631 swcr_compdec(struct cryptodesc *crd, struct swcr_data *sw, caddr_t buf, int flags) argument
1083 struct swcr_data *sw; local
[all...]
/freebsd-11-stable/sys/mips/nlm/dev/net/ucore/
H A Dcrt0_basic.S49 sw zero, 0(v0)
59 sw zero,(a1) # argv[argc] = 0
60 sw zero,(a2) # envp[0] = 0
/freebsd-11-stable/contrib/nvi/ex/
H A Dex_shift.c62 size_t blen, len, newcol, newidx, oldcol, oldidx, sw; local
88 for (p = cmdp->argv[0]->bp, sw = 0; *p == '>' || *p == '<'; ++p)
89 sw += O_VAL(sp, O_SHIFTWIDTH);
118 newcol = oldcol + sw;
120 newcol = oldcol < sw ? 0 : oldcol - sw;
/freebsd-11-stable/contrib/llvm-project/libunwind/src/
H A DUnwindRegistersSave.S131 sw $1, (4 * 1)($4)
132 sw $2, (4 * 2)($4)
133 sw $3, (4 * 3)($4)
134 sw $4, (4 * 4)($4)
135 sw $5, (4 * 5)($4)
136 sw $6, (4 * 6)($4)
137 sw $7, (4 * 7)($4)
138 sw $8, (4 * 8)($4)
139 sw $9, (4 * 9)($4)
140 sw
[all...]
/freebsd-11-stable/contrib/ntp/util/
H A Dtg.c109 int sw; /* case switch number */ member in struct:progx
262 int rval, temp, arg, sw, ptr; local
382 if (progx[i].sw == DEC)
462 sw = progz[i].sw;
465 sw = progy[i % 10].sw;
468 switch(sw) {
506 sw = progx[second].sw;
[all...]
/freebsd-11-stable/sys/mips/mips/
H A Dmpboot.S79 sw zero, CALLFRAME_SIZ - 4(sp)
80 sw zero, CALLFRAME_SIZ - 8(sp)
/freebsd-11-stable/sys/kern/
H A Dsubr_boot.c144 sw = strchr(howto_switches, *opts);
145 if (sw == NULL)
147 howto |= howto_masks[sw - howto_switches];

Completed in 163 milliseconds

12345