Home
last modified time | relevance | path

Searched refs:entries (Results 26 – 50 of 1264) sorted by relevance

12345678910>>...51

/freebsd/usr.bin/tail/
H A Dreverse.c171 TAILQ_ENTRY(bfelem) entries;
210 TAILQ_REMOVE(&head, first, entries); in r_buf()
213 TAILQ_INSERT_TAIL(&head, tl, entries); in r_buf()
261 tr = TAILQ_NEXT(tl, entries); in r_buf()
265 entries, temp) { in r_buf()
269 entries); in r_buf()
276 tl = TAILQ_PREV(tl, bfhead, entries); in r_buf()
278 TAILQ_REMOVE(&head, first, entries); in r_buf()
/freebsd/usr.sbin/nscd/
H A Dcacheplcs.c115 TAILQ_INSERT_TAIL(&queue_policy->head, queue_item, entries); in cache_queue_policy_add_item()
129 TAILQ_REMOVE(&queue_policy->head, queue_item, entries); in cache_queue_policy_remove_item()
180 cache_queue_policy_head_, entries)); in cache_queue_policy_get_prev_item()
225 TAILQ_REMOVE(&queue_policy->head, queue_item, entries); in destroy_cache_queue_policy()
288 TAILQ_REMOVE(&queue_policy->head, queue_item, entries); in cache_lru_policy_update_item()
289 TAILQ_INSERT_TAIL(&queue_policy->head, queue_item, entries); in cache_lru_policy_update_item()
368 lfu_item, entries); in cache_lfu_policy_add_item()
409 entries); in cache_lfu_policy_update_item()
428 entries); in cache_lfu_policy_remove_item()
510 cache_lfu_policy_group_, entries); in cache_lfu_policy_get_prev_item()
[all …]
H A Dconfig.c278 memcpy(new_entries, config->entries, in add_configuration_entry()
282 free(config->entries); in add_configuration_entry()
283 config->entries = new_entries; in add_configuration_entry()
286 config->entries[config->entries_size++] = entry; in add_configuration_entry()
287 qsort(config->entries, config->entries_size, in add_configuration_entry()
311 return (config->entries[index]); in configuration_get_entry()
523 sizeof(*retval->entries)); in init_configuration()
524 assert(retval->entries != NULL); in init_configuration()
561 destroy_configuration_entry(config->entries[i]); in fill_configuration_defaults()
578 destroy_configuration_entry(config->entries[i]); in destroy_configuration()
[all …]
H A Dcachelib.c195 TAILQ_REMOVE(&ws->items, data_item, entries); in destroy_cache_mp_write_session()
259 TAILQ_REMOVE(&mp_entry->ws_head, ws, entries); in destroy_cache_entry()
265 TAILQ_REMOVE(&mp_entry->rs_head, rs, entries); in destroy_cache_entry()
489 sizeof(*retval->entries)); in init_cache()
490 assert(retval->entries != NULL); in init_cache()
506 if (the_cache->entries != NULL) { in destroy_cache()
509 destroy_cache_entry(the_cache->entries[i]); in destroy_cache()
511 free(the_cache->entries); in destroy_cache()
545 memcpy(new_entries, the_cache->entries, in register_cache_entry()
549 free(the_cache->entries); in register_cache_entry()
[all …]
/freebsd/contrib/processor-trace/libipt/src/
H A Dpt_image_section_cache.c141 struct pt_iscache_entry *entries; in pt_iscache_expand() local
154 entries = realloc(iscache->entries, target * sizeof(*entries)); in pt_iscache_expand()
155 if (!entries) in pt_iscache_expand()
159 iscache->entries = entries; in pt_iscache_expand()
179 entry = &iscache->entries[idx]; in pt_iscache_find_locked()
480 entry = &iscache->entries[idx]; in pt_iscache_find_section_locked()
819 struct pt_iscache_entry *entries; in pt_iscache_clear() local
830 entries = iscache->entries; in pt_iscache_clear()
834 iscache->entries = NULL; in pt_iscache_clear()
851 section = entries[idx].section; in pt_iscache_clear()
[all …]
/freebsd/sys/powerpc/powermac/
H A Dpowermac_thermal.c69 SLIST_ENTRY(pmac_fan_le) entries;
76 SLIST_ENTRY(pmac_sens_le) entries;
109 SLIST_FOREACH(sensor, &sensors, entries) { in pmac_therm_manage_fans()
140 SLIST_FOREACH(fan, &fans, entries) { in pmac_therm_manage_fans()
143 SLIST_FOREACH(sensor, &sensors, entries) { in pmac_therm_manage_fans()
201 SLIST_INSERT_HEAD(&fans, list_entry, entries); in pmac_thermal_fan_register()
215 SLIST_INSERT_HEAD(&sensors, list_entry, entries); in pmac_thermal_sensor_register()
/freebsd/sys/kern/
H A Dkern_kcov.c127 size_t entries; /* (o) */ member
139 static int kcov_alloc(struct kcov_info *info, size_t entries);
214 if (index + 2 > info->entries) in trace_pc()
247 if (index * 4 + 4 + 1 > info->entries) in trace_cmp()
349 if (info->kvaddr == 0 || size / KCOV_ELEMENT_SIZE != info->entries) in kcov_mmap_single()
359 kcov_alloc(struct kcov_info *info, size_t entries) in kcov_alloc() argument
368 if (entries < 2 || entries > kcov_max_entries) in kcov_alloc()
372 info->bufsize = roundup2(entries * KCOV_ELEMENT_SIZE, PAGE_SIZE); in kcov_alloc()
391 info->entries = entries; in kcov_alloc()
H A Dkern_fail.c392 struct fail_point_setting *entries; in fail_point_drain() local
394 entries = fail_point_swap_settings(fp, NULL); in fail_point_drain()
406 fail_point_swap_settings(fp, entries); in fail_point_drain()
763 struct fail_point_setting *entries; in fail_point_set() local
778 entries = fail_point_setting_new(fp); in fail_point_set()
779 if (parse_fail_point(entries, buf) == NULL) { in fail_point_set()
780 STAILQ_REMOVE(&fp_setting_garbage, entries, in fail_point_set()
782 fail_point_setting_destroy(entries); in fail_point_set()
836 if (TAILQ_EMPTY(&entries->fp_entry_queue)) { in fail_point_set()
838 if (entries != NULL) in fail_point_set()
[all …]
/freebsd/sys/security/mac_veriexec/
H A Dveriexec_metadata.c59 LIST_ENTRY(veriexec_dev_list) entries;
143 LIST_REMOVE(ip, entries); in get_veriexec_file()
172 ip = LIST_NEXT(ip, entries)) in mac_veriexec_print_db_dev_list()
261 lp = LIST_NEXT(lp, entries)) in free_veriexec_dev()
269 LIST_REMOVE(lp, entries); in free_veriexec_dev()
276 nip = LIST_NEXT(ip, entries); in free_veriexec_dev()
277 LIST_REMOVE(ip, entries); in free_veriexec_dev()
313 lp = LIST_NEXT(lp, entries)) in find_veriexec_dev()
346 LIST_INSERT_HEAD(head, lp, entries); in find_veriexec_dev()
663 ip = LIST_NEXT(ip, entries)) { in mac_veriexec_metadata_add_file()
[all …]
/freebsd/sys/dev/mlx4/mlx4_ib/
H A Dmlx4_ib_cq.c178 int entries = attr->cqe; in mlx4_ib_create_cq() local
187 if (entries < 1 || entries > dev->dev->caps.max_cqes) in mlx4_ib_create_cq()
193 entries = roundup_pow_of_two(entries + 1); in mlx4_ib_create_cq()
194 cq->ibcq.cqe = entries - 1; in mlx4_ib_create_cq()
212 ucmd.buf_addr, entries); in mlx4_ib_create_cq()
280 int entries) in mlx4_alloc_resize_buf() argument
298 cq->resize_buf->cqe = entries - 1; in mlx4_alloc_resize_buf()
377 if (entries < 1 || entries > dev->dev->caps.max_cqes) { in mlx4_ib_resize_cq()
382 entries = roundup_pow_of_two(entries + 1); in mlx4_ib_resize_cq()
383 if (entries == ibcq->cqe + 1) { in mlx4_ib_resize_cq()
[all …]
/freebsd/usr.sbin/setfmac/
H A Dsetfmac.c60 } *entries, /* entries[0..nentries] */ member
254 spec->entries = calloc(nlines, sizeof(*spec->entries)); in add_specs()
255 if (spec->entries == NULL) in add_specs()
272 add_spec_line(file, is_sebsd, &spec->entries[--nlines], line); in add_specs()
292 spec->entries = calloc(spec->nentries, sizeof(*spec->entries)); in add_setfmac_specs()
293 if (spec->entries == NULL) in add_setfmac_specs()
296 spec->entries->mactext = label; in add_setfmac_specs()
297 spec->entries->flags |= F_ALWAYSMATCH; in add_setfmac_specs()
410 for (ls->match = NULL, ent = ls->entries; in apply_specs()
411 ent < &ls->entries[ls->nentries]; ent++) { in apply_specs()
/freebsd/contrib/llvm-project/lldb/source/Interpreter/
H A DOptionValueBoolean.cpp75 auto entries = llvm::ArrayRef(autocomplete_entries); in AutoComplete() local
79 entries = entries.take_front(2); in AutoComplete()
81 for (auto entry : entries) in AutoComplete()
/freebsd/stand/usb/tools/
H A Dsysinit.c169 int entries; in main() local
226 entries = input_len / (uint32_t)sizeof(struct sysinit_data); in main()
228 start = do_malloc(sizeof(void *) * entries); in main()
229 stop = start + entries; in main()
231 for (c = 0; c != entries; c++) in main()
246 qsort(start, entries, sizeof(void *), &compare); in main()
249 qsort(start, entries, sizeof(void *), &compare_R); in main()
/freebsd/sys/contrib/device-tree/Bindings/sound/
H A Duniphier,evea.txt6 - clock-names : should include following entries:
9 entries in clock-names.
10 - reset-names : should include following entries:
12 - resets : a list of phandle, should contain reset entries of
/freebsd/sys/dev/ice/
H A Dice_osdep.h213 LIST_ENTRY(ice_list_node) entries;
229 #define LIST_ADD(entry, head) LIST_INSERT_HEAD(head, entry, entries)
230 #define LIST_ADD_AFTER(entry, elem) LIST_INSERT_AFTER(elem, entry, entries)
231 #define LIST_DEL(entry) LIST_REMOVE(entry, entries)
237 _osdep_LIST_ENTRY(LIST_NEXT(&(ptr->member), entries), __typeof(*ptr), member)
241 LIST_SWAP(old_head, _new_head, ice_list_node, entries); \
270 while (LIST_NEXT(node, entries) != NULL) in ice_get_list_tail()
271 node = LIST_NEXT(node, entries); in ice_get_list_tail()
284 LIST_INSERT_AFTER(node, entry, entries); \
295 LIST_ENTRY_SAFE(LIST_NEXT(&(ptr->member), entries), __typeof(*ptr), member)
/freebsd/sys/contrib/device-tree/Bindings/soc/qcom/
H A Dqcom,smp2p.txt29 Definition: three entries specifying the outgoing ipc bit used for
52 Each SMP2P pair contain a set of inbound and outbound entries, these are
59 Definition: specifies the name of this entry, for inbound entries this
61 and for outbound entries this name is used for allocating
62 entries
65 Usage: required for incoming entries
73 Usage: required for incoming entries
78 Usage: required for outgoing entries
/freebsd/sys/dev/mlx5/mlx5_ib/
H A Dmlx5_ib_cq.c920 int entries = attr->cqe; in mlx5_ib_create_cq() local
934 if (entries < 0 || in mlx5_ib_create_cq()
941 entries = roundup_pow_of_two(entries + 1); in mlx5_ib_create_cq()
945 cq->ibcq.cqe = entries - 1; in mlx5_ib_create_cq()
1156 int entries, int cqe_size) in resize_kernel() argument
1258 if (entries < 1 || in mlx5_ib_resize_cq()
1261 entries, in mlx5_ib_resize_cq()
1266 entries = roundup_pow_of_two(entries + 1); in mlx5_ib_resize_cq()
1270 if (entries == ibcq->cqe + 1) in mlx5_ib_resize_cq()
1326 cq->ibcq.cqe = entries - 1; in mlx5_ib_resize_cq()
[all …]
/freebsd/sys/contrib/device-tree/Bindings/pci/
H A Dqcom,pcie.txt30 Definition: Must include the following entries
91 Definition: Should contain the following entries
97 Definition: Should contain the following entries
105 Definition: Should contain the following entries
113 Definition: Should contain the following entries
123 Definition: Should contain the following entries
133 Definition: Should contain the following entries
143 Definition: Should contain the following entries
152 Definition: Should contain the following entries
164 Definition: Should contain the following entries
[all …]
/freebsd/sys/dev/etherswitch/
H A Dmiiproxy.c91 SLIST_ENTRY(rendezvous_entry) entries;
132 SLIST_FOREACH(e, &rendezvoushead, entries) { in rendezvous_register_proxy()
146 SLIST_INSERT_HEAD(&rendezvoushead, e, entries); in rendezvous_register_proxy()
162 SLIST_FOREACH(e, &rendezvoushead, entries) { in rendezvous_register_target()
173 SLIST_INSERT_HEAD(&rendezvoushead, e, entries); in rendezvous_register_target()
186 SLIST_FOREACH(e, &rendezvoushead, entries) { in rendezvous_unregister_proxy()
189 SLIST_REMOVE(&rendezvoushead, e, rendezvous_entry, entries); in rendezvous_unregister_proxy()
213 SLIST_FOREACH(e, &rendezvoushead, entries) { in rendezvous_unregister_target()
216 SLIST_REMOVE(&rendezvoushead, e, rendezvous_entry, entries); in rendezvous_unregister_target()
/freebsd/contrib/ntp/ntpd/
H A Dntp_monitor.c181 u_int entries; in mon_getmoremem() local
183 entries = (0 == mon_mem_increments) in mon_getmoremem()
187 if (entries) { in mon_getmoremem()
188 chunk = eallocarray(entries, sizeof(*chunk)); in mon_getmoremem()
189 mru_alloc += entries; in mon_getmoremem()
190 for (chunk += entries; entries; entries--) in mon_getmoremem()
/freebsd/contrib/smbfs/smbutil/
H A Dview.c74 int error, opt, bufsize, i, entries, total; in cmd_view() local
113 error = smb_rap_NetShareEnum(ctx, 1, rpbuf, bufsize, &entries, &total); in cmd_view()
119 for (ep = rpbuf, i = 0; i < entries; i++, ep++) { in cmd_view()
129 printf("\n%d shares listed from %d available\n", entries, total); in cmd_view()
/freebsd/sys/cam/
H A Dcam_sim.h71 #define spriv_ptr0 sim_priv.entries[0].ptr
72 #define spriv_ptr1 sim_priv.entries[1].ptr
73 #define spriv_field0 sim_priv.entries[0].field
74 #define spriv_field1 sim_priv.entries[1].field
/freebsd/sys/dev/qat/qat_common/
H A Dadf_isr.c168 struct msix_entry *msixe = info_pci_dev->msix_entries.entries; in adf_request_irqs()
265 struct msix_entry *msixe = info_pci_dev->msix_entries.entries; in adf_free_irqs()
285 struct msix_entry *entries; in adf_isr_alloc_msix_entry_table() local
293 entries = malloc(msix_num_entries * sizeof(struct msix_entry), in adf_isr_alloc_msix_entry_table()
298 accel_dev->accel_pci_dev.msix_entries.entries = entries; in adf_isr_alloc_msix_entry_table()
306 free(accel_dev->accel_pci_dev.msix_entries.entries, M_QAT); in adf_isr_free_msix_entry_table()
307 accel_dev->accel_pci_dev.msix_entries.entries = NULL; in adf_isr_free_msix_entry_table()
/freebsd/lib/libsecureboot/
H A Dvepcr.c50 STAILQ_ENTRY(hashed_info) entries;
115 STAILQ_INSERT_TAIL(&hi_list, hip, entries); in ve_pcr_update()
150 STAILQ_FOREACH(hip, &hi_list, entries) { in ve_pcr_hashed_get()
156 STAILQ_FOREACH(hip, &hi_list, entries) { in ve_pcr_hashed_get()
/freebsd/sys/contrib/device-tree/Bindings/media/
H A Dnvidia,tegra-vde.txt11 - reg-names : Must include the following entries:
24 - interrupt-names : Must include the following entries:
28 - clocks : Must include the following entries:
31 - reset-names : Should include the following entries:
36 - reset-names : Must include the following entries:

12345678910>>...51