Lines Matching defs:table
865 static int get_full_pkey_table(struct mlx4_dev *dev, u8 port, u16 *table,
873 err = query_pkey_block(dev, port, i, table + i, inbox, outbox);
901 u16 *table;
927 table = kcalloc((dev->caps.pkey_table_len[port] / 32) + 1,
928 sizeof(*table) * 32, GFP_KERNEL);
930 if (!table)
932 /* need to get the full pkey table because the paravirtualized
935 err = get_full_pkey_table(dev, port, table, inbox, outbox);
939 outtab[vidx % 32] = cpu_to_be16(table[pidx]);
942 kfree(table);