Home
last modified time | relevance | path

Searched refs:tail (Results 1 – 21 of 21) sorted by relevance

/device/linaro/dragonboard/shared/utils/qrtr/src/
Dlist.h22 struct list_item *tail; member
36 list->tail = 0; in list_init()
42 item->prev = list->tail; in list_append()
43 if (list->tail != 0) in list_append()
44 list->tail->next = item; in list_append()
47 list->tail = item; in list_append()
55 list->tail = item; in list_prepend()
70 if (list->tail == after) in list_insert()
71 list->tail = item; in list_insert()
81 list->tail = 0; in list_remove()
[all …]
/device/generic/car/emulator/audio/driver/
Daudio_vbuffer.c43 audio_vbuffer->tail = 0; in audio_vbuffer_init()
85 if (audio_vbuffer->live == 0 || audio_vbuffer->head > audio_vbuffer->tail) { in audio_vbuffer_write()
88 } else if (audio_vbuffer->head < audio_vbuffer->tail) { in audio_vbuffer_write()
89 frames = MIN(frame_count, audio_vbuffer->tail - (audio_vbuffer->head)); in audio_vbuffer_write()
117 audio_vbuffer->tail > audio_vbuffer->head) { in audio_vbuffer_read()
119 MIN(frame_count, audio_vbuffer->frame_count - audio_vbuffer->tail); in audio_vbuffer_read()
120 } else if (audio_vbuffer->tail < audio_vbuffer->head) { in audio_vbuffer_read()
121 frames = MIN(frame_count, audio_vbuffer->head - audio_vbuffer->tail); in audio_vbuffer_read()
127 &audio_vbuffer->data[audio_vbuffer->tail * audio_vbuffer->frame_size], in audio_vbuffer_read()
132 audio_vbuffer->tail = in audio_vbuffer_read()
[all …]
Daudio_vbuffer.h28 size_t tail; member
/device/google/contexthub/firmware/os/core/
DsimpleQ.c32 uint32_t head, tail, num, freeHead, entrySz; member
65 sq->tail = SIMPLE_QUEUE_IDX_NONE; in simpleQueueAlloc()
105 if (sq->tail == head) in simpleQueueDequeue()
106 sq->tail = SIMPLE_QUEUE_IDX_NONE; in simpleQueueDequeue()
136 if (sq->tail == idx) in simpleQueueAllocWithDiscard()
137 sq->tail = prev; in simpleQueueAllocWithDiscard()
172 simpleQueueGetNth(sq, sq->tail)->nextIdx = simpleQueueGetIdx(sq, e); in simpleQueueEnqueue()
173 sq->tail = simpleQueueGetIdx(sq, e); in simpleQueueEnqueue()
/device/google/sunfish/json-c/
Dlinkhash.c475 t->tail = new_t->tail; in lh_table_resize()
514 t->head = t->tail = &t->table[n]; in lh_table_insert()
517 t->tail->next = &t->table[n]; in lh_table_insert()
518 t->table[n].prev = t->tail; in lh_table_insert()
520 t->tail = &t->table[n]; in lh_table_insert()
575 if(t->tail == &t->table[n] && t->head == &t->table[n]) { in lh_table_delete_entry()
576 t->head = t->tail = NULL; in lh_table_delete_entry()
580 } else if (t->tail == &t->table[n]) { in lh_table_delete_entry()
581 t->tail->prev->next = NULL; in lh_table_delete_entry()
582 t->tail = t->tail->prev; in lh_table_delete_entry()
Dlinkhash.h133 struct lh_entry *tail; member
/device/google/redbull/json-c/
Dlinkhash.c475 t->tail = new_t->tail; in lh_table_resize()
514 t->head = t->tail = &t->table[n]; in lh_table_insert()
517 t->tail->next = &t->table[n]; in lh_table_insert()
518 t->table[n].prev = t->tail; in lh_table_insert()
520 t->tail = &t->table[n]; in lh_table_insert()
575 if(t->tail == &t->table[n] && t->head == &t->table[n]) { in lh_table_delete_entry()
576 t->head = t->tail = NULL; in lh_table_delete_entry()
580 } else if (t->tail == &t->table[n]) { in lh_table_delete_entry()
581 t->tail->prev->next = NULL; in lh_table_delete_entry()
582 t->tail = t->tail->prev; in lh_table_delete_entry()
Dlinkhash.h133 struct lh_entry *tail; member
/device/google/coral/json-c/
Dlinkhash.c475 t->tail = new_t->tail; in lh_table_resize()
514 t->head = t->tail = &t->table[n]; in lh_table_insert()
517 t->tail->next = &t->table[n]; in lh_table_insert()
518 t->table[n].prev = t->tail; in lh_table_insert()
520 t->tail = &t->table[n]; in lh_table_insert()
575 if(t->tail == &t->table[n] && t->head == &t->table[n]) { in lh_table_delete_entry()
576 t->head = t->tail = NULL; in lh_table_delete_entry()
580 } else if (t->tail == &t->table[n]) { in lh_table_delete_entry()
581 t->tail->prev->next = NULL; in lh_table_delete_entry()
582 t->tail = t->tail->prev; in lh_table_delete_entry()
Dlinkhash.h133 struct lh_entry *tail; member
/device/google/cuttlefish_prebuilts/scripts/
Dextract-ikconfig22 tail -c+$(($pos+8)) "$1" | zcat > $tmp1 2> /dev/null
36 tail -c+$pos "$img" | $3 > $tmp2 2> /dev/null
Dextract-vmlinux41 tail -c+$pos "$img" | $3 > $tmp 2> /dev/null
/device/google/cuttlefish/tools/
Dflash-blk-dev.sh102 parts=`sudo gdisk -l /dev/${blk_dev} | grep "^Number" -A999 | tail -n +2 | wc -l`
103 FIRST_SECTOR=`sudo gdisk -l /dev/${blk_dev} 2>/dev/null | tail -1 | tr -s ' ' | cut -d" " -f3`
Dcreate_base_image_arm.sh63 …ID_BUILD_TOP}"/device/google/cuttlefish_prebuilts/kernel -name '*-arm64-rockpi' | sort | tail -n 1)
/device/common/
Dgenerate-packages.sh55 …TO_EXTRACT=`sed -n -e '/'" $COMPANY"'/,/;;/ p' $EXTRACT_LIST_FILENAME | tail -n+3 | head -n-2 | s…
180 …echo tail -n +$(expr 2 + $(cat PROLOGUE $COMPANY/COPYRIGHT PART1 $COMPANY/LICENSE PART2 PART3 | wc…
/device/google/cuttlefish/tools/copyright_bot/
Dcopyright_fixer.sh30 creation_date=`git log --follow --format=%as --date default $file_name | tail -1`
/device/google/felix/vibrator/cs40l26/tests/
Dtest-vibrator.cpp186 auto tail = Queue(second, rest...); in Queue() local
187 auto string = std::get<0>(head) + "," + std::get<0>(tail); in Queue()
188 auto duration = std::get<1>(head) + std::get<1>(tail); in Queue()
/device/google/cuttlefish/tools/gigabyte-ampere-cuttlefish-installer/preseed/
Dpreseed.cfg57 DEVICE1=$(list-devices disk|head -n$COUNTER|tail -1); \
/device/google/cuttlefish_vmm/qemu/x86_64-linux-gnu/usr/share/qemu/
Dtrace-events-all96 visit_next_list(void *v, void *tail, size_t size) "v=%p tail=%p size=%zu"
1681 vtd_inv_qi_tail(uint16_t head) "write tail %d"
1725 vtd_warn_invalid_qi_tail(uint16_t tail) "tail 0x%"PRIx16
1738 …i_command_exec(uint32_t head, uint32_t tail, uint64_t buf) "command buffer head at 0x%"PRIx32" com…
3960 …nt queue_len, uint32_t head, uint32_t tail, uint32_t flags) "queue at 0x%" PRIx64 " len %d head 0x…
3967 …ntext, uint32_t head, uint32_t tail, unsigned int busy) "frame 0x%x count %d context 0x%" PRIx64 "…
3968 megasas_qf_update(uint32_t head, uint32_t tail, unsigned int busy) "head 0x%" PRIx32 " tail 0x%" PR…
3971 …te(uint64_t context, uint32_t head, uint32_t tail, int busy) "context 0x%" PRIx64 " head 0x%" PRIx…
4641 usb_ohci_iso_td_head(uint32_t head, uint32_t tail, uint32_t flags, uint32_t bp, uint32_t next, uint…
4680 usb_ohci_ed_pkt(uint32_t cur, int h, int c, uint32_t head, uint32_t tail, uint32_t next) "ED @ 0x%.…
/device/google/cuttlefish_vmm/qemu/aarch64-linux-gnu/usr/share/qemu/
Dtrace-events-all96 visit_next_list(void *v, void *tail, size_t size) "v=%p tail=%p size=%zu"
1681 vtd_inv_qi_tail(uint16_t head) "write tail %d"
1725 vtd_warn_invalid_qi_tail(uint16_t tail) "tail 0x%"PRIx16
1738 …i_command_exec(uint32_t head, uint32_t tail, uint64_t buf) "command buffer head at 0x%"PRIx32" com…
3960 …nt queue_len, uint32_t head, uint32_t tail, uint32_t flags) "queue at 0x%" PRIx64 " len %d head 0x…
3967 …ntext, uint32_t head, uint32_t tail, unsigned int busy) "frame 0x%x count %d context 0x%" PRIx64 "…
3968 megasas_qf_update(uint32_t head, uint32_t tail, unsigned int busy) "head 0x%" PRIx32 " tail 0x%" PR…
3971 …te(uint64_t context, uint32_t head, uint32_t tail, int busy) "context 0x%" PRIx64 " head 0x%" PRIx…
4641 usb_ohci_iso_td_head(uint32_t head, uint32_t tail, uint32_t flags, uint32_t bp, uint32_t next, uint…
4680 usb_ohci_ed_pkt(uint32_t cur, int h, int c, uint32_t head, uint32_t tail, uint32_t next) "ED @ 0x%.…
/device/google/trout/tools/tracing/proto/
Dperfetto_trace.proto3757 optional uint32 tail = 19; field