Home
last modified time | relevance | path

Searched refs:res_cnt (Results 1 – 5 of 5) sorted by relevance

/drivers/infiniband/hw/usnic/
Dusnic_vnic.c168 int res_cnt; in usnic_vnic_spec_dump() local
174 res_cnt = res_spec->resources[i].cnt; in usnic_vnic_spec_dump()
178 res_cnt); in usnic_vnic_spec_dump()
189 int res_cnt; in usnic_vnic_check_room() local
193 res_cnt = res_spec->resources[i].cnt; in usnic_vnic_check_room()
198 if (res_cnt > usnic_vnic_res_free_cnt(vnic, res_type)) in usnic_vnic_check_room()
Dusnic_ib_qp_grp.c529 int err, i, res_cnt, res_lst_sz; in alloc_res_chunk_list() local
545 res_cnt = res_spec->resources[i].cnt; in alloc_res_chunk_list()
548 res_cnt, owner_obj); in alloc_res_chunk_list()
/drivers/pnp/pnpacpi/
Drsparser.c591 int *res_cnt = data; in pnpacpi_count_resources() local
594 (*res_cnt)++; in pnpacpi_count_resources()
620 int res_cnt = 0; in pnpacpi_build_resource_template() local
624 pnpacpi_count_resources, &res_cnt); in pnpacpi_build_resource_template()
629 if (!res_cnt) in pnpacpi_build_resource_template()
631 buffer->length = sizeof(struct acpi_resource) * (res_cnt + 1) + 1; in pnpacpi_build_resource_template()
873 int res_cnt = (buffer->length - 1) / sizeof(struct acpi_resource) - 1; in pnpacpi_encode_resources() local
877 pnp_dbg(&dev->dev, "encode %d resources\n", res_cnt); in pnpacpi_encode_resources()
878 while (i < res_cnt) { in pnpacpi_encode_resources()
/drivers/scsi/be2iscsi/
Dbe_cmds.h939 u32 res_cnt; member
Dbe_main.c1317 resid = csol_cqe->res_cnt; in be_complete_io()
1473 csol_cqe->res_cnt = AMAP_GET_BITS(struct amap_sol_cqe, in adapter_get_sol_cqe()
1492 csol_cqe->res_cnt = AMAP_GET_BITS(struct amap_sol_cqe_v2, in adapter_get_sol_cqe()