Home
last modified time | relevance | path

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

/linux-6.15/drivers/infiniband/hw/mlx4/
H A Dmain.c264 struct gid_entry *gids; in mlx4_ib_add_gid() local
317 gids = kmalloc_array(MLX4_MAX_PORT_GIDS, sizeof(*gids), in mlx4_ib_add_gid()
319 if (!gids) { in mlx4_ib_add_gid()
325 memcpy(&gids[i].gid, &port_gid_table->gids[i].gid, sizeof(union ib_gid)); in mlx4_ib_add_gid()
326 gids[i].gid_type = port_gid_table->gids[i].gid_type; in mlx4_ib_add_gid()
340 kfree(gids); in mlx4_ib_add_gid()
376 gids = kmalloc_array(MLX4_MAX_PORT_GIDS, sizeof(*gids), in mlx4_ib_del_gid()
378 if (!gids) { in mlx4_ib_del_gid()
385 gids[i].gid_type = in mlx4_ib_del_gid()
392 if (gids) in mlx4_ib_del_gid()
[all …]
H A Dmlx4_ib.h542 struct gid_entry gids[MLX4_MAX_PORT_GIDS]; member
550 struct mlx4_port_gid_table gids[MLX4_MAX_PORTS]; member
H A Dqp.c3009 port_gid_table = &iboe->gids[port_num - 1]; in fill_gid_by_hw_index()
3011 memcpy(gid, &port_gid_table->gids[index].gid, sizeof(*gid)); in fill_gid_by_hw_index()
3012 *gid_type = port_gid_table->gids[index].gid_type; in fill_gid_by_hw_index()
/linux-6.15/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-6.15/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-6.15/Documentation/ABI/stable/
H A Dsysfs-class-infiniband326 What: /sys/class/infiniband/mlx4_X/iov/ports/<port-num>/gids/<n>
344 The "pkeys" and "gids" subdirectories contain one file for each
350 gids/<n>: (RO) The physical port gids n = 0..127
/linux-6.15/fs/ceph/
H A Dmds_client.h81 u32 *gids; /* use these GIDs */ member
H A Dmds_client.c4188 cap_auths[i].match.gids = kcalloc(_len, sizeof(u32), in handle_session()
4190 if (!cap_auths[i].match.gids) { in handle_session()
4198 cap_auths[i].match.gids[j], in handle_session()
4246 kfree(mdsc->s_cap_auths[i].match.gids); in handle_session()
4386 kfree(cap_auths[i].match.gids); in handle_session()
5625 if (caller_gid == auth->match.gids[i]) in ceph_mds_auth_match()
5633 if (gid == auth->match.gids[j]) { in ceph_mds_auth_match()
6023 kfree(mdsc->s_cap_auths[i].match.gids); in ceph_mdsc_stop()
/linux-6.15/Documentation/filesystems/
H A Dsquashfs.rst44 32-bit uids/gids yes no
256 converted to 32-bit uids/gids using an id look up table. This table is
H A Derofs.rst53 Max uids/gids 65536 4294967296
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-6.15/Documentation/filesystems/nfs/
H A Drpc-cache.rst24 of 16 gids.
/linux-6.15/Documentation/admin-guide/cifs/
H A Dusage.rst576 and retrieving uids/gids/mode from the server) or to
/linux-6.15/Documentation/admin-guide/
H A Dkernel-parameters.txt3971 numeric uids/gids if the mount is using the
4022 server will return only numeric uids and gids to
4024 and gids from such clients. This is intended to ease