Home
last modified time | relevance | path

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

/openbmc/qemu/chardev/
H A Dchar-serial.c204 int *targ = (int *)arg; in tty_serial_ioctl() local
206 *targ = 0; in tty_serial_ioctl()
208 *targ |= CHR_TIOCM_CTS; in tty_serial_ioctl()
217 *targ |= CHR_TIOCM_RI; in tty_serial_ioctl()
230 int targ = 0; in tty_serial_ioctl() local
235 targ |= TIOCM_CTS; in tty_serial_ioctl()
238 targ |= TIOCM_CAR; in tty_serial_ioctl()
241 targ |= TIOCM_DSR; in tty_serial_ioctl()
244 targ |= TIOCM_RI; in tty_serial_ioctl()
247 targ |= TIOCM_DTR; in tty_serial_ioctl()
[all …]
H A Dmsmouse.c186 int *targ = (int *)arg; in msmouse_ioctl() local
238 *targ = mouse->tiocm; in msmouse_ioctl()
/openbmc/linux/fs/quota/
H A Dkqid.c68 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()
/openbmc/linux/fs/sysfs/
H A Dsymlink.c121 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()
H A Dfile.c612 int sysfs_link_change_owner(struct kobject *kobj, struct kobject *targ, in sysfs_link_change_owner() argument
618 if (!name || !kobj->state_in_sysfs || !targ->state_in_sysfs) in sysfs_link_change_owner()
622 kn = kernfs_find_and_get_ns(kobj->sd, name, targ->sd->ns); in sysfs_link_change_owner()
629 if (kn->symlink.target_kn->priv != targ) in sysfs_link_change_owner()
/openbmc/qemu/libdecnumber/dpd/
H A Ddecimal32.c91 uInt targ=0; /* target 32-bit */ in decimal32FromNumber() local
112 if (dn->bits&DECINF) targ=DECIMAL_Inf<<24; in decimal32FromNumber()
116 decDigitsToDPD(dn, &targ, 0); in decimal32FromNumber()
118 if (dn->bits&DECNAN) targ|=DECIMAL_NaN<<24; in decimal32FromNumber()
119 else targ|=DECIMAL_sNaN<<24; in decimal32FromNumber()
153 targ=BIN2DPD[dn->lsu[0]]; in decimal32FromNumber()
158 decDigitsToDPD(dn, &targ, pad); in decimal32FromNumber()
160 msd=targ>>20; in decimal32FromNumber()
161 targ&=0x000fffff; in decimal32FromNumber()
168 targ|=comb<<26; /* add combination field .. */ in decimal32FromNumber()
[all …]
H A Ddecimal64.c618 void decDigitsToDPD(const decNumber *dn, uInt *targ, Int shift) { in decDigitsToDPD() argument
623 uInt *uout=targ; /* -> current output uInt */ in decDigitsToDPD()
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-daemons/tftp-hpa/files/
H A Dtftp-0.49-cmd_arg.patch86 char *cp, *targ;
95 - cp = strchr(targ, '\0');
97 + dirlen = strlen(targ)+1;
101 + strcpy(remote_pth, targ);
120 - argv[n], hostname, targ, mode->m_mode);
123 - tftp_sendfile(fd, targ, mode->m_mode);
/openbmc/linux/tools/testing/selftests/cgroup/
H A Dtest_core.c755 struct lesser_ns_open_thread_arg *targ = arg; in lesser_ns_open_thread_fn() local
757 targ->fd = open(targ->path, O_RDWR); in lesser_ns_open_thread_fn()
758 targ->err = errno; in lesser_ns_open_thread_fn()
774 struct lesser_ns_open_thread_arg targ = { .fd = -1 }; in test_cgcore_lesser_ns_open() local
800 targ.path = cg_test_b_procs; in test_cgcore_lesser_ns_open()
803 &targ); in test_cgcore_lesser_ns_open()
813 cg_test_b_procs_fd = targ.fd; in test_cgcore_lesser_ns_open()
/openbmc/linux/kernel/
H A Duser_namespace.c427 uid_t from_kuid(struct user_namespace *targ, kuid_t kuid) in from_kuid() argument
430 return map_id_up(&targ->uid_map, __kuid_val(kuid)); in from_kuid()
452 uid_t from_kuid_munged(struct user_namespace *targ, kuid_t kuid) in from_kuid_munged() argument
455 uid = from_kuid(targ, kuid); in from_kuid_munged()
495 gid_t from_kgid(struct user_namespace *targ, kgid_t kgid) in from_kgid() argument
498 return map_id_up(&targ->gid_map, __kgid_val(kgid)); in from_kgid()
519 gid_t from_kgid_munged(struct user_namespace *targ, kgid_t kgid) in from_kgid_munged() argument
522 gid = from_kgid(targ, kgid); in from_kgid_munged()
562 projid_t from_kprojid(struct user_namespace *targ, kprojid_t kprojid) in from_kprojid() argument
565 return map_id_up(&targ->projid_map, __kprojid_val(kprojid)); in from_kprojid()
[all …]
/openbmc/linux/drivers/acpi/numa/
H A Dhmat.c298 unsigned int init, targ, total_size, ipds, tpds; in hmat_parse_locality() local
330 for (targ = 0; targ < tpds; targ++) { in hmat_parse_locality()
331 value = hmat_normalize(entries[init * tpds + targ], in hmat_parse_locality()
335 inits[init], targs[targ], value, in hmat_parse_locality()
339 target = find_mem_target(targs[targ]); in hmat_parse_locality()
/openbmc/linux/drivers/scsi/elx/libefc/
H A Defc_node.h104 if (node->targ) in efc_node_get_enable()
125 bool init, bool targ);
H A Defc_node.c45 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()
H A Defc_device.c216 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()
H A Defclib.h350 bool targ; member
H A Defc_fabric.c736 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()
/openbmc/linux/drivers/scsi/aic7xxx/
H A Daic7xxx_osm.c908 if ((instance >= 0) && (targ >= 0) in ahc_linux_setup_tag_info()
910 && (targ < AHC_NUM_TARGETS)) { in ahc_linux_setup_tag_info()
926 int targ; in ahc_parse_brace_option() local
935 targ = -1; in ahc_parse_brace_option()
951 if (targ == -1) in ahc_parse_brace_option()
952 targ = 0; in ahc_parse_brace_option()
962 if (targ != -1) in ahc_parse_brace_option()
963 targ = -1; in ahc_parse_brace_option()
972 else if (targ >= 0) in ahc_parse_brace_option()
973 targ++; in ahc_parse_brace_option()
[all …]
H A Daic79xx_osm.c1027 if ((instance >= 0) && (targ >= 0) in ahd_linux_setup_tag_info()
1029 && (targ < AHD_NUM_TARGETS)) { in ahd_linux_setup_tag_info()
1045 int targ; in ahd_parse_brace_option() local
1054 targ = -1; in ahd_parse_brace_option()
1070 if (targ == -1) in ahd_parse_brace_option()
1071 targ = 0; in ahd_parse_brace_option()
1081 if (targ != -1) in ahd_parse_brace_option()
1082 targ = -1; in ahd_parse_brace_option()
1091 else if (targ >= 0) in ahd_parse_brace_option()
1092 targ++; in ahd_parse_brace_option()
[all …]
H A Daic79xx_core.c7542 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()
7715 targ, CAM_LUN_WILDCARD, in ahd_parse_cfgdata()
[all …]
H A Daic7xxx_core.c5694 int targ = SCB_GET_TARGET(ahc, scb); in ahc_match_scb() local
5701 match = ((targ == target) || (target == CAM_TARGET_WILDCARD)); in ahc_match_scb()
/openbmc/openbmc/poky/bitbake/lib/ply/
H A Dyacc.py399 targ[0] = sym
403 t1 = targ[1]
406 t1 = targ[-1]
417 pslice.slice = targ
451 targ = [ sym ]
688 targ[0] = sym
692 t1 = targ[1]
695 t1 = targ[-1]
737 targ = [ sym ]
960 targ[0] = sym
[all …]
/openbmc/linux/include/scsi/
H A Dscsi_transport_sas.h110 #define target_to_rphy(targ) \ argument
111 dev_to_rphy((targ)->dev.parent)
/openbmc/linux/include/linux/
H A Dsysfs.h304 void sysfs_delete_link(struct kobject *dir, struct kobject *targ,
348 int sysfs_link_change_owner(struct kobject *kobj, struct kobject *targ,
581 struct kobject *targ, in sysfs_link_change_owner() argument
/openbmc/qemu/libdecnumber/
H A DdecNumber.c7814 static Flag decBiStr(const char *targ, const char *str1, const char *str2) { argument
7815 for (;;targ++, str1++, str2++) {
7816 if (*targ!=*str1 && *targ!=*str2) return 0;
7818 if (*targ=='\0') break;
/openbmc/linux/drivers/message/fusion/
H A Dmptbase.c6661 int scsi, fc, sas, lan, ctl, targ; in mpt_version_proc_show() local
6667 scsi = fc = sas = lan = ctl = targ = 0; in mpt_version_proc_show()
6685 if (!targ++) drvname = "SCSI target"; in mpt_version_proc_show()