Home
last modified time | relevance | path

Searched refs:smp (Results 1 – 25 of 150) sorted by relevance

123456

/freebsd/sys/ofed/drivers/infiniband/core/
H A Dib_smi.c131 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
147 &smp->hop_ptr, smp->hop_cnt, in opa_smi_handle_dr_smp_send()
148 smp->route.dr.initial_path, in opa_smi_handle_dr_smp_send()
[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,
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()
69 static inline enum smi_action opa_smi_check_local_returning_smp(struct opa_smp *smp, in opa_smi_check_local_returning_smp() argument
75 opa_get_smp_direction(smp) && in opa_smi_check_local_returning_smp()
76 !smp->hop_ptr) ? IB_SMI_HANDLE : IB_SMI_DISCARD; in opa_smi_check_local_returning_smp()
H A Dsmi.h55 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,
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()
73 (smp->hop_ptr == smp->hop_cnt + 1)) ? in smi_check_local_smp()
81 static inline enum smi_action smi_check_local_returning_smp(struct ib_smp *smp, in smi_check_local_returning_smp() argument
87 ib_get_smp_direction(smp) && in smi_check_local_returning_smp()
88 !smp->hop_ptr) ? IB_SMI_HANDLE : IB_SMI_DISCARD); in smi_check_local_returning_smp()
/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 …]
H A Dibnetdisc.c70 static int recv_switch_info(smp_engine_t * engine, ibnd_smp_t * smp, in recv_switch_info() argument
147 static int recv_node_desc(smp_engine_t * engine, ibnd_smp_t * smp, in recv_node_desc() argument
225 int mlnx_ext_port_info_err(smp_engine_t * engine, ibnd_smp_t * smp, in mlnx_ext_port_info_err() argument
242 debug_port(&smp->path, port); in mlnx_ext_port_info_err()
249 ib_portid_t path = smp->path; in mlnx_ext_port_info_err()
272 static int recv_mlnx_ext_port_info(smp_engine_t * engine, ibnd_smp_t * smp, in recv_mlnx_ext_port_info() argument
291 debug_port(&smp->path, port); in recv_mlnx_ext_port_info()
298 ib_portid_t path = smp->path; in recv_mlnx_ext_port_info()
330 static int recv_port_info(smp_engine_t * engine, ibnd_smp_t * smp, in recv_port_info() argument
399 query_mlnx_ext_port_info(engine, &smp->path, in recv_port_info()
[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 …]
H A Dvs_refresh.c44 SMAP *smp; in vs_repaint() local
47 smp = HMAP + evp->e_flno - 1; in vs_repaint()
48 SMAP_FLUSH(smp); in vs_repaint()
49 if (vs_line(sp, smp, NULL, NULL)) in vs_repaint()
164 SMAP *smp, tmp; in vs_paint() local
578 slow: for (smp = HMAP; smp->lno != LNO; ++smp); in vs_paint()
600 off = smp->coff; in vs_paint()
622 smp->coff = off; in vs_paint()
624 for (smp = HMAP; smp <= TMAP; ++smp) in vs_paint()
625 smp->coff = off; in vs_paint()
[all …]
H A Dv_mark.c83 SMAP *smp; in v_emark() local
85 smp = HMAP + vp->ev.e_lno; in v_emark()
86 if (smp > TMAP) { in v_emark()
90 vp->m_stop.lno = smp->lno; in v_emark()
92 vs_colpos(sp, smp->lno, vp->ev.e_cno + (smp->soff - 1) * sp->cols); in v_emark()
H A Dvi.h211 #define SMAP_CACHE(smp) ((smp)->c_ecsize != 0) argument
212 #define SMAP_FLUSH(smp) ((smp)->c_ecsize = 0) argument
/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/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 …]
H A Dsmbfs_node.c107 struct smbmount *smp = VFSTOSMBFS(mp); in smbfs_node_alloc() local
117 if (smp->sm_root != NULL && dvp == NULL) { in smbfs_node_alloc()
263 struct smbmount *smp = VTOSMBFS(vp); in smbfs_reclaim() local
288 smp->sm_didrele = 1; in smbfs_reclaim()
354 struct smbmount *smp = VTOSMBFS(vp); in smbfs_attr_cachelookup() local
363 va->va_mode = smp->sm_file_mode; /* files access mode and type */ in smbfs_attr_cachelookup()
369 va->va_mode = smp->sm_dir_mode; /* files access mode and type */ in smbfs_attr_cachelookup()
374 va->va_uid = smp->sm_uid; /* owner user id */ in smbfs_attr_cachelookup()
375 va->va_gid = smp->sm_gid; /* owner group id */ in smbfs_attr_cachelookup()
380 va->va_blocksize = SSTOVC(smp->sm_share)->vc_txmax; in smbfs_attr_cachelookup()
H A Dsmbfs_io.c184 struct smbmount *smp = VFSTOSMBFS(vp->v_mount); in smbfs_readvnode() local
238 error = smb_read(smp->sm_share, np->n_fid, uiop, scred); in smbfs_readvnode()
247 struct smbmount *smp = VTOSMBFS(vp); in smbfs_writevnode() local
292 error = smb_write(smp->sm_share, np->n_fid, uiop, scred); in smbfs_writevnode()
311 struct smbmount *smp = VFSTOSMBFS(vp->v_mount); in smbfs_doio() local
334 error = smb_read(smp->sm_share, np->n_fid, uiop, scred); in smbfs_doio()
361 error = smb_write(smp->sm_share, np->n_fid, uiop, scred); in smbfs_doio()
427 struct smbmount *smp; in smbfs_getpages()
442 smp = VFSTOSMBFS(vp->v_mount); in smbfs_getpages()
479 error = smb_read(smp->sm_share, np->n_fid, &uio, scred); in smbfs_getpages()
[all …]
H A Dsmbfs_vnops.c122 struct smbmount *smp = VTOSMBFS(vp); in smbfs_access() local
133 mpmode = vp->v_type == VREG ? smp->sm_file_mode : smp->sm_dir_mode; in smbfs_access()
134 return (vaccess(vp->v_type, mpmode, smp->sm_uid, in smbfs_access()
135 smp->sm_gid, ap->a_accmode, ap->a_cred)); in smbfs_access()
604 if (SMB_DIALECT(SSTOCN(smp->sm_share)) >= SMB_DIALECT_LANMAN1_0) { in smbfs_rename()
791 struct smbmount *smp = VFSTOSMBFS(VTOVFS(ap->a_vp)); in smbfs_pathconf() local
792 struct smb_vc *vcp = SSTOVC(smp->sm_share); in smbfs_pathconf()
996 smbfs_pathcheck(struct smbmount *smp, const char *name, int nmlen, int nameiop) in smbfs_pathcheck() argument
1013 if (SMB_DIALECT(SSTOVC(smp->sm_share)) < SMB_DIALECT_LANMAN2_0) { in smbfs_pathcheck()
1048 struct smbmount *smp; in smbfs_lookup() local
[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)");
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()
363 printk("Method.........0x%01x (%s)\n", smp->method, in print_smp()
364 get_method_name(smp->mgmt_class, smp->method)); in print_smp()
[all …]
/freebsd/contrib/ofed/opensm/opensm/
H A Dosm_req.c353 ib_smp_t *smp; in osm_send_trap144() local
395 smp = osm_madw_get_smp_ptr(madw); in osm_send_trap144()
396 memset(smp, 0, sizeof(*smp)); in osm_send_trap144()
398 smp->base_ver = 1; in osm_send_trap144()
399 smp->mgmt_class = IB_MCLASS_SUBN_LID; in osm_send_trap144()
400 smp->class_ver = 1; in osm_send_trap144()
401 smp->method = IB_MAD_METHOD_TRAP; in osm_send_trap144()
402 smp->trans_id = cl_hton64((uint64_t) cl_atomic_inc(&sm->sm_trans_id) in osm_send_trap144()
404 if (smp->trans_id == 0) in osm_send_trap144()
405 smp->trans_id = cl_hton64((uint64_t) cl_atomic_inc(&sm->sm_trans_id) in osm_send_trap144()
[all …]
/freebsd/sys/contrib/device-tree/Bindings/arm/cpu-enable-method/
H A Dmarvell,berlin-smp2 Secondary CPU enable-method "marvell,berlin-smp" binding
5 This document describes the "marvell,berlin-smp" method for enabling secondary
6 CPUs. To apply to all CPUs, a single "marvell,berlin-smp" enable method should
9 Enable method name: "marvell,berlin-smp"
23 enable-method = "marvell,berlin-smp";
H A Dal,alpine-smp2 Secondary CPU enable-method "al,alpine-smp" binding
5 This document describes the "al,alpine-smp" method for
7 "al,alpine-smp" enable method should be defined in the
10 Enable method name: "al,alpine-smp"
35 enable-method = "al,alpine-smp";
H A Dnuvoton,npcm750-smp2 Secondary CPU enable-method "nuvoton,npcm750-smp" binding
5 To apply to all CPUs, a single "nuvoton,npcm750-smp" enable method should be
8 Enable method name: "nuvoton,npcm750-smp"
22 enable-method = "nuvoton,npcm750-smp";
/freebsd/sys/contrib/device-tree/src/arm/qcom/
H A Dqcom-msm8916-smp.dtsi6 enable-method = "qcom,msm8916-smp";
9 enable-method = "qcom,msm8916-smp";
12 enable-method = "qcom,msm8916-smp";
15 enable-method = "qcom,msm8916-smp";
/freebsd/sys/arm/mv/armadaxp/
H A Dfiles.armadaxp5 arm/mv/armadaxp/armadaxp_mp.c optional smp
6 arm/mv/armadaxp/mptramp.S optional smp
/freebsd/sys/arm/mv/
H A Dfiles.arm714 arm/mv/armada38x/armada38x_mp.c optional smp
22 arm/mv/armadaxp/armadaxp_mp.c optional smp
23 arm/mv/armadaxp/mptramp.S optional smp
/freebsd/sys/contrib/device-tree/src/arm/socionext/
H A Dmilbeaut-m10v.dtsi16 enable-method = "socionext,milbeaut-m10v-smp";
99 smp-sram@f100 {
100 compatible = "socionext,milbeaut-smp-sram";

123456