/freebsd/sys/ofed/drivers/infiniband/core/ |
H A D | ib_smi.c | 135 &smp->hop_ptr, smp->hop_cnt, in smi_handle_dr_smp_send() 137 smp->return_path, in smi_handle_dr_smp_send() 147 &smp->hop_ptr, smp->hop_cnt, in opa_smi_handle_dr_smp_send() 246 &smp->hop_ptr, smp->hop_cnt, in smi_handle_dr_smp_recv() 262 &smp->hop_ptr, smp->hop_cnt, in opa_smi_handle_dr_smp_recv() 306 return __smi_check_forward_dr_smp(smp->hop_ptr, smp->hop_cnt, in smi_check_forward_dr_smp() 314 return __smi_check_forward_dr_smp(smp->hop_ptr, smp->hop_cnt, in opa_smi_check_forward_dr_smp() 328 return (!ib_get_smp_direction(smp) ? smp->initial_path[smp->hop_ptr+1] : in smi_get_fwd_port() 329 smp->return_path[smp->hop_ptr-1]); in smi_get_fwd_port() 338 return !opa_get_smp_direction(smp) ? smp->route.dr.initial_path[smp->hop_ptr+1] : in opa_smi_get_fwd_port() [all …]
|
H A D | opa_smi.h | 43 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 D | smi.h | 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, 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 D | query_smp.c | 112 if (!smp) in process_smp_queue() 116 free(smp); in process_smp_queue() 129 ibnd_smp_t *smp = calloc(1, sizeof *smp); in issue_smp() local 130 if (!smp) { in issue_smp() 194 portid2str(&smp->path), smp->rpc.attr.id, in process_one_recv() 201 portid2str(&smp->path), smp->rpc.attr.id, in process_one_recv() 207 rc = smp->cb(engine, smp, mad, smp->cb_data); in process_one_recv() 210 free(smp); in process_one_recv() 261 if (smp) in smp_engine_destroy() 263 for ( /* */ ; smp; smp = get_smp(engine)) in smp_engine_destroy() [all …]
|
H A D | ibnetdisc.c | 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() 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() 399 query_mlnx_ext_port_info(engine, &smp->path, in recv_port_info() 405 debug_port(&smp->path, port); in recv_port_info() 413 ib_portid_t path = smp->path; in recv_port_info() 445 query_port_info(engine, &smp->path, node, i); in recv_port0_info() 557 portid2str(&smp->path)); in recv_node_info() 591 query_node_desc(engine, &smp->path, node); in recv_node_info() [all …]
|
/freebsd/contrib/ofed/infiniband-diags/src/ |
H A D | smpdump.c | 86 memset(smp, 0, sizeof(*smp)); in drsmp_get_init() 88 smp->base_version = 1; in drsmp_get_init() 92 smp->method = 1; in drsmp_get_init() 111 memset(smp, 0, sizeof(*smp)); in smp_get_init() 117 smp->method = 1; in smp_get_init() 129 memset(smp, 0, sizeof(*smp)); in drsmp_set_init() 144 memcpy(smp->data, data, sizeof smp->data); in drsmp_set_init() 225 struct drsmp *smp; in main() local 299 if (smp->status) in main() 305 desc = smp->data; in main() [all …]
|
/freebsd/contrib/nvi/vi/ |
H A D | vs_line.c | 53 smp - HMAP, smp->lno, smp->off); in vs_line() 161 smp->c_sboff = smp->c_eboff = 0; in vs_line() 162 smp->c_scoff = smp->c_eclen = 0; in vs_line() 236 if (smp != HMAP && in vs_line() 237 SMAP_CACHE(tsmp = smp - 1) && tsmp->lno == smp->lno) { in vs_line() 279 smp->c_scoff = in vs_line() 360 smp->c_ecsize = smp->c_eclen = chlen; in vs_line() 447 smp->c_ecsize = smp->c_eclen = KEY_COL(sp, ch); in vs_line() 489 SMAP *smp; in vs_number() local 514 for (smp = HMAP; smp <= TMAP; ++smp) { in vs_number() [all …]
|
H A D | vs_smap.c | 668 --smp; in vs_sm_up() 701 smp->coff : (smp->soff - 1) * sp->cols) + in vs_sm_up() 723 if (smp == TMAP || !db_exist(sp, smp[1].lno)) in vs_sm_up() 736 rp->cno = smp->c_scoff == 255 ? 0 : smp->c_sboff; in vs_sm_up() 880 ++smp; in vs_sm_down() 909 for (smp = TMAP; smp > HMAP; --smp) in vs_sm_down() 936 smp->coff : (smp->soff - 1) * sp->cols) + in vs_sm_down() 950 rp->cno = smp->c_scoff == 255 ? 0 : smp->c_sboff; in vs_sm_down() 1167 for (smp = TMAP; smp->lno > last && smp > HMAP; --smp); in vs_sm_position() 1169 smp -= (smp - HMAP) / 2; in vs_sm_position() [all …]
|
H A D | vs_refresh.c | 44 SMAP *smp; in vs_repaint() local 48 SMAP_FLUSH(smp); 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() 644 vip->sc_smap = NULL; smp <= TMAP && smp->lno == LNO; ++smp) { in vs_paint() 662 paint: for (smp = HMAP; smp <= TMAP; ++smp) in vs_paint() 663 SMAP_FLUSH(smp); in vs_paint() [all …]
|
H A D | v_mark.c | 83 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 D | vi.h | 211 #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 D | opa_smi.h | 126 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() 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() 150 return sizeof(*smp) - sizeof(smp->route.dr.data); in opa_get_smp_header_size() [all …]
|
/freebsd/sys/fs/smbfs/ |
H A D | smbfs_vfsops.c | 162 smp = malloc(sizeof(*smp), M_SMBFSDATA, M_WAITOK | M_ZERO); 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() 188 smp->sm_uid = v; in smbfs_mount() 195 smp->sm_gid = v; in smbfs_mount() 248 smp->sm_dev = NULL; in smbfs_mount() 293 dev = smp->sm_dev; in smbfs_unmount() 323 if (smp->sm_root) { in smbfs_root() [all …]
|
H A D | smbfs_node.c | 107 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 D | smbfs_io.c | 184 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() 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() 560 struct smbmount *smp; in smbfs_putpages() local [all …]
|
/freebsd/sys/ofed/drivers/infiniband/util/ |
H A D | madeye.c | 66 static int smp = 1; variable 72 module_param(smp, int, 0444); 355 static void print_smp(struct ib_smp *smp) in print_smp() argument 361 get_class_name(smp->mgmt_class)); in print_smp() 364 get_method_name(smp->mgmt_class, smp->method)); in print_smp() 366 if (smp->status) in print_smp() 373 get_smp_attr(smp->attr_id)); in print_smp() 385 printk("%01x ", smp->data[i]); in print_smp() 390 printk("%01x ", smp->initial_path[i]); in print_smp() 395 printk("%01x ", smp->return_path[i]); in print_smp() [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/sram/ |
H A D | sram.yaml | 85 - amlogic,meson8-smp-sram 86 - amlogic,meson8b-smp-sram 92 - renesas,smp-sram 165 smp-sram@100 { 195 smp-sram@0 { 200 smp-sram@53000 { 220 smp-sram@1ff80 { 234 smp-sram@0 { 248 smp-sram@10080000 { 280 smp-sram@1000 { [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/arm/ |
H A D | cpus.yaml | 213 - actions,s500-smp 220 - arm,realview-smp 224 - brcm,bcm2836-smp 226 - brcm,bcm-nsp-smp 233 - marvell,mmp3-smp 239 - qcom,msm8226-smp 240 - qcom,msm8909-smp 242 - qcom,msm8916-smp 248 - ste,dbx500-smp 334 "qcom,msm8916-smp". [all …]
|
/freebsd/contrib/ofed/opensm/opensm/ |
H A D | osm_req.c | 353 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() 404 if (smp->trans_id == 0) in osm_send_trap144() 408 smp->attr_id = IB_MAD_ATTR_NOTICE; in osm_send_trap144() 410 ntc = (ib_mad_notice_attr_t *) smp->data; in osm_send_trap144() [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/arm/cpu-enable-method/ |
H A D | marvell,berlin-smp | 2 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 D | nuvoton,npcm750-smp | 2 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";
|
H A D | al,alpine-smp | 2 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" 45 enable-method = "al,alpine-smp";
|
/freebsd/sys/contrib/device-tree/src/arm/qcom/ |
H A D | qcom-msm8916-smp.dtsi | 6 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 D | files.armadaxp | 5 arm/mv/armadaxp/armadaxp_mp.c optional smp 6 arm/mv/armadaxp/mptramp.S optional smp
|
/freebsd/sys/arm/mv/ |
H A D | files.arm7 | 14 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
|