Searched refs:head (Results 1 - 25 of 1445) sorted by relevance

1234567891011>>

/xsrc/external/mit/libX11/dist/src/
H A Dutlist.h39 * Either way, the pointer to the head of the list must be initialized to NULL.
65 #define DL_PREPEND(head,add) \
67 (add)->next = head; \
68 if (head) { \
69 (add)->prev = (head)->prev; \
70 (head)->prev = (add); \
74 (head) = (add); \
77 #define DL_APPEND(head,add) \
79 if (head) { \
80 (add)->prev = (head)
[all...]
/src/libexec/httpd/
H A Dnetbsd_queue.h55 #define SIMPLEQ_INIT(head) do { \
56 (head)->sqh_first = NULL; \
57 (head)->sqh_last = &(head)->sqh_first; \
60 #define SIMPLEQ_INSERT_TAIL(head, elm, field) do { \
62 *(head)->sqh_last = (elm); \
63 (head)->sqh_last = &(elm)->field.sqe_next; \
66 #define SIMPLEQ_FOREACH(var, head, field) \
67 for ((var) = ((head)->sqh_first); \
71 #define SIMPLEQ_FOREACH_SAFE(var, head, fiel
[all...]
/src/sys/external/bsd/drm2/dist/drm/nouveau/dispnv50/
H A Dnouveau_dispnv50_curs907a.c30 curs907a_new(struct nouveau_drm *drm, int head, s32 oclass, argument
33 return curs507a_new_(&curs507a, drm, head, oclass,
34 0x00000001 << (head * 4), pwndw);
H A Dnouveau_dispnv50_ovly917e.c42 ovly917e_new(struct nouveau_drm *drm, int head, s32 oclass, argument
45 return ovly507e_new_(&ovly907e, ovly917e_format, drm, head, oclass,
46 0x00000004 << (head * 4), pwndw);
/src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/disp/
H A Dnouveau_nvkm_engine_disp_head.c29 #include "head.h"
39 struct nvkm_head *head; local in function:nvkm_head_find
40 list_for_each_entry(head, &disp->head, head) {
41 if (head->id == id)
42 return head;
49 struct nvkm_head *head, void *data, u32 size)
56 nvif_ioctl(object, "head scanoutpos size %d\n", size);
58 nvif_ioctl(object, "head scanoutpo
48 nvkm_head_mthd_scanoutpos(struct nvkm_object * object,struct nvkm_head * head,void * data,u32 size) argument
88 struct nvkm_head *head = *phead; local in function:nvkm_head_del
101 struct nvkm_head *head; local in function:nvkm_head_new_
[all...]
H A Dnouveau_nvkm_engine_disp_gf119.c30 #include "head.h"
45 struct nvkm_head *head; local in function:gf119_disp_super
49 list_for_each_entry(head, &disp->base.head, head) {
50 mask[head->id] = nvkm_rd32(device, 0x6101d4 + (head->id * 0x800));
51 HEAD_DBG(head, "%08x", mask[head->id]);
57 list_for_each_entry(head,
131 struct nvkm_head *head; local in function:gf119_disp_intr
194 struct nvkm_head *head; local in function:gf119_disp_init
[all...]
H A Dnouveau_nvkm_engine_disp_headnv50.c29 #include "head.h"
32 nv50_head_vblank_put(struct nvkm_head *head) argument
34 struct nvkm_device *device = head->disp->engine.subdev.device;
35 nvkm_mask(device, 0x61002c, (4 << head->id), 0);
39 nv50_head_vblank_get(struct nvkm_head *head) argument
41 struct nvkm_device *device = head->disp->engine.subdev.device;
42 nvkm_mask(device, 0x61002c, (4 << head->id), (4 << head->id));
46 nv50_head_rgclk(struct nvkm_head *head, int div) argument
48 struct nvkm_device *device = head
53 nv50_head_rgpos(struct nvkm_head * head,u16 * hline,u16 * vline) argument
63 nv50_head_state(struct nvkm_head * head,struct nvkm_head_state * state) argument
[all...]
/src/sys/dev/dm/
H A Ddm_table.c67 dm_table_busy(dm_table_head_t *head, uint8_t table_id) argument
71 mutex_enter(&head->table_mtx);
74 id = head->cur_active_table;
76 id = 1 - head->cur_active_table;
78 head->io_cnt++;
80 mutex_exit(&head->table_mtx);
88 dm_table_unbusy(dm_table_head_t *head) argument
91 KASSERT(head->io_cnt != 0);
93 mutex_enter(&head->table_mtx);
95 if (--head
105 dm_table_get_entry(dm_table_head_t * head,uint8_t table_id) argument
117 dm_table_release(dm_table_head_t * head,uint8_t table_id) argument
127 dm_table_switch_tables(dm_table_head_t * head) argument
147 dm_table_destroy(dm_table_head_t * head,uint8_t table_id) argument
185 dm_table_size_impl(dm_table_head_t * head,int table) argument
215 dm_table_size(dm_table_head_t * head) argument
225 dm_inactive_table_size(dm_table_head_t * head) argument
235 dm_table_disksize(dm_table_head_t * head,uint64_t * numsecp,unsigned int * secsizep) argument
281 dm_table_get_target_count(dm_table_head_t * head,uint8_t table_id) argument
306 dm_table_head_init(dm_table_head_t * head) argument
324 dm_table_head_destroy(dm_table_head_t * head) argument
340 dm_table_head_t *head; local in function:dm_table_add_deps
[all...]
/src/sys/external/bsd/drm/dist/bsd-core/
H A Ddrm_linux_list.h43 INIT_LIST_HEAD(struct list_head *head) { argument
44 (head)->next = head;
45 (head)->prev = head;
49 list_empty(struct list_head *head) { argument
50 return (head)->next == head;
54 list_add(struct list_head *new, struct list_head *head) { argument
55 (head)
62 list_add_tail(struct list_head * entry,struct list_head * head) argument
[all...]
/src/usr.bin/head/
H A DMakefile4 PROG= head
/xsrc/external/mit/xterm/dist/
H A Dgen-charsets.pl167 my @head = @{ $_[0] };
170 $head[ $#head + 1 ] = $note[$n];
172 return @head;
176 my @head = @{ $_[0] };
178 $head[ $#head + 1 ] = " */";
192 return &add_text( \@head, $notes );
212 my @head = @{ $_[0] };
219 @head
[all...]
/xsrc/external/mit/glu/dist/src/libnurbs/nurbtess/
H A DmonoPolyPart.cc58 if (compV2InX(v->getPrev()->head(), v->head()) == -1 &&
59 compV2InX(v->getNext()->head(), v->head()) == -1)
70 if (compV2InX(v->getPrev()->head(), v->head()) == 1 &&
71 compV2InX(v->getNext()->head(), v->head()) == 1)
97 if(compV2InY(topV->head(), tempV->head())<
[all...]
/src/sys/sys/
H A Dqueue.h45 * head of the list. Elements being removed from the head of the list
55 * or after an existing element or at the head of the list. A list
58 * A simple queue is headed by a pair of pointers, one the head of the
61 * head of the list. New elements can be added to the list after
62 * an existing element, at the head of the list, or at the end of the
65 * A tail queue is headed by a pair of pointers, one to the head of the
69 * after an existing element, at the head of the list, or at the end of
107 #define SLIST_HEAD_INITIALIZER(head) \
118 #define SLIST_FIRST(head) ((hea
[all...]
/src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/fifo/
H A Dcgrp.h9 struct list_head head; member in struct:nvkm_fifo_cgrp
/src/tests/usr.bin/nbperf/
H A Dh_nbperf.sh30 head -n $4 $1 | nbperf -m hash.map -o hash.c -a $2 2> /dev/null
32 head -n $4 $1 | ./testprog | $3
/src/lib/libpthread/
H A Dpthread_queue.h64 #define PTQ_INIT(head) do { \
65 (head)->ptqh_first = NULL; \
66 (head)->ptqh_last = &(head)->ptqh_first; \
69 #define PTQ_INSERT_HEAD(head, elm, field) do { \
70 if (((elm)->field.ptqe_next = (head)->ptqh_first) != NULL) \
71 (head)->ptqh_first->field.ptqe_prev = \
74 (head)->ptqh_last = &(elm)->field.ptqe_next; \
75 (head)->ptqh_first = (elm); \
76 (elm)->field.ptqe_prev = &(head)
[all...]
/xsrc/external/mit/xf86-video-intel/dist/src/
H A Dintel_list.h49 * We need one list head in bar and a list element in all list_of_foos (both are of
64 * Now we initialize the list head:
106 * to-be-linked struct. struct list is required for both the head of the
111 * There are no requirements for a list head, any struct list can be a list
112 * head.
144 * Insert a new element after the given list head. The new element does not
147 * head → some element → ...
149 * head → new element → older element → ...
156 * @param head The existing list.
159 list_add(struct list *entry, struct list *head) argument
165 list_add_tail(struct list * entry,struct list * head) argument
201 list_append(struct list * entry,struct list * head) argument
244 list_move(struct list * list,struct list * head) argument
252 list_move_tail(struct list * list,struct list * head) argument
267 list_is_empty(const struct list * head) argument
358 list_add_tail(struct list * entry,struct list * head) argument
380 list_move(struct list * list,struct list * head) argument
388 list_move_tail(struct list * list,struct list * head) argument
427 list_splice(const struct list * list,struct list * head) argument
434 list_splice_tail(const struct list * list,struct list * head) argument
[all...]
/xsrc/external/mit/xorg-server.old/dist/include/
H A Dlist.h52 list_add(struct list *entry, struct list *head) argument
54 __list_add(entry, head, head->next);
72 list_is_empty(const struct list *head) argument
74 return head->next == head;
92 #define list_for_each_entry(pos, head, member) \
93 for (pos = __container_of((head)->next, pos, member); \
94 &pos->member != (head); \
97 #define list_for_each_entry_safe(pos, tmp, head, membe
104 list_append(struct list * entry,struct list * head) argument
[all...]
/src/sys/ufs/chfs/
H A Debh_misc.h46 #define EBH_TREE_DESTROY(name, head, type) \
49 for (var = RB_MIN(name, head); var != NULL; var = nxt) { \
50 nxt = RB_NEXT(name, head, var); \
51 RB_REMOVE(name, head, var); \
57 #define EBH_TREE_DESTROY_MUTEX(name, head, type) \
60 for (var = RB_MIN(name, head); var != NULL; var = nxt) { \
61 nxt = RB_NEXT(name, head, var); \
62 RB_REMOVE(name, head, var); \
71 #define EBH_QUEUE_DESTROY(head, type, entry) \
74 while ((var = TAILQ_FIRST(head))) { \
[all...]
/xsrc/external/mit/glu/dist/src/libnurbs/internals/
H A Dbin.h46 Arc_ptr head;/*first arc on list */ member in class:Bin
54 inline int isnonempty( void ) { return (head ? 1 : 0); }
65 * Bin::addarc - add an Arc_ptr to head of linked list of Arc_ptr
72 jarc->link = head;
73 head = jarc;
84 Arc_ptr jarc = head;
86 if( jarc ) head = jarc->link;
117 current = head;
/src/sys/external/bsd/drm2/dist/drm/nouveau/dispnv04/
H A Dhw.h39 void NVWriteVgaSeq(struct drm_device *, int head, uint8_t index, uint8_t value);
40 uint8_t NVReadVgaSeq(struct drm_device *, int head, uint8_t index);
41 void NVWriteVgaGr(struct drm_device *, int head, uint8_t index, uint8_t value);
42 uint8_t NVReadVgaGr(struct drm_device *, int head, uint8_t index);
44 void NVBlankScreen(struct drm_device *, int head, bool blank);
50 void nouveau_hw_save_state(struct drm_device *, int head,
52 void nouveau_hw_load_state(struct drm_device *, int head,
54 void nouveau_hw_load_state_palette(struct drm_device *, int head,
62 int head, uint32_t reg)
66 if (head)
61 NVReadCRTC(struct drm_device * dev,int head,uint32_t reg) argument
72 NVWriteCRTC(struct drm_device * dev,int head,uint32_t reg,uint32_t val) argument
81 NVReadRAMDAC(struct drm_device * dev,int head,uint32_t reg) argument
92 NVWriteRAMDAC(struct drm_device * dev,int head,uint32_t reg,uint32_t val) argument
121 NVWriteVgaCrtc(struct drm_device * dev,int head,uint8_t index,uint8_t value) argument
129 NVReadVgaCrtc(struct drm_device * dev,int head,uint8_t index) argument
154 NVWriteVgaCrtc5758(struct drm_device * dev,int head,uint8_t index,uint8_t value) argument
160 NVReadVgaCrtc5758(struct drm_device * dev,int head,uint8_t index) argument
166 NVReadPRMVIO(struct drm_device * dev,int head,uint32_t reg) argument
182 NVWritePRMVIO(struct drm_device * dev,int head,uint32_t reg,uint8_t value) argument
196 NVSetEnablePalette(struct drm_device * dev,int head,bool enable) argument
203 NVGetEnablePalette(struct drm_device * dev,int head) argument
210 NVWriteVgaAttr(struct drm_device * dev,int head,uint8_t index,uint8_t value) argument
224 NVReadVgaAttr(struct drm_device * dev,int head,uint8_t index) argument
240 NVVgaSeqReset(struct drm_device * dev,int head,bool start) argument
245 NVVgaProtect(struct drm_device * dev,int head,bool protect) argument
274 nv_lock_vga_crtc_base(struct drm_device * dev,int head,bool lock) argument
289 nv_lock_vga_crtc_shadow(struct drm_device * dev,int head,int lock) argument
343 nv_fix_nv40_hw_cursor(struct drm_device * dev,int head) argument
355 nv_set_crtc_base(struct drm_device * dev,int head,uint32_t offset) argument
374 nv_show_cursor(struct drm_device * dev,int head,bool show) argument
[all...]
H A Dnouveau_dispnv04_hw.c43 NVWriteVgaSeq(struct drm_device *dev, int head, uint8_t index, uint8_t value) argument
45 NVWritePRMVIO(dev, head, NV_PRMVIO_SRX, index);
46 NVWritePRMVIO(dev, head, NV_PRMVIO_SR, value);
50 NVReadVgaSeq(struct drm_device *dev, int head, uint8_t index) argument
52 NVWritePRMVIO(dev, head, NV_PRMVIO_SRX, index);
53 return NVReadPRMVIO(dev, head, NV_PRMVIO_SR);
57 NVWriteVgaGr(struct drm_device *dev, int head, uint8_t index, uint8_t value) argument
59 NVWritePRMVIO(dev, head, NV_PRMVIO_GRX, index);
60 NVWritePRMVIO(dev, head, NV_PRMVIO_GX, value);
64 NVReadVgaGr(struct drm_device *dev, int head, uint8_ argument
114 NVBlankScreen(struct drm_device * dev,int head,bool blank) argument
255 nouveau_hw_fix_bad_vpll(struct drm_device * dev,int head) argument
422 rd_cio_state(struct drm_device * dev,int head,struct nv04_crtc_reg * crtcstate,int index) argument
429 wr_cio_state(struct drm_device * dev,int head,struct nv04_crtc_reg * crtcstate,int index) argument
436 nv_save_state_ramdac(struct drm_device * dev,int head,struct nv04_mode_state * state) argument
511 nv_load_state_ramdac(struct drm_device * dev,int head,struct nv04_mode_state * state) argument
583 nv_save_state_vga(struct drm_device * dev,int head,struct nv04_mode_state * state) argument
607 nv_load_state_vga(struct drm_device * dev,int head,struct nv04_mode_state * state) argument
633 nv_save_state_ext(struct drm_device * dev,int head,struct nv04_mode_state * state) argument
708 nv_load_state_ext(struct drm_device * dev,int head,struct nv04_mode_state * state) argument
819 nv_save_state_palette(struct drm_device * dev,int head,struct nv04_mode_state * state) argument
838 nouveau_hw_load_state_palette(struct drm_device * dev,int head,struct nv04_mode_state * state) argument
856 nouveau_hw_save_state(struct drm_device * dev,int head,struct nv04_mode_state * state) argument
870 nouveau_hw_load_state(struct drm_device * dev,int head,struct nv04_mode_state * state) argument
[all...]
/src/sys/external/bsd/drm2/dist/drm/nouveau/include/nvif/
H A Dlist.h47 * We need one list head in bar and a list element in all list_of_foos (both are of
62 * Now we initialize the list head:
104 * to-be-linked struct. struct list_head is required for both the head of the
109 * There are no requirements for a list head, any struct list_head can be a list
110 * head.
146 * Insert a new element after the given list head. The new element does not
149 * head → some element → ...
151 * head → new element → older element → ...
158 * @param head The existing list.
161 list_add(struct list_head *entry, struct list_head *head) argument
182 list_add_tail(struct list_head * entry,struct list_head * head) argument
221 list_move_tail(struct list_head * list,struct list_head * head) argument
237 list_empty(struct list_head * head) argument
[all...]
/src/sys/external/bsd/drm2/dist/drm/nouveau/include/nvkm/subdev/
H A Dvga.h9 u8 nvkm_rdport(struct nvkm_device *, int head, u16 port);
10 void nvkm_wrport(struct nvkm_device *, int head, u16 port, u8 value);
13 u8 nvkm_rdvgas(struct nvkm_device *, int head, u8 index);
14 void nvkm_wrvgas(struct nvkm_device *, int head, u8 index, u8 value);
17 u8 nvkm_rdvgag(struct nvkm_device *, int head, u8 index);
18 void nvkm_wrvgag(struct nvkm_device *, int head, u8 index, u8 value);
21 u8 nvkm_rdvgac(struct nvkm_device *, int head, u8 index);
22 void nvkm_wrvgac(struct nvkm_device *, int head, u8 index, u8 value);
25 u8 nvkm_rdvgai(struct nvkm_device *, int head, u16 port, u8 index);
26 void nvkm_wrvgai(struct nvkm_device *, int head, u1
[all...]
/xsrc/external/mit/xf86-video-intel-2014/dist/src/
H A Dintel_list.h49 * We need one list head in bar and a list element in all list_of_foos (both are of
64 * Now we initialize the list head:
106 * to-be-linked struct. struct list is required for both the head of the
111 * There are no requirements for a list head, any struct list can be a list
112 * head.
144 * Insert a new element after the given list head. The new element does not
147 * head → some element → ...
149 * head → new element → older element → ...
156 * @param head The existing list.
159 list_add(struct list *entry, struct list *head) argument
165 list_add_tail(struct list * entry,struct list * head) argument
201 list_append(struct list * entry,struct list * head) argument
244 list_move(struct list * list,struct list * head) argument
252 list_move_tail(struct list * list,struct list * head) argument
267 list_is_empty(const struct list * head) argument
370 list_add_tail(struct list * entry,struct list * head) argument
392 list_move(struct list * list,struct list * head) argument
400 list_move_tail(struct list * list,struct list * head) argument
[all...]

Completed in 23 milliseconds

1234567891011>>