Home
last modified time | relevance | path

Searched refs:targ (Results 1 – 14 of 14) sorted by relevance

/linux-4.4.14/fs/quota/
Dkqid.c67 qid_t from_kqid(struct user_namespace *targ, struct kqid kqid) in from_kqid() argument
71 return from_kuid(targ, kqid.uid); in from_kqid()
73 return from_kgid(targ, kqid.gid); in from_kqid()
75 return from_kprojid(targ, kqid.projid); in from_kqid()
100 qid_t from_kqid_munged(struct user_namespace *targ, struct kqid kqid) in from_kqid_munged() argument
104 return from_kuid_munged(targ, kqid.uid); in from_kqid_munged()
106 return from_kgid_munged(targ, kqid.gid); in from_kqid_munged()
108 return from_kprojid_munged(targ, kqid.projid); in from_kqid_munged()
/linux-4.4.14/fs/sysfs/
Dsymlink.c120 void sysfs_delete_link(struct kobject *kobj, struct kobject *targ, in sysfs_delete_link() argument
131 if (targ->sd && kernfs_ns_enabled(kobj->sd)) in sysfs_delete_link()
132 ns = targ->sd->ns; in sysfs_delete_link()
165 int sysfs_rename_link_ns(struct kobject *kobj, struct kobject *targ, in sysfs_rename_link_ns() argument
177 if (targ->sd) in sysfs_rename_link_ns()
178 old_ns = targ->sd->ns; in sysfs_rename_link_ns()
188 if (kn->symlink.target_kn->priv != targ) in sysfs_rename_link_ns()
/linux-4.4.14/kernel/
Duser_namespace.c258 uid_t from_kuid(struct user_namespace *targ, kuid_t kuid) in from_kuid() argument
261 return map_id_up(&targ->uid_map, __kuid_val(kuid)); in from_kuid()
283 uid_t from_kuid_munged(struct user_namespace *targ, kuid_t kuid) in from_kuid_munged() argument
286 uid = from_kuid(targ, kuid); in from_kuid_munged()
326 gid_t from_kgid(struct user_namespace *targ, kgid_t kgid) in from_kgid() argument
329 return map_id_up(&targ->gid_map, __kgid_val(kgid)); in from_kgid()
350 gid_t from_kgid_munged(struct user_namespace *targ, kgid_t kgid) in from_kgid_munged() argument
353 gid = from_kgid(targ, kgid); in from_kgid_munged()
393 projid_t from_kprojid(struct user_namespace *targ, kprojid_t kprojid) in from_kprojid() argument
396 return map_id_up(&targ->projid_map, __kprojid_val(kprojid)); in from_kprojid()
[all …]
/linux-4.4.14/drivers/scsi/aic7xxx/
Daic7xxx_osm.c924 ahc_linux_setup_tag_info(u_long arg, int instance, int targ, int32_t value) in ahc_linux_setup_tag_info() argument
927 if ((instance >= 0) && (targ >= 0) in ahc_linux_setup_tag_info()
929 && (targ < AHC_NUM_TARGETS)) { in ahc_linux_setup_tag_info()
930 aic7xxx_tag_info[instance].tag_commands[targ] = value & 0xff; in ahc_linux_setup_tag_info()
932 printk("tag_info[%d:%d] = %d\n", instance, targ, value); in ahc_linux_setup_tag_info()
945 int targ; in ahc_parse_brace_option() local
954 targ = -1; in ahc_parse_brace_option()
970 if (targ == -1) in ahc_parse_brace_option()
971 targ = 0; in ahc_parse_brace_option()
981 if (targ != -1) in ahc_parse_brace_option()
[all …]
Daic79xx_osm.c1015 ahd_linux_setup_iocell_info(u_long index, int instance, int targ, int32_t value) in ahd_linux_setup_iocell_info() argument
1045 ahd_linux_setup_tag_info(u_long arg, int instance, int targ, int32_t value) in ahd_linux_setup_tag_info() argument
1048 if ((instance >= 0) && (targ >= 0) in ahd_linux_setup_tag_info()
1050 && (targ < AHD_NUM_TARGETS)) { in ahd_linux_setup_tag_info()
1051 aic79xx_tag_info[instance].tag_commands[targ] = value & 0x1FF; in ahd_linux_setup_tag_info()
1053 printk("tag_info[%d:%d] = %d\n", instance, targ, value); in ahd_linux_setup_tag_info()
1066 int targ; in ahd_parse_brace_option() local
1075 targ = -1; in ahd_parse_brace_option()
1091 if (targ == -1) in ahd_parse_brace_option()
1092 targ = 0; in ahd_parse_brace_option()
[all …]
Daic79xx_core.c7635 int targ; in ahd_default_config() local
7650 for (targ = 0; targ < AHD_NUM_TARGETS; targ++) { in ahd_default_config()
7657 targ, &tstate); in ahd_default_config()
7664 target_mask = 0x01 << targ; in ahd_default_config()
7694 targ, CAM_LUN_WILDCARD, in ahd_default_config()
7712 int targ; in ahd_parse_cfgdata() local
7729 for (targ = 0; targ < max_targ; targ++) { in ahd_parse_cfgdata()
7737 targ, &tstate); in ahd_parse_cfgdata()
7746 target_mask = 0x01 << targ; in ahd_parse_cfgdata()
7750 if (sc->device_flags[targ] & CFDISC) { in ahd_parse_cfgdata()
[all …]
Daic7xxx_core.c5758 int targ = SCB_GET_TARGET(ahc, scb); in ahc_match_scb() local
5765 match = ((targ == target) || (target == CAM_TARGET_WILDCARD)); in ahc_match_scb()
/linux-4.4.14/include/scsi/
Dscsi_transport_sas.h98 #define target_to_rphy(targ) \ argument
99 dev_to_rphy((targ)->dev.parent)
/linux-4.4.14/drivers/block/paride/
Dpg.c422 static void xs(char *buf, char *targ, int len) in xs() argument
430 l = *targ++ = c; in xs()
433 targ--; in xs()
434 *targ = '\0'; in xs()
Dpf.c580 static void xs(char *buf, char *targ, int offs, int len) in xs() argument
588 l = targ[j++] = buf[k + offs]; in xs()
591 targ[j] = 0; in xs()
Dpt.c504 static void xs(char *buf, char *targ, int offs, int len) in xs() argument
512 l = targ[j++] = buf[k + offs]; in xs()
515 targ[j] = 0; in xs()
/linux-4.4.14/include/linux/
Dsysfs.h256 void sysfs_delete_link(struct kobject *dir, struct kobject *targ,
/linux-4.4.14/arch/mips/include/asm/pci/
Dbridge.h807 u64 targ:4; member
/linux-4.4.14/drivers/message/fusion/
Dmptbase.c6640 int scsi, fc, sas, lan, ctl, targ, dmp; in mpt_version_proc_show() local
6646 scsi = fc = sas = lan = ctl = targ = dmp = 0; in mpt_version_proc_show()
6664 if (!targ++) drvname = "SCSI target"; in mpt_version_proc_show()