Home
last modified time | relevance | path

Searched refs:num_segs (Results 1 – 14 of 14) sorted by relevance

/titanic_41/usr/src/uts/intel/io/dktp/hba/ghd/
H A Dghd_dma.c139 int num_segs = 0; in ghd_dmaget_next_attr() local
160 (*cccp->ccc_sg_func)(gcmdp, &cookie, single_seg, num_segs); in ghd_dmaget_next_attr()
164 num_segs++; in ghd_dmaget_next_attr()
182 if (num_segs >= sg_size) in ghd_dmaget_next_attr()
/titanic_41/usr/src/uts/common/os/
H A Dmmapobj.c547 mmapobj_unmap(mmapobj_result_t *mrp, int num_mapped, int num_segs, in mmapobj_unmap() argument
556 num_mapped = num_segs; in mmapobj_unmap()
560 ASSERT(num_mapped == num_segs); in mmapobj_unmap()
602 if (num_mapped != num_segs) { in mmapobj_unmap()
611 size = (size_t)mrp[num_segs - 1].mr_addr + in mmapobj_unmap()
612 mrp[num_segs - 1].mr_msize - (size_t)addr; in mmapobj_unmap()
1307 int num_segs = 0; in calc_loadable() local
1361 if (num_segs++ == 0) { in calc_loadable()
1429 *loadable = num_segs; in calc_loadable()
2316 int num_segs; in mmapobj_map_interpret() local
[all …]
/titanic_41/usr/src/uts/common/io/scsi/impl/
H A Dscsi_resource.c218 int num_segs = 0; in scsi_dmaget_attr() local
245 num_segs++; in scsi_dmaget_attr()
251 if (num_segs >= pktp->pkt_numcookies) { in scsi_dmaget_attr()
/titanic_41/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/vf/basic_vf/
H A Dlm_vf.c512 u8_t num_segs; in lm_vf_enable_igu_int() local
546num_segs = (INTR_BLK_MODE(pdev) == INTR_BLK_MODE_BC)? IGU_BC_NDSB_NUM_SEGS : IGU_NORM_NDSB_NUM_SEG… in lm_vf_enable_igu_int()
548 …prod_idx = (IGU_BASE_NDSB(pdev) + sb_id)*num_segs; /* bc-assumption consecutive pfs, norm-no assum… in lm_vf_enable_igu_int()
549 for (i = 0; i < num_segs;i++) { in lm_vf_enable_igu_int()
/titanic_41/usr/src/uts/common/sys/ib/adapters/tavor/
H A Dtavor_mr.h333 size_t num_segs);
/titanic_41/usr/src/lib/libfru/libfrupicl/
H A Dfrupicl.c419 uint32_t num_segs = 0; in get_segment_node() local
426 (void *)&num_segs, in get_segment_node()
427 sizeof (num_segs))) != PICL_SUCCESS) { in get_segment_node()
/titanic_41/usr/src/lib/libfru/libfrupicltree/
H A Dfrupicltree.c430 uint32_t num_segs = 0; in get_segment_node() local
437 (void *)&num_segs, in get_segment_node()
438 sizeof (num_segs))) != PICL_SUCCESS) { in get_segment_node()
/titanic_41/usr/src/uts/common/sys/ib/adapters/hermon/
H A Dhermon_mr.h317 size_t num_segs);
/titanic_41/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/
H A Dlm_hw_init_reset.c3447 u8_t num_segs; in init_igu_func() local
3484 num_segs = IGU_NORM_NDSB_NUM_SEGS; in init_igu_func()
3487 …prod_idx = (IGU_BASE_NDSB(pdev) + sb_id)*num_segs; /* bc-assumption consecutive pfs, norm-no assum… in init_igu_func()
3488 for (i = 0; i < num_segs;i++) in init_igu_func()
3508num_segs = (INTR_BLK_MODE(pdev) == INTR_BLK_MODE_BC)? IGU_BC_DSB_NUM_SEGS : IGU_NORM_DSB_NUM_SEGS; in init_igu_func()
3510 for (i = 0; i < num_segs; i++) in init_igu_func()
/titanic_41/usr/src/uts/common/io/ib/adapters/tavor/
H A Dtavor_mr.c816 tavor_mr_sync(tavor_state_t *state, ibt_mr_sync_t *mr_segs, size_t num_segs) in tavor_mr_sync() argument
828 for (i = 0; i < num_segs; i++) { in tavor_mr_sync()
H A Dtavor_ci.c2025 tavor_ci_sync_mr(ibc_hca_hdl_t hca, ibt_mr_sync_t *mr_segs, size_t num_segs) in tavor_ci_sync_mr() argument
2046 status = tavor_mr_sync(state, mr_segs, num_segs); in tavor_ci_sync_mr()
/titanic_41/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/vf/channel_vf/
H A Dlm_vf.c2926 u8_t num_segs; in lm_pf_enable_vf_igu_int() local
2962 num_segs = IGU_NORM_NDSB_NUM_SEGS; in lm_pf_enable_vf_igu_int()
2964 …prod_idx = LM_VF_IGU_SB_ID(vf_info,sb_id)*num_segs; /* bc-assumption consecutive pfs, norm-no assu… in lm_pf_enable_vf_igu_int()
2965 for (i = 0; i < num_segs;i++) { in lm_pf_enable_vf_igu_int()
/titanic_41/usr/src/uts/common/io/ib/adapters/hermon/
H A Dhermon_ci.c1489 hermon_ci_sync_mr(ibc_hca_hdl_t hca, ibt_mr_sync_t *mr_segs, size_t num_segs) in hermon_ci_sync_mr() argument
1500 status = hermon_mr_sync(state, mr_segs, num_segs); in hermon_ci_sync_mr()
H A Dhermon_mr.c1146 hermon_mr_sync(hermon_state_t *state, ibt_mr_sync_t *mr_segs, size_t num_segs) in hermon_mr_sync() argument
1155 for (i = 0; i < num_segs; i++) { in hermon_mr_sync()