Searched refs:mb_count (Results 1 – 5 of 5) sorted by relevance
27 ring->rx_max_pending = priv->mb_count; in flexcan_get_ringparam()28 ring->tx_max_pending = priv->mb_count; in flexcan_get_ringparam()
97 u8 mb_count; member
183 unsigned long mb_count[VIRTIO_MEM_SBM_MB_COUNT]; member449 BUG_ON(vm->sbm.mb_count[old_state] == 0); in virtio_mem_sbm_set_mb_state()450 vm->sbm.mb_count[old_state]--; in virtio_mem_sbm_set_mb_state()451 vm->sbm.mb_count[state]++; in virtio_mem_sbm_set_mb_state()493 _mb_id < _vm->sbm.next_mb_id && _vm->sbm.mb_count[_state]; \499 _mb_id >= _vm->sbm.first_mb_id && _vm->sbm.mb_count[_state]; \1657 vm->sbm.mb_count[VIRTIO_MEM_SBM_MB_UNUSED]++; in virtio_mem_sbm_prepare_next_mb()
2361 const unsigned long mb_count = size / memory_block_size_bytes(); in offline_and_remove_memory() local 2374 online_types = kmalloc_array(mb_count, sizeof(*online_types), in offline_and_remove_memory() 2383 memset(online_types, MMOP_OFFLINE, mb_count); in offline_and_remove_memory()
722 int mb_count = (go->width >> 4) * (go->height >> 4); in mpeg4_frame_header() local736 for (i = 0; i < mb_count; ++i) { in mpeg4_frame_header()