Home
last modified time | relevance | path

Searched full:entry (Results 1 – 25 of 6115) sorted by relevance

12345678910>>...245

/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DX86ManualInstrMapping.def53 #ifndef ENTRY
54 #define ENTRY(OLD, NEW)
56 ENTRY(VALIGNDZ128rmi, VPALIGNRrmi)
57 ENTRY(VALIGNDZ128rri, VPALIGNRrri)
58 ENTRY(VALIGNQZ128rmi, VPALIGNRrmi)
59 ENTRY(VALIGNQZ128rri, VPALIGNRrri)
60 ENTRY(VMAXSDZrm, VMAXSDrm)
61 ENTRY(VMAXSDZrr, VMAXSDrr)
62 ENTRY(VMAXSSZrm, VMAXSSrm)
63 ENTRY(VMAXSSZrr, VMAXSSrr)
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/Disassembler/
H A DX86DisassemblerDecoder.h114 ENTRY(AL) \
115 ENTRY(CL) \
116 ENTRY(DL) \
117 ENTRY(BL) \
118 ENTRY(AH) \
119 ENTRY(CH) \
120 ENTRY(DH) \
121 ENTRY(BH) \
122 ENTRY(R8B) \
123 ENTRY(R9B) \
[all …]
/freebsd/stand/liblua/
H A Dlerrno.c43 #define ENTRY(name) { #name, name } macro
48 ENTRY(EPERM),
49 ENTRY(ENOENT),
50 ENTRY(ESRCH),
51 ENTRY(EINTR),
52 ENTRY(EIO),
53 ENTRY(ENXIO),
54 ENTRY(E2BIG),
55 ENTRY(ENOEXEC),
56 ENTRY(EBADF),
[all …]
/freebsd/contrib/wpa/src/ap/
H A Dpmksa_cache_auth.c31 void (*free_cb)(struct rsn_pmksa_cache_entry *entry, void *ctx);
39 static void _pmksa_cache_free_entry(struct rsn_pmksa_cache_entry *entry) in _pmksa_cache_free_entry() argument
41 os_free(entry->vlan_desc); in _pmksa_cache_free_entry()
42 os_free(entry->identity); in _pmksa_cache_free_entry()
43 os_free(entry->dpp_pkhash); in _pmksa_cache_free_entry()
44 wpabuf_free(entry->cui); in _pmksa_cache_free_entry()
46 radius_free_class(&entry->radius_class); in _pmksa_cache_free_entry()
48 bin_clear_free(entry, sizeof(*entry)); in _pmksa_cache_free_entry()
53 struct rsn_pmksa_cache_entry *entry) in pmksa_cache_free_entry() argument
61 pmksa->free_cb(entry, pmksa->ctx); in pmksa_cache_free_entry()
[all …]
/freebsd/contrib/libarchive/libarchive/
H A Darchive_entry.c154 archive_entry_clear(struct archive_entry *entry) in archive_entry_clear() argument
156 if (entry == NULL) in archive_entry_clear()
158 archive_mstring_clean(&entry->ae_fflags_text); in archive_entry_clear()
159 archive_mstring_clean(&entry->ae_gname); in archive_entry_clear()
160 archive_mstring_clean(&entry->ae_linkname); in archive_entry_clear()
161 archive_mstring_clean(&entry->ae_pathname); in archive_entry_clear()
162 archive_mstring_clean(&entry->ae_sourcepath); in archive_entry_clear()
163 archive_mstring_clean(&entry->ae_uname); in archive_entry_clear()
164 archive_entry_copy_mac_metadata(entry, NULL, 0); in archive_entry_clear()
165 archive_acl_clear(&entry->acl); in archive_entry_clear()
[all …]
/freebsd/contrib/wpa/src/rsn_supp/
H A Dpmksa_cache.c27 void (*free_cb)(struct rsn_pmksa_cache_entry *entry, void *ctx,
29 bool (*is_current_cb)(struct rsn_pmksa_cache_entry *entry,
31 void (*notify_cb)(struct rsn_pmksa_cache_entry *entry, void *ctx);
39 static void _pmksa_cache_free_entry(struct rsn_pmksa_cache_entry *entry) in _pmksa_cache_free_entry() argument
41 bin_clear_free(entry, sizeof(*entry)); in _pmksa_cache_free_entry()
46 struct rsn_pmksa_cache_entry *entry, in pmksa_cache_free_entry() argument
50 wpa_sm_remove_pmkid(pmksa->sm, entry->network_ctx, entry->aa, in pmksa_cache_free_entry()
51 entry->pmkid, in pmksa_cache_free_entry()
52 entry->fils_cache_id_set ? in pmksa_cache_free_entry()
53 entry->fils_cache_id : NULL); in pmksa_cache_free_entry()
[all …]
/freebsd/contrib/libarchive/libarchive/test/
H A Dtest_link_resolver.c29 struct archive_entry *entry, *e2; in test_linkify_tar() local
37 /* Create an entry with only 1 link and try to linkify it. */ in test_linkify_tar()
38 assert(NULL != (entry = archive_entry_new())); in test_linkify_tar()
39 archive_entry_set_pathname(entry, "test1"); in test_linkify_tar()
40 archive_entry_set_ino(entry, 1); in test_linkify_tar()
41 archive_entry_set_dev(entry, 2); in test_linkify_tar()
42 archive_entry_set_nlink(entry, 1); in test_linkify_tar()
43 archive_entry_set_size(entry, 10); in test_linkify_tar()
44 archive_entry_linkify(resolver, &entry, &e2); in test_linkify_tar()
48 assertEqualInt(10, archive_entry_size(entry)); in test_linkify_tar()
[all …]
H A Dtest_pax_filename_encoding.c52 struct archive_entry *entry; in test_pax_filename_encoding_1() local
64 * First entry in this test archive has an invalid UTF-8 sequence in test_pax_filename_encoding_1()
69 assertEqualInt(ARCHIVE_WARN, archive_read_next_header(a, &entry)); in test_pax_filename_encoding_1()
70 assertEqualString(filename, archive_entry_pathname(entry)); in test_pax_filename_encoding_1()
72 * Second entry is identical except that it does have in test_pax_filename_encoding_1()
77 assertEqualInt(ARCHIVE_OK, archive_read_next_header(a, &entry)); in test_pax_filename_encoding_1()
78 assertEqualString(filename, archive_entry_pathname(entry)); in test_pax_filename_encoding_1()
92 struct archive_entry *entry; in test_pax_filename_encoding_2() local
122 assert((entry = archive_entry_new()) != NULL); in test_pax_filename_encoding_2()
124 archive_entry_copy_pathname(entry, filename); in test_pax_filename_encoding_2()
[all …]
H A Dtest_write_format_tar_v7tar.c53 struct archive_entry *entry; in DEFINE_TEST()
86 assert((entry = archive_entry_new()) != NULL); in DEFINE_TEST()
87 archive_entry_set_mtime(entry, 1, 10); in DEFINE_TEST()
88 archive_entry_set_pathname(entry, "file"); in DEFINE_TEST()
89 archive_entry_set_mode(entry, S_IFREG | 0664); in DEFINE_TEST()
90 archive_entry_set_size(entry, 10); in DEFINE_TEST()
91 archive_entry_set_uid(entry, 80); in DEFINE_TEST()
92 archive_entry_set_gid(entry, 90); in DEFINE_TEST()
93 archive_entry_set_dev(entry, 12); in DEFINE_TEST()
94 archive_entry_set_ino(entry, 8 in DEFINE_TEST()
54 struct archive_entry *entry; DEFINE_TEST() local
[all...]
H A Dtest_write_format_mtree_preset_digests.c52 struct archive_entry *entry; in DEFINE_TEST() local
95 assert((entry = archive_entry_new()) != NULL); in DEFINE_TEST()
96 archive_entry_set_pathname(entry, "test.data"); in DEFINE_TEST()
97 archive_entry_set_filetype(entry, AE_IFREG); in DEFINE_TEST()
98 archive_entry_set_size(entry, 4); in DEFINE_TEST()
99 assertEqualIntA(a, ARCHIVE_OK, archive_write_header(a, entry)); in DEFINE_TEST()
100 archive_entry_free(entry); in DEFINE_TEST()
105 assert((entry = archive_entry_new()) != NULL); in DEFINE_TEST()
109 assertEqualIntA(a, ARCHIVE_OK, archive_read_next_header(a, &entry)); in DEFINE_TEST()
112 assert(memcmp(archive_entry_digest(entry, ARCHIVE_ENTRY_DIGEST_MD5), ed.md5, sizeof(ed.md5)) == 0); in DEFINE_TEST()
[all …]
H A Dtest_zip_filename_encoding.c32 struct archive_entry *entry; in DEFINE_TEST() local
56 entry = archive_entry_new2(a); in DEFINE_TEST()
58 archive_entry_set_pathname(entry, "\xD0\xBF\xD1\x80\xD0\xB8"); in DEFINE_TEST()
59 archive_entry_set_filetype(entry, AE_IFREG); in DEFINE_TEST()
60 archive_entry_set_size(entry, 0); in DEFINE_TEST()
61 assertEqualInt(ARCHIVE_OK, archive_write_header(a, entry)); in DEFINE_TEST()
62 archive_entry_free(entry); in DEFINE_TEST()
81 entry = archive_entry_new2(a); in DEFINE_TEST()
83 archive_entry_set_pathname(entry, "\xD0\xBF\xD1\x80\xD0\xB8"); in DEFINE_TEST()
84 archive_entry_set_filetype(entry, AE_IFREG); in DEFINE_TEST()
[all …]
H A Dtest_gnutar_filename_encoding.c31 struct archive_entry *entry; in DEFINE_TEST() local
55 entry = archive_entry_new2(a); in DEFINE_TEST()
57 archive_entry_set_pathname(entry, "\xD0\xBF\xD1\x80\xD0\xB8"); in DEFINE_TEST()
58 archive_entry_set_filetype(entry, AE_IFREG); in DEFINE_TEST()
59 archive_entry_set_size(entry, 0); in DEFINE_TEST()
60 assertEqualInt(ARCHIVE_OK, archive_write_header(a, entry)); in DEFINE_TEST()
61 archive_entry_free(entry); in DEFINE_TEST()
72 struct archive_entry *entry; in DEFINE_TEST() local
96 entry = archive_entry_new2(a); in DEFINE_TEST()
98 archive_entry_set_pathname(entry, "\xD0\xD2\xC9"); in DEFINE_TEST()
[all …]
H A Dtest_ustar_filename_encoding.c32 struct archive_entry *entry; in DEFINE_TEST() local
56 entry = archive_entry_new2(a); in DEFINE_TEST()
58 archive_entry_set_pathname(entry, "\xD0\xBF\xD1\x80\xD0\xB8"); in DEFINE_TEST()
59 archive_entry_set_filetype(entry, AE_IFREG); in DEFINE_TEST()
60 archive_entry_set_size(entry, 0); in DEFINE_TEST()
61 assertEqualInt(ARCHIVE_OK, archive_write_header(a, entry)); in DEFINE_TEST()
62 archive_entry_free(entry); in DEFINE_TEST()
73 struct archive_entry *entry; in DEFINE_TEST() local
97 entry = archive_entry_new2(a); in DEFINE_TEST()
99 archive_entry_set_pathname(entry, "\xD0\xD2\xC9"); in DEFINE_TEST()
[all …]
/freebsd/sys/dev/iommu/
H A Diommu_gas.c31 #define RB_AUGMENT_CHECK(entry) iommu_gas_augment_entry(entry) argument
110 iommu_gas_free_entry(struct iommu_map_entry *entry) in iommu_gas_free_entry() argument
115 n = vm_page_free_pages_toq(&entry->pgtbl_free, false); in iommu_gas_free_entry()
119 domain = entry->domain; in iommu_gas_free_entry()
122 uma_zfree(iommu_map_entry_zone, entry); in iommu_gas_free_entry()
130 KASSERT(a->start <= a->end, ("inverted entry %p (%jx, %jx)", in iommu_gas_cmp_entries()
132 KASSERT(b->start <= b->end, ("inverted entry %p (%jx, %jx)", in iommu_gas_cmp_entries()
155 iommu_gas_augment_entry(struct iommu_map_entry *entry) in iommu_gas_augment_entry() argument
161 bound = entry->start; in iommu_gas_augment_entry()
162 if ((child = RB_LEFT(entry, rb_entry)) != NULL) { in iommu_gas_augment_entry()
[all …]
/freebsd/tests/sys/fs/fusefs/
H A Dnfs.cc84 SET_OUT_HEADER_LEN(out, entry); in TEST_F()
85 out.body.entry.attr.mode = mode; in TEST_F()
86 out.body.entry.nodeid = ino; in TEST_F()
87 out.body.entry.attr.ino = ino; in TEST_F()
88 out.body.entry.generation = 1; in TEST_F()
89 out.body.entry.attr_valid = UINT64_MAX; in TEST_F()
90 out.body.entry.entry_valid = 0; in TEST_F()
96 SET_OUT_HEADER_LEN(out, entry); in TEST_F()
97 out.body.entry.attr.mode = mode; in TEST_F()
98 out.body.entry.nodeid = ino; in TEST_F()
[all …]
H A Dlookup.cc76 SET_OUT_HEADER_LEN(out, entry); in TEST_F()
77 out.body.entry.nodeid = ino; in TEST_F()
78 out.body.entry.attr_valid = UINT64_MAX; in TEST_F()
79 out.body.entry.attr.ino = ino; // Must match nodeid in TEST_F()
80 out.body.entry.attr.mode = S_IFREG | 0644; in TEST_F()
81 out.body.entry.attr.size = 1; in TEST_F()
82 out.body.entry.attr.blocks = 2; in TEST_F()
83 out.body.entry.attr.atime = 3; in TEST_F()
84 out.body.entry.attr.mtime = 4; in TEST_F()
85 out.body.entry.attr.ctime = 5; in TEST_F()
[all …]
/freebsd/usr.sbin/bsnmpd/modules/snmp_hostres/
H A Dhostres_swrun_tbl.c74 * This structure is used to hold a SNMP table entry
90 uint64_t r_tick; /* tick when entry refreshed */
108 * Malloc a new entry and add it to the list
115 struct swrun_entry *entry; in swrun_entry_create() local
117 if ((entry = malloc(sizeof(*entry))) == NULL) { in swrun_entry_create()
121 memset(entry, 0, sizeof(*entry)); in swrun_entry_create()
122 entry->index = idx; in swrun_entry_create()
124 INSERT_OBJECT_INT(entry, &swrun_tbl); in swrun_entry_create()
125 return (entry); in swrun_entry_create()
129 * Unlink the entry from the list and then free its heap memory
[all …]
H A Dhostres_storage_tbl.c61 * This structure is used to hold a SNMP table entry
80 * (a_name) to an entry in the hrStorageTblEntry. We are trying to keep the
94 struct storage_entry *entry; member
134 * Create a new entry into the storage table and, if necessary, an
135 * entry into the storage map.
140 struct storage_entry *entry; in storage_entry_create() local
185 if ((entry = malloc(sizeof(*entry))) == NULL) { in storage_entry_create()
189 memset(entry, 0, sizeof(*entry)); in storage_entry_create()
191 entry->index = map->hrIndex; in storage_entry_create()
193 if ((entry->descr = strdup(map->a_name)) == NULL) { in storage_entry_create()
[all …]
H A Dhostres_fs_tbl.c65 * This structure is used to hold a SNMP table entry
86 * (a_name) to an entry in the hrFSTblEntry. We are trying to keep the same
94 struct fs_entry *entry; member
147 * Create an entry into the FS table and an entry in the map (if needed).
152 struct fs_entry *entry; in fs_entry_create() local
190 map->entry = NULL; in fs_entry_create()
198 if ((entry = malloc(sizeof(*entry))) == NULL) { in fs_entry_create()
203 if ((entry->mountPoint = strdup(name)) == NULL) { in fs_entry_create()
205 free(entry); in fs_entry_create()
209 entry->index = map->hrIndex; in fs_entry_create()
[all …]
/freebsd/contrib/expat/tests/
H A Dmemcheck.c58 AllocationEntry *const entry in tracking_malloc() local
61 if (entry == NULL) { in tracking_malloc()
65 entry->num_bytes = size; in tracking_malloc()
66 entry->allocation = malloc(size); in tracking_malloc()
67 if (entry->allocation == NULL) { in tracking_malloc()
68 free(entry); in tracking_malloc()
71 entry->next = NULL; in tracking_malloc()
75 entry->prev = NULL; in tracking_malloc()
76 alloc_head = alloc_tail = entry; in tracking_malloc()
78 entry->prev = alloc_tail; in tracking_malloc()
[all …]
/freebsd/crypto/krb5/src/lib/kadm5/srv/
H A Dsvr_policy.c44 * entry (input) The policy entry to be written out to the DB.
45 * mask (input) Specifies which fields in entry are to ge written out
50 * Entry must be a valid principal entry, and mask have a valid value.
59 kadm5_create_policy(void *server_handle, kadm5_policy_ent_t entry, long mask) in kadm5_create_policy() argument
70 if ((entry == (kadm5_policy_ent_t) NULL) || (entry->policy == NULL)) in kadm5_create_policy()
72 if(strlen(entry->policy) == 0) in kadm5_create_policy()
77 entry->allowed_keysalts != NULL) { in kadm5_create_policy()
78 ret = validate_allowed_keysalts(entry->allowed_keysalts); in kadm5_create_policy()
83 ret = krb5_db_get_policy(handle->context, entry->policy, &check_pol); in kadm5_create_policy()
92 pent.name = entry->policy; in kadm5_create_policy()
[all …]
/freebsd/sys/fs/ext2fs/
H A Dext2_extattr.c159 ext2_extattr_check(struct ext2fs_extattr_entry *entry, char *end) in ext2_extattr_check() argument
163 while (!EXT2_IS_LAST_ENTRY(entry)) { in ext2_extattr_check()
164 next = EXT2_EXTATTR_NEXT(entry); in ext2_extattr_check()
168 entry = next; in ext2_extattr_check()
197 struct ext2fs_extattr_entry *entry; in ext2_extattr_inode_list() local
231 for (entry = EXT2_IFIRST(header); !EXT2_IS_LAST_ENTRY(entry); in ext2_extattr_inode_list()
232 entry = EXT2_EXTATTR_NEXT(entry)) { in ext2_extattr_inode_list()
233 if (ext2_extattr_attrnamespace_to_bsd(entry->e_name_index) != in ext2_extattr_inode_list()
237 name_len = entry->e_name_len; in ext2_extattr_inode_list()
238 attr_name = ext2_extattr_name_to_bsd(entry->e_name_index, in ext2_extattr_inode_list()
[all …]
/freebsd/sys/geom/part/
H A Dg_part.h40 G_PART_ALIAS_APPLE_BOOT, /* An Apple boot partition entry. */
42 G_PART_ALIAS_APPLE_HFS, /* An HFS+ file system entry. */
43 G_PART_ALIAS_APPLE_LABEL, /* An Apple label partition entry. */
44 G_PART_ALIAS_APPLE_RAID, /* An Apple RAID partition entry. */
45 G_PART_ALIAS_APPLE_RAID_OFFLINE,/* An Apple RAID (offline) part entry.*/
46 G_PART_ALIAS_APPLE_TV_RECOVERY, /* An Apple TV recovery part entry. */
47 G_PART_ALIAS_APPLE_UFS, /* An Apple UFS partition entry. */
48 G_PART_ALIAS_APPLE_ZFS, /* An Apple ZFS partition entry.
50 G_PART_ALIAS_BIOS_BOOT, /* A GRUB 2 boot partition entry. */
51 G_PART_ALIAS_CHROMEOS_FIRMWARE, /* A ChromeOS firmware part. entry. */
[all …]
/freebsd/sys/vm/
H A Dvm_map.c114 * [That is, an entry is split into two, bordering at a
131 static void vm_map_entry_deallocate(vm_map_entry_t entry, boolean_t system_map);
132 static void vm_map_entry_dispose(vm_map_t map, vm_map_entry_t entry);
133 static void vm_map_entry_unwire(vm_map_t map, vm_map_entry_t entry);
144 static void vm_map_wire_entry_failure(vm_map_t map, vm_map_entry_t entry,
251 * User map and entry structures are allocated from the general purpose
262 * Disable the use of per-CPU buckets: map entry allocation is in vm_map_startup()
265 kmapentzone = uma_zcreate("KMAP ENTRY", sizeof(struct vm_map_entry), in vm_map_startup()
269 /* Reserve an extra map entry for use when replenishing the reserve. */ in vm_map_startup()
276 mapentzone = uma_zcreate("MAP ENTRY", sizeof(struct vm_map_entry), in vm_map_startup()
[all …]
/freebsd/sys/contrib/openzfs/module/os/linux/spl/
H A Dspl-tsd.c42 * type is entry is called a 'key' entry and it is added to the hash during
45 * key will be linked to this entry. This is used during tsd_destroy() to
47 * The 'key' entry may be looked up with tsd_hash_search() by passing the
50 * The second type of entry is called a 'pid' entry and it is added to the
51 * hash the first time a process set a key. The 'pid' entry is also used
54 * are run for the process. The 'pid' entry may be looked up with
102 tsd_hash_entry_t *entry; in tsd_hash_search() local
110 entry = list_entry(node, tsd_hash_entry_t, he_list); in tsd_hash_search()
111 if ((entry->he_key == key) && (entry->he_pid == pid)) { in tsd_hash_search()
113 return (entry); in tsd_hash_search()
[all …]

12345678910>>...245