Home
last modified time | relevance | path

Searched defs:gid (Results 1 – 25 of 285) sorted by relevance

12345678910>>...12

/linux-6.6.21/include/linux/
Dhighuid.h48 #define high2lowgid(gid) ((gid) & ~0xFFFF ? (old_gid_t)overflowgid : (old_gid_t)(gid)) argument
54 #define low2highgid(gid) ((gid) == (old_gid_t)-1 ? (gid_t)-1 : (gid_t)(gid)) argument
58 #define __convert_gid(size, gid) \ argument
65 #define __convert_gid(size, gid) (gid) argument
71 #define SET_GID(var, gid) do { (var) = __convert_gid(sizeof(var), (gid)); } while (0) argument
93 #define fs_high2lowgid(gid) ((gid) & ~0xFFFF ? (gid16_t)fs_overflowgid : (gid16_t)(gid)) argument
Duidgid.h39 static inline gid_t __kgid_val(kgid_t gid) in __kgid_val()
49 static inline gid_t __kgid_val(kgid_t gid) in __kgid_val()
116 static inline bool gid_valid(kgid_t gid) in gid_valid()
136 static inline bool kgid_has_mapping(struct user_namespace *ns, kgid_t gid) in kgid_has_mapping()
148 static inline kgid_t make_kgid(struct user_namespace *from, gid_t gid) in make_kgid()
173 gid_t gid = from_kgid(to, kgid); in from_kgid_munged() local
184 static inline bool kgid_has_mapping(struct user_namespace *ns, kgid_t gid) in kgid_has_mapping()
Dmnt_idmapping.h33 static inline gid_t __vfsgid_val(vfsgid_t gid) in __vfsgid_val()
43 static inline gid_t __vfsgid_val(vfsgid_t gid) in __vfsgid_val()
54 static inline bool vfsgid_valid(vfsgid_t gid) in vfsgid_valid()
/linux-6.6.21/include/rdma/
Dib_addr.h99 union ib_gid *gid) in ib_addr_get_mgid()
114 static inline int rdma_ip2gid(struct sockaddr *addr, union ib_gid *gid) in rdma_ip2gid()
133 static inline void rdma_gid2ip(struct sockaddr *out, const union ib_gid *gid) in rdma_gid2ip()
153 static inline void rdma_addr_get_sgid(struct rdma_dev_addr *dev_addr, union ib_gid *gid) in rdma_addr_get_sgid()
159 static inline void rdma_addr_set_sgid(struct rdma_dev_addr *dev_addr, union ib_gid *gid) in rdma_addr_set_sgid()
164 static inline void rdma_addr_get_dgid(struct rdma_dev_addr *dev_addr, union ib_gid *gid) in rdma_addr_get_dgid()
169 static inline void rdma_addr_set_dgid(struct rdma_dev_addr *dev_addr, union ib_gid *gid) in rdma_addr_set_dgid()
Dopa_addr.h33 static inline bool ib_is_opa_gid(const union ib_gid *gid) in ib_is_opa_gid()
46 static inline u32 opa_get_lid_from_gid(const union ib_gid *gid) in opa_get_lid_from_gid()
/linux-6.6.21/usr/
Dgen_init_cpio.c108 unsigned int mode, uid_t uid, gid_t gid) in cpio_mkslink()
144 int gid; in cpio_mkslink_line() local
157 uid_t uid, gid_t gid) in cpio_mkgeneric()
215 int gid; in cpio_mkgeneric_line() local
245 uid_t uid, gid_t gid, char dev_type, in cpio_mknod()
283 int gid; in cpio_mknod_line() local
323 unsigned int mode, uid_t uid, gid_t gid, in cpio_mkfile()
457 int gid; in cpio_mkfile_line() local
/linux-6.6.21/drivers/infiniband/hw/mthca/
Dmthca_mcg.c42 u8 gid[16]; member
64 u8 *gid, struct mthca_mailbox *mgm_mailbox, in find_mgm()
120 int mthca_multicast_attach(struct ib_qp *ibqp, union ib_gid *gid, u16 lid) in mthca_multicast_attach()
214 int mthca_multicast_detach(struct ib_qp *ibqp, union ib_gid *gid, u16 lid) in mthca_multicast_detach()
/linux-6.6.21/drivers/infiniband/core/
Dcache.c157 bool rdma_is_zero_gid(const union ib_gid *gid) in rdma_is_zero_gid()
466 static int find_gid(struct ib_gid_table *table, const union ib_gid *gid, in find_gid()
540 static void make_default_gid(struct net_device *dev, union ib_gid *gid) in make_default_gid()
547 union ib_gid *gid, struct ib_gid_attr *attr, in __ib_cache_gid_add()
591 union ib_gid *gid, struct ib_gid_attr *attr) in ib_cache_gid_add()
602 union ib_gid *gid, struct ib_gid_attr *attr, in _ib_cache_gid_del()
631 union ib_gid *gid, struct ib_gid_attr *attr) in ib_cache_gid_del()
684 const union ib_gid *gid, in rdma_find_gid_by_port()
737 struct ib_device *ib_dev, const union ib_gid *gid, u32 port, in rdma_find_gid_by_filter()
738 bool (*filter)(const union ib_gid *gid, const struct ib_gid_attr *, in rdma_find_gid_by_filter()
[all …]
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/
Dmcg.c41 void *gid; in mlx5_core_attach_mcg() local
54 void *gid; in mlx5_core_detach_mcg() local
Drdma.c110 static void mlx5_rdma_make_default_gid(struct mlx5_core_dev *dev, union ib_gid *gid) in mlx5_rdma_make_default_gid()
121 union ib_gid gid; in mlx5_rdma_add_roce_addr() local
/linux-6.6.21/drivers/misc/sgi-gru/
Dgruprocfs.c161 long gid = *(long *)data; in cch_seq_show() local
189 long gid = *(long *)data, ctxfree, cbrfree, dsrfree; in gru_seq_show() local
213 static void *seq_start(struct seq_file *file, loff_t *gid) in seq_start()
220 static void *seq_next(struct seq_file *file, void *data, loff_t *gid) in seq_next()
/linux-6.6.21/drivers/pinctrl/mvebu/
Dpinctrl-mvebu.c42 unsigned gid; member
173 unsigned gid, unsigned long *config) in mvebu_pinconf_group_get()
185 unsigned gid, unsigned long *configs, in mvebu_pinconf_group_set()
205 struct seq_file *s, unsigned gid) in mvebu_pinconf_group_dbg_show()
295 unsigned gid) in mvebu_pinmux_set()
389 unsigned gid) in mvebu_pinctrl_get_group_name()
396 unsigned gid, const unsigned **pins, in mvebu_pinctrl_get_group_pins()
583 unsigned gid, n, k; in mvebu_pinctrl_probe() local
/linux-6.6.21/fs/sysfs/
Dfile.c256 kgid_t gid, const void *ns) in sysfs_add_file_mode_ns()
306 kuid_t uid, kgid_t gid, const void *ns) in sysfs_add_bin_file_mode_ns()
349 kgid_t gid; in sysfs_create_file_ns() local
384 kgid_t gid; in sysfs_add_file_to_group() local
562 kgid_t gid; in sysfs_create_bin_file() local
Dgroup.c35 kuid_t uid, kgid_t gid, in create_files()
112 kgid_t gid; in internal_create_group() local
334 kgid_t gid; in sysfs_merge_group() local
/linux-6.6.21/fs/
Dmnt_idmapping.c138 gid_t gid; in make_vfsgid() local
195 gid_t gid; in from_vfsgid() local
/linux-6.6.21/drivers/base/
Ddevtmpfs.c53 kgid_t gid; member
205 kgid_t gid, struct device *dev) in handle_create()
380 static int handle(const char *name, umode_t mode, kuid_t uid, kgid_t gid, in handle()
/linux-6.6.21/drivers/infiniband/sw/rdmavt/
Dmcast.c238 int rvt_attach_mcast(struct ib_qp *ibqp, union ib_gid *gid, u16 lid) in rvt_attach_mcast()
301 int rvt_detach_mcast(struct ib_qp *ibqp, union ib_gid *gid, u16 lid) in rvt_detach_mcast()
/linux-6.6.21/net/core/
Dscm.c50 kgid_t gid = make_kgid(cred->user_ns, creds->gid); in scm_check_creds() local
173 kgid_t gid; in __scm_send() local
/linux-6.6.21/fs/9p/
Dvfs_inode_dotl.c233 kgid_t gid; in v9fs_vfs_atomic_open_dotl() local
362 kgid_t gid; in v9fs_vfs_mkdir_dotl() local
706 kgid_t gid; in v9fs_vfs_symlink_dotl() local
844 kgid_t gid; in v9fs_vfs_mknod_dotl() local
/linux-6.6.21/drivers/infiniband/hw/bnxt_re/
Dqplib_sp.c216 struct bnxt_qplib_gid *gid) in bnxt_qplib_get_sgid()
229 struct bnxt_qplib_gid *gid, u16 vlan_id, bool update) in bnxt_qplib_del_sgid()
288 struct bnxt_qplib_gid *gid, const u8 *smac, in bnxt_qplib_add_sgid()
378 struct bnxt_qplib_gid *gid, u16 gid_idx, in bnxt_qplib_update_sgid()
/linux-6.6.21/fs/smb/server/
Dsmbacl.c285 kgid_t gid; in sid_to_id() local
611 gid_t gid; in set_posix_acl_entries_dacl() local
675 gid_t gid; in set_posix_acl_entries_dacl() local
906 gid_t gid; in build_sec_desc() local
1000 unsigned int uid, unsigned int gid) in smb_inherit_dacl()
/linux-6.6.21/fs/affs/
Dsuper.c190 parse_options(char *options, kuid_t *uid, kgid_t *gid, int *mode, int *reserved, s32 *root, in parse_options()
345 kgid_t gid; in affs_fill_super() local
558 kgid_t gid; in affs_remount() local
/linux-6.6.21/kernel/
Dgroups.c45 gid_t gid; in groups_to_user() local
62 gid_t gid; in groups_from_user() local
/linux-6.6.21/drivers/infiniband/ulp/ipoib/
Dipoib_main.c401 const union ib_gid *gid, in ipoib_match_gid_pkey_addr()
449 const union ib_gid *gid, in __ipoib_get_net_dev_by_params()
473 const union ib_gid *gid, const struct sockaddr *addr, in ipoib_get_net_dev_by_params()
557 struct ipoib_path *__path_find(struct net_device *dev, void *gid) in __path_find()
862 void *gid) in init_path_rec()
878 static struct ipoib_path *path_rec_create(struct net_device *dev, void *gid) in path_rec_create()
1562 void ipoib_del_neighs_by_gid(struct net_device *dev, u8 *gid) in ipoib_del_neighs_by_gid()
2331 static void set_base_guid(struct ipoib_dev_priv *priv, union ib_gid *gid) in set_base_guid()
2357 union ib_gid *gid = (union ib_gid *)(ss->__data + 4); in ipoib_check_lladdr() local
/linux-6.6.21/drivers/infiniband/hw/qedr/
Dqedr_roce_cm.h42 static inline u32 qedr_get_ipv4_from_gid(const u8 *gid) in qedr_get_ipv4_from_gid()

12345678910>>...12