/freebsd-13-stable/bin/pax/ |
H A D | cpio.c | 283 HD_CPIO *hd; local 290 hd = (HD_CPIO *)buf; 297 arcn->sb.st_dev = (dev_t)asc_ul(hd->c_dev, sizeof(hd->c_dev), OCT); 298 arcn->sb.st_ino = (ino_t)asc_ul(hd->c_ino, sizeof(hd->c_ino), OCT); 299 arcn->sb.st_mode = (mode_t)asc_ul(hd->c_mode, sizeof(hd->c_mode), OCT); 300 arcn->sb.st_uid = (uid_t)asc_ul(hd->c_uid, sizeof(hd 391 HD_CPIO *hd; local 569 HD_VCPIO *hd; local 702 HD_VCPIO *hd; local 887 HD_BCPIO *hd; local 1002 HD_BCPIO *hd; local [all...] |
H A D | tar.c | 303 HD_TAR *hd; local 308 hd = (HD_TAR *)blk; 318 if (hd->name[0] == '\0') 322 if (asc_ul(hd->chksum,sizeof(hd->chksum),OCT) != tar_chksm(blk,BLKMULT)) 374 HD_TAR *hd; local 389 hd = (HD_TAR *)buf; 395 arcn->nlen = l_strncpy(arcn->name, hd->name, 396 MIN(sizeof(hd->name), sizeof(arcn->name)) - 1); 398 arcn->sb.st_mode = (mode_t)(asc_ul(hd 511 HD_TAR *hd; local 703 HD_USTAR *hd; local 735 HD_USTAR *hd; local 899 HD_USTAR *hd; local [all...] |
/freebsd-13-stable/usr.sbin/bluetooth/bthidcontrol/ |
H A D | hid.c | 53 struct hid_device *hd = NULL; local 57 if ((hd = get_hid_device(bdaddr)) != NULL) { 58 hid_dump_descriptor(hd->desc); 71 struct hid_device *hd = NULL; local 76 if ((hd = get_hid_device(bdaddr)) != NULL) { 77 hd->new_device = 1; 92 struct hid_device *hd = NULL; local 100 for (hd = get_next_hid_device(hd); 101 hd ! [all...] |
H A D | sdp.c | 49 static int32_t hid_sdp_query (bdaddr_t const *local, struct hid_device *hd, int32_t *error); 117 hid_sdp_query(bdaddr_t const *local, struct hid_device *hd, int32_t *error) argument 131 if (hd == NULL) 136 if ((ss = sdp_open(local, &hd->bdaddr)) == NULL) 224 hd->name = bt_devremote_name_gen(devname, &hd->bdaddr); 225 hd->vendor_id = vendor_id; 226 hd->product_id = product_id; 227 hd->version = version; 228 hd 477 struct hid_device hd; local [all...] |
/freebsd-13-stable/cddl/contrib/opensolaris/tools/ctf/cvt/ |
H A D | hash.c | 155 struct hash_data *hd = arg; local 159 if (hd->hd_hash->h_cmp(hd->hd_key, node) == 0) { 160 if ((cbrc = hd->hd_fun(node, hd->hd_private)) < 0) 173 struct hash_data hd; local 175 hd.hd_hash = hash; 176 hd.hd_fun = fun; 177 hd.hd_key = key; 178 hd 188 struct hash_data *hd = arg; local 201 struct hash_data hd; local [all...] |
/freebsd-13-stable/lib/libthr/thread/ |
H A D | thr_pshared.c | 102 struct pshared_hash_head *hd; local 108 hd = &pshared_hash[i]; 109 LIST_FOREACH_SAFE(h, hd, link, h1) { 125 struct pshared_hash_head *hd; local 128 hd = &pshared_hash[PSHARED_KEY_HASH(key)]; 129 LIST_FOREACH(h, hd, link) { 139 struct pshared_hash_head *hd; local 142 hd = &pshared_hash[PSHARED_KEY_HASH(key)]; 143 LIST_FOREACH(h, hd, link) { 179 LIST_INSERT_HEAD(hd, 186 struct pshared_hash_head *hd; local [all...] |
/freebsd-13-stable/usr.bin/hexdump/ |
H A D | Makefile | 9 MLINKS= hexdump.1 hd.1 11 LINKS+= ${BINDIR}/hexdump ${BINDIR}/hd
|
/freebsd-13-stable/contrib/wpa/src/crypto/ |
H A D | crypto_gnutls.c | 23 gcry_md_hd_t hd; local 30 if (gcry_md_open(&hd, algo, 0) != GPG_ERR_NO_ERROR) 33 gcry_md_write(hd, addr[i], len[i]); 34 p = gcry_md_read(hd, algo); 37 gcry_md_close(hd); 50 gcry_cipher_hd_t hd; local 63 gcry_cipher_open(&hd, GCRY_CIPHER_DES, GCRY_CIPHER_MODE_ECB, 0); 64 gcry_err_code(gcry_cipher_setkey(hd, pkey, 8)); 65 gcry_cipher_encrypt(hd, cypher, 8, clear, 8); 66 gcry_cipher_close(hd); 105 gcry_md_hd_t hd; local 217 gcry_cipher_hd_t hd; local 239 gcry_cipher_hd_t hd = ctx; local 247 gcry_cipher_hd_t hd = ctx; local 254 gcry_cipher_hd_t hd; local 273 gcry_cipher_hd_t hd = ctx; local 281 gcry_cipher_hd_t hd = ctx; local [all...] |
/freebsd-13-stable/crypto/heimdal/appl/login/ |
H A D | utmp_login.c | 46 char *ld, *hd; local 55 hd = strchr (hostname, '.'); 57 if (hd != NULL && ld != NULL && strcmp(hd, ld) == 0 58 && hd - hostname < dst_sz) { 60 dst[hd - hostname] = '\0';
|
/freebsd-13-stable/stand/efi/libefi/ |
H A D | efizfs.c | 100 pdinfo_t *hd, *pd = NULL; local 113 STAILQ_FOREACH(hd, hdi, pd_link) { 114 STAILQ_FOREACH(pd, &hd->pd_part, pd_link) { 116 efipart_hddev.dv_name, hd->pd_unit, pd->pd_unit);
|
H A D | efipart.c | 615 efipart_hdinfo_add_node(pdinfo_t *hd, EFI_DEVICE_PATH *node) argument 622 parent = hd->pd_parent; 631 hd->pd_unit = ptr->pd_unit + 1; 633 hd->pd_unit = 0; 635 hd->pd_unit = ((HARDDRIVE_DEVICE_PATH *)node)->PartitionNumber; 638 hd->pd_devsw = &efipart_hddev; 639 STAILQ_INSERT_TAIL(&parent->pd_part, hd, pd_link); 649 efipart_hdinfo_add_filepath(pdinfo_t *hd, FILEPATH_DEVICE_PATH *node) argument 657 hd->pd_unit = last->pd_unit + 1; 659 hd 712 efipart_hdinfo_add(pdinfo_t *hd) argument 762 efipart_testhd(pdinfo_t *hd, pdinfo_t *data __unused) argument 777 pdinfo_t *hd; local [all...] |
H A D | devpath.c | 342 HARDDRIVE_DEVICE_PATH *hd; local 352 hd = (HARDDRIVE_DEVICE_PATH *)node; 353 switch (hd->SignatureType) { 357 hd->PartitionNumber, 358 *((uint32_t *)(uintptr_t)&hd->Signature[0]), 359 hd->PartitionStart, 360 hd->PartitionSize, tail) < 0) 366 &hd->Signature[0], &str, &rv); 371 hd->PartitionNumber, str, 372 hd [all...] |
/freebsd-13-stable/sys/netgraph/atm/ccatm/ |
H A D | ng_ccatm.c | 793 struct cchook *hd; local 807 hd = malloc(sizeof(*hd), M_NG_CCATM, M_NOWAIT); 808 if (hd == NULL) 810 hd->is_uni = 1; 811 hd->node = priv; 812 hd->hook = hook; 814 port = cc_port_create(priv->data, hd, (u_int)lport); 816 free(hd, M_NG_CCATM); 819 hd 875 struct cchook *hd = NG_HOOK_PRIVATE(hook); local 917 struct cchook *hd = NG_HOOK_PRIVATE(hook); local 1003 struct cchook *hd = uarg; local 1025 struct cchook *hd = uarg; local 1051 struct cchook *hd = NG_HOOK_PRIVATE(hook); local 1100 struct cchook *hd = uarg; local 1125 struct cchook *hd = uarg; local [all...] |
/freebsd-13-stable/sys/fs/nullfs/ |
H A D | null_subr.c | 103 struct null_node_hashhead *hd; local 115 hd = NULL_NHASH(lowervp); 116 if (LIST_EMPTY(hd)) 119 LIST_FOREACH(a, hd, null_hash) { 146 struct null_node_hashhead *hd; local 150 hd = NULL_NHASH(xp->null_lowervp); 152 LIST_FOREACH(oxp, hd, null_hash) { 165 LIST_INSERT_HEAD(hd, xp, null_hash);
|
/freebsd-13-stable/usr.bin/mkimg/ |
H A D | ebr.c | 60 u_int cyl, hd, sec; local 62 mkimg_chs(lba, 1023, &cyl, &hd, &sec); 64 *hdp = hd;
|
H A D | mbr.c | 64 u_int cyl, hd, sec; local 66 mkimg_chs(lba, 1023, &cyl, &hd, &sec); 68 *hdp = hd;
|
/freebsd-13-stable/contrib/libarchive/libarchive/ |
H A D | archive_read_support_format_cab.c | 621 struct cfheader *hd; local 653 hd = &cab->cfheader; 660 hd->total_bytes = archive_le32dec(p + CFHEADER_cbCabinet); 661 hd->files_offset = archive_le32dec(p + CFHEADER_coffFiles); 662 hd->minor = p[CFHEADER_versionMinor]; 663 hd->major = p[CFHEADER_versionMajor]; 664 hd->folder_count = archive_le16dec(p + CFHEADER_cFolders); 665 if (hd->folder_count == 0) 667 hd->file_count = archive_le16dec(p + CFHEADER_cFiles); 668 if (hd 887 struct cfheader *hd; local 2015 struct cfheader *hd = &cab->cfheader; local [all...] |
/freebsd-13-stable/sys/netinet/cc/ |
H A D | cc_hd.c | 98 .name = "hd", 235 SYSCTL_NODE(_net_inet_tcp_cc, OID_AUTO, hd, CTLFLAG_RW | CTLFLAG_MPSAFE, NULL, 253 DECLARE_CC_MODULE(hd, &hd_cc_algo); 254 MODULE_VERSION(hd, 1); 255 MODULE_DEPEND(hd, ertt, 1, 1, 1);
|
/freebsd-13-stable/stand/powerpc/boot1.chrp/ |
H A D | generate-hfs.sh | 45 BOOTINFO_OFFSET=$(hd $OUTPUT_FILE | grep 'Bootinfo START' | cut -f 1 -d ' ') 46 BOOT1_OFFSET=$(hd $OUTPUT_FILE | grep 'Boot1 START' | cut -f 1 -d ' ')
|
/freebsd-13-stable/lib/libc/net/ |
H A D | gethostnamadr.c | 667 struct hostdata *hd; local 671 if ((hd = __hostdata_init()) == NULL) 673 if (gethostbyname_r(name, &hd->host, hd->data, sizeof(hd->data), &rval, 682 struct hostdata *hd; local 686 if ((hd = __hostdata_init()) == NULL) 688 if (gethostbyname2_r(name, af, &hd->host, hd->data, sizeof(hd 697 struct hostdata *hd; local [all...] |
H A D | gethostbyht.c | 210 struct hostdata *hd; local 214 if ((hd = __hostdata_init()) == NULL) 216 if (gethostent_r(&hd->host, hd->data, sizeof(hd->data), &rval,
|
/freebsd-13-stable/usr.bin/hexdump/tests/ |
H A D | hexdump_test.sh | 83 atf_set "descr" "Verify hd output matching -C output" 88 hd "$(atf_get_srcdir)/d_hexdump_a.in" 90 hd "$(atf_get_srcdir)/d_hexdump_b.in" 92 hd "$(atf_get_srcdir)/d_hexdump_c.in"
|
/freebsd-13-stable/release/powerpc/ |
H A D | mkisoimages.sh | 49 OFFSET=$(hd /tmp/hfs-boot-block | grep 'Loader START' | cut -f 1 -d ' ')
|
/freebsd-13-stable/sys/dev/sec/ |
H A D | sec.c | 1322 struct sec_hw_desc *hd = desc->sd_desc; local 1325 hd->shd_desc_type = SEC_DT_COMMON_NONSNOOP; 1326 hd->shd_eu_sel1 = SEC_EU_NONE; 1327 hd->shd_mode1 = 0; 1373 struct sec_hw_desc *hd = desc->sd_desc; local 1381 hd->shd_desc_type = SEC_DT_HMAC_SNOOP; 1382 hd->shd_eu_sel1 = eu; 1383 hd->shd_mode1 = mode; 1442 struct sec_hw_desc *hd = desc->sd_desc; local 1445 hd 1530 struct sec_hw_desc *hd = desc->sd_desc; local [all...] |
/freebsd-13-stable/sys/net/ |
H A D | pfil.c | 539 u_int nheads, nhooks, hd, hk; local 560 hd = hk = 0; 563 if (hd + 1 > nheads || 570 strlcpy(iohead[hd].pio_name, head->head_name, 572 iohead[hd].pio_nhooksin = head->head_nhooksin; 573 iohead[hd].pio_nhooksout = head->head_nhooksout; 574 iohead[hd].pio_type = head->head_type; 593 hd++; 598 sizeof(*iohead) * min(hd, req->pio_nheads)); 603 req->pio_nheads = hd; [all...] |