/dragonfly/sbin/restore/ |
H A D | symtab.c | 65 static struct entry **entry; variable 75 struct entry * 78 struct entry *ep; in lookupino() 134 struct entry * 213 struct entry * 223 np = (struct entry *)calloc(1, sizeof(struct entry)); in addentry() 495 tentry = (struct entry *)entry[i]->e_index; in dumpsymtable() 532 entry = (struct entry **) in initsymtable() 588 entry = (struct entry **) in initsymtable() 591 lep = (struct entry *)entry; in initsymtable() [all …]
|
H A D | extern.h | 45 void delwhiteout(struct entry *); 52 char *flagvalues(struct entry *); 53 void freeentry(struct entry *); 56 char *gentempname(struct entry *); 62 struct entry *lookupino(ufs1_ino_t); 63 struct entry *lookupname(const char *); 66 void mktempname(struct entry *); 69 char *myname(struct entry *); 70 void newnode(struct entry *); 78 void removeleaf(struct entry *); [all …]
|
/dragonfly/usr.sbin/mptable/ |
H A D | mptable.c | 870 readEntry( &entry, sizeof( entry ) ); in processorEntry() 913 BusEntry entry; in busEntry() local 916 readEntry( &entry, sizeof( entry ) ); in busEntry() 940 readEntry( &entry, sizeof( entry ) ); in ioApicEntry() 951 apics[ entry.apicID ] = entry.apicID; in ioApicEntry() 969 IntEntry entry; in intEntry() local 972 readEntry( &entry, sizeof( entry ) ); in intEntry() 998 SasEntry entry; in sasEntry() local 1001 readEntry( &entry, sizeof( entry ) ); in sasEntry() 1032 readEntry( &entry, sizeof( entry ) ); in bhdEntry() [all …]
|
/dragonfly/contrib/mdocml/ |
H A D | tag.c | 73 free(entry->nodes); in tag_free() 74 free(entry); in tag_free() 138 if (entry == NULL) { in tag_put() 139 entry = mandoc_malloc(sizeof(*entry) + len + 1); in tag_put() 143 entry->maxnodes = entry->nnodes = 0; in tag_put() 163 nold = entry->nodes[--entry->nnodes]; in tag_put() 176 if (entry->maxnodes == entry->nnodes) { in tag_put() 178 entry->nodes = mandoc_reallocarray(entry->nodes, in tag_put() 179 entry->maxnodes, sizeof(*entry->nodes)); in tag_put() 181 entry->nodes[entry->nnodes++] = n; in tag_put() [all …]
|
/dragonfly/contrib/wpa_supplicant/src/eap_server/ |
H A D | eap_sim_db.c | 382 while (entry) { in eap_sim_db_get_pending() 390 prev = entry; in eap_sim_db_get_pending() 391 entry = entry->next; in eap_sim_db_get_pending() 393 return entry; in eap_sim_db_get_pending() 410 os_free(entry); in eap_sim_db_free_pending() 947 if (entry) { in eap_sim_db_get_gsm_triplets() 998 entry = os_zalloc(sizeof(*entry)); in eap_sim_db_get_gsm_triplets() 1002 os_strlcpy(entry->imsi, imsi, sizeof(entry->imsi)); in eap_sim_db_get_gsm_triplets() 1416 if (entry) { in eap_sim_db_get_aka_auth() 1459 entry = os_zalloc(sizeof(*entry)); in eap_sim_db_get_aka_auth() [all …]
|
/dragonfly/sys/dev/drm/ttm/ |
H A D | ttm_execbuf_util.c | 47 struct ttm_validate_buffer *entry; in ttm_eu_del_from_lru_locked() local 58 struct ttm_validate_buffer *entry; in ttm_eu_backoff_reservation() local 65 glob = entry->bo->bdev->glob; in ttm_eu_backoff_reservation() 105 glob = entry->bo->bdev->glob; in ttm_eu_reserve_buffers() 121 entry = list_prev_entry(entry, head); in ttm_eu_reserve_buffers() 128 if (!entry->shared) in ttm_eu_reserve_buffers() 150 if (!ret && entry->shared) in ttm_eu_reserve_buffers() 166 list_del(&entry->head); in ttm_eu_reserve_buffers() 167 list_add(&entry->head, list); in ttm_eu_reserve_buffers() 200 bo = entry->bo; in ttm_eu_fence_buffer_objects() [all …]
|
/dragonfly/usr.sbin/nscd/ |
H A D | hashtable.h | 65 struct entry *entries; \ 118 (var) < &((entry)->field.values[(entry)->field.size]); \ 122 ((entry)->field.size = 0) 125 ((entry)->field.size) 128 ((entry)->field.capacity) 132 (entry)->field.capacity *= 2; \ 133 (entry)->field.values = (type *)realloc((entry)->field.values, \ 138 (entry)->field.capacity /= 2; \ 139 (entry)->field.values = (type *)realloc((entry)->field.values, \ 207 name##_ENTRY_STORE((entry), data) [all …]
|
/dragonfly/sys/dev/drm/amd/powerplay/smumgr/ |
H A D | smu10_smumgr.c | 135 priv->smu_tables.entry[table_id].table_id); in smu10_copy_table_from_smc() 138 priv->smu_tables.entry[table_id].size); in smu10_copy_table_from_smc() 156 memcpy(priv->smu_tables.entry[table_id].table, table, in smu10_copy_table_to_smc() 157 priv->smu_tables.entry[table_id].size); in smu10_copy_table_to_smc() 167 priv->smu_tables.entry[table_id].table_id); in smu10_copy_table_to_smc() 224 &priv->smu_tables.entry[SMU10_WMTABLE].table); in smu10_smu_fini() 267 &priv->smu_tables.entry[SMU10_WMTABLE].handle, in smu10_smu_init() 269 &priv->smu_tables.entry[SMU10_WMTABLE].table); in smu10_smu_init() 283 &priv->smu_tables.entry[SMU10_CLOCKTABLE].handle, in smu10_smu_init() 285 &priv->smu_tables.entry[SMU10_CLOCKTABLE].table); in smu10_smu_init() [all …]
|
/dragonfly/sys/dev/drm/ |
H A D | drm_bufs.c | 56 if (!entry->map || in drm_find_matching_map() 64 return entry; in drm_find_matching_map() 69 return entry; in drm_find_matching_map() 74 return entry; in drm_find_matching_map() 766 entry->buflist = kcalloc(count, sizeof(*entry->buflist), GFP_KERNEL); in drm_legacy_addbufs_agp() 779 buf = &entry->buflist[entry->buf_count]; in drm_legacy_addbufs_agp() 916 entry->buflist = kcalloc(count, sizeof(*entry->buflist), GFP_KERNEL); in drm_legacy_addbufs_pci() 968 entry->seglist[entry->seg_count++] = dmah; in drm_legacy_addbufs_pci() 979 buf = &entry->buflist[entry->buf_count]; in drm_legacy_addbufs_pci() 1141 buf = &entry->buflist[entry->buf_count]; in drm_legacy_addbufs_sg() [all …]
|
/dragonfly/usr.bin/find/ |
H A D | function.c | 247 f_Xmin(PLAN *plan, FTSENT *entry) in f_Xmin() argument 377 entry->fts_accpath); in f_delete() 384 lchflags(entry->fts_accpath, in f_delete() 538 f_exec(PLAN *plan, FTSENT *entry) in f_exec() argument 557 file = entry->fts_path; in f_exec() 828 p = entry->fts_accpath; in f_fstype() 1060 printlong(entry->fts_path, entry->fts_accpath, entry->fts_statp); in f_ls() 1090 name = entry->fts_name; in f_name() 1280 (void)puts(entry->fts_path); in f_print() 1341 str = entry->fts_path; in f_regex() [all …]
|
/dragonfly/contrib/libarchive/libarchive/ |
H A D | archive_read_support_format_cpio.c | 627 archive_entry_set_mode(entry, in header_newc() 631 archive_entry_set_nlink(entry, in header_newc() 799 archive_entry_set_dev(entry, in header_odc() 808 archive_entry_set_rdev(entry, in header_odc() 852 archive_entry_set_dev(entry, in header_afiol() 855 archive_entry_set_mode(entry, in header_afiol() 861 archive_entry_set_rdev(entry, in header_afiol() 902 archive_entry_set_mode(entry, archive_entry_mode(entry) & 067777); in header_bin_le() 904 archive_entry_set_mode(entry, archive_entry_mode(entry) | AE_IFREG); in header_bin_le() 947 archive_entry_set_mode(entry, archive_entry_mode(entry) & 067777); in header_bin_be() [all …]
|
H A D | archive_read_disk_entry_from_file.c | 125 (void)entry; /* UNUSED */ in archive_read_disk_entry_setup_acls() 146 path = archive_entry_pathname(entry); in archive_read_disk_entry_setup_path() 160 struct archive_entry *entry, in archive_read_disk_entry_from_file() argument 205 archive_entry_copy_stat(entry, st); in archive_read_disk_entry_from_file() 297 r1 = setup_xattrs(a, entry, &fd); in archive_read_disk_entry_from_file() 307 r1 = setup_sparse(a, entry, &fd); in archive_read_disk_entry_from_file() 429 (void)entry; /* UNUSED */ in setup_mac_metadata() 827 (void)entry; /* UNUSED */ in setup_xattrs() 895 size = archive_entry_size(entry); in setup_sparse_fiemap() 1020 size = archive_entry_size(entry); in setup_sparse() [all …]
|
H A D | archive_read_support_format_mtree.c | 929 if ((entry = malloc(sizeof(*entry))) == NULL) { in process_add_entry() 933 entry->next = NULL; in process_add_entry() 934 entry->options = NULL; in process_add_entry() 935 entry->name = NULL; in process_add_entry() 936 entry->used = 0; in process_add_entry() 937 entry->full = 0; in process_add_entry() 941 mtree->entries = entry; in process_add_entry() 944 *last_entry = entry; in process_add_entry() 989 parse_escapes(entry->name, entry); in process_add_entry() 991 entry->next_dup = NULL; in process_add_entry() [all …]
|
H A D | archive_write_set_format_gnutar.c | 160 struct archive_entry *entry); 275 struct archive_entry *entry) in archive_write_gnutar_header() argument 302 archive_entry_set_size(entry, 0); in archive_write_gnutar_header() 380 if (entry != entry_main) in archive_write_gnutar_header() 381 entry = entry_main; in archive_write_gnutar_header() 398 archive_entry_pathname(entry), in archive_write_gnutar_header() 414 archive_entry_uname(entry), in archive_write_gnutar_header() 430 archive_entry_gname(entry), in archive_write_gnutar_header() 448 archive_entry_hardlink(entry), in archive_write_gnutar_header() 611 p = archive_entry_uname(entry); in archive_format_gnutar_header() [all …]
|
H A D | archive_write_set_format_cpio_newc.c | 193 if (archive_entry_filetype(entry) == 0 && archive_entry_hardlink(entry) == NULL) { in archive_write_newc_header() 209 if (archive_entry_hardlink(entry) == NULL in archive_write_newc_header() 210 && (!archive_entry_size_is_set(entry) || archive_entry_size(entry) < 0)) { in archive_write_newc_header() 214 return write_header(a, entry); in archive_write_newc_header() 243 if (entry != entry_main) in write_header() 244 entry = entry_main; in write_header() 261 archive_entry_pathname(entry), in write_header() 274 ino = archive_entry_ino64(entry); in write_header() 301 archive_entry_set_size(entry, 0); in write_header() 314 archive_entry_symlink(entry), in write_header() [all …]
|
H A D | archive_write_set_format_cpio_odc.c | 178 int64_t ino = archive_entry_ino64(entry); in synthesize_ino_value() 192 if (archive_entry_nlink(entry) < 2) { in synthesize_ino_value() 253 if (archive_entry_filetype(entry) == 0 && archive_entry_hardlink(entry) == NULL) { in archive_write_odc_header() 269 if (!archive_entry_size_is_set(entry) || archive_entry_size(entry) < 0) { in archive_write_odc_header() 273 return write_header(a, entry); in archive_write_odc_header() 301 if (entry != entry_main) in write_header() 302 entry = entry_main; in write_header() 319 archive_entry_pathname(entry), in write_header() 330 ino = synthesize_ino_value(cpio, entry); in write_header() 359 archive_entry_set_size(entry, 0); in write_header() [all …]
|
H A D | archive_read_support_format_tar.c | 494 struct archive_entry *entry) in archive_read_format_tar_read_header() argument 1196 archive_entry_set_mode(entry, in header_common() 1289 archive_entry_set_size(entry, 0); in header_common() 1301 archive_entry_set_size(entry, 0); in header_common() 1441 size = archive_entry_size(entry); in read_mac_metadata_blob() 2023 archive_entry_set_dev(entry, in pax_attribute() 2026 archive_entry_set_ino(entry, in pax_attribute() 2069 archive_entry_set_gid(entry, in pax_attribute() 2118 archive_entry_set_size(entry, in pax_attribute() 2127 archive_entry_set_uid(entry, in pax_attribute() [all …]
|
/dragonfly/usr.bin/calendar/ |
H A D | io.c | 297 free(entry.token); in cal_parse() 301 free(entry.token); in cal_parse() 307 __func__, entry.variable, entry.value); in cal_parse() 313 entry.value); in cal_parse() 327 entry.value); in cal_parse() 353 entry.variable, entry.value); in cal_parse() 356 free(entry.variable); in cal_parse() 357 free(entry.value); in cal_parse() 389 free(entry.date); in cal_parse() 424 memset(entry, 0, sizeof(*entry)); in cal_readentry() [all …]
|
/dragonfly/contrib/wpa_supplicant/src/ap/ |
H A D | ieee802_11_auth.c | 101 for (entry = hapd->acl_cache; entry; entry = entry->next) { in hostapd_acl_cache_get() 371 while (entry) { in hostapd_acl_expire_cache() 381 tmp = entry; in hostapd_acl_expire_cache() 382 entry = entry->next; in hostapd_acl_expire_cache() 387 prev = entry; in hostapd_acl_expire_cache() 388 entry = entry->next; in hostapd_acl_expire_cache() 401 while (entry) { in hostapd_acl_expire_queries() 411 tmp = entry; in hostapd_acl_expire_queries() 412 entry = entry->next; in hostapd_acl_expire_queries() 417 prev = entry; in hostapd_acl_expire_queries() [all …]
|
/dragonfly/contrib/gcc-8.0/gcc/ |
H A D | hash-map-traits.h | 63 simple_hashmap_traits <H, Value>::remove (T &entry) in remove() argument 65 H::remove (entry.m_key); in remove() 66 entry.m_value.~Value (); in remove() 74 return H::is_empty (entry.m_key); in is_empty() 82 return H::is_deleted (entry.m_key); in is_deleted() 88 simple_hashmap_traits <H, Value>::mark_empty (T &entry) in mark_empty() argument 90 H::mark_empty (entry.m_key); in mark_empty() 98 H::mark_deleted (entry.m_key); in mark_deleted() 125 unbounded_hashmap_traits <Value>::remove (T &entry) in remove() argument 127 default_hash_traits <Value>::remove (entry.m_value); in remove() [all …]
|
/dragonfly/contrib/libarchive/cpio/ |
H A D | cpio.c | 626 entry = NULL; in mode_out() 628 while (entry != NULL) { in mode_out() 630 archive_entry_free(entry); in mode_out() 631 entry = NULL; in mode_out() 713 if (entry == NULL) in file_to_archive() 717 entry, -1, NULL); in file_to_archive() 725 archive_entry_free(entry); in file_to_archive() 766 archive_entry_free(entry); in file_to_archive() 780 if (entry != NULL) { in file_to_archive() 782 archive_entry_free(entry); in file_to_archive() [all …]
|
/dragonfly/contrib/lvm2/dist/daemons/cmirrord/ |
H A D | cluster.c | 376 strncpy(new->uuid, entry->name.value, entry->name.length); in prepare_checkpoint() 378 new->bitmap_size = push_state(entry->name.value, entry->luid, in prepare_checkpoint() 388 new->bitmap_size = push_state(entry->name.value, entry->luid, in prepare_checkpoint() 399 r = push_state(entry->name.value, entry->luid, in prepare_checkpoint() 728 if (pull_state(entry->name.value, entry->luid, in import_checkpoint() 800 if (!entry->resend_requests || entry->delay) in resend_requests() 877 free(entry); in do_cluster_work() 1656 entry->idx++; in cluster_debug() 1657 entry->idx = entry->idx % DEBUGGING_HISTORY; in cluster_debug() 1658 if (entry->debugging[entry->idx][0] == '\0') in cluster_debug() [all …]
|
/dragonfly/sys/dev/acpica/ |
H A D | acpi_pcib.c | 74 ACPI_PCI_ROUTING_TABLE *entry; in prt_walk_table() local 83 entry = (ACPI_PCI_ROUTING_TABLE *)prtptr; in prt_walk_table() 84 while (entry->Length != 0) { in prt_walk_table() 85 handler(entry, arg); in prt_walk_table() 86 prtptr += entry->Length; in prt_walk_table() 87 entry = (ACPI_PCI_ROUTING_TABLE *)prtptr; in prt_walk_table() 99 if (entry->Source == NULL || entry->Source[0] == '\0') in prt_attach_devices() 106 if (entry->SourceIndex != 0) in prt_attach_devices() 127 ACPI_ADR_PCI_SLOT(entry->Address), entry->Pin); in prt_attach_devices() 199 entry->Pin == pr->pr_pin) in prt_lookup_device() [all …]
|
/dragonfly/sys/dev/disk/advansys/ |
H A D | adw_pci.c | 159 struct adw_pci_identity *entry; in adw_find_pci_device() local 168 entry = &adw_pci_ident_table[i]; in adw_find_pci_device() 169 if (entry->full_id == (full_id & entry->id_mask)) in adw_find_pci_device() 170 return (entry); in adw_find_pci_device() 178 struct adw_pci_identity *entry; in adw_pci_probe() local 180 entry = adw_find_pci_device(dev); in adw_pci_probe() 181 if (entry != NULL) { in adw_pci_probe() 192 struct adw_pci_identity *entry; in adw_pci_attach() local 201 entry = adw_find_pci_device(dev); in adw_pci_attach() 202 if (entry == NULL) in adw_pci_attach() [all …]
|
/dragonfly/sys/dev/netif/iwm/ |
H A D | if_iwm_phy_db.c | 231 if (!entry) in iwm_phy_db_free_section() 236 entry->data = NULL; in iwm_phy_db_free_section() 237 entry->size = 0; in iwm_phy_db_free_section() 309 if (!entry) in iwm_phy_db_set_section() 315 if (!entry->data) { in iwm_phy_db_set_section() 316 entry->size = 0; in iwm_phy_db_set_section() 321 entry->size = size; in iwm_phy_db_set_section() 413 if (!entry) in iwm_phy_db_get_section_data() 469 if (!entry) in iwm_phy_db_send_all_channel_groups() 472 if (!entry->size) in iwm_phy_db_send_all_channel_groups() [all …]
|