Home
last modified time | relevance | path

Searched refs:sgid (Results 1 – 25 of 62) sorted by relevance

123

/linux/drivers/infiniband/core/
A Duverbs_marshall.c140 memcpy(dst->sgid, src->sgid.raw, sizeof(src->sgid)); in __ib_copy_path_rec_to_user()
181 if ((ib_is_opa_gid((union ib_gid *)src->sgid)) || in ib_copy_path_rec_from_user()
184 slid = opa_get_lid_from_gid((union ib_gid *)src->sgid); in ib_copy_path_rec_from_user()
192 memcpy(dst->sgid.raw, src->sgid, sizeof dst->sgid); in ib_copy_path_rec_from_user()
A Daddr.c729 } sgid, dgid; in roce_resolve_route_from_path() local
738 rdma_gid2ip((struct sockaddr *)&sgid, &rec->sgid); in roce_resolve_route_from_path()
741 if (sgid._sockaddr.sa_family != dgid._sockaddr.sa_family) in roce_resolve_route_from_path()
750 ret = addr_resolve((struct sockaddr *)&sgid, (struct sockaddr *)&dgid, in roce_resolve_route_from_path()
814 int rdma_addr_find_l2_eth_by_grh(const union ib_gid *sgid, in rdma_addr_find_l2_eth_by_grh() argument
827 rdma_gid2ip((struct sockaddr *)&sgid_addr, sgid); in rdma_addr_find_l2_eth_by_grh()
A Dverbs.c707 u16 vlan_id, const union ib_gid *sgid, in get_sgid_attr_from_eth() argument
713 return rdma_find_gid_by_filter(device, sgid, port_num, find_gid_index, in get_sgid_attr_from_eth()
719 union ib_gid *sgid, union ib_gid *dgid) in ib_get_gids_from_rdma_hdr() argument
725 if (!sgid || !dgid) in ib_get_gids_from_rdma_hdr()
736 (struct in6_addr *)sgid); in ib_get_gids_from_rdma_hdr()
743 *sgid = hdr->ibgrh.sgid; in ib_get_gids_from_rdma_hdr()
804 union ib_gid sgid; in ib_init_ah_attr_from_wc() local
818 &sgid, &dgid); in ib_init_ah_attr_from_wc()
840 &sgid, in ib_init_ah_attr_from_wc()
869 &sgid, in ib_init_ah_attr_from_wc()
A Dcma.c765 union ib_gid gid, sgid, *dgid; in cma_resolve_ib_dev() local
792 sgid = gid; in cma_resolve_ib_dev()
801 sgid = gid; in cma_resolve_ib_dev()
816 memcpy(&addr->sib_addr, &sgid, sizeof(sgid)); in cma_resolve_ib_dev()
1253 memcpy(&ib->sib_addr, &path->sgid, 16); in cma_save_ib_info()
2314 if (sgid) in rdma_read_gids()
2315 memset(sgid, 0, sizeof(*sgid)); in rdma_read_gids()
2322 if (sgid) in rdma_read_gids()
2327 if (sgid) in rdma_read_gids()
2328 rdma_addr_get_sgid(&addr->dev_addr, sgid); in rdma_read_gids()
[all …]
A Dcm.c493 &path->sgid, in get_cm_port_from_path()
1360 pri_path->sgid; in cm_format_req()
1407 alt_path->sgid; in cm_format_req()
1681 primary_path->sgid = in cm_format_paths_from_req()
1708 alt_path->sgid = *IBA_GET_MEM_PTR( in cm_format_paths_from_req()
1773 union ib_gid sgid; in cm_opa_to_ib_sgid() local
1781 path->sgid = sgid; in cm_opa_to_ib_sgid()
2163 &work->path[0].sgid); in cm_req_handler()
2169 &work->path[0].sgid, in cm_req_handler()
2180 &work->path[0].sgid, in cm_req_handler()
[all …]
/linux/kernel/
A Duid16.c81 SYSCALL_DEFINE3(setresgid16, old_gid_t, rgid, old_gid_t, egid, old_gid_t, sgid) in SYSCALL_DEFINE3() argument
84 low2highgid(sgid)); in SYSCALL_DEFINE3()
91 old_gid_t rgid, egid, sgid; in SYSCALL_DEFINE3() local
95 sgid = high2lowgid(from_kgid_munged(cred->user_ns, cred->sgid)); in SYSCALL_DEFINE3()
99 retval = put_user(sgid, sgidp); in SYSCALL_DEFINE3()
A Dsys.c390 gid_eq(old->sgid, kegid) || in __sys_setregid()
399 new->sgid = new->egid; in __sys_setregid()
751 ksgid = make_kgid(ns, sgid); in __sys_setresgid()
757 if ((sgid != (gid_t) -1) && !gid_valid(ksgid)) in __sys_setresgid()
782 if (sgid != (gid_t) -1) in __sys_setresgid()
783 new->sgid = ksgid; in __sys_setresgid()
799 return __sys_setresgid(rgid, egid, sgid); in SYSCALL_DEFINE3()
806 gid_t rgid, egid, sgid; in SYSCALL_DEFINE3() local
810 sgid = from_kgid_munged(cred->user_ns, cred->sgid); in SYSCALL_DEFINE3()
816 retval = put_user(sgid, sgidp); in SYSCALL_DEFINE3()
[all …]
A Dcred.c50 .sgid = GLOBAL_ROOT_GID,
326 new->sgid = new->fsgid = new->egid; in prepare_exec_creds()
515 !gid_eq(new->sgid, old->sgid) || in commit_creds()
862 from_kgid_munged(&init_user_ns, cred->sgid), in dump_invalid_creds()
A Duid16.h10 long __sys_setresgid(gid_t rgid, gid_t egid, gid_t sgid);
/linux/drivers/infiniband/hw/qib/
A Dqib_ruc.c104 if (!gid_ok(&hdr->u.l.grh.sgid, in qib_ruc_check_hdr()
143 if (!gid_ok(&hdr->u.l.grh.sgid, in qib_ruc_check_hdr()
195 hdr->sgid.global.subnet_prefix = ibp->rvp.gid_prefix; in qib_make_grh()
197 hdr->sgid.global.interface_id = ppd_from_ibp(ibp)->guid; in qib_make_grh()
199 hdr->sgid.global.interface_id = ibp->guids[grh->sgid_index - 1]; in qib_make_grh()
/linux/drivers/infiniband/hw/ocrdma/
A Docrdma_ah.c74 struct rdma_ah_attr *attr, const union ib_gid *sgid, in set_av_attr() argument
135 rdma_gid2ip((struct sockaddr *)&sgid_addr, sgid); in set_av_attr()
141 memcpy(&grh.sgid[0], sgid->raw, sizeof(union ib_gid)); in set_av_attr()
/linux/security/safesetid/
A Dlsm.c164 gid_eq(new_id.gid, old->sgid)) in id_permitted_for_cred()
184 __kgid_val(old->sgid), __kgid_val(new_id.gid)); in id_permitted_for_cred()
231 id_permitted_for_cred(old, (kid_t){.gid = new->sgid}, GID) && in safesetid_task_fix_setgid()
/linux/sound/soc/qcom/qdsp6/
A Dtopology.c19 u32 sgid; /* Sub Graph ID */ member
712 scontrol->sgid = le32_to_cpu(w_elem->value); in audioreach_widget_load_mixer()
929 connected = q6apm_is_sub_graphs_connected(data, scontrol->sgid, dapm_scontrol->sgid); in audioreach_get_audio_mixer()
950 q6apm_connect_sub_graphs(data, scontrol->sgid, dapm_scontrol->sgid, true); in audioreach_put_audio_mixer()
953 q6apm_connect_sub_graphs(data, scontrol->sgid, dapm_scontrol->sgid, false); in audioreach_put_audio_mixer()
999 scontrol->sgid = le32_to_cpu(c_elem->value); in audioreach_control_load_mix()
A Dq6apm.c180 static struct audioreach_module *q6apm_graph_get_last_module(struct q6apm *apm, u32 sgid) in q6apm_graph_get_last_module() argument
187 sg = idr_find(&apm->sub_graphs_idr, sgid); in q6apm_graph_get_last_module()
198 static struct audioreach_module *q6apm_graph_get_first_module(struct q6apm *apm, u32 sgid) in q6apm_graph_get_first_module() argument
205 sg = idr_find(&apm->sub_graphs_idr, sgid); in q6apm_graph_get_first_module()
/linux/arch/powerpc/platforms/powernv/
A Dopal-sensor-groups.c183 u32 sgid, len, nr_attrs, chipid; in opal_sensor_groups_init() local
207 if (of_property_read_u32(node, "sensor-group-id", &sgid)) { in opal_sensor_groups_init()
218 if (add_attr_group(ops, len, &sgs[i], sgid)) { in opal_sensor_groups_init()
/linux/include/rdma/
A Dib_sa.h165 union ib_gid sgid; member
229 ib->sgid.global.interface_id in path_conv_opa_to_ib()
249 if ((ib_is_opa_gid(&ib->sgid)) || in path_conv_ib_to_opa()
251 slid = htonl(opa_get_lid_from_gid(&ib->sgid)); in path_conv_ib_to_opa()
A Drdma_cm.h376 void rdma_read_gids(struct rdma_cm_id *cm_id, union ib_gid *sgid,
/linux/arch/s390/kernel/
A Dcompat_linux.h100 long compat_sys_s390_setresgid16(u16 rgid, u16 egid, u16 sgid);
101 long compat_sys_s390_getresgid16(u16 __user *rgid, u16 __user *egid, u16 __user *sgid);
/linux/drivers/infiniband/hw/hfi1/
A Druc.c57 &packet->grh->sgid, in hfi1_ruc_check_hdr()
94 &packet->grh->sgid, in hfi1_ruc_check_hdr()
138 hdr->sgid.global.subnet_prefix = ibp->rvp.gid_prefix; in hfi1_make_grh()
139 hdr->sgid.global.interface_id = in hfi1_make_grh()
A Dud.c617 grh->sgid = old_grh->dgid; in return_cnp_16B()
618 grh->dgid = old_grh->sgid; in return_cnp_16B()
675 grh->sgid = old_grh->dgid; in return_cnp()
676 grh->dgid = old_grh->sgid; in return_cnp()
/linux/include/uapi/rdma/
A Dib_user_sa.h57 __u8 sgid[16]; member
/linux/include/linux/
A Dcred.h122 kgid_t sgid; /* saved GID of the task */ member
386 #define current_sgid() (current_cred_xxx(sgid))
/linux/drivers/infiniband/hw/qedr/
A Dverbs.c85 int index, union ib_gid *sgid) in qedr_iw_query_gid() argument
89 memset(sgid->raw, 0, sizeof(sgid->raw)); in qedr_iw_query_gid()
90 ether_addr_copy(sgid->raw, dev->ndev->dev_addr); in qedr_iw_query_gid()
93 sgid->global.interface_id, sgid->global.subnet_prefix); in qedr_iw_query_gid()
1146 sizeof(qp_params->sgid)); in get_gid_info_from_table()
1156 sizeof(qp_params->sgid)); in get_gid_info_from_table()
1163 memset(&qp_params->sgid, 0, sizeof(qp_params->sgid)); in get_gid_info_from_table()
1166 qp_params->sgid.ipv4_addr = ipv4_addr; in get_gid_info_from_table()
1179 qp_params->sgid.dwords[i] = ntohl(qp_params->sgid.dwords[i]); in get_gid_info_from_table()
2576 qp_params.sgid.dwords[0], qp_params.sgid.dwords[1], in qedr_modify_qp()
[all …]
/linux/drivers/infiniband/ulp/srp/
A Dib_srp.h207 union ib_gid sgid; member
/linux/drivers/net/ethernet/qlogic/qed/
A Dqed_rdma.h122 union qed_gid sgid; member

Completed in 75 milliseconds

123