/freebsd-11-stable/contrib/ofed/opensm/opensm/ |
H A D | osm_ucast_mgr.c | 906 osm_dr_path_t *p_path; local 931 p_path = osm_physp_get_dr_path_ptr(p_physp); 959 status = osm_req_set(p_mgr->sm, p_path, (uint8_t *) & si, 978 osm_dr_path_t *p_path; local 998 p_path = osm_physp_get_dr_path_ptr(p_physp); 1020 status = osm_req_set(p_mgr->sm, p_path,
|
H A D | osm_trap_rcv.c | 380 osm_dr_path_t *p_path; local 583 p_path = (p_physp) ? 585 if (p_path) { 590 "Path = ", p_path->hop_count); 592 osm_dump_dr_path_as_buf(sizeof(buf) - n, p_path,
|
H A D | osm_state_mgr.c | 650 osm_dr_path_t *p_path; local 663 p_path = osm_physp_get_dr_path_ptr(p_physp); 681 status = osm_req_set(sm, p_path, (uint8_t *) &si,
|
H A D | osm_req.c | 67 IN const osm_dr_path_t * p_path) 82 if (p_path->hop_count == 0) { 90 p_physp = osm_node_get_physp_ptr(p_node, p_path->path[1]); 96 for (hop = 2; p_physp && hop <= p_path->hop_count; hop++) { 101 p_physp = osm_node_get_physp_ptr(p_node, p_path->path[hop]); 110 osm_dump_dr_path_v2(sm->p_log, p_path, FILE_ID, OSM_LOG_ERROR); 156 ib_api_status_t osm_req_get(IN osm_sm_t * sm, IN const osm_dr_path_t * p_path, argument 171 CL_ASSERT(p_path); 197 m_key_calc = req_determine_mkey(sm, p_path); 210 tid, attr_id, attr_mod, p_path 66 req_determine_mkey(IN osm_sm_t * sm, IN const osm_dr_path_t * p_path) argument 238 osm_prepare_req_set(IN osm_sm_t * sm, IN const osm_dr_path_t * p_path, IN const uint8_t * p_payload, IN size_t payload_size, IN ib_net16_t attr_id, IN ib_net32_t attr_mod, IN boolean_t find_mkey, IN ib_net64_t m_key, IN cl_disp_msgid_t err_msg, IN const osm_madw_context_t * p_context) argument 329 osm_req_set(IN osm_sm_t * sm, IN const osm_dr_path_t * p_path, IN const uint8_t * p_payload, IN size_t payload_size, IN ib_net16_t attr_id, IN ib_net32_t attr_mod, IN boolean_t find_mkey, IN ib_net64_t m_key, IN cl_disp_msgid_t err_msg, IN const osm_madw_context_t * p_context) argument [all...] |
H A D | osm_port.c | 318 IN osm_dr_path_t const *p_path, 346 for (hop = 1; hop < p_path->hop_count - 1; hop++) { 348 p_physp = osm_node_get_physp_ptr(p_node, p_path->path[hop]); 367 p_path->path[hop]); 316 physp_get_dr_physp_set(IN osm_log_t * p_log, IN osm_subn_t const *p_subn, IN osm_dr_path_t const *p_path, OUT cl_map_t * p_physp_map) argument
|
H A D | osm_mcast_mgr.c | 336 osm_dr_path_t *p_path; local 355 p_path = osm_physp_get_dr_path_ptr(p_physp); 377 status = osm_req_set(sm, p_path, (void *)block, sizeof(block), 1044 osm_dr_path_t *p_path; local 1061 p_path = osm_physp_get_dr_path_ptr(p_physp); 1093 status = osm_req_set(sm, p_path, (uint8_t *) & si,
|
H A D | osm_helper.c | 2863 static void osm_dump_dr_path_to_buf(IN const osm_dr_path_t * p_path, argument 2866 if (!buf || !p_path) 2872 "Path = ", p_path->hop_count); 2874 sprint_uint8_arr(buf + n, buf_size - n, p_path->path, 2875 p_path->hop_count + 1); 2879 void osm_dump_dr_path(IN osm_log_t * p_log, IN const osm_dr_path_t * p_path, argument 2885 osm_dump_dr_path_to_buf(p_path, buf, BUF_SIZE); 2891 void osm_dump_dr_path_v2(IN osm_log_t * p_log, IN const osm_dr_path_t * p_path, argument 2897 osm_dump_dr_path_to_buf(p_path, buf, BUF_SIZE); 2948 IN const osm_dr_path_t * p_path, 2947 osm_dump_dr_path_as_buf(IN size_t max_len, IN const osm_dr_path_t * p_path, OUT char* buf) argument [all...] |
/freebsd-11-stable/contrib/ofed/opensm/include/opensm/ |
H A D | osm_sm.h | 403 ib_api_status_t osm_req_get(IN osm_sm_t * sm, IN const osm_dr_path_t * p_path, 413 * p_path 475 osm_madw_t *osm_prepare_req_set(IN osm_sm_t * sm, IN const osm_dr_path_t * p_path, 486 * p_path 529 ib_api_status_t osm_req_set(IN osm_sm_t * sm, IN const osm_dr_path_t * p_path, 540 * p_path
|
H A D | osm_path.h | 109 static inline void osm_dr_path_construct(IN osm_dr_path_t * p_path) argument 112 memset(p_path, 0, sizeof(*p_path)); 117 * p_path 147 osm_dr_path_init(IN osm_dr_path_t * p_path, IN uint8_t hop_count, argument 153 p_path->hop_count = hop_count; 154 memcpy(p_path->path, path, hop_count + 1); 159 * p_path 187 static inline int osm_dr_path_extend(IN osm_dr_path_t * p_path, 190 p_path [all...] |
H A D | osm_helper.h | 600 void osm_dump_dr_path(IN osm_log_t * p_log, IN const osm_dr_path_t * p_path, 603 void osm_dump_dr_path_v2(IN osm_log_t * p_log, IN const osm_dr_path_t * p_path, 625 void osm_dump_dr_path_as_buf(IN size_t max_len, IN const osm_dr_path_t * p_path,
|
/freebsd-11-stable/contrib/ofed/libibcm/ |
H A D | cm.c | 384 struct ib_user_path_rec p_path; local 411 ibv_copy_path_rec_to_kern(&p_path, param->primary_path); 412 cmd->primary_path = (uintptr_t) &p_path;
|
/freebsd-11-stable/bin/cp/ |
H A D | cp.c | 78 while ((p).p_end > (p).p_path + 1 && (p).p_end[-1] == '/') \ 84 PATH_T to = { to.p_path, emptystring, "" }; 188 if (strlcpy(to.p_path, target, sizeof(to.p_path)) >= sizeof(to.p_path)) 190 to.p_end = to.p_path + strlen(to.p_path); 191 if (to.p_path == to.p_end) { 217 r = stat(to.p_path, &to_stat); 219 err(1, "%s", to.p_path); [all...] |
H A D | extern.h | 36 char p_path[PATH_MAX]; /* pointer to the start of a path */ member in struct:__anon1
|
H A D | utils.c | 111 printf("%s not overwritten\n", to.p_path); 116 to.p_path, YESNO); 132 (void)unlink(to.p_path); 134 to_fd = open(to.p_path, 140 to_fd = open(to.p_path, O_WRONLY | O_TRUNC, 0); 143 to_fd = open(to.p_path, O_WRONLY | O_TRUNC | O_CREAT, 148 warn("%s", to.p_path); 179 entp->fts_path, to.p_path, 186 warn("%s", to.p_path); 224 entp->fts_path, to.p_path, [all...] |