| /freebsd-14.2/usr.bin/iscsictl/ |
| H A D | iscsictl.c | 67 struct target *targ; in target_find() local 72 return (targ); in target_find() 81 struct target *targ; in target_new() local 83 targ = calloc(1, sizeof(*targ)); in target_new() 84 if (targ == NULL) in target_new() 87 targ->t_dscp = -1; in target_new() 88 targ->t_pcp = -1; in target_new() 93 return (targ); in target_new() 100 TAILQ_REMOVE(&targ->t_conf->conf_targets, targ, t_next); in target_delete() 101 free(targ); in target_delete() [all …]
|
| /freebsd-14.2/sys/dev/mpr/ |
| H A D | mpr_sas_lsi.c | 502 targ = in mprsas_fw_work() 505 if (targ) { in mprsas_fw_work() 582 if (targ) { in mprsas_fw_work() 599 if (targ) { in mprsas_fw_work() 945 targ->devname = (targ->devname << 32) | in mprsas_add_device() 959 targ->tid = id; in mprsas_add_device() 989 targ->handle, targ->encl_handle, targ->encl_slot); in mprsas_add_device() 1017 targ->tm->cm_targ = targ; in mprsas_add_device() 1355 targ->tid = id; in mprsas_add_pcie_device() 1378 targ->handle, targ->encl_handle, targ->encl_slot); in mprsas_add_pcie_device() [all …]
|
| H A D | mpr_sas.c | 271 if (targ == NULL) in mprsas_rescan_target() 629 "connector name (%4s)\n", targ->encl_level, targ->encl_slot, in mprsas_remove_device() 1283 targ->tid); in mprsas_logical_unit_reset_complete() 1547 targ->tid); in mprsas_abort_complete() 1598 targ->aborts++; in mprsas_send_abort() 1652 targ->tid, targ->handle, ccb->ccb_h.timeout, in mprsas_scsiio_timeout() 1657 targ->encl_level, targ->encl_slot, targ->connector_name); in mprsas_scsiio_timeout() 1821 targ->issued++; in mprsas_build_nvme_unmap() 2145 targ->issued++; in mprsas_action_scsiio() 3180 targ->handle, targ->parent_handle); in mprsas_action_smpio() [all …]
|
| /freebsd-14.2/tools/tools/netmap/ |
| H A D | pkt-gen.c | 1092 initialize_packet(struct targ *targ) in initialize_packet() argument 1385 struct targ *targ = (struct targ *) data; in ping_body() local 1399 frame = (char*)&targ->pkt + sizeof(targ->pkt.vh) - targ->g->virt_header; in ping_body() 1584 struct targ *targ = (struct targ *) data; in pong_body() local 1678 struct targ *targ = (struct targ *) data; in sender_body() local 1752 targ->frag_size = targ->g->pkt_size / targ->frags; in sender_body() 1925 struct targ *targ = (struct targ *) data; in receiver_body() local 1939 targ->g->ifname, targ->fd, targ->g->main_fd); in receiver_body() 2046 struct targ *targ = (struct targ *) data; in txseq_body() local 2256 struct targ *targ = (struct targ *) data; in rxseq_body() local [all …]
|
| /freebsd-14.2/sys/dev/mps/ |
| H A D | mps_sas_lsi.c | 330 targ->tid); in mpssas_fw_work() 427 if (targ) { in mpssas_fw_work() 494 if (targ) { in mpssas_fw_work() 515 if (targ) { in mpssas_fw_work() 741 targ->devname = (targ->devname << 32) | in mpssas_add_device() 750 targ->tid = id; in mpssas_add_device() 752 targ->flags = 0; in mpssas_add_device() 768 targ->handle, targ->encl_handle, targ->encl_slot); in mpssas_add_device() 785 targ->timeouts++; in mpssas_add_device() 792 targ->tm->cm_targ = targ; in mpssas_add_device() [all …]
|
| H A D | mps_sas.c | 262 if (targ == NULL) in mpssas_rescan_target() 1226 targ->tid); in mpssas_logical_unit_reset_complete() 1239 targ->tid); in mpssas_logical_unit_reset_complete() 1319 targ->tm = NULL; in mpssas_target_reset_complete() 1456 targ->tm = NULL; in mpssas_abort_complete() 1470 targ->tid); in mpssas_abort_complete() 1515 targ->aborts++; in mpssas_send_abort() 1569 targ->tid, targ->handle, ccb->ccb_h.timeout, in mpssas_scsiio_timeout() 1888 targ->issued++; in mpssas_action_scsiio() 2997 targ->handle, targ->parent_handle); in mpssas_action_smpio() [all …]
|
| /freebsd-14.2/contrib/bmake/ |
| H A D | suff.c | 1032 debug_tag, targ, targ->file, cand, cand->file, list); in CandidateList_Add() 1233 targ, targ->file, ret, ret->file); in FindCmds() 1713 Candidate *targ; in FindDepsRegularKnown() local 1777 targ == NULL ? &dirSearchPath : targ->suff->searchPath); in FindDepsRegularPath() 1859 targ = NULL; in FindDepsRegular() 1883 targ = NULL; in FindDepsRegular() 1890 targ->parent != NULL; targ = targ->parent) in FindDepsRegular() 1896 Var_Set(gn, PREFIX, targ != NULL ? targ->prefix : gn->name); in FindDepsRegular() 1970 targ->node = Targ_GetNode(targ->file); in FindDepsRegular() 1986 Var_Set(targ->node, PREFIX, targ->prefix); in FindDepsRegular() [all …]
|
| /freebsd-14.2/sys/contrib/openzfs/tests/zfs-tests/tests/functional/redacted_send/ |
| H A D | redacted_origin.ksh | 46 typeset targ=$POOL2/targfs@snap 55 log_must eval "zfs receive $targ <$stream" 72 log_must eval "zfs receive -o origin=$targ $POOL2/tdBCD <$stream" 75 log_must eval "zfs receive -o origin=$targ $POOL2/tdBC <$stream" 78 log_mustnot eval "zfs receive -o origin=$targ $POOL2/tdE <$stream" 82 log_must eval "zfs receive -o origin=$targ $POOL2/tbBC <$stream" 85 log_mustnot eval "zfs receive -o origin=$targ $POOL2/tbE <$stream"
|
| /freebsd-14.2/usr.sbin/ctld/ |
| H A D | discovery.c | 102 discovery_add_target(struct keys *response_keys, const struct target *targ) in discovery_add_target() argument 111 keys_add(response_keys, "TargetName", targ->t_name); in discovery_add_target() 112 TAILQ_FOREACH(port, &targ->t_ports, p_ts) { in discovery_add_target() 154 const struct target *targ; in discovery_target_filtered_out() local 158 targ = port->p_target; in discovery_target_filtered_out() 161 ag = targ->t_auth_group; in discovery_target_filtered_out() 169 "allowed for target \"%s\"; skipping", targ->t_name); in discovery_target_filtered_out() 176 "allowed for target \"%s\"; skipping", targ->t_name); in discovery_target_filtered_out() 187 "\"%s\" requires CHAP; skipping", targ->t_name); in discovery_target_filtered_out() 195 "\"%s\"; skipping", conn->conn_user, targ->t_name); in discovery_target_filtered_out() [all …]
|
| H A D | ctld.c | 127 target_delete(targ); in conf_delete() 1397 targ = calloc(1, sizeof(*targ)); in target_new() 1398 if (targ == NULL) in target_new() 1407 targ->t_name[i] = tolower(targ->t_name[i]); in target_new() 1413 return (targ); in target_new() 1423 TAILQ_REMOVE(&targ->t_conf->conf_targets, targ, t_next); in target_delete() 1428 free(targ); in target_delete() 1438 return (targ); in target_find() 2776 targ->t_pport, targ->t_name); in new_pports_from_conf() 2782 targ->t_pport, targ->t_name); in new_pports_from_conf() [all …]
|
| H A D | kernel.c | 421 struct target *targ; in conf_new_from_kernel() local 584 if (targ == NULL) { in conf_new_from_kernel() 590 if (targ == NULL) { in conf_new_from_kernel() 611 cp = port_new(conf, targ, pg); in conf_new_from_kernel() 1047 struct target *targ = port->p_target; in kernel_port_add() local 1061 targ->t_name); in kernel_port_add() 1067 if (targ->t_alias) { in kernel_port_add() 1126 strlen(targ->t_name) == 20) { in kernel_port_add() 1147 if (targ->t_luns[i] == NULL) in kernel_port_add() 1182 if (targ->t_luns[i] == NULL) in kernel_port_update() [all …]
|
| /freebsd-14.2/sys/dev/mpi3mr/ |
| H A D | mpi3mr_cam.c | 520 tgtdev = cmd->targ; in mpi3mr_issue_tm() 740 target = cmd->targ; in mpi3mr_target_reset() 958 if (targ && targ->is_hidden) { in mpi3mr_action_scsiio() 1095 cm->targ = targ; in mpi3mr_action_scsiio() 1154 struct mpi3mr_target *targ = cm->targ; in mpi3mr_enqueue_request() local 1177 targ->per_id, targ->dev_handle, in mpi3mr_enqueue_request() 1202 targ->per_id, targ->dev_handle, in mpi3mr_enqueue_request() 1212 targ->per_id); in mpi3mr_enqueue_request() 1317 if (targ && (targ->dev_type == MPI3_DEVICE_DEVFORM_PCIE) && in mpi3mr_cam_action() 1353 if ((targ->dev_handle == 0x0) || (targ->dev_removed == 1)) { in mpi3mr_cam_action() [all …]
|
| /freebsd-14.2/crypto/heimdal/appl/rcp/ |
| H A D | rcp.c | 91 char *targ; in main() local 141 toremote(targ, argc, argv); in main() 156 *targ++ = 0; in toremote() 157 if (*targ == 0) in toremote() 158 targ = "."; in toremote() 195 thost, targ); in toremote() 203 thost, targ); in toremote() 437 targ = *argv; in sink() 439 verifydir(targ); in sink() 530 *targ ? "/" : "", cp); in sink() [all …]
|
| /freebsd-14.2/usr.sbin/mlxcontrol/ |
| H A D | config.c | 44 static void print_phys_drive(struct conf_config *conf, int chn, int targ); 146 print_phys_drive(struct conf_config *conf, int chn, int targ) in print_phys_drive() argument 148 struct mlx_phys_drv *drv = &conf->cc_cfg.cc_phys_drives[chn * 16 + targ]; in print_phys_drive() 154 mlx_print_phys_drv(drv, chn, targ, "# ", 1); in print_phys_drive()
|
| H A D | util.c | 110 mlx_print_phys_drv(struct mlx_phys_drv *drv, int chn, int targ, char *prefix, int verbose) in mlx_print_phys_drv() argument 129 printf("%s%s%02d%02d ", prefix, type, chn, targ); in mlx_print_phys_drv() 151 if (!mlx_scsi_inquiry(0, chn, targ, &vendor, &device, &revision)) { in mlx_print_phys_drv()
|
| /freebsd-14.2/contrib/netbsd-tests/fs/puffs/h_dtfs/ |
| H A D | dtfs_vnops.c | 186 dtfs_node_remove(struct puffs_usermount *pu, void *opc, void *targ, in dtfs_node_remove() argument 190 struct puffs_node *pn = targ; in dtfs_node_remove() 195 dtfs_nukenode(targ, pn_parent, pcn->pcn_name, pcn->pcn_namelen); in dtfs_node_remove() 220 dtfs_node_rmdir(struct puffs_usermount *pu, void *opc, void *targ, in dtfs_node_rmdir() argument 224 struct dtfs_file *df = DTFS_CTOF(targ); in dtfs_node_rmdir() 229 dtfs_nukenode(targ, pn_parent, pcn->pcn_name, pcn->pcn_namelen); in dtfs_node_rmdir() 314 const struct puffs_cn *pcn_src, void *targ_dir, void *targ, in dtfs_node_rename() argument 322 struct puffs_node *pn_tfile = targ; in dtfs_node_rename() 372 dtfs_node_link(struct puffs_usermount *pu, void *opc, void *targ, in dtfs_node_link() argument 379 dfd->dfd_node = targ; in dtfs_node_link() [all …]
|
| /freebsd-14.2/crypto/openssh/ |
| H A D | scp.c | 1039 char *bp, *tuser, *thost, *targ; in toremote() local 1059 &targ) == -1) { in toremote() 1133 *targ == '-' ? "-- " : "", targ); in toremote() 1182 thost, targ); in toremote() 1204 source_sftp(1, argv[i], targ, conn); in toremote() 1210 *targ == '-' ? "-- " : "", targ); in toremote() 1226 free(targ); in toremote() 1691 targ = *argv; 1693 verifydir(targ); 1842 np = targ; [all …]
|
| /freebsd-14.2/usr.bin/tftp/ |
| H A D | main.c | 446 char *cp, *targ, *path; in put() local 462 targ = argv[argc - 1]; in put() 472 targ = strrchr(lcp, ':'); in put() 473 *targ++ = 0; in put() 485 cp = argc == 2 ? tail(targ) : argv[1]; in put() 501 cp, hostname, targ, mode); in put() 502 if (xmitfile(peer, port, fd, targ, mode)) in put() 510 if (asprintf(&path, "%s/%s", targ, tail(argv[n])) < 0) in put()
|
| /freebsd-14.2/sys/x86/x86/ |
| H A D | x86_mem.c | 553 struct mem_range_desc *targ; in x86_mrset() local 582 if ((targ = mem_range_match(sc, mrd)) == NULL) in x86_mrset() 584 if (targ->mr_flags & MDF_FIXACTIVE) in x86_mrset() 586 if (targ->mr_flags & MDF_BUSY) in x86_mrset() 588 targ->mr_flags &= ~MDF_ACTIVE; in x86_mrset() 589 targ->mr_owner[0] = 0; in x86_mrset()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/ARCMigrate/ |
| H A D | FileRemapper.cpp | 260 void FileRemapper::resetTarget(Target &targ) { in resetTarget() argument 261 if (std::holds_alternative<llvm::MemoryBuffer *>(targ)) { in resetTarget() 262 llvm::MemoryBuffer *oldmem = std::get<llvm::MemoryBuffer *>(targ); in resetTarget() 265 FileEntryRef toFE = std::get<FileEntryRef>(targ); in resetTarget()
|
| /freebsd-14.2/sys/dev/ciss/ |
| H A D | cissvar.h | 377 padstr(char *targ, const char *src, int len) in padstr() argument 381 *targ++ = *src++; in padstr() 383 *targ++ = ' '; in padstr()
|
| /freebsd-14.2/contrib/flex/src/ |
| H A D | dfa.c | 377 int targptr, totaltrans, i, comstate, comfreq, targ; in ntod() local 659 targ = state[duplist[sym]]; in ntod() 660 state[sym] = targ; in ntod() 665 targ); in ntod() 672 while (targstate[++i] != targ) ; in ntod()
|
| /freebsd-14.2/sys/dev/ocs_fc/ |
| H A D | ocs_node.h | 186 if (node->targ) retval |= (1U << 0); in ocs_node_get_enable() 199 extern ocs_node_t *ocs_node_alloc(ocs_sport_t *sport, uint32_t port_id, uint8_t init, uint8_t targ);
|
| H A D | ocs_device.c | 122 if (node->init && !node->targ) { in __ocs_d_initiate_shutdown() 135 } else if (node->targ && !node->init) { in __ocs_d_initiate_shutdown() 148 } else if (node->init && node->targ) { in __ocs_d_initiate_shutdown() 199 if (!node->init && !node->targ){ in __ocs_d_initiate_shutdown() 497 node->targ = (ocs_be16toh(prli->service_params) & FC_PRLI_TARGET_FUNCTION) != 0; in ocs_process_prli_payload() 1622 if (node->targ) { in __ocs_d_device_ready() 1767 labels[(node->targ << 1) | (node->init)], node->wwpn, node->wwnn); in __ocs_d_device_gone()
|
| /freebsd-14.2/crypto/heimdal/lib/asn1/ |
| H A D | setchgpw2.asn1 | 167 targ-name[3] PrincipalName OPTIONAL, 168 targ-realm[4] Realm OPTIONAL,
|