/linux-6.12.1/fs/quota/ |
D | kqid.c | 68 qid_t from_kqid(struct user_namespace *targ, struct kqid kqid) in from_kqid() argument 72 return from_kuid(targ, kqid.uid); in from_kqid() 74 return from_kgid(targ, kqid.gid); in from_kqid() 76 return from_kprojid(targ, kqid.projid); in from_kqid() 101 qid_t from_kqid_munged(struct user_namespace *targ, struct kqid kqid) in from_kqid_munged() argument 105 return from_kuid_munged(targ, kqid.uid); in from_kqid_munged() 107 return from_kgid_munged(targ, kqid.gid); in from_kqid_munged() 109 return from_kprojid_munged(targ, kqid.projid); in from_kqid_munged()
|
/linux-6.12.1/fs/sysfs/ |
D | symlink.c | 121 void sysfs_delete_link(struct kobject *kobj, struct kobject *targ, in sysfs_delete_link() argument 132 if (targ->sd && kernfs_ns_enabled(kobj->sd)) in sysfs_delete_link() 133 ns = targ->sd->ns; in sysfs_delete_link() 166 int sysfs_rename_link_ns(struct kobject *kobj, struct kobject *targ, in sysfs_rename_link_ns() argument 178 if (targ->sd) in sysfs_rename_link_ns() 179 old_ns = targ->sd->ns; in sysfs_rename_link_ns() 189 if (kn->symlink.target_kn->priv != targ) in sysfs_rename_link_ns()
|
D | file.c | 625 int sysfs_link_change_owner(struct kobject *kobj, struct kobject *targ, in sysfs_link_change_owner() argument 631 if (!name || !kobj->state_in_sysfs || !targ->state_in_sysfs) in sysfs_link_change_owner() 635 kn = kernfs_find_and_get_ns(kobj->sd, name, targ->sd->ns); in sysfs_link_change_owner() 642 if (kn->symlink.target_kn->priv != targ) in sysfs_link_change_owner()
|
/linux-6.12.1/tools/testing/selftests/net/tcp_ao/lib/ |
D | setup.c | 263 struct new_pthread_arg targ; in __test_init() local 266 targ.my_ip = addr2; in __test_init() 267 targ.dest_ip = addr1; in __test_init() 268 targ.func = peer2; in __test_init() 270 if (pthread_create(&t, NULL, new_pthread_entry, &targ)) in __test_init()
|
/linux-6.12.1/tools/testing/selftests/cgroup/ |
D | test_core.c | 757 struct lesser_ns_open_thread_arg *targ = arg; in lesser_ns_open_thread_fn() local 759 targ->fd = open(targ->path, O_RDWR); in lesser_ns_open_thread_fn() 760 targ->err = errno; in lesser_ns_open_thread_fn() 776 struct lesser_ns_open_thread_arg targ = { .fd = -1 }; in test_cgcore_lesser_ns_open() local 805 targ.path = cg_test_b_procs; in test_cgcore_lesser_ns_open() 808 &targ); in test_cgcore_lesser_ns_open() 818 cg_test_b_procs_fd = targ.fd; in test_cgcore_lesser_ns_open()
|
/linux-6.12.1/kernel/ |
D | user_namespace.c | 430 uid_t from_kuid(struct user_namespace *targ, kuid_t kuid) in from_kuid() argument 433 return map_id_up(&targ->uid_map, __kuid_val(kuid)); in from_kuid() 455 uid_t from_kuid_munged(struct user_namespace *targ, kuid_t kuid) in from_kuid_munged() argument 458 uid = from_kuid(targ, kuid); in from_kuid_munged() 498 gid_t from_kgid(struct user_namespace *targ, kgid_t kgid) in from_kgid() argument 501 return map_id_up(&targ->gid_map, __kgid_val(kgid)); in from_kgid() 522 gid_t from_kgid_munged(struct user_namespace *targ, kgid_t kgid) in from_kgid_munged() argument 525 gid = from_kgid(targ, kgid); in from_kgid_munged() 565 projid_t from_kprojid(struct user_namespace *targ, kprojid_t kprojid) in from_kprojid() argument 568 return map_id_up(&targ->projid_map, __kprojid_val(kprojid)); in from_kprojid() [all …]
|
/linux-6.12.1/drivers/acpi/numa/ |
D | hmat.c | 422 unsigned int init, targ, total_size, ipds, tpds; in hmat_parse_locality() local 454 for (targ = 0; targ < tpds; targ++) { in hmat_parse_locality() 455 value = hmat_normalize(entries[init * tpds + targ], in hmat_parse_locality() 459 inits[init], targs[targ], value, in hmat_parse_locality() 462 hmat_update_target(targs[targ], inits[init], in hmat_parse_locality()
|
/linux-6.12.1/drivers/scsi/elx/libefc/ |
D | efc_node.h | 104 if (node->targ) in efc_node_get_enable() 125 bool init, bool targ);
|
D | efc_node.c | 45 u32 port_id, bool init, bool targ) in efc_node_alloc() argument 77 node->targ = targ; in efc_node_alloc() 314 node->nport->enable_ini, node->targ); in efc_node_handle_explicit_logo() 315 if (!pend_frames_empty || (node->nport->enable_ini && node->targ)) { in efc_node_handle_explicit_logo() 318 if (node->nport->enable_ini && node->targ) { in efc_node_handle_explicit_logo()
|
D | efc_device.c | 216 if (node->init && !node->targ) { in __efc_d_initiate_shutdown() 232 } else if (node->targ && !node->init) { in __efc_d_initiate_shutdown() 248 } else if (node->init && node->targ) { in __efc_d_initiate_shutdown() 293 if (!node->init && !node->targ) { in __efc_d_initiate_shutdown() 367 node->targ = (pp->sp.spp_flags & FCP_SPPF_TARG_FCN) != 0; in efc_process_prli_payload() 1306 if (node->targ) { in __efc_d_device_ready() 1444 labels[(node->targ << 1) | (node->init)], in __efc_d_device_gone()
|
D | efclib.h | 350 bool targ; member
|
D | efc_fabric.c | 736 if ((node->nport->enable_ini && active_nodes[i]->targ) || in efc_process_gidpt_payload() 775 if (node->nport->enable_ini && newnode->targ) { in efc_process_gidpt_payload()
|
/linux-6.12.1/drivers/scsi/aic7xxx/ |
D | aic7xxx_osm.c | 913 ahc_linux_setup_tag_info(u_long arg, int instance, int targ, int32_t value) in ahc_linux_setup_tag_info() argument 916 if ((instance >= 0) && (targ >= 0) in ahc_linux_setup_tag_info() 918 && (targ < AHC_NUM_TARGETS)) { in ahc_linux_setup_tag_info() 919 aic7xxx_tag_info[instance].tag_commands[targ] = value & 0xff; in ahc_linux_setup_tag_info() 921 printk("tag_info[%d:%d] = %d\n", instance, targ, value); in ahc_linux_setup_tag_info() 934 int targ; in ahc_parse_brace_option() local 943 targ = -1; in ahc_parse_brace_option() 959 if (targ == -1) in ahc_parse_brace_option() 960 targ = 0; in ahc_parse_brace_option() 970 if (targ != -1) in ahc_parse_brace_option() [all …]
|
D | aic79xx_osm.c | 999 ahd_linux_setup_iocell_info(u_long index, int instance, int targ, int32_t value) in ahd_linux_setup_iocell_info() argument 1029 ahd_linux_setup_tag_info(u_long arg, int instance, int targ, int32_t value) in ahd_linux_setup_tag_info() argument 1032 if ((instance >= 0) && (targ >= 0) in ahd_linux_setup_tag_info() 1034 && (targ < AHD_NUM_TARGETS)) { in ahd_linux_setup_tag_info() 1035 aic79xx_tag_info[instance].tag_commands[targ] = value & 0x1FF; in ahd_linux_setup_tag_info() 1037 printk("tag_info[%d:%d] = %d\n", instance, targ, value); in ahd_linux_setup_tag_info() 1050 int targ; in ahd_parse_brace_option() local 1059 targ = -1; in ahd_parse_brace_option() 1075 if (targ == -1) in ahd_parse_brace_option() 1076 targ = 0; in ahd_parse_brace_option() [all …]
|
D | aic79xx_core.c | 7542 int targ; in ahd_default_config() local 7557 for (targ = 0; targ < AHD_NUM_TARGETS; targ++) { in ahd_default_config() 7564 targ, &tstate); in ahd_default_config() 7571 target_mask = 0x01 << targ; in ahd_default_config() 7601 targ, CAM_LUN_WILDCARD, in ahd_default_config() 7619 int targ; in ahd_parse_cfgdata() local 7636 for (targ = 0; targ < max_targ; targ++) { in ahd_parse_cfgdata() 7644 targ, &tstate); in ahd_parse_cfgdata() 7653 target_mask = 0x01 << targ; in ahd_parse_cfgdata() 7657 if (sc->device_flags[targ] & CFDISC) { in ahd_parse_cfgdata() [all …]
|
D | aic7xxx_core.c | 5694 int targ = SCB_GET_TARGET(ahc, scb); in ahc_match_scb() local 5701 match = ((targ == target) || (target == CAM_TARGET_WILDCARD)); in ahc_match_scb()
|
/linux-6.12.1/include/scsi/ |
D | scsi_transport_sas.h | 110 #define target_to_rphy(targ) \ argument 111 dev_to_rphy((targ)->dev.parent)
|
/linux-6.12.1/include/linux/ |
D | sysfs.h | 435 void sysfs_delete_link(struct kobject *dir, struct kobject *targ, 479 int sysfs_link_change_owner(struct kobject *kobj, struct kobject *targ, 716 struct kobject *targ, in sysfs_link_change_owner() argument
|
/linux-6.12.1/drivers/message/fusion/ |
D | mptbase.c | 6657 int scsi, fc, sas, lan, ctl, targ; in mpt_version_proc_show() local 6663 scsi = fc = sas = lan = ctl = targ = 0; in mpt_version_proc_show() 6681 if (!targ++) drvname = "SCSI target"; in mpt_version_proc_show()
|