Home
last modified time | relevance | path

Searched refs:gids (Results 1 – 10 of 10) sorted by relevance

/linux/drivers/infiniband/hw/mlx4/
H A Dmain.c160 static int mlx4_ib_update_gids_v1(struct gid_entry *gids, in mlx4_ib_update_gids_v1() argument
177 memcpy(&gid_tbl[i], &gids[i].gid, sizeof(union ib_gid)); in mlx4_ib_update_gids_v1()
193 static int mlx4_ib_update_gids_v1_v2(struct gid_entry *gids, in mlx4_ib_update_gids_v1_v2() argument
216 memcpy(&gid_tbl[i].gid, &gids[i].gid, sizeof(union ib_gid)); in mlx4_ib_update_gids_v1_v2()
217 if (gids[i].gid_type == IB_GID_TYPE_ROCE_UDP_ENCAP) { in mlx4_ib_update_gids_v1_v2()
219 if (!ipv6_addr_v4mapped((struct in6_addr *)&gids[i].gid)) in mlx4_ib_update_gids_v1_v2()
238 static int mlx4_ib_update_gids(struct gid_entry *gids, in mlx4_ib_update_gids() argument
243 return mlx4_ib_update_gids_v1_v2(gids, ibdev, port_num); in mlx4_ib_update_gids()
245 return mlx4_ib_update_gids_v1(gids, ibdev, port_num); in mlx4_ib_update_gids()
264 struct gid_entry *gids; in mlx4_ib_add_gid() local
[all …]
H A Dqp.c3008 port_gid_table = &iboe->gids[port_num - 1]; in fill_gid_by_hw_index()
3010 memcpy(gid, &port_gid_table->gids[index].gid, sizeof(*gid)); in fill_gid_by_hw_index()
3011 *gid_type = port_gid_table->gids[index].gid_type; in fill_gid_by_hw_index()
/linux/net/sunrpc/
H A Dsvcauth_unix.c493 int gids; in unix_gid_parse() local
514 rv = get_int(&mesg, &gids); in unix_gid_parse()
515 if (rv || gids < 0 || gids > 8192) in unix_gid_parse()
518 ug.gi = groups_alloc(gids); in unix_gid_parse()
522 for (i = 0 ; i < gids ; i++) { in unix_gid_parse()
/linux/drivers/net/ethernet/mellanox/mlx4/
H A Dport.c1110 int gids; in mlx4_get_base_gid_ix() local
1139 gids = MLX4_ROCE_MAX_GIDS - MLX4_ROCE_PF_GIDS; in mlx4_get_base_gid_ix()
1141 if (slave_gid <= gids % vfs) in mlx4_get_base_gid_ix()
1142 return MLX4_ROCE_PF_GIDS + ((gids / vfs) + 1) * (slave_gid - 1); in mlx4_get_base_gid_ix()
1144 return MLX4_ROCE_PF_GIDS + (gids % vfs) + in mlx4_get_base_gid_ix()
1145 ((gids / vfs) * (slave_gid - 1)); in mlx4_get_base_gid_ix()
/linux/fs/ceph/
H A Dmds_client.h81 u32 *gids; /* use these GIDs */ member
H A Dmds_client.c4254 cap_auths[i].match.gids = kcalloc(_len, sizeof(u32), in handle_session()
4256 if (!cap_auths[i].match.gids) { in handle_session()
4264 cap_auths[i].match.gids[j], in handle_session()
4312 kfree(mdsc->s_cap_auths[i].match.gids); in handle_session()
4452 kfree(cap_auths[i].match.gids); in handle_session()
5696 if (caller_gid == auth->match.gids[i]) in ceph_mds_auth_match()
5704 if (gid == auth->match.gids[j]) { in ceph_mds_auth_match()
6094 kfree(mdsc->s_cap_auths[i].match.gids); in ceph_mdsc_stop()
/linux/Documentation/filesystems/nfs/
H A Drpc-cache.rst24 of 16 gids.
/linux/Documentation/filesystems/
H A Didmappings.rst654 All VFS helpers that generate or take uids and gids as arguments use the
656 to catch errors that originate from conflating filesystem and VFS uids and gids.
/linux/Documentation/admin-guide/cifs/
H A Dusage.rst578 and retrieving uids/gids/mode from the server) or to
/linux/Documentation/admin-guide/
H A Dkernel-parameters.txt4359 numeric uids/gids if the mount is using the
4410 server will return only numeric uids and gids to
4412 and gids from such clients. This is intended to ease