Searched refs:adapter_size (Results 1 – 1 of 1) sorted by relevance
268 u32 adapter_size; in nes_init_adapter() local350 adapter_size = (sizeof(struct nes_adapter) + in nes_init_adapter()352 adapter_size += sizeof(unsigned long) * BITS_TO_LONGS(max_qp); in nes_init_adapter()353 adapter_size += sizeof(unsigned long) * BITS_TO_LONGS(max_mr); in nes_init_adapter()354 adapter_size += sizeof(unsigned long) * BITS_TO_LONGS(max_cq); in nes_init_adapter()355 adapter_size += sizeof(unsigned long) * BITS_TO_LONGS(num_pds); in nes_init_adapter()356 adapter_size += sizeof(unsigned long) * BITS_TO_LONGS(arp_table_size); in nes_init_adapter()357 adapter_size += sizeof(struct nes_qp **) * max_qp; in nes_init_adapter()360 nesadapter = kzalloc(adapter_size, GFP_KERNEL); in nes_init_adapter()366 nesadapter, (u32)sizeof(struct nes_adapter), adapter_size); in nes_init_adapter()