/linux-6.1.9/drivers/infiniband/core/ |
D | uverbs_marshall.c | 140 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()
|
D | addr.c | 728 } sgid, dgid; in roce_resolve_route_from_path() local 737 rdma_gid2ip((struct sockaddr *)&sgid, &rec->sgid); in roce_resolve_route_from_path() 740 if (sgid._sockaddr.sa_family != dgid._sockaddr.sa_family) in roce_resolve_route_from_path() 749 ret = addr_resolve((struct sockaddr *)&sgid, (struct sockaddr *)&dgid, in roce_resolve_route_from_path() 813 int rdma_addr_find_l2_eth_by_grh(const union ib_gid *sgid, in rdma_addr_find_l2_eth_by_grh() argument 826 rdma_gid2ip((struct sockaddr *)&sgid_addr, sgid); in rdma_addr_find_l2_eth_by_grh()
|
D | verbs.c | 699 u16 vlan_id, const union ib_gid *sgid, in get_sgid_attr_from_eth() argument 705 return rdma_find_gid_by_filter(device, sgid, port_num, find_gid_index, in get_sgid_attr_from_eth() 711 union ib_gid *sgid, union ib_gid *dgid) in ib_get_gids_from_rdma_hdr() argument 717 if (!sgid || !dgid) in ib_get_gids_from_rdma_hdr() 728 (struct in6_addr *)sgid); in ib_get_gids_from_rdma_hdr() 735 *sgid = hdr->ibgrh.sgid; in ib_get_gids_from_rdma_hdr() 796 union ib_gid sgid; in ib_init_ah_attr_from_wc() local 810 &sgid, &dgid); in ib_init_ah_attr_from_wc() 832 &sgid, in ib_init_ah_attr_from_wc() 861 &sgid, in ib_init_ah_attr_from_wc()
|
D | cma.c | 886 union ib_gid gid, sgid, *dgid; in cma_resolve_ib_dev() local 919 sgid = gid; in cma_resolve_ib_dev() 928 sgid = gid; in cma_resolve_ib_dev() 943 memcpy(&addr->sib_addr, &sgid, sizeof(sgid)); in cma_resolve_ib_dev() 1381 memcpy(&ib->sib_addr, &path->sgid, 16); in cma_save_ib_info() 1513 memcpy(&req->local_gid, &req_param->primary_path->sgid, in cma_save_req_info() 2262 rdma_addr_set_sgid(&rt->addr.dev_addr, &rt->path_rec[0].sgid); in cma_ib_new_conn_id() 2441 void rdma_read_gids(struct rdma_cm_id *cm_id, union ib_gid *sgid, in rdma_read_gids() argument 2447 if (sgid) in rdma_read_gids() 2448 memset(sgid, 0, sizeof(*sgid)); in rdma_read_gids() [all …]
|
D | cm.c | 494 &path->sgid, in get_cm_port_from_path() 1347 pri_path->sgid; in cm_format_req() 1401 alt_path->sgid; in cm_format_req() 1678 primary_path->sgid = in cm_format_paths_from_req() 1705 alt_path->sgid = *IBA_GET_MEM_PTR( in cm_format_paths_from_req() 1769 (ib_is_opa_gid(&path->sgid))) { in cm_opa_to_ib_sgid() 1770 union ib_gid sgid; in cm_opa_to_ib_sgid() local 1772 if (rdma_query_gid(dev, port_num, 0, &sgid)) { in cm_opa_to_ib_sgid() 1778 path->sgid = sgid; in cm_opa_to_ib_sgid() 2159 &work->path[0].sgid); in cm_req_handler() [all …]
|
/linux-6.1.9/kernel/ |
D | uid16.c | 81 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()
|
D | sys.c | 398 gid_eq(old->sgid, kegid) || in __sys_setregid() 407 new->sgid = new->egid; in __sys_setregid() 450 new->gid = new->egid = new->sgid = new->fsgid = kgid; in __sys_setgid() 451 else if (gid_eq(kgid, old->gid) || gid_eq(kgid, old->sgid)) in __sys_setgid() 757 long __sys_setresgid(gid_t rgid, gid_t egid, gid_t sgid) in __sys_setresgid() argument 767 ksgid = make_kgid(ns, sgid); in __sys_setresgid() 773 if ((sgid != (gid_t) -1) && !gid_valid(ksgid)) in __sys_setresgid() 784 !gid_eq(krgid, old->egid) && !gid_eq(krgid, old->sgid)) in __sys_setresgid() 787 !gid_eq(kegid, old->egid) && !gid_eq(kegid, old->sgid)) in __sys_setresgid() 789 if (sgid != (gid_t) -1 && !gid_eq(ksgid, old->gid) && in __sys_setresgid() [all …]
|
D | uid16.h | 10 long __sys_setresgid(gid_t rgid, gid_t egid, gid_t sgid);
|
D | cred.c | 50 .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() 857 from_kgid_munged(&init_user_ns, cred->sgid), in dump_invalid_creds()
|
/linux-6.1.9/drivers/infiniband/hw/qib/ |
D | qib_ruc.c | 104 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()
|
D | qib_mad.h | 177 u8 sgid[16]; member
|
/linux-6.1.9/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_ah.c | 74 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-6.1.9/arch/powerpc/platforms/powernv/ |
D | opal-sensor-groups.c | 183 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-6.1.9/security/safesetid/ |
D | lsm.c | 158 gid_eq(new_id.gid, old->sgid)) in id_permitted_for_cred() 178 __kgid_val(old->sgid), __kgid_val(new_id.gid)); in id_permitted_for_cred() 225 id_permitted_for_cred(old, (kid_t){.gid = new->sgid}, GID) && in safesetid_task_fix_setgid()
|
/linux-6.1.9/sound/soc/qcom/qdsp6/ |
D | topology.c | 19 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()
|
D | q6apm.c | 181 static struct audioreach_module *q6apm_graph_get_last_module(struct q6apm *apm, u32 sgid) in q6apm_graph_get_last_module() argument 188 sg = idr_find(&apm->sub_graphs_idr, sgid); in q6apm_graph_get_last_module() 199 static struct audioreach_module *q6apm_graph_get_first_module(struct q6apm *apm, u32 sgid) in q6apm_graph_get_first_module() argument 206 sg = idr_find(&apm->sub_graphs_idr, sgid); in q6apm_graph_get_first_module()
|
/linux-6.1.9/include/rdma/ |
D | ib_sa.h | 165 union ib_gid sgid; member 230 ib->sgid.global.interface_id in path_conv_opa_to_ib() 250 if ((ib_is_opa_gid(&ib->sgid)) || in path_conv_ib_to_opa() 252 slid = htonl(opa_get_lid_from_gid(&ib->sgid)); in path_conv_ib_to_opa()
|
D | rdma_cm.h | 388 void rdma_read_gids(struct rdma_cm_id *cm_id, union ib_gid *sgid,
|
/linux-6.1.9/include/uapi/rdma/ |
D | ib_user_sa.h | 57 __u8 sgid[16]; member
|
/linux-6.1.9/drivers/infiniband/hw/hfi1/ |
D | ruc.c | 57 &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()
|
/linux-6.1.9/include/linux/ |
D | cred.h | 122 kgid_t sgid; /* saved GID of the task */ member 386 #define current_sgid() (current_cred_xxx(sgid))
|
/linux-6.1.9/drivers/infiniband/hw/qedr/ |
D | verbs.c | 85 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 memcpy(&qp_params->sgid.bytes[0], &gid_attr->gid.raw[0], in get_gid_info_from_table() 1147 sizeof(qp_params->sgid)); in get_gid_info_from_table() 1156 memcpy(&qp_params->sgid.bytes[0], &gid_attr->gid.raw[0], in get_gid_info_from_table() 1157 sizeof(qp_params->sgid)); in get_gid_info_from_table() 1164 memset(&qp_params->sgid, 0, sizeof(qp_params->sgid)); in get_gid_info_from_table() 1167 qp_params->sgid.ipv4_addr = ipv4_addr; in get_gid_info_from_table() [all …]
|
/linux-6.1.9/drivers/infiniband/ulp/srp/ |
D | ib_srp.h | 217 union ib_gid sgid; member
|
/linux-6.1.9/drivers/net/ethernet/qlogic/qed/ |
D | qed_rdma.h | 122 union qed_gid sgid; member
|
/linux-6.1.9/include/linux/qed/ |
D | qed_rdma_if.h | 369 union qed_gid sgid; member 401 union qed_gid sgid; member
|