Home
last modified time | relevance | path

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

/drivers/infiniband/hw/usnic/
Dusnic_vnic.c183 int res_cnt; in usnic_vnic_spec_dump() local
189 res_cnt = res_spec->resources[i].cnt; in usnic_vnic_spec_dump()
193 res_cnt); in usnic_vnic_spec_dump()
204 int res_cnt; in usnic_vnic_check_room() local
208 res_cnt = res_spec->resources[i].cnt; in usnic_vnic_check_room()
213 if (res_cnt > usnic_vnic_res_free_cnt(vnic, res_type)) in usnic_vnic_check_room()
Dusnic_ib_qp_grp.c538 int err, i, res_cnt, res_lst_sz; in alloc_res_chunk_list() local
554 res_cnt = res_spec->resources[i].cnt; in alloc_res_chunk_list()
557 res_cnt, owner_obj); in alloc_res_chunk_list()
/drivers/pnp/pnpacpi/
Drsparser.c598 int *res_cnt = data; in pnpacpi_count_resources() local
601 (*res_cnt)++; in pnpacpi_count_resources()
627 int res_cnt = 0; in pnpacpi_build_resource_template() local
631 pnpacpi_count_resources, &res_cnt); in pnpacpi_build_resource_template()
636 if (!res_cnt) in pnpacpi_build_resource_template()
638 buffer->length = sizeof(struct acpi_resource) * (res_cnt + 1) + 1; in pnpacpi_build_resource_template()
880 int res_cnt = (buffer->length - 1) / sizeof(struct acpi_resource) - 1; in pnpacpi_encode_resources() local
884 pnp_dbg(&dev->dev, "encode %d resources\n", res_cnt); in pnpacpi_encode_resources()
885 while (i < res_cnt) { in pnpacpi_encode_resources()
/drivers/scsi/be2iscsi/
Dbe_cmds.h1035 u32 res_cnt; member
Dbe_main.c1118 resid = csol_cqe->res_cnt; in be_complete_io()
1277 csol_cqe->res_cnt = AMAP_GET_BITS(struct amap_sol_cqe, in adapter_get_sol_cqe()
1296 csol_cqe->res_cnt = AMAP_GET_BITS(struct amap_sol_cqe_v2, in adapter_get_sol_cqe()