Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/infiniband/hw/mlx4/
Dmain.c157 static int mlx4_ib_update_gids(struct gid_entry *gids, in mlx4_ib_update_gids() argument
174 memcpy(&gid_tbl[i], &gids[i].gid, sizeof(union ib_gid)); in mlx4_ib_update_gids()
204 struct gid_entry *gids = NULL; in mlx4_ib_add_gid() local
215 port_gid_table = &iboe->gids[port_num - 1]; in mlx4_ib_add_gid()
218 if (!memcmp(&port_gid_table->gids[i].gid, gid, sizeof(*gid))) { in mlx4_ib_add_gid()
222 if (free < 0 && !memcmp(&port_gid_table->gids[i].gid, &zgid, sizeof(*gid))) in mlx4_ib_add_gid()
230 port_gid_table->gids[free].ctx = kmalloc(sizeof(*port_gid_table->gids[free].ctx), GFP_ATOMIC); in mlx4_ib_add_gid()
231 if (!port_gid_table->gids[free].ctx) { in mlx4_ib_add_gid()
234 *context = port_gid_table->gids[free].ctx; in mlx4_ib_add_gid()
235 memcpy(&port_gid_table->gids[free].gid, gid, sizeof(*gid)); in mlx4_ib_add_gid()
[all …]
Dmlx4_ib.h485 struct gid_entry gids[MLX4_MAX_PORT_GIDS]; member
493 struct mlx4_port_gid_table gids[MLX4_MAX_PORTS]; member
/linux-4.4.14/net/sunrpc/
Dsvcauth_unix.c481 int gids; in unix_gid_parse() local
502 rv = get_int(&mesg, &gids); in unix_gid_parse()
503 if (rv || gids < 0 || gids > 8192) in unix_gid_parse()
506 ug.gi = groups_alloc(gids); in unix_gid_parse()
510 for (i = 0 ; i < gids ; i++) { in unix_gid_parse()
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/
Dport.c572 int gids; in mlx4_get_base_gid_ix() local
601 gids = MLX4_ROCE_MAX_GIDS - MLX4_ROCE_PF_GIDS; in mlx4_get_base_gid_ix()
603 if (slave_gid <= gids % vfs) in mlx4_get_base_gid_ix()
604 return MLX4_ROCE_PF_GIDS + ((gids / vfs) + 1) * (slave_gid - 1); in mlx4_get_base_gid_ix()
606 return MLX4_ROCE_PF_GIDS + (gids % vfs) + in mlx4_get_base_gid_ix()
607 ((gids / vfs) * (slave_gid - 1)); in mlx4_get_base_gid_ix()
/linux-4.4.14/Documentation/infiniband/
Dsysfs.txt54 The "pkeys" and "gids" subdirectories contain one file for each
/linux-4.4.14/Documentation/filesystems/
Dsquashfs.txt39 32-bit uids/gids: yes no
192 converted to 32-bit uids/gids using an id look up table. This table is
/linux-4.4.14/Documentation/filesystems/nfs/
Drpc-cache.txt18 of 16 gids.
/linux-4.4.14/Documentation/filesystems/cifs/
DREADME496 and retrieving uids/gids/mode from the server) or to
DCHANGES188 gids on the server do not match those of the client. Make "sec=none"
/linux-4.4.14/Documentation/
Dkernel-parameters.txt2292 numeric uids/gids if the mount is using the
2337 server will return only numeric uids and gids to
2339 and gids from such clients. This is intended to ease