Home
last modified time | relevance | path

Searched refs:lmc (Results 1 – 25 of 56) sorted by relevance

123

/freebsd/sys/compat/linuxkpi/common/src/
H A Dlinux_slab.c230 struct lkpi_kmalloc_ctx *lmc = ctx; in lkpi_kmalloc()
232 lmc->addr = __kmalloc(lmc->size, lmc->flags);
238 struct lkpi_kmalloc_ctx lmc = { .size = size, .flags = flags }; in linux_kfree_async_fn()
240 lkpi_fpu_safe_exec(&lkpi_kmalloc_cb, &lmc); in linux_kfree_async_fn()
241 return(lmc.addr);
219 struct lkpi_kmalloc_ctx *lmc = ctx; lkpi_kmalloc_cb() local
227 struct lkpi_kmalloc_ctx lmc = { .size = size, .flags = flags }; lkpi_kmalloc() local
/freebsd/contrib/ofed/infiniband-diags/src/
H A Dibaddr.c60 int lmc; in ib_resolve_addr() local
71 mad_decode_field(portinfo, IB_PORT_LMC_F, &lmc); in ib_resolve_addr()
84 portid->lid + (1 << lmc) - 1); in ib_resolve_addr()
87 portid->lid + (1 << lmc) - 1); in ib_resolve_addr()
H A Ddump_fts.c239 int baselid, lmc, type; in dump_lid() local
283 lmc = port->lmc; in dump_lid()
287 if (lmc > 0) { in dump_lid()
289 *last_port_lid = baselid + (1 << lmc) - 1; in dump_lid()
H A Dibtracert.c84 int lmc; member
167 mad_decode_field(pi, IB_PORT_LMC_F, &port->lmc); in get_node()
236 port->lid + (1 << port->lmc) - 1, nodename); in dump_endnode()
260 port->lid + (1 << port->lmc) - 1, nodename); in dump_route()
445 mad_decode_field(pi, IB_PORT_LMC_F, &port->lmc); in get_port()
707 node->ports->lid + (1 << node->ports->lmc) - 1, in dump_mcpath()
734 node->ports->lid + (1 << node->ports->lmc) - 1, in dump_mcpath()
H A Dibroute.c261 int baselid, lmc, type; in dump_lid() local
306 mad_decode_field(pi, IB_PORT_LMC_F, &lmc); in dump_lid()
308 if (lmc > 0) { in dump_lid()
310 last_port_lid = baselid + (1 << lmc) - 1; in dump_lid()
H A Dibportstate.c83 uint64_t lmc; variable
110 {"lmc", &lmc, 0}, /* LMC */
603 mad_set_field(data, 0, IB_PORT_LMC_F, lmc); in main()
H A Dibstat.c188 printf("%sLMC: %d\n", pre, port->lmc); in port_dump()
/freebsd/libexec/rtld-elf/
H A Dlibmap.c36 static TAILQ_HEAD(lmc_list, lmc) lmc_head = TAILQ_HEAD_INITIALIZER(lmc_head);
37 struct lmc { struct
41 TAILQ_ENTRY(lmc) next; argument
101 struct lmc *p; in lmc_parse_file()
147 p = xmalloc(sizeof(struct lmc)); in lmc_parse_file()
161 struct lmc *p; in lmc_parse_dir()
173 p = xmalloc(sizeof(struct lmc)); in lmc_parse_dir()
335 struct lmc *p; in lm_fini()
/freebsd/contrib/ofed/opensm/libvendor/
H A Dosm_vendor_mlx_hca_pfs.c248 uint8_t lmc; member
268 int lid, sm_lid, lmc, sm_sl; in __parse_port_info_file() local
352 if (sscanf(p_ch, "LMC: %x", &lmc) != 1) { in __parse_port_info_file()
358 pfs_port_info->lmc = lmc; in __parse_port_info_file()
395 pfs_port_info->lmc, pfs_port_info->sm_lid, in __parse_port_info_file()
H A Dosm_vendor_mlx_hca_sim.c294 uint8_t lmc; member
314 int lid, sm_lid, lmc, sm_sl; in __parse_port_info_file() local
398 if (sscanf(p_ch, "LMC: %x", &lmc) != 1) { in __parse_port_info_file()
404 sim_port_info->lmc = lmc; in __parse_port_info_file()
441 sim_port_info->lmc, sim_port_info->sm_lid, in __parse_port_info_file()
/freebsd/contrib/ofed/opensm/opensm/
H A Dosm_lid_mgr.c140 uint8_t lmc_num_lids = (uint8_t) (1 << p_mgr->p_subn->opt.lmc); in lid_mgr_validate_db()
301 uint8_t lmc_num_lids = (uint8_t) (1 << p_mgr->p_subn->opt.lmc); in lid_mgr_init_sweep()
306 lmc_mask = ~((1 << p_mgr->p_subn->opt.lmc) - 1); in lid_mgr_init_sweep()
605 p_mgr->p_subn->opt.lmc, num_lids); in lid_mgr_find_free_lid_range()
607 lmc_num_lids = (1 << p_mgr->p_subn->opt.lmc); in lid_mgr_find_free_lid_range()
608 lmc_mask = ~((1 << p_mgr->p_subn->opt.lmc) - 1); in lid_mgr_find_free_lid_range()
687 uint8_t num_lids = (1 << p_mgr->p_subn->opt.lmc); in lid_mgr_get_port_lid()
945 ib_port_info_set_lmc(p_pi, p_mgr->p_subn->opt.lmc); in lid_mgr_set_physp_pi()
1029 ib_port_info_set_lmc(p_pi, p_mgr->p_subn->opt.lmc); in lid_mgr_set_physp_pi()
H A Dosm_sa_node_record.c128 uint8_t lmc; in nr_rcv_create_nr() local
167 lmc = osm_physp_get_lmc(p_physp); in nr_rcv_create_nr()
168 max_lid_ho = (uint16_t) (base_lid_ho + (1 << lmc) - 1); in nr_rcv_create_nr()
H A Dosm_ucast_file.c62 uint8_t lmc; in remap_lid() local
76 lmc = osm_port_get_lmc(p_port); in remap_lid()
77 return min_lid + (lid & ((1 << lmc) - 1)); in remap_lid()
H A Dosm_sa_portinfo_record.c143 uint8_t lmc; in sa_pir_create() local
154 lmc = in sa_pir_create()
159 lmc = osm_physp_get_lmc(p_physp); in sa_pir_create()
162 max_lid_ho = (uint16_t) (base_lid_ho + (1 << lmc) - 1); in sa_pir_create()
H A Dosm_ucast_mgr.c260 p_mgr->p_subn->opt.lmc, in ucast_mgr_process_port()
323 unsigned lmc; in alloc_ports_priv() local
328 lmc = ib_port_info_get_lmc(&port->p_physp->port_info); in alloc_ports_priv()
329 r = malloc(sizeof(*r) + sizeof(r->guids[0]) * (1 << lmc)); in alloc_ports_priv()
337 memset(r, 0, sizeof(*r) + sizeof(r->guids[0]) * (1 << lmc)); in alloc_ports_priv()
381 lids_per_port = 1 << p_mgr->p_subn->opt.lmc; in ucast_mgr_process_tbl()
H A Dosm_ucast_dfsssp.c1222 uint8_t lmc = 0; in dfsssp_build_graph() local
1258 lmc = osm_port_get_lmc(p_port); in dfsssp_build_graph()
1259 total_num_hca += (1 << lmc); in dfsssp_build_graph()
1287 lmc = osm_node_get_lmc(sw->p_node, 0); in dfsssp_build_graph()
1288 adj_list[i].num_hca += (1 << lmc); in dfsssp_build_graph()
1305 lmc = osm_node_get_lmc(remote_node, (uint32_t)remote_port); in dfsssp_build_graph()
1306 adj_list[i].num_hca += (1 << lmc); in dfsssp_build_graph()
1894 uint8_t lmc = 0; in dfsssp_remove_deadlocks() local
1942 lmc = osm_port_get_lmc(dest_port); in dfsssp_remove_deadlocks()
1943 count += (1 << lmc); in dfsssp_remove_deadlocks()
[all …]
H A Dosm_port.c178 uint8_t lmc; in osm_port_get_lid_range_ho() local
181 lmc = osm_port_get_lmc(p_port); in osm_port_get_lid_range_ho()
182 *p_max_lid = (uint16_t) (*p_min_lid + (1 << lmc) - 1); in osm_port_get_lid_range_ho()
H A Dosm_sa_multipath_record.c1334 #define hash_lids(a, b, lmc) \ argument
1335 (((((a) >> (lmc)) << 4) | ((b) >> (lmc))) % 103)
1386 hash_lids(src_lid_ho, dest_lid_ho, sa->p_subn->opt.lmc) : in mpr_rcv_get_apm_paths()
1387 hash_lids(dest_lid_ho, src_lid_ho, sa->p_subn->opt.lmc); in mpr_rcv_get_apm_paths()
H A Dosm_sa_guidinfo_record.c137 uint8_t lmc; in sa_gir_create_gir() local
197 lmc = osm_physp_get_lmc(p_physp); in sa_gir_create_gir()
198 max_lid_ho = (uint16_t) (base_lid_ho + (1 << lmc) - 1); in sa_gir_create_gir()
/freebsd/sys/ofed/include/rdma/
H A Dib_cache.h168 u8 *lmc);
/freebsd/sys/ofed/drivers/infiniband/core/
H A Dib_uverbs_std_types_device.c150 resp->lmc = attr->lmc; in copy_port_attr_to_resp()
/freebsd/contrib/ofed/libibnetdisc/
H A Dibnetdisc.c364 port->lmc = (uint8_t) mad_get_field(port->info, 0, IB_PORT_LMC_F); in recv_port_info()
368 node->smalmc = port->lmc; in recv_port_info()
371 port->lmc = node->smalmc; in recv_port_info()
522 port->base_lid, port->base_lid + (1 << port->lmc) - 1, in dump_endnode()
691 uint16_t lid_mask = ((1 << port->lmc) -1); in add_to_portlid_hash()
H A Dibnetdisc.h115 uint8_t lmc; member
/freebsd/contrib/ofed/libibumad/
H A Dumad.h160 unsigned lmc; member
/freebsd/sys/contrib/device-tree/src/arm/microchip/
H A Dat91-vinco.dts204 label = "lmc";

123