Home
last modified time | relevance | path

Searched refs:srp (Results 1 – 25 of 35) sorted by relevance

12

/Linux-v5.4/drivers/scsi/
Dsg.c176 static int sg_start_req(Sg_request *srp, unsigned char *cmd);
177 static int sg_finish_rem_req(Sg_request * srp);
180 Sg_request * srp);
184 static int sg_common_write(Sg_fd * sfp, Sg_request * srp,
186 static int sg_read_oxfer(Sg_request * srp, char __user *outp, int num_read_xfer);
189 static void sg_link_reserve(Sg_fd * sfp, Sg_request * srp, int size);
190 static void sg_unlink_reserve(Sg_fd * sfp, Sg_request * srp);
195 static int sg_remove_request(Sg_fd * sfp, Sg_request * srp);
413 Sg_request *srp; in sg_read() local
462 srp = sg_get_rq_mark(sfp, req_pack_id); in sg_read()
[all …]
/Linux-v5.4/security/smack/
Dsmackfs.c211 static int smk_set_access(struct smack_parsed_rule *srp, in smk_set_access() argument
226 if (sp->smk_object == srp->smk_object && in smk_set_access()
227 sp->smk_subject == srp->smk_subject) { in smk_set_access()
229 sp->smk_access |= srp->smk_access1; in smk_set_access()
230 sp->smk_access &= ~srp->smk_access2; in smk_set_access()
242 sp->smk_subject = srp->smk_subject; in smk_set_access()
243 sp->smk_object = srp->smk_object; in smk_set_access()
244 sp->smk_access = srp->smk_access1 & ~srp->smk_access2; in smk_set_access()
564 static void smk_rule_show(struct seq_file *s, struct smack_rule *srp, int max) in smk_rule_show() argument
572 if (strlen(srp->smk_subject->smk_known) >= max || in smk_rule_show()
[all …]
Dsmack_access.c85 struct smack_rule *srp; in smk_access_entry() local
87 list_for_each_entry_rcu(srp, rule_list, list) { in smk_access_entry()
88 if (srp->smk_object->smk_known == object_label && in smk_access_entry()
89 srp->smk_subject->smk_known == subject_label) { in smk_access_entry()
90 may = srp->smk_access; in smk_access_entry()
Dsmack_lsm.c1664 struct smack_rule *srp; in smack_mmap_file() local
1699 list_for_each_entry_rcu(srp, &skp->smk_rules, list) { in smack_mmap_file()
1700 okp = srp->smk_object; in smack_mmap_file()
1710 may = smk_access_entry(srp->smk_subject->smk_known, in smack_mmap_file()
1714 may = srp->smk_access; in smack_mmap_file()
1716 may &= srp->smk_access; in smack_mmap_file()
/Linux-v5.4/drivers/scsi/ibmvscsi/
Dibmvscsi.c794 unmap_cmd_data(&evt->iu.srp.cmd, evt, in purge_requests()
799 evt->iu.srp.login_req.opcode != SRP_LOGIN_REQ) in purge_requests()
833 evt_struct->iu.srp.cmd.opcode); in ibmvscsi_timeout()
881 evt_struct->iu.srp.login_req.opcode != SRP_LOGIN_REQ) in ibmvscsi_send_srp_event()
888 evt_struct->iu.srp.cmd.opcode != SRP_TSK_MGMT) { in ibmvscsi_send_srp_event()
910 evt_struct->xfer_iu->srp.rsp.tag = (u64)evt_struct; in ibmvscsi_send_srp_event()
949 unmap_cmd_data(&evt_struct->iu.srp.cmd, evt_struct, hostdata->dev); in ibmvscsi_send_srp_event()
957 unmap_cmd_data(&evt_struct->iu.srp.cmd, evt_struct, hostdata->dev); in ibmvscsi_send_srp_event()
978 struct srp_rsp *rsp = &evt_struct->xfer_iu->srp.rsp; in handle_cmd_rsp()
993 unmap_cmd_data(&evt_struct->iu.srp.cmd, in handle_cmd_rsp()
[all …]
/Linux-v5.4/drivers/scsi/ibmvscsi_tgt/
Dibmvscsi_tgt.c2107 struct srp_login_rsp *rsp = &vio_iu(iue)->srp.login_rsp; in ibmvscsis_login_rsp()
2167 struct srp_login_rej *rej = &vio_iu(iue)->srp.login_rej; in ibmvscsis_srp_login_rej()
2282 struct srp_login_req *req = &vio_iu(iue)->srp.login_req; in ibmvscsis_srp_login()
2356 struct srp_i_logout *log_out = &vio_iu(iue)->srp.i_logout; in ibmvscsis_srp_i_logout()
2381 struct srp_cmd *srp; in ibmvscsis_srp_cmd() local
2401 srp = &vio_iu(iue)->srp.cmd; in ibmvscsis_srp_cmd()
2410 switch (srp->opcode) { in ibmvscsis_srp_cmd()
2416 tsk = &vio_iu(iue)->srp.tsk_mgmt; in ibmvscsis_srp_cmd()
2428 srp->tag, srp->tag); in ibmvscsis_srp_cmd()
2429 cmd->rsp.tag = srp->tag; in ibmvscsis_srp_cmd()
[all …]
/Linux-v5.4/drivers/infiniband/ulp/
DMakefile3 obj-$(CONFIG_INFINIBAND_SRP) += srp/
/Linux-v5.4/Documentation/devicetree/bindings/usb/
Dgeneric.txt28 to be a srp-capable only B device.
29 - srp-disable: tells OTG controllers we want to disable OTG SRP, SRP is
/Linux-v5.4/include/scsi/
Dviosrp.h196 union srp_iu srp; member
/Linux-v5.4/Documentation/ABI/stable/
Dsysfs-driver-ib_srp1 What: /sys/class/infiniband_srp/srp-<hca>-<port_number>/add_target
71 What: /sys/class/infiniband_srp/srp-<hca>-<port_number>/ibdev
77 What: /sys/class/infiniband_srp/srp-<hca>-<port_number>/port
Dsysfs-class-udc67 What: /sys/class/udc/<udc>/srp
/Linux-v5.4/arch/arm/boot/dts/
Dimx7ulp-evk.dts72 srp-disable;
Dimx7d-mba7.dts114 srp-disable;
Dimx6q-var-dt6customboard.dts225 srp-disable;
Dqcom-apq8074-dragonboard.dts55 srp-disable;
Dqcom-msm8974-fairphone-fp2.dts332 srp-disable;
Dqcom-msm8974-sony-xperia-amami.dts377 srp-disable;
Dimx6ul-kontron-n6310-s.dts197 srp-disable;
Dimx6sll-evk.dts304 srp-disable;
Dimx6ull-colibri.dtsi186 srp-disable;
/Linux-v5.4/arch/arm64/boot/dts/qcom/
Dmsm8916-longcheer-l8150.dts59 srp-disable;
Dmsm8916-samsung-a2015-common.dtsi54 srp-disable;
/Linux-v5.4/drivers/infiniband/
DKconfig106 source "drivers/infiniband/ulp/srp/Kconfig"
/Linux-v5.4/drivers/usb/musb/
Dmusb_core.c1817 unsigned short srp; in srp_store() local
1819 if (sscanf(buf, "%hu", &srp) != 1 in srp_store()
1820 || (srp != 1)) { in srp_store()
1825 if (srp == 1) in srp_store()
1830 static DEVICE_ATTR_WO(srp);
/Linux-v5.4/arch/arm64/boot/dts/freescale/
Dimx8mm-evk.dts119 srp-disable;

12