/dragonfly/contrib/libarchive/libarchive/ |
H A D | archive_entry.c | 172 memset(entry, 0, sizeof(*entry)); in archive_entry_clear() 476 entry->archive, &entry->ae_hardlink, &p) == 0) in archive_entry_hardlink() 490 entry->archive, &entry->ae_hardlink, &p) == 0) in archive_entry_hardlink_utf8() 504 entry->archive, &entry->ae_hardlink, &p) == 0) in archive_entry_hardlink_w() 576 entry->archive, &entry->ae_pathname, &p) == 0) in archive_entry_pathname() 588 entry->archive, &entry->ae_pathname, &p) == 0) in archive_entry_pathname_utf8() 600 entry->archive, &entry->ae_pathname, &p) == 0) in archive_entry_pathname_w() 665 entry->archive, &entry->ae_sourcepath, &p) == 0) in archive_entry_sourcepath() 689 entry->archive, &entry->ae_symlink, &p) == 0) in archive_entry_symlink() 709 entry->archive, &entry->ae_symlink, &p) == 0) in archive_entry_symlink_utf8() [all …]
|
H A D | archive_entry_stat.c | 43 if (entry->stat == NULL) { in archive_entry_stat() 44 entry->stat = calloc(1, sizeof(*st)); in archive_entry_stat() 45 if (entry->stat == NULL) in archive_entry_stat() 47 entry->stat_valid = 0; in archive_entry_stat() 58 if (entry->stat_valid) in archive_entry_stat() 59 return (entry->stat); in archive_entry_stat() 61 st = entry->stat; in archive_entry_stat() 72 st->st_dev = archive_entry_dev(entry); in archive_entry_stat() 77 st->st_rdev = archive_entry_rdev(entry); in archive_entry_stat() 79 st->st_mode = archive_entry_mode(entry); in archive_entry_stat() [all …]
|
H A D | archive_entry_copy_stat.c | 64 archive_entry_set_atime(entry, st->st_atime, 0); in archive_entry_copy_stat() 65 archive_entry_set_ctime(entry, st->st_ctime, 0); in archive_entry_copy_stat() 73 archive_entry_unset_birthtime(entry); in archive_entry_copy_stat() 75 archive_entry_set_dev(entry, st->st_dev); in archive_entry_copy_stat() 76 archive_entry_set_gid(entry, st->st_gid); in archive_entry_copy_stat() 77 archive_entry_set_uid(entry, st->st_uid); in archive_entry_copy_stat() 78 archive_entry_set_ino(entry, st->st_ino); in archive_entry_copy_stat() 79 archive_entry_set_nlink(entry, st->st_nlink); in archive_entry_copy_stat() 80 archive_entry_set_rdev(entry, st->st_rdev); in archive_entry_copy_stat() 81 archive_entry_set_size(entry, st->st_size); in archive_entry_copy_stat() [all …]
|
H A D | archive_entry_sparse.c | 45 sp = entry->sparse_head->next; in archive_entry_sparse_clear() 46 free(entry->sparse_head); in archive_entry_sparse_clear() 47 entry->sparse_head = sp; in archive_entry_sparse_clear() 49 entry->sparse_tail = NULL; in archive_entry_sparse_clear() 88 if (entry->sparse_head == NULL) in archive_entry_sparse_add_entry() 89 entry->sparse_head = entry->sparse_tail = sp; in archive_entry_sparse_add_entry() 94 entry->sparse_tail = sp; in archive_entry_sparse_add_entry() 117 sp = entry->sparse_head; in archive_entry_sparse_count() 131 entry->sparse_p = entry->sparse_head; in archive_entry_sparse_reset() 140 if (entry->sparse_p) { in archive_entry_sparse_next() [all …]
|
H A D | archive_entry_xattr.c | 78 xp = entry->xattr_head->next; in archive_entry_xattr_clear() 81 free(entry->xattr_head); in archive_entry_xattr_clear() 82 entry->xattr_head = xp; in archive_entry_xattr_clear() 85 entry->xattr_head = NULL; in archive_entry_xattr_clear() 106 xp->next = entry->xattr_head; in archive_entry_xattr_add_entry() 107 entry->xattr_head = xp; in archive_entry_xattr_add_entry() 129 entry->xattr_p = entry->xattr_head; in archive_entry_xattr_reset() 138 if (entry->xattr_p) { in archive_entry_xattr_next() 139 *name = entry->xattr_p->name; in archive_entry_xattr_next() 141 *size = entry->xattr_p->size; in archive_entry_xattr_next() [all …]
|
/dragonfly/contrib/wpa_supplicant/src/ap/ |
H A D | pmksa_cache_auth.c | 47 bin_clear_free(entry, sizeof(*entry)); in _pmksa_cache_free_entry() 329 entry = os_zalloc(sizeof(*entry)); in pmksa_cache_auth_create_entry() 400 entry = os_zalloc(sizeof(*entry)); in pmksa_cache_add_okc() 454 entry = entry->next; in pmksa_cache_auth_deinit() 481 entry = entry->hnext) { in pmksa_cache_auth_get() 488 for (entry = pmksa->pmksa; entry; entry = entry->next) { in pmksa_cache_auth_get() 516 for (entry = pmksa->pmksa; entry; entry = entry->next) { in pmksa_cache_get_okc() 609 entry = entry->next; in pmksa_cache_auth_radius_das_disconnect() 613 entry = entry->next; in pmksa_cache_auth_radius_das_disconnect() 659 entry = entry->next; in pmksa_cache_auth_list() [all …]
|
/dragonfly/contrib/wpa_supplicant/src/rsn_supp/ |
H A D | pmksa_cache.c | 38 bin_clear_free(entry, sizeof(*entry)); in _pmksa_cache_free_entry() 145 entry = os_zalloc(sizeof(*entry)); in pmksa_cache_add() 270 entry->pmk, entry->pmk_len); in pmksa_cache_add_entry() 303 entry = entry->next; in pmksa_cache_flush() 308 entry = entry->next; in pmksa_cache_flush() 331 entry = entry->next; in pmksa_cache_deinit() 361 entry = entry->next; in pmksa_cache_get() 424 entry = entry->next; in pmksa_cache_get_opportunistic() 436 for (entry = pmksa->pmksa; entry; entry = entry->next) { in pmksa_cache_get_fils_cache_id() 546 for (entry = pmksa->pmksa; entry; entry = entry->next) { in pmksa_cache_list() [all …]
|
/dragonfly/sys/dev/drm/amd/powerplay/smumgr/ |
H A D | vega10_smumgr.c | 55 priv->smu_tables.entry[table_id].table_id); in vega10_copy_table_from_smc() 58 priv->smu_tables.entry[table_id].size); in vega10_copy_table_from_smc() 76 priv->smu_tables.entry[table_id].size); in vega10_copy_table_to_smc() 86 priv->smu_tables.entry[table_id].table_id); in vega10_copy_table_to_smc() 185 &priv->smu_tables.entry[PPTABLE].handle, in vega10_smu_init() 187 &priv->smu_tables.entry[PPTABLE].table); in vega10_smu_init() 200 &priv->smu_tables.entry[WMTABLE].handle, in vega10_smu_init() 202 &priv->smu_tables.entry[WMTABLE].table); in vega10_smu_init() 273 &priv->smu_tables.entry[WMTABLE].table); in vega10_smu_init() 277 &priv->smu_tables.entry[PPTABLE].table); in vega10_smu_init() [all …]
|
H A D | vega12_smumgr.c | 67 memcpy(table, priv->smu_tables.entry[table_id].table, in vega12_copy_table_from_smc() 68 priv->smu_tables.entry[table_id].size); in vega12_copy_table_from_smc() 91 memcpy(priv->smu_tables.entry[table_id].table, table, in vega12_copy_table_to_smc() 92 priv->smu_tables.entry[table_id].size); in vega12_copy_table_to_smc() 221 &priv->smu_tables.entry[TABLE_PPTABLE].handle, in vega12_smu_init() 223 &priv->smu_tables.entry[TABLE_PPTABLE].table); in vega12_smu_init() 227 priv->smu_tables.entry[TABLE_PPTABLE].version = 0x01; in vega12_smu_init() 297 if (priv->smu_tables.entry[TABLE_PMSTATUSLOG].table) in vega12_smu_init() 300 &priv->smu_tables.entry[TABLE_PMSTATUSLOG].table); in vega12_smu_init() 304 &priv->smu_tables.entry[TABLE_WATERMARKS].table); in vega12_smu_init() [all …]
|
/dragonfly/sys/vm/ |
H A D | vm_map.c | 800 vm_map_backing_detach(entry, &entry->ba); in vm_map_entry_shadow() 810 vm_map_backing_attach(entry, &entry->ba); in vm_map_entry_shadow() 856 vm_map_backing_attach(entry, &entry->ba); in vm_map_entry_allocate_object() 1522 entry = vm_map_rb_tree_RB_NEXT(entry); in vm_map_findspace() 2058 entry = vm_map_rb_tree_RB_NEXT(entry); in vm_map_unclip_range() 2067 entry = vm_map_rb_tree_RB_NEXT(entry); in vm_map_unclip_range() 2097 entry = vm_map_rb_tree_RB_NEXT(entry); in vm_map_submap() 2146 entry = vm_map_rb_tree_RB_NEXT(entry); in vm_map_protect() 2290 entry = vm_map_rb_tree_RB_NEXT(entry); in vm_map_madvise() 2499 entry = vm_map_rb_tree_RB_NEXT(entry); in vm_map_inherit() [all …]
|
/dragonfly/sys/dev/drm/ |
H A D | drm_scatter.c | 40 if (entry == NULL) in drm_sg_cleanup() 43 if (entry->vaddr != 0) in drm_sg_cleanup() 44 kmem_free(kernel_map, entry->vaddr, IDX_TO_OFF(entry->pages)); in drm_sg_cleanup() 46 kfree(entry->busaddr); in drm_sg_cleanup() 47 kfree(entry); in drm_sg_cleanup() 77 entry = kmalloc(sizeof(*entry), M_DRM, M_WAITOK | M_ZERO); in drm_legacy_sg_alloc() 81 entry->busaddr = kmalloc(entry->pages * sizeof(*entry->busaddr), in drm_legacy_sg_alloc() 104 dev->sg = entry; in drm_legacy_sg_alloc() 110 entry->pages, (uintmax_t)entry->vaddr, in drm_legacy_sg_alloc() 128 entry = dev->sg; in drm_legacy_sg_free() [all …]
|
H A D | drm_agpsupport.c | 232 kfree(entry); in drm_agp_alloc() 284 for (entry = dev->agp->memory; entry; entry = entry->next) { in drm_agp_lookup_entry() 286 return entry; in drm_agp_lookup_entry() 322 if (entry == NULL || !entry->bound) in drm_agp_unbind() 378 if (entry == NULL || entry->bound) in drm_agp_bind() 438 if (entry->prev) in drm_agp_free() 439 entry->prev->next = entry->next; in drm_agp_free() 443 entry->next->prev = entry->prev; in drm_agp_free() 449 kfree(entry); in drm_agp_free() 529 for (entry = dev->agp->memory; entry; entry = nexte) { in drm_legacy_agp_clear() [all …]
|
/dragonfly/contrib/binutils-2.27/ld/ |
H A D | ldfile.c | 125 entry->the_bfd = bfd_openr (attempt, entry->target); in ldfile_try_open_bfd() 135 if (entry->the_bfd == NULL) in ldfile_try_open_bfd() 164 if (entry->flags.search_dirs || !entry->flags.dynamic) in ldfile_try_open_bfd() 171 check = entry->the_bfd; in ldfile_try_open_bfd() 274 if (!entry->flags.dynamic && (entry->the_bfd->flags & DYNAMIC) != 0) in ldfile_try_open_bfd() 339 if (entry->flags.sysrooted && IS_ABSOLUTE_PATH (entry->filename)) in ldfile_open_file_search() 350 else if (ldfile_try_open_bfd (entry->filename, entry)) in ldfile_open_file_search() 367 if (entry->flags.maybe_archive && !entry->flags.full_name_provided) in ldfile_open_file_search() 399 if (ldfile_try_open_bfd (entry->filename, entry)) in ldfile_open_file() 402 if (filename_cmp (entry->filename, entry->local_sym_name) != 0) in ldfile_open_file() [all …]
|
/dragonfly/contrib/wpa_supplicant/src/radius/ |
H A D | radius_client.c | 519 entry = entry->next; in radius_client_timer() 542 entry = entry->next; in radius_client_timer() 560 entry = entry->next; in radius_client_timer() 591 for (entry = radius->msgs; entry; entry = entry->next) { in radius_client_auth_failover() 620 for (entry = radius->msgs; entry; entry = entry->next) { in radius_client_acct_failover() 649 for (entry = radius->msgs; entry; entry = entry->next) { in radius_client_update_timeout() 710 entry = entry->next; in radius_client_list_add() 993 entry = entry->next; in radius_client_get_id() 1049 for (entry = radius->msgs; entry; entry = entry->next) { in radius_client_update_acct_msgs() 1114 for (entry = radius->msgs; oserv && entry; entry = entry->next) { in radius_change_server() [all …]
|
/dragonfly/contrib/wpa_supplicant/wpa_supplicant/dbus/ |
H A D | dbus_dict_helpers.c | 629 entry->array_len = 0; in _wpa_dbus_dict_entry_get_byte_array() 654 entry->bytearray_value, entry->array_len); in _wpa_dbus_dict_entry_get_byte_array() 680 entry->array_len = 0; in _wpa_dbus_dict_entry_get_string_array() 795 entry->binarray_value[entry->array_len] = in _wpa_dbus_dict_entry_get_binarray() 798 if (entry->binarray_value[entry->array_len] == NULL) { in _wpa_dbus_dict_entry_get_binarray() 802 entry->array_len++; in _wpa_dbus_dict_entry_get_binarray() 834 entry); in _wpa_dbus_dict_entry_get_array() 839 entry); in _wpa_dbus_dict_entry_get_array() 966 entry->key = key; in wpa_dbus_dict_get_entry() 996 if (entry) { in wpa_dbus_dict_get_entry() [all …]
|
H A D | dbus_new_handlers_p2p.c | 36 entry.array_len != 4) in wpas_dbus_validate_dbus_ipaddr() 96 entry.key = NULL; in wpas_dbus_handler_p2p_find() 141 freq = entry.uint32_value; in wpas_dbus_handler_p2p_find() 227 entry.key = NULL; in wpas_dbus_handler_p2p_extendedlisten() 271 entry.key = NULL; in wpas_dbus_handler_p2p_presence_request() 558 join = entry.bool_value; in wpas_dbus_handler_p2p_connect() 2636 entry.array_len); in wpas_dbus_handler_p2p_add_service() 2642 entry.array_len); in wpas_dbus_handler_p2p_add_service() 2721 entry.array_len); in wpas_dbus_handler_p2p_delete_service() 2808 entry.array_len); in wpas_dbus_handler_p2p_service_sd_req() [all …]
|
/dragonfly/contrib/binutils-2.34/ld/ |
H A D | ldfile.c | 128 entry->the_bfd = bfd_openr (attempt, entry->target); in ldfile_try_open_bfd() 138 if (entry->the_bfd == NULL) in ldfile_try_open_bfd() 167 if (entry->flags.search_dirs || !entry->flags.dynamic) in ldfile_try_open_bfd() 174 check = entry->the_bfd; in ldfile_try_open_bfd() 277 if (!entry->flags.dynamic && (entry->the_bfd->flags & DYNAMIC) != 0) in ldfile_try_open_bfd() 342 if (entry->flags.sysrooted && IS_ABSOLUTE_PATH (entry->filename)) in ldfile_open_file_search() 353 else if (ldfile_try_open_bfd (entry->filename, entry)) in ldfile_open_file_search() 370 if (entry->flags.maybe_archive && !entry->flags.full_name_provided) in ldfile_open_file_search() 402 if (ldfile_try_open_bfd (entry->filename, entry)) in ldfile_open_file() 405 if (filename_cmp (entry->filename, entry->local_sym_name) != 0) in ldfile_open_file() [all …]
|
/dragonfly/sys/dev/netif/ath/ath_hal/ar5212/ |
H A D | ar5212_keycache.c | 72 __func__, entry); in ar5212ResetKeyCacheEntry() 78 OS_REG_WRITE(ah, AR_KEYTABLE_KEY0(entry), 0); in ar5212ResetKeyCacheEntry() 79 OS_REG_WRITE(ah, AR_KEYTABLE_KEY1(entry), 0); in ar5212ResetKeyCacheEntry() 80 OS_REG_WRITE(ah, AR_KEYTABLE_KEY2(entry), 0); in ar5212ResetKeyCacheEntry() 81 OS_REG_WRITE(ah, AR_KEYTABLE_KEY3(entry), 0); in ar5212ResetKeyCacheEntry() 82 OS_REG_WRITE(ah, AR_KEYTABLE_KEY4(entry), 0); in ar5212ResetKeyCacheEntry() 84 OS_REG_WRITE(ah, AR_KEYTABLE_MAC0(entry), 0); in ar5212ResetKeyCacheEntry() 117 __func__, entry); in ar5212SetKeyCacheEntryMac() 165 if (entry >= pCap->halKeyCacheSize) { in ar5212SetKeyCacheEntry() 167 __func__, entry); in ar5212SetKeyCacheEntry() [all …]
|
/dragonfly/contrib/mdocml/ |
H A D | dba.c | 87 struct macro_entry *entry; in dba_free() local 91 for (entry = ohash_first(macro, &slot); entry != NULL; in dba_free() 94 free(entry); in dba_free() 172 entry = NULL; in dba_page_new() 191 char *entry; in dba_page_add() local 207 entry++; in dba_page_add() 221 char *entry; in dba_page_alias() local 230 *entry |= maskbyte; in dba_page_alias() 350 entry = mandoc_malloc(sizeof(*entry) + len); in get_macro_entry() 355 return entry; in get_macro_entry() [all …]
|
/dragonfly/stand/boot/efi/libefi/ |
H A D | handles.c | 33 struct entry { struct 41 struct entry *entry; argument 54 entry = (entry == NULL) ? malloc(sz) : realloc(entry, sz); in efi_register_handles() 61 entry[idx].dev = sw; in efi_register_handles() 62 entry[idx].unit = unit; in efi_register_handles() 88 if (entry[idx].handle != h && entry[idx].alias != h) in efi_handle_lookup() 91 *dev = entry[idx].dev; in efi_handle_lookup() 110 entry[idx].dev = dev; in efi_handle_update_dev() 111 entry[idx].unit = unit; in efi_handle_update_dev() 112 entry[idx].alias = NULL; in efi_handle_update_dev() [all …]
|
/dragonfly/sys/contrib/dev/ath/ath_hal/ar9300/ |
H A D | ar9300_keycache.c | 93 OS_REG_WRITE(ah, AR_KEYTABLE_KEY0(entry), 0); in ar9300_reset_key_cache_entry() 94 OS_REG_WRITE(ah, AR_KEYTABLE_KEY1(entry), 0); in ar9300_reset_key_cache_entry() 95 OS_REG_WRITE(ah, AR_KEYTABLE_KEY2(entry), 0); in ar9300_reset_key_cache_entry() 96 OS_REG_WRITE(ah, AR_KEYTABLE_KEY3(entry), 0); in ar9300_reset_key_cache_entry() 97 OS_REG_WRITE(ah, AR_KEYTABLE_KEY4(entry), 0); in ar9300_reset_key_cache_entry() 99 OS_REG_WRITE(ah, AR_KEYTABLE_MAC0(entry), 0); in ar9300_reset_key_cache_entry() 141 u_int16_t entry, in ar9300_set_key_cache_entry_mac() argument 203 if (entry >= p_cap->halKeyCacheSize) { in ar9300_set_key_cache_entry() 230 __func__, entry); in ar9300_set_key_cache_entry() 457 if (entry >= pCap->hal_key_cache_size) { in ar9300_check_key_cache_entry() [all …]
|
/dragonfly/sys/netgraph7/ |
H A D | ng_nat.c | 409 if (entry->lnk == NULL) { in ng_nat_rcvmsg() 441 bcopy(&entry->rdr.id, resp->data, sizeof(entry->rdr.id)); in ng_nat_rcvmsg() 465 if (entry->lnk == NULL) { in ng_nat_rcvmsg() 493 bcopy(&entry->rdr.id, resp->data, sizeof(entry->rdr.id)); in ng_nat_rcvmsg() 518 if (entry->lnk == NULL) { in ng_nat_rcvmsg() 547 bcopy(&entry->rdr.id, resp->data, sizeof(entry->rdr.id)); in ng_nat_rcvmsg() 568 if (entry == NULL) { in ng_nat_rcvmsg() 575 entry->lnk) == -1) { in ng_nat_rcvmsg() 607 if (entry == NULL) { in ng_nat_rcvmsg() 618 entry->rdr.lsnat++; in ng_nat_rcvmsg() [all …]
|
/dragonfly/sys/dev/netif/ath/ath_hal/ar5211/ |
H A D | ar5211_keycache.c | 49 if (entry < AR_KEYTABLE_SIZE) { in ar5211IsKeyCacheEntryValid() 63 if (entry < AR_KEYTABLE_SIZE) { in ar5211ResetKeyCacheEntry() 64 OS_REG_WRITE(ah, AR_KEYTABLE_KEY0(entry), 0); in ar5211ResetKeyCacheEntry() 65 OS_REG_WRITE(ah, AR_KEYTABLE_KEY1(entry), 0); in ar5211ResetKeyCacheEntry() 66 OS_REG_WRITE(ah, AR_KEYTABLE_KEY2(entry), 0); in ar5211ResetKeyCacheEntry() 67 OS_REG_WRITE(ah, AR_KEYTABLE_KEY3(entry), 0); in ar5211ResetKeyCacheEntry() 68 OS_REG_WRITE(ah, AR_KEYTABLE_KEY4(entry), 0); in ar5211ResetKeyCacheEntry() 85 if (entry >= AR_KEYTABLE_SIZE) { in ar5211SetKeyCacheEntryMac() 87 __func__, entry); in ar5211SetKeyCacheEntryMac() 124 if (entry >= AR_KEYTABLE_SIZE) { in ar5211SetKeyCacheEntry() [all …]
|
/dragonfly/sys/dev/netif/ath/ath_hal/ar5210/ |
H A D | ar5210_keycache.c | 45 if (entry < AR_KEYTABLE_SIZE) { in ar5210IsKeyCacheEntryValid() 59 if (entry < AR_KEYTABLE_SIZE) { in ar5210ResetKeyCacheEntry() 60 OS_REG_WRITE(ah, AR_KEYTABLE_KEY0(entry), 0); in ar5210ResetKeyCacheEntry() 61 OS_REG_WRITE(ah, AR_KEYTABLE_KEY1(entry), 0); in ar5210ResetKeyCacheEntry() 62 OS_REG_WRITE(ah, AR_KEYTABLE_KEY2(entry), 0); in ar5210ResetKeyCacheEntry() 63 OS_REG_WRITE(ah, AR_KEYTABLE_KEY3(entry), 0); in ar5210ResetKeyCacheEntry() 64 OS_REG_WRITE(ah, AR_KEYTABLE_KEY4(entry), 0); in ar5210ResetKeyCacheEntry() 65 OS_REG_WRITE(ah, AR_KEYTABLE_TYPE(entry), 0); in ar5210ResetKeyCacheEntry() 81 if (entry < AR_KEYTABLE_SIZE) { in ar5210SetKeyCacheEntryMac() 98 OS_REG_WRITE(ah, AR_KEYTABLE_MAC1(entry), in ar5210SetKeyCacheEntryMac() [all …]
|
/dragonfly/usr.sbin/nscd/ |
H A D | parser.c | 95 if (entry == NULL) { in find_create_entry() 97 assert( entry != NULL); in find_create_entry() 103 return (entry); in find_create_entry() 117 entry->enabled = flag; in enable_cache() 157 assert(entry != NULL); in set_negative_time_to_live() 178 assert(entry != NULL); in set_keep_hot_count() 182 assert(entry != NULL); in set_keep_hot_count() 198 assert(entry != NULL); in set_positive_policy() 214 assert(entry != NULL); in set_negative_policy() 230 assert(entry != NULL); in set_perform_actual_lookups() [all …]
|