/linux-master/fs/efivarfs/ |
H A D | internal.h | 41 void *data, struct list_head *head); 43 int efivar_entry_add(struct efivar_entry *entry, struct list_head *head); 44 void __efivar_entry_add(struct efivar_entry *entry, struct list_head *head); 57 struct list_head *head, void *data);
|
/linux-master/drivers/gpu/drm/nouveau/dispnv50/ |
H A D | cursc37a.c | 57 cursc37a_new(struct nouveau_drm *drm, int head, s32 oclass, argument 60 return curs507a_new_(&cursc37a, drm, head, oclass, 61 0x00000001 << head, pwndw);
|
H A D | crcc57d.c | 7 #include "head.h" 13 static int crcc57d_set_src(struct nv50_head *head, int or, enum nv50_crc_source_type source, argument 16 struct nvif_push *push = nv50_disp(head->base.base.dev)->core->chan.push; 17 const int i = head->base.index;
|
H A D | curs507a.c | 24 #include "head.h" 102 struct nv50_head *head = nv50_head(asyw->state.crtc); local 136 ret = head->func->curs_layout(head, asyw, asyh); 144 ret = head->func->curs_format(head, asyw, asyh); 170 int head, s32 oclass, u32 interlock_data, 174 .id = head, 181 "curs", head, curs507a_format, BIT(head), 169 curs507a_new_(const struct nv50_wimm_func *func, struct nouveau_drm *drm, int head, s32 oclass, u32 interlock_data, struct nv50_wndw **pwndw) argument 200 curs507a_new(struct nouveau_drm *drm, int head, s32 oclass, struct nv50_wndw **pwndw) argument [all...] |
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/ |
H A D | gv100.c | 34 int head = type - PLL_VPLL0; local 51 nvkm_wr32(device, 0x00ef10 + (head * 0x40), fN << 16); 52 nvkm_wr32(device, 0x00ef04 + (head * 0x40), (P << 16) |
|
/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
H A D | ior.c | 37 list_for_each_entry(ior, &disp->iors, head) { 50 list_del(&ior->head); 69 list_add_tail(&ior->head, &disp->iors);
|
H A D | tu102.c | 24 #include "head.h" 34 tu102_sor_dp_vcpi(struct nvkm_ior *sor, int head, u8 slot, u8 slot_nr, u16 pbn, u16 aligned) argument 37 const u32 hoff = head * 0x800; 111 struct nvkm_head *head; local 137 list_for_each_entry(head, &disp->heads, head) { 138 const int id = head->id; 185 nvkm_wr32(device, 0x611cec, disp->head.mask << 16 | 198 list_for_each_entry(head, &disp->heads, head) { [all...] |
/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/fifo/ |
H A D | runq.h | 18 struct list_head head; member in struct:nvkm_runq 24 #define nvkm_runq_foreach(runq,fifo) list_for_each_entry((runq), &(fifo)->runqs, head) 25 #define nvkm_runq_foreach_cond(runq,fifo,cond) nvkm_list_foreach(runq, &(fifo)->runqs, head, (cond))
|
/linux-master/kernel/bpf/ |
H A D | queue_stack_maps.c | 19 u32 head, tail; member in struct:bpf_queue_stack 32 return qs->head == qs->tail; 37 u32 head = qs->head + 1; local 39 if (unlikely(head >= qs->size)) 40 head = 0; 42 return head == qs->tail; 149 index = qs->head - 1; 157 qs->head = index; 223 dst = &qs->elements[qs->head * q [all...] |
/linux-master/drivers/gpu/drm/xe/ |
H A D | xe_guc_submit_types.h | 31 u32 head; member in struct:guc_sched_wq_desc 66 u32 head; member in struct:lrc_snapshot 121 /** @guc.wqi_head: work queue item head */ 138 /** @parallel.wq_desc.head: Workqueue Head */ 139 u32 head; member in struct:xe_guc_submit_exec_queue_snapshot::__anon626::__anon627
|
/linux-master/tools/power/acpi/tools/acpidbg/ |
H A D | acpidbg.c | 42 (CIRC_CNT((circ)->head, (circ)->tail, ACPI_AML_BUF_SIZE)) 44 (CIRC_CNT_TO_END((circ)->head, (circ)->tail, ACPI_AML_BUF_SIZE)) 46 (CIRC_SPACE((circ)->head, (circ)->tail, ACPI_AML_BUF_SIZE)) 48 (CIRC_SPACE_TO_END((circ)->head, (circ)->tail, ACPI_AML_BUF_SIZE)) 77 .head = 0, 82 .head = 0, 128 p = &crc->buf[crc->head]; 134 crc->head = (crc->head + len) & (ACPI_AML_BUF_SIZE - 1); 144 p = &crc->buf[crc->head]; [all...] |
/linux-master/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/ |
H A D | debug_private.h | 30 return (debug_data_ptr->head == debug_data_ptr->tail); 42 value = debug_data_ptr->buf[debug_data_ptr->head]; 43 debug_data_ptr->head = (debug_data_ptr->head + 1) & DEBUG_BUF_MASK; 45 debug_data_ptr->head); 55 /* We could move the remote head after the upload, but we would have to limit the upload w.r.t. the local head. This is easier */ 79 /* We could move the remote head after the upload, but we would have to limit the upload w.r.t. the local head. This is easier */ 105 /* We could move the remote head afte [all...] |
/linux-master/fs/nilfs2/ |
H A D | file.c | 51 struct buffer_head *bh, *head; local 73 head = folio_buffers(folio); 74 if (head) { 77 bh = head; 83 } while (bh = bh->b_this_page, bh != head);
|
H A D | page.c | 72 * @bh: buffer head of the buffer to be discarded 142 struct buffer_head *bh, *head; local 144 bh = head = folio_buffers(folio); 149 } while (bh != head); 155 struct buffer_head *bh, *head; local 172 head = folio_buffers(folio); 173 if (head) { 176 bh = head; 183 } while (bh != head); 401 struct buffer_head *bh, *head; local 439 struct buffer_head *bh, *head; local 522 struct buffer_head *bh, *head; local [all...] |
/linux-master/net/sunrpc/ |
H A D | xdr.c | 178 const struct kvec *head = xdr->head; local 182 if (head->iov_len) { 183 bvec_set_virt(bvec++, head->iov_base, head->iov_len); 230 struct kvec *head = xdr->head; local 232 char *buf = (char *)head->iov_base; 233 unsigned int buflen = head->iov_len; 235 head 560 struct kvec *head = buf->head; local 635 const struct kvec *head = buf->head; local 709 const struct kvec *head = buf->head; local 735 const struct kvec *head = buf->head; local 780 const struct kvec *head = buf->head; local 831 const struct kvec *head = buf->head; local 866 struct kvec *head = buf->head; local 1188 struct kvec *head = buf->head; local [all...] |
/linux-master/tools/perf/util/ |
H A D | block-range.c | 115 if (next->start <= end) { /* add head: [start...][n->start...] */ 116 struct block_range *head = malloc(sizeof(struct block_range)); local 117 if (!head) 120 *head = (struct block_range){ 127 rb_link_left_of_node(&head->node, &next->node); 128 rb_insert_color(&head->node, &block_ranges.root); 131 iter.start = head; 163 struct block_range *head = malloc(sizeof(struct block_range)); local 164 if (!head) 167 *head [all...] |
/linux-master/tools/testing/selftests/rseq/ |
H A D | basic_percpu_ops_test.c | 75 struct percpu_list_node *head; member in struct:percpu_list_entry 181 /* Load list->c[cpu].head with single-copy atomicity. */ 182 expect = (intptr_t)RSEQ_READ_ONCE(list->c[cpu].head); 184 targetptr = (intptr_t *)&list->c[cpu].head; 205 struct percpu_list_node *head; local 211 targetptr = (intptr_t *)&list->c[cpu].head; 214 load = (intptr_t *)&head; 221 return head; 237 node = list->c[cpu].head; 240 list->c[cpu].head [all...] |
/linux-master/fs/erofs/ |
H A D | namei.c | 50 int head, back; local 55 head = 1; 59 while (head <= back) { 60 const int mid = head + (back - head) / 2; 78 head = mid + 1; 93 int head = 0, back = erofs_iblks(dir) - 1; local 97 while (head <= back) { 98 const int mid = head + (back - head) / [all...] |
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/timer/ |
H A D | base.c | 77 list_for_each_entry_safe(alarm, atemp, &tmr->alarms, head) { 89 list_del_init(&alarm->head); 117 list_del_init(&alarm->head); 122 list_for_each_entry(list, &tmr->alarms, head) { 127 list_add_tail(&alarm->head, &list->head); 130 list = list_first_entry(&tmr->alarms, typeof(*list), head);
|
/linux-master/drivers/gpu/drm/qxl/ |
H A D | qxl_display.c | 44 static bool qxl_head_enabled(struct qxl_head *head) argument 46 return head->width && head->height; 153 struct qxl_head *head; local 155 list_for_each_entry(connector, &dev->mode_config.connector_list, head) { 158 head = &qdev->client_monitors_config->heads[output->index]; 161 dev->mode_config.suggested_x_property, head->x); 163 dev->mode_config.suggested_y_property, head->y); 254 struct qxl_head *head; local 265 head 302 struct qxl_head *head = &qdev->monitors_config->heads[i]; local 321 struct qxl_head head; local 769 struct qxl_head *head; local 1028 struct qxl_head *head; local [all...] |
/linux-master/net/sctp/ |
H A D | output.c | 420 static void sctp_packet_gso_append(struct sk_buff *head, struct sk_buff *skb) argument 422 if (SCTP_OUTPUT_CB(head)->last == head) 423 skb_shinfo(head)->frag_list = skb; 425 SCTP_OUTPUT_CB(head)->last->next = skb; 426 SCTP_OUTPUT_CB(head)->last = skb; 428 head->truesize += skb->truesize; 429 head->data_len += skb->len; 430 head->len += skb->len; 431 refcount_add(skb->truesize, &head 436 sctp_packet_pack(struct sctp_packet *packet, struct sk_buff *head, int gso, gfp_t gfp) argument 575 struct sk_buff *head; local [all...] |
/linux-master/include/linux/ |
H A D | seq_file.h | 289 extern struct list_head *seq_list_start(struct list_head *head, 291 extern struct list_head *seq_list_start_head(struct list_head *head, 293 extern struct list_head *seq_list_next(void *v, struct list_head *head, 296 extern struct list_head *seq_list_start_rcu(struct list_head *head, loff_t pos); 297 extern struct list_head *seq_list_start_head_rcu(struct list_head *head, loff_t pos); 298 extern struct list_head *seq_list_next_rcu(void *v, struct list_head *head, loff_t *ppos); 304 extern struct hlist_node *seq_hlist_start(struct hlist_head *head, 306 extern struct hlist_node *seq_hlist_start_head(struct hlist_head *head, 308 extern struct hlist_node *seq_hlist_next(void *v, struct hlist_head *head, 311 extern struct hlist_node *seq_hlist_start_rcu(struct hlist_head *head, [all...] |
/linux-master/drivers/gpu/drm/nouveau/dispnv04/ |
H A D | disp.c | 78 list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) { 88 list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) { 115 list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) { 120 list_for_each_entry(encoder, &dev->mode_config.encoder_list, base.base.head) 130 list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) { 142 list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) { 156 list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) { 172 list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) { 197 list_for_each_entry(encoder, &dev->mode_config.encoder_list, base.base.head) 200 list_for_each_entry(nv_crtc, &dev->mode_config.crtc_list, base.head) [all...] |
/linux-master/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_validation.c | 55 * @head: List head for the resource validation list. 76 struct list_head head; member in struct:vmw_validation_res_node 186 hash_for_each_possible_rcu(ctx->sw_context->res_ht, hash, head, key) { 195 list_for_each_entry(entry, &ctx->bo_list, base.head) { 228 hash_for_each_possible_rcu(ctx->sw_context->res_ht, hash, head, key) { 237 list_for_each_entry(entry, &ctx->resource_ctx_list, head) { 244 list_for_each_entry(entry, &ctx->resource_list, head) { 278 hash_add_rcu(ctx->sw_context->res_ht, &bo_node->hash.head, 286 list_add_tail(&val_buf->head, [all...] |
/linux-master/net/sched/ |
H A D | sch_hhf.c | 121 struct sk_buff *head; member in struct:wdrr_bucket 181 struct list_head *head, 187 if (list_empty(head)) 190 list_for_each_entry_safe(flow, next, head, flowchain) { 197 if (list_is_last(&flow->flowchain, head)) 212 static struct hh_flow_state *alloc_new_hh(struct list_head *head, argument 218 if (!list_empty(head)) { 220 list_for_each_entry(flow, head, flowchain) { 239 list_add_tail(&flow->flowchain, head); 328 /* Removes one skb from head o 180 seek_list(const u32 hash, struct list_head *head, struct hhf_sched_data *q) argument 423 struct list_head *head; local 486 struct list_head *head = &q->hh_flows[i]; local [all...] |