Home
last modified time | relevance | path

Searched refs:num_gids (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/net/ethernet/mellanox/mlx4/
H A Dport.c1154 int num_gids, base, offset; in mlx4_reset_roce_port_gids() local
1157 num_gids = mlx4_get_slave_num_gids(dev, slave, port); in mlx4_reset_roce_port_gids()
1164 for (i = 0, offset = base; i < num_gids; offset++, i++) in mlx4_reset_roce_port_gids()
1323 int num_gids; in mlx4_common_set_port() local
1389 num_gids = mlx4_get_slave_num_gids(dev, slave, port); in mlx4_common_set_port()
1392 for (i = 0; i < num_gids; gid_entry_mbox++, i++) { in mlx4_common_set_port()
1397 for (j = i + 1; j < num_gids; gid_entry_mb1++, j++) { in mlx4_common_set_port()
1415 if (i >= base && i < base + num_gids) in mlx4_common_set_port()
1421 for (j = 0; j < num_gids; gid_entry_mbox++, j++) { in mlx4_common_set_port()
1438 for (i = 0, offset = base; i < num_gids; gid_entry_mbox++, offset++, i++) in mlx4_common_set_port()
H A Dresource_tracker.c3193 int num_gids; in verify_qp_parameters() local
3220 num_gids = mlx4_get_slave_num_gids(dev, slave, port); in verify_qp_parameters()
3222 num_gids = 1; in verify_qp_parameters()
3223 if (qp_ctx->pri_path.mgid_index >= num_gids) in verify_qp_parameters()
3229 num_gids = mlx4_get_slave_num_gids(dev, slave, port); in verify_qp_parameters()
3231 num_gids = 1; in verify_qp_parameters()
3232 if (qp_ctx->alt_path.mgid_index >= num_gids) in verify_qp_parameters()
/linux/fs/ceph/
H A Dmds_client.h80 u32 num_gids; member
H A Dmds_client.c4259 cap_auths[i].match.num_gids = _len; in handle_session()
4298 cap_auths[i].match.uid, cap_auths[i].match.num_gids, in handle_session()
5691 if (auth->match.num_gids) { in ceph_mds_auth_match()
5692 for (i = 0; i < auth->match.num_gids; i++) { in ceph_mds_auth_match()
5700 for (j = 0; j < auth->match.num_gids; j++) { in ceph_mds_auth_match()