Searched refs:stag_index (Results 1 - 4 of 4) sorted by relevance

/linux-4.1.27/drivers/infiniband/hw/amso1100/
H A Dc2_mm.c50 send_pbl_messages(struct c2_dev *c2dev, __be32 stag_index, send_pbl_messages() argument
87 wr->stag_index = stag_index; /* already swapped */ send_pbl_messages()
280 mr->ibmr.lkey = mr->ibmr.rkey = be32_to_cpu(reply->stag_index); c2_nsmr_register_phys_kern()
316 int c2_stag_dealloc(struct c2_dev *c2dev, u32 stag_index) c2_stag_dealloc() argument
338 wr.stag_index = cpu_to_be32(stag_index); c2_stag_dealloc()
H A Dc2_wr.h752 u32 stag_index; member in struct:c2wr_nsmr_stag_alloc_rep
780 __be32 stag_index; member in struct:c2wr_nsmr_register_rep
792 __be32 stag_index; member in struct:c2wr_nsmr_pbl_req
810 u32 stag_index; member in struct:c2wr_mr_query_req
830 u32 stag_index; member in struct:c2wr_mw_query_req
850 __be32 stag_index; member in struct:c2wr_stag_dealloc_req
869 u32 stag_index; member in struct:c2wr_nsmr_reregister_req
884 u32 stag_index; member in struct:c2wr_nsmr_reregister_rep
899 u32 stag_index; member in struct:c2wr_smr_register_req
905 u32 stag_index; member in struct:c2wr_smr_register_rep
921 u32 stag_index; member in struct:c2wr_mw_alloc_rep
1045 u32 stag_index; member in struct:c2wr_nsmr_fastreg_req
1063 u32 stag_index; member in struct:c2wr_stag_invalidate_req
H A Dc2.h535 extern int c2_stag_dealloc(struct c2_dev *c2dev, u32 stag_index);
/linux-4.1.27/drivers/infiniband/hw/nes/
H A Dnes_verbs.c70 u32 stag_index = 0; nes_alloc_mw() local
87 nesadapter->max_mr, &stag_index, &next_stag_index, NES_RESOURCE_MW); nes_alloc_mw()
94 nes_free_resource(nesadapter, nesadapter->allocated_mrs, stag_index); nes_alloc_mw()
98 stag = stag_index << 8; nes_alloc_mw()
103 stag, stag_index); nes_alloc_mw()
109 nes_free_resource(nesadapter, nesadapter->allocated_mrs, stag_index); nes_alloc_mw()
137 nes_free_resource(nesadapter, nesadapter->allocated_mrs, stag_index); nes_alloc_mw()
391 u32 stag_index = 0; nes_alloc_fast_reg_mr() local
409 nesadapter->max_mr, &stag_index, nes_alloc_fast_reg_mr()
416 nes_free_resource(nesadapter, nesadapter->allocated_mrs, stag_index); nes_alloc_fast_reg_mr()
420 stag = stag_index << 8; nes_alloc_fast_reg_mr()
425 stag, stag_index); nes_alloc_fast_reg_mr()
436 nes_free_resource(nesadapter, nesadapter->allocated_mrs, stag_index); nes_alloc_fast_reg_mr()
2108 u32 stag_index = 0; nes_reg_phys_mr() local
2139 &stag_index, &next_stag_index, NES_RESOURCE_PHYS_MR); nes_reg_phys_mr()
2146 nes_free_resource(nesadapter, nesadapter->allocated_mrs, stag_index); nes_reg_phys_mr()
2162 nes_free_resource(nesadapter, nesadapter->allocated_mrs, stag_index); nes_reg_phys_mr()
2172 nes_free_resource(nesadapter, nesadapter->allocated_mrs, stag_index); nes_reg_phys_mr()
2187 nes_free_resource(nesadapter, nesadapter->allocated_mrs, stag_index); nes_reg_phys_mr()
2211 nes_free_resource(nesadapter, nesadapter->allocated_mrs, stag_index); nes_reg_phys_mr()
2228 stag = stag_index << 8; nes_reg_phys_mr()
2234 stag, (unsigned long)*iova_start, (unsigned long)region_length, stag_index); nes_reg_phys_mr()
2325 u32 stag_index = 0; nes_reg_user_mr() local
2371 nesadapter->max_mr, &stag_index, &next_stag_index, NES_RESOURCE_USER_MR); nes_reg_user_mr()
2380 nes_free_resource(nesadapter, nesadapter->allocated_mrs, stag_index); nes_reg_user_mr()
2388 nes_free_resource(nesadapter, nesadapter->allocated_mrs, stag_index); nes_reg_user_mr()
2399 stag_index); nes_reg_user_mr()
2417 nesadapter->allocated_mrs, stag_index); nes_reg_user_mr()
2432 stag_index); nes_reg_user_mr()
2446 stag_index); nes_reg_user_mr()
2463 nes_free_resource(nesadapter, nesadapter->allocated_mrs, stag_index); nes_reg_user_mr()
2505 nes_debug(NES_DBG_MR, "calculating stag, stag_index=0x%08x, driver_key=0x%08x," nes_reg_user_mr()
2507 stag_index, driver_key, stag_key); nes_reg_user_mr()
2508 stag = stag_index << 8; nes_reg_user_mr()
2527 (unsigned int)region_length, stag_index, nes_reg_user_mr()

Completed in 171 milliseconds