ibmvmc             46 drivers/misc/ibmvmc.c static struct ibmvmc_struct ibmvmc;
ibmvmc            330 drivers/misc/ibmvmc.c 	if (hmc_index > ibmvmc.max_hmc_index)
ibmvmc            363 drivers/misc/ibmvmc.c 	if (hmc_index > ibmvmc.max_hmc_index) {
ibmvmc            415 drivers/misc/ibmvmc.c 	if (hmc_index > ibmvmc.max_hmc_index)
ibmvmc            452 drivers/misc/ibmvmc.c 	for (i = 0; i <= ibmvmc.max_hmc_index; i++) {
ibmvmc            510 drivers/misc/ibmvmc.c 					ibmvmc.max_mtu,
ibmvmc            671 drivers/misc/ibmvmc.c 	ibmvmc.state = ibmvmc_state_capabilities;
ibmvmc            831 drivers/misc/ibmvmc.c 		 ibmvmc.state);
ibmvmc            861 drivers/misc/ibmvmc.c 		 (unsigned long)file, ibmvmc.state);
ibmvmc            872 drivers/misc/ibmvmc.c 		if (ibmvmc.state == ibmvmc_state_failed) {
ibmvmc            922 drivers/misc/ibmvmc.c 	if (nbytes > ibmvmc.max_mtu) {
ibmvmc           1074 drivers/misc/ibmvmc.c 	if (count > ibmvmc.max_mtu) {
ibmvmc           1152 drivers/misc/ibmvmc.c 	if (ibmvmc.state == ibmvmc_state_failed) {
ibmvmc           1157 drivers/misc/ibmvmc.c 	if (ibmvmc.state < ibmvmc_state_ready) {
ibmvmc           1165 drivers/misc/ibmvmc.c 	for (index = 0; index <= ibmvmc.max_hmc_index; index++) {
ibmvmc           1279 drivers/misc/ibmvmc.c 	query_struct.have_vmc = (ibmvmc.state > ibmvmc_state_initial);
ibmvmc           1280 drivers/misc/ibmvmc.c 	query_struct.state = ibmvmc.state;
ibmvmc           1281 drivers/misc/ibmvmc.c 	query_struct.vmc_drc_index = ibmvmc.vmc_drc_index;
ibmvmc           1336 drivers/misc/ibmvmc.c 	ibmvmc.vmc_drc_index = vmc_drc_index;
ibmvmc           1442 drivers/misc/ibmvmc.c 	if (hmc_index > ibmvmc.max_hmc_index) {
ibmvmc           1450 drivers/misc/ibmvmc.c 	if (buffer_id >= ibmvmc.max_buffer_pool_size) {
ibmvmc           1471 drivers/misc/ibmvmc.c 						   ibmvmc.max_mtu,
ibmvmc           1483 drivers/misc/ibmvmc.c 	buffer->size = ibmvmc.max_mtu;
ibmvmc           1558 drivers/misc/ibmvmc.c 	if (hmc_index > ibmvmc.max_hmc_index) {
ibmvmc           1581 drivers/misc/ibmvmc.c 				ibmvmc.max_mtu,
ibmvmc           1620 drivers/misc/ibmvmc.c 	if (hmc_index > ibmvmc.max_hmc_index) {
ibmvmc           1628 drivers/misc/ibmvmc.c 	if (buffer_id >= ibmvmc.max_buffer_pool_size) {
ibmvmc           1710 drivers/misc/ibmvmc.c 		ibmvmc.state = ibmvmc_state_failed;
ibmvmc           1714 drivers/misc/ibmvmc.c 	ibmvmc.max_mtu = min_t(u32, ibmvmc_max_mtu, be32_to_cpu(crq->max_mtu));
ibmvmc           1715 drivers/misc/ibmvmc.c 	ibmvmc.max_buffer_pool_size = min_t(u16, ibmvmc_max_buf_pool_size,
ibmvmc           1717 drivers/misc/ibmvmc.c 	ibmvmc.max_hmc_index = min_t(u8, ibmvmc_max_hmcs, crq->max_hmc) - 1;
ibmvmc           1718 drivers/misc/ibmvmc.c 	ibmvmc.state = ibmvmc_state_ready;
ibmvmc           1721 drivers/misc/ibmvmc.c 		 ibmvmc.max_mtu, ibmvmc.max_buffer_pool_size,
ibmvmc           1722 drivers/misc/ibmvmc.c 		 ibmvmc.max_hmc_index);
ibmvmc           1745 drivers/misc/ibmvmc.c 	if (hmc_index > ibmvmc.max_hmc_index)
ibmvmc           1771 drivers/misc/ibmvmc.c 	if (ibmvmc.state != ibmvmc_state_sched_reset) {
ibmvmc           1781 drivers/misc/ibmvmc.c 			ibmvmc.state = ibmvmc_state_crqinit;
ibmvmc           1792 drivers/misc/ibmvmc.c 			ibmvmc.state = ibmvmc_state_sched_reset;
ibmvmc           1816 drivers/misc/ibmvmc.c 			(ibmvmc.state == ibmvmc_state_sched_reset) ||
ibmvmc           1830 drivers/misc/ibmvmc.c 			ibmvmc.state = ibmvmc_state_failed;
ibmvmc           1832 drivers/misc/ibmvmc.c 			ibmvmc.state = ibmvmc_state_crqinit;
ibmvmc           1863 drivers/misc/ibmvmc.c 	if (hmc_index > ibmvmc.max_hmc_index) {
ibmvmc           1878 drivers/misc/ibmvmc.c 		if (buffer_id >= ibmvmc.max_buffer_pool_size) {
ibmvmc           1912 drivers/misc/ibmvmc.c 	if (hmc_index > ibmvmc.max_hmc_index) {
ibmvmc           1943 drivers/misc/ibmvmc.c 		if (ibmvmc.state == ibmvmc_state_capabilities)
ibmvmc           1947 drivers/misc/ibmvmc.c 				 ibmvmc.state);
ibmvmc           2010 drivers/misc/ibmvmc.c 			ibmvmc.state);
ibmvmc           2011 drivers/misc/ibmvmc.c 		if (ibmvmc.state == ibmvmc_state_crqinit) {
ibmvmc           2020 drivers/misc/ibmvmc.c 				ibmvmc.state, ibmvmc.max_mtu);
ibmvmc           2026 drivers/misc/ibmvmc.c 			ibmvmc.state);
ibmvmc           2027 drivers/misc/ibmvmc.c 		if (ibmvmc.state == ibmvmc_state_crqinit)
ibmvmc           2083 drivers/misc/ibmvmc.c 			if (ibmvmc.state == ibmvmc_state_sched_reset)
ibmvmc           2096 drivers/misc/ibmvmc.c 			if (ibmvmc.state == ibmvmc_state_sched_reset)
ibmvmc           2246 drivers/misc/ibmvmc.c 		ibmvmc.state = ibmvmc_state_failed;
ibmvmc           2257 drivers/misc/ibmvmc.c 		ibmvmc.state = ibmvmc_state_failed;
ibmvmc           2267 drivers/misc/ibmvmc.c 		ibmvmc.state = ibmvmc_state_failed;
ibmvmc           2271 drivers/misc/ibmvmc.c 	ibmvmc.state = ibmvmc_state_crqinit;
ibmvmc           2354 drivers/misc/ibmvmc.c 	ibmvmc.state = ibmvmc_state_initial;
ibmvmc           2381 drivers/misc/ibmvmc.c 	ibmvmc.max_mtu = ibmvmc_max_mtu;
ibmvmc           2382 drivers/misc/ibmvmc.c 	ibmvmc.max_buffer_pool_size = ibmvmc_max_buf_pool_size;
ibmvmc           2383 drivers/misc/ibmvmc.c 	ibmvmc.max_hmc_index = ibmvmc_max_hmcs - 1;