Searched refs:targ (Results 1 - 19 of 19) sorted by relevance

/linux-master/fs/quota/
H A Dkqid.c58 * @targ: The user namespace we want a qid in.
61 * Map @kqid into the user-namespace specified by @targ and
66 * If @kqid has no mapping in @targ (qid_t)-1 is returned.
68 qid_t from_kqid(struct user_namespace *targ, struct kqid kqid) argument
72 return from_kuid(targ, kqid.uid);
74 return from_kgid(targ, kqid.gid);
76 return from_kprojid(targ, kqid.projid);
85 * @targ: The user namespace we want a qid in.
88 * Map @kqid into the user-namespace specified by @targ and
98 * If @kqid has no mapping in @targ th
101 from_kqid_munged(struct user_namespace *targ, struct kqid kqid) argument
[all...]
/linux-master/fs/sysfs/
H A Dsymlink.c115 * @targ: object we're pointing to.
121 void sysfs_delete_link(struct kobject *kobj, struct kobject *targ, argument
132 if (targ->sd && kernfs_ns_enabled(kobj->sd))
133 ns = targ->sd->ns;
159 * @targ: object we're pointing to.
166 int sysfs_rename_link_ns(struct kobject *kobj, struct kobject *targ, argument
178 if (targ->sd)
179 old_ns = targ->sd->ns;
189 if (kn->symlink.target_kn->priv != targ)
H A Dfile.c614 * @targ: object of the kernfs_node the symlink points to.
621 * @targ.
625 int sysfs_link_change_owner(struct kobject *kobj, struct kobject *targ, argument
631 if (!name || !kobj->state_in_sysfs || !targ->state_in_sysfs)
635 kn = kernfs_find_and_get_ns(kobj->sd, name, targ->sd->ns);
642 if (kn->symlink.target_kn->priv != targ)
/linux-master/tools/testing/selftests/net/tcp_ao/lib/
H A Dsetup.c256 struct new_pthread_arg targ; local
259 targ.my_ip = addr2;
260 targ.dest_ip = addr1;
261 targ.func = peer2;
263 if (pthread_create(&t, NULL, new_pthread_entry, &targ))
/linux-master/tools/testing/selftests/cgroup/
H A Dtest_core.c755 struct lesser_ns_open_thread_arg *targ = arg; local
757 targ->fd = open(targ->path, O_RDWR);
758 targ->err = errno;
774 struct lesser_ns_open_thread_arg targ = { .fd = -1 }; local
800 targ.path = cg_test_b_procs;
803 &targ);
813 cg_test_b_procs_fd = targ.fd;
/linux-master/drivers/scsi/elx/libefc/
H A Defc_node.h104 if (node->targ)
125 bool init, bool targ);
H A Defc_node.c45 u32 port_id, bool init, bool targ)
77 node->targ = targ;
314 node->nport->enable_ini, node->targ);
315 if (!pend_frames_empty || (node->nport->enable_ini && node->targ)) {
318 if (node->nport->enable_ini && node->targ) {
44 efc_node_alloc(struct efc_nport *nport, u32 port_id, bool init, bool targ) argument
H A Defc_device.c216 if (node->init && !node->targ) {
232 } else if (node->targ && !node->init) {
248 } else if (node->init && node->targ) {
293 if (!node->init && !node->targ) {
367 node->targ = (pp->sp.spp_flags & FCP_SPPF_TARG_FCN) != 0;
1306 if (node->targ) {
1444 labels[(node->targ << 1) | (node->init)],
H A Defclib.h309 * @targ: node is target capable
350 bool targ; member in struct:efc_node
H A Defc_fabric.c736 if ((node->nport->enable_ini && active_nodes[i]->targ) ||
775 if (node->nport->enable_ini && newnode->targ) {
/linux-master/kernel/
H A Duser_namespace.c420 * @targ: The user namespace we want a uid in.
423 * Map @kuid into the user-namespace specified by @targ and
428 * If @kuid has no mapping in @targ (uid_t)-1 is returned.
430 uid_t from_kuid(struct user_namespace *targ, kuid_t kuid) argument
433 return map_id_up(&targ->uid_map, __kuid_val(kuid));
439 * @targ: The user namespace we want a uid in.
442 * Map @kuid into the user-namespace specified by @targ and
453 * If @kuid has no mapping in @targ overflowuid is returned.
455 uid_t from_kuid_munged(struct user_namespace *targ, kuid_t kuid) argument
458 uid = from_kuid(targ, kui
498 from_kgid(struct user_namespace *targ, kgid_t kgid) argument
522 from_kgid_munged(struct user_namespace *targ, kgid_t kgid) argument
565 from_kprojid(struct user_namespace *targ, kprojid_t kprojid) argument
590 from_kprojid_munged(struct user_namespace *targ, kprojid_t kprojid) argument
[all...]
/linux-master/include/scsi/
H A Dscsi_transport_sas.h110 #define target_to_rphy(targ) \
111 dev_to_rphy((targ)->dev.parent)
/linux-master/drivers/scsi/aic7xxx/
H A Daic7xxx_osm.c913 ahc_linux_setup_tag_info(u_long arg, int instance, int targ, int32_t value) argument
916 if ((instance >= 0) && (targ >= 0)
918 && (targ < AHC_NUM_TARGETS)) {
919 aic7xxx_tag_info[instance].tag_commands[targ] = value & 0xff;
921 printk("tag_info[%d:%d] = %d\n", instance, targ, value);
934 int targ; local
943 targ = -1;
959 if (targ == -1)
960 targ = 0;
970 if (targ !
[all...]
H A Daic79xx_osm.c999 ahd_linux_setup_iocell_info(u_long index, int instance, int targ, int32_t value) argument
1029 ahd_linux_setup_tag_info(u_long arg, int instance, int targ, int32_t value) argument
1032 if ((instance >= 0) && (targ >= 0)
1034 && (targ < AHD_NUM_TARGETS)) {
1035 aic79xx_tag_info[instance].tag_commands[targ] = value & 0x1FF;
1037 printk("tag_info[%d:%d] = %d\n", instance, targ, value);
1050 int targ; local
1059 targ = -1;
1075 if (targ == -1)
1076 targ
[all...]
H A Daic79xx_core.c7542 int targ; local
7557 for (targ = 0; targ < AHD_NUM_TARGETS; targ++) {
7564 targ, &tstate);
7571 target_mask = 0x01 << targ;
7601 targ, CAM_LUN_WILDCARD,
7619 int targ; local
7636 for (targ = 0; targ < max_tar
7949 int targ = SCB_GET_TARGET(ahd, scb); local
[all...]
H A Daic7xxx_core.c5694 int targ = SCB_GET_TARGET(ahc, scb); local
5701 match = ((targ == target) || (target == CAM_TARGET_WILDCARD));
/linux-master/drivers/acpi/numa/
H A Dhmat.c422 unsigned int init, targ, total_size, ipds, tpds; local
454 for (targ = 0; targ < tpds; targ++) {
455 value = hmat_normalize(entries[init * tpds + targ],
459 inits[init], targs[targ], value,
462 hmat_update_target(targs[targ], inits[init],
/linux-master/include/linux/
H A Dsysfs.h424 void sysfs_delete_link(struct kobject *dir, struct kobject *targ,
468 int sysfs_link_change_owner(struct kobject *kobj, struct kobject *targ,
701 struct kobject *targ,
700 sysfs_link_change_owner(struct kobject *kobj, struct kobject *targ, const char *name, kuid_t kuid, kgid_t kgid) argument
/linux-master/drivers/message/fusion/
H A Dmptbase.c6661 int scsi, fc, sas, lan, ctl, targ; local
6667 scsi = fc = sas = lan = ctl = targ = 0;
6685 if (!targ++) drvname = "SCSI target";

Completed in 277 milliseconds