/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/ |
H A D | nouveau_fence.c | 61 list_del(&fence->head); in nouveau_fence_signal() 96 fence = list_entry(fctx->pending.next, typeof(*fence), head); in nouveau_fence_context_kill() 141 fence = list_entry(fctx->pending.next, typeof(*fence), head); in nouveau_fence_update() 165 fence = list_entry(fctx->pending.next, typeof(*fence), head); in nouveau_fence_wait_uevent_handler() 236 list_add_tail(&fence->head, &fctx->pending); in nouveau_fence_emit() 487 list_del(&fence->head); in nouveau_fence_no_signaling()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
H A D | rootnv50.c | 27 #include "head.h" 46 struct nvkm_head *head; in nv50_disp_root_mthd_() local 55 nvif_ioctl(object, "disp mthd vers %d mthd %02x head %d\n", in nv50_disp_root_mthd_() 56 args->v0.version, args->v0.method, args->v0.head); in nv50_disp_root_mthd_() 58 hidx = args->v0.head; in nv50_disp_root_mthd_() 72 if (!(head = nvkm_head_find(&disp->base, hidx))) in nv50_disp_root_mthd_() 76 list_for_each_entry(temp, &disp->base.outp, head) { in nv50_disp_root_mthd_() 89 return nvkm_head_mthd_scanoutpos(object, head, data, size); in nv50_disp_root_mthd_()
|
/kernel/linux/linux-6.6/fs/ext4/ |
H A D | move_extent.c | 175 struct buffer_head *bh, *head, *arr[MAX_BUF_PER_PAGE]; in mext_page_mkuptodate() local 185 head = folio_buffers(folio); in mext_page_mkuptodate() 186 if (!head) { in mext_page_mkuptodate() 188 head = folio_buffers(folio); in mext_page_mkuptodate() 192 for (bh = head, block_start = 0; bh != head || !block_start; in mext_page_mkuptodate()
|
/kernel/linux/linux-6.6/fs/ocfs2/dlm/ |
H A D | dlmast.c | 266 struct list_head *head = NULL; in dlm_proxy_ast_handler() local 345 head = &res->converting; in dlm_proxy_ast_handler() 347 list_for_each_entry(lock, head, list) { in dlm_proxy_ast_handler() 354 head = &res->blocked; in dlm_proxy_ast_handler() 356 head = &res->granted; in dlm_proxy_ast_handler() 358 list_for_each_entry(lock, head, list) { in dlm_proxy_ast_handler()
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | vmw_vmci_defs.h | 488 * head of the line. 495 * For a queue of buffer 'size' bytes, the tail and head pointers will be in 797 * Helper to read a value from a head or tail pointer. For X86_32, the 812 * Helper to set the value of a head or tail pointer. For X86_32, the 824 * Helper to add a given offset to a head or tail pointer. Wraps the 873 * vmci_qp_add_pointer() is used to manipulate the head itself. 884 * Helper routine for getting the head and the tail pointer for a queue. 918 u64 head; in vmci_q_header_free_space() local 922 head = vmci_q_header_consumer_head(consume_q_header); in vmci_q_header_free_space() 924 if (tail >= produce_q_size || head > in vmci_q_header_free_space() [all...] |
/kernel/linux/linux-6.6/drivers/usb/host/ |
H A D | xhci-dbgtty.c | 144 struct list_head *head, in xhci_dbc_alloc_requests() 163 list_add_tail(&req->list_pool, head); in xhci_dbc_alloc_requests() 166 return list_empty(head) ? -ENOMEM : 0; in xhci_dbc_alloc_requests() 170 xhci_dbc_free_requests(struct list_head *head) in xhci_dbc_free_requests() argument 174 while (!list_empty(head)) { in xhci_dbc_free_requests() 175 req = list_entry(head->next, struct dbc_request, list_pool); in xhci_dbc_free_requests() 143 xhci_dbc_alloc_requests(struct xhci_dbc *dbc, unsigned int direction, struct list_head *head, void (*fn)(struct xhci_dbc *, struct dbc_request *)) xhci_dbc_alloc_requests() argument
|
/kernel/linux/linux-6.6/drivers/thermal/ |
H A D | rcar_thermal.c | 45 struct list_head head; member 101 list_for_each_entry(pos, &common->head, list) 414 INIT_LIST_HEAD(&common->head); in rcar_thermal_probe() 519 list_move_tail(&priv->list, &common->head); in rcar_thermal_probe() 543 struct rcar_thermal_priv *priv = list_first_entry(&common->head, in rcar_thermal_suspend() 558 struct rcar_thermal_priv *priv = list_first_entry(&common->head, in rcar_thermal_resume()
|
/kernel/linux/linux-6.6/drivers/char/hw_random/ |
H A D | cctrng.c | 196 /* increase circular data buffer index (head/tail) */ 205 return CIRC_SPACE(drvdata->circ.head, in circ_buf_space() 229 cnt_w = CIRC_CNT_TO_END(drvdata->circ.head, in cctrng_read() 238 cnt_w = CIRC_CNT(drvdata->circ.head, in cctrng_read() 360 buf[drvdata->circ.head] = cc_ioread(drvdata, in cc_trng_compwork_handler() 366 if (buf[drvdata->circ.head] == 0) { in cc_trng_compwork_handler() 372 circ_idx_inc(&drvdata->circ.head, 1<<2); in cc_trng_compwork_handler()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/ |
H A D | i915_sw_fence.c | 160 list_for_each_entry_safe(pos, next, &x->head, entry) { in __i915_sw_fence_wake_up_all() 170 list_for_each_entry_safe(pos, next, &x->head, entry) { in __i915_sw_fence_wake_up_all() 183 list_splice_tail_init(&extra, &x->head); in __i915_sw_fence_wake_up_all() 260 I915_SW_FENCE_BUG_ON(!list_empty(&fence->wait.head)); in i915_sw_fence_reinit() 293 list_for_each_entry(wq, &fence->wait.head, entry) { in __i915_sw_fence_check_if_after() 311 list_for_each_entry(wq, &fence->wait.head, entry) { in __i915_sw_fence_clear_checked_bit()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/acr/ |
H A D | lsfw.c | 34 list_del(&lsfw->head); in nvkm_acr_lsfw_del() 42 list_for_each_entry_safe(lsfw, lsft, &acr->lsfw, head) { in nvkm_acr_lsfw_del_all() 51 list_for_each_entry(lsfw, &acr->lsfw, head) { in nvkm_acr_lsfw_get() 78 list_add_tail(&lsfw->head, &acr->lsfw); in nvkm_acr_lsfw_add() 155 nvkm_acr_lsfw_from_desc(&nvfw_ls_desc(subdev, fw->data)->head, lsfw); in nvkm_acr_lsfw_load_sig_image_desc() 175 nvkm_acr_lsfw_from_desc(&nvfw_ls_desc_v1(subdev, fw->data)->head, lsfw); in nvkm_acr_lsfw_load_sig_image_desc_v1()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/ |
H A D | nouveau_fence.c | 59 list_del(&fence->head); in nouveau_fence_signal() 91 fence = list_entry(fctx->pending.next, typeof(*fence), head); in nouveau_fence_context_kill() 138 fence = list_entry(fctx->pending.next, typeof(*fence), head); in nouveau_fence_update() 162 fence = list_entry(fctx->pending.next, typeof(*fence), head); in nouveau_fence_uevent_work() 251 list_add_tail(&fence->head, &fctx->pending); in nouveau_fence_emit() 504 list_del(&fence->head); in nouveau_fence_no_signaling()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
H A D | g94.c | 26 #include "head.h" 34 g94_sor_dp_watermark(struct nvkm_ior *sor, int head, u8 watermark) in g94_sor_dp_watermark() argument 43 g94_sor_dp_activesym(struct nvkm_ior *sor, int head, in g94_sor_dp_activesym() argument 54 g94_sor_dp_audio_sym(struct nvkm_ior *sor, int head, u16 h, u32 v) in g94_sor_dp_audio_sym() argument 179 list_for_each_entry(ior, &disp->iors, head) { in g94_sor_war_update_sppll1() 287 state->head = ctrl & 0x00000003; in g94_sor_state() 358 .head = { .cnt = nv50_head_cnt, .new = nv50_head_new },
|
/kernel/linux/linux-6.6/drivers/hwtracing/coresight/ |
H A D | coresight-tmc-etf.c | 448 unsigned long head; in tmc_set_etf_buffer() local 454 /* wrap head around to the amount of space we have */ in tmc_set_etf_buffer() 455 head = handle->head & (((unsigned long)buf->nr_pages << PAGE_SHIFT) - 1); in tmc_set_etf_buffer() 458 buf->cur = head / PAGE_SIZE; in tmc_set_etf_buffer() 461 buf->offset = head % PAGE_SIZE; in tmc_set_etf_buffer() 572 * In snapshot mode we simply increment the head by the number of byte in tmc_update_etf_buffer() 574 * from the AUX buffer based on the position of the head. in tmc_update_etf_buffer() 577 handle->head += to_read; in tmc_update_etf_buffer()
|
/kernel/linux/linux-6.6/net/netfilter/ |
H A D | nfnetlink_hook.c | 351 const void *head; in nfnl_hook_dump_start() local 367 head = nfnl_hook_entries_head(family, hooknum, net, name); in nfnl_hook_dump_start() 370 if (head && IS_ERR(head)) in nfnl_hook_dump_start() 371 return PTR_ERR(head); in nfnl_hook_dump_start() 378 ctx->headv = (unsigned long)head; in nfnl_hook_dump_start()
|
/kernel/linux/linux-6.6/tools/testing/selftests/x86/ |
H A D | test_shadow_stack.c | 562 struct node *head = NULL, *cur; in test_guard_gap() local 580 cur->next = head; in test_guard_gap() 581 head = cur; in test_guard_gap() 584 while (head) { in test_guard_gap() 585 cur = head; in test_guard_gap() 586 head = cur->next; in test_guard_gap()
|
/kernel/linux/linux-6.6/net/batman-adv/ |
H A D | fragmentation.c | 33 * @head: head of chain with entries. 38 static void batadv_frag_clear_chain(struct hlist_head *head, bool dropped) in batadv_frag_clear_chain() argument 43 hlist_for_each_entry_safe(entry, node, head, list) { in batadv_frag_clear_chain() 128 * @chain_out: list head to attach complete chains of fragments to 134 * fragments needed to merge the packet, the chain is moved to the passed head 240 * @chain: head of chain with fragments 315 struct hlist_head head = HLIST_HEAD_INIT; in batadv_frag_skb_buffer() local 319 if (!batadv_frag_insert_packet(orig_node_src, *skb, &head)) in batadv_frag_skb_buffer() 323 if (hlist_empty(&head)) in batadv_frag_skb_buffer() [all...] |
/kernel/linux/linux-6.6/net/vmw_vsock/ |
H A D | vmci_transport_notify.c | 186 u64 head; in send_waiting_read() local 201 vmci_qpair_get_consume_indexes(vmci_trans(vsk)->qpair, &tail, &head); in send_waiting_read() 202 room_left = vmci_trans(vsk)->consume_size - head; in send_waiting_read() 208 waiting_info.offset = head + room_needed; in send_waiting_read() 228 u64 head; in send_waiting_write() local 237 vmci_qpair_get_produce_indexes(vmci_trans(vsk)->qpair, &tail, &head); in send_waiting_write()
|
/third_party/curl/src/ |
H A D | tool_paramhlp.c | 617 static bool inlist(const struct curl_slist *head, in inlist() argument 624 for(; head; head = head->next) { in inlist() 625 if(curl_strnequal(head->data, checkfor, thislen) && in inlist() 626 isheadersep(head->data[thislen]) ) in inlist()
|
/third_party/curl/lib/ |
H A D | conncache.c | 83 curr = bundle->conn_list.head; in bundle_remove_conn() 325 curr = bundle->conn_list.head; in Curl_conncache_foreach() 362 curr = bundle->conn_list.head; in conncache_find_first_connection() 433 curr = bundle->conn_list.head; in Curl_conncache_extract_bundle() 490 curr = bundle->conn_list.head; in Curl_conncache_extract_oldest() 576 curr = bundle->conn_list->head;
|
/third_party/libwebsockets/lib/cose/ |
H A D | cose_sign.c | 129 alg = lws_container_of(csc->algs.head, lws_cose_sig_alg_t, list); in lws_cose_sign_payload_chunk() 207 alg = lws_container_of(csc->algs.head, in lws_cose_sign_payload_chunk() 264 alg = lws_container_of(csc->algs.head, in lws_cose_sign_payload_chunk() 393 csc->alg = lws_container_of(csc->algs.head, in lws_cose_sign_payload_chunk() 424 csc->alg = lws_container_of(csc->algs.head, in lws_cose_sign_payload_chunk() 481 alg = lws_container_of(csc->algs.head, in lws_cose_sign_payload_chunk()
|
/third_party/mesa3d/src/panfrost/bifrost/valhall/ |
H A D | asm.py | 147 head = line.split(" ")[0] 148 opts = [ins for ins in instructions if head.startswith(ins.name)] 152 die(f"No known mnemonic for {head}") 155 print(f"Ambiguous mnemonic for {head}") 164 if len(head) > len(ins.name) and head[len(ins.name)] != '.': 165 die(f"Expected . after instruction in {head}") 167 mods = head[len(ins.name) + 1:].split(".") 170 tail = line[(len(head) + 1):]
|
/third_party/skia/third_party/externals/harfbuzz/src/ |
H A D | hb-ot-color-sbix-table.hh | 151 HBUINT32 head; in subset() local 152 head = get_size (num_output_glyphs + 1); in subset() 165 out->imageOffsetsZ[new_gid] = head; in subset() 173 out->imageOffsetsZ[new_gid] = head; in subset() 174 head += delta; in subset() 177 out->imageOffsetsZ[num_output_glyphs] = head; in subset()
|
/kernel/linux/linux-6.6/fs/nilfs2/ |
H A D | segment.c | 724 struct buffer_head *bh, *head; in nilfs_lookup_dirty_data_buffers() local 733 head = folio_buffers(folio); in nilfs_lookup_dirty_data_buffers() 734 if (!head) { in nilfs_lookup_dirty_data_buffers() 736 head = folio_buffers(folio); in nilfs_lookup_dirty_data_buffers() 740 bh = head; in nilfs_lookup_dirty_data_buffers() 752 } while (bh = bh->b_this_page, bh != head); in nilfs_lookup_dirty_data_buffers() 765 struct buffer_head *bh, *head; in nilfs_lookup_dirty_node_buffers() local 776 bh = head = folio_buffers(fbatch.folios[i]); in nilfs_lookup_dirty_node_buffers() 785 } while (bh != head); in nilfs_lookup_dirty_node_buffers() 793 struct list_head *head, in in nilfs_dispose_list() 792 nilfs_dispose_list(struct the_nilfs *nilfs, struct list_head *head, int force) nilfs_dispose_list() argument 1013 nilfs_redirty_inodes(struct list_head *head) nilfs_redirty_inodes() argument 1023 nilfs_drop_collected_inodes(struct list_head *head) nilfs_drop_collected_inodes() argument 1151 struct list_head *head; nilfs_segctor_collect_blocks() local 2450 nilfs_remove_written_gcinodes(struct the_nilfs *nilfs, struct list_head *head) nilfs_remove_written_gcinodes() argument [all...] |
/third_party/libwebsockets/minimal-examples/api-tests/api-test-cose/ |
H A D | sign.c | 726 res = lws_container_of(o->head, lws_cose_validate_res_t, list); in test_cose_sign() 759 res = lws_container_of(o->head, lws_cose_validate_res_t, list); in test_cose_sign() 798 res = lws_container_of(o->head, lws_cose_validate_res_t, list); in test_cose_sign() 837 res = lws_container_of(o->head, lws_cose_validate_res_t, list); in test_cose_sign() 903 res = lws_container_of(o->head, lws_cose_validate_res_t, list); in test_cose_sign() 941 res = lws_container_of(o->head, lws_cose_validate_res_t, list); in test_cose_sign() 979 res = lws_container_of(o->head, lws_cose_validate_res_t, list); in test_cose_sign() 1017 res = lws_container_of(o->head, lws_cose_validate_res_t, list); in test_cose_sign() 1055 res = lws_container_of(o->head, lws_cose_validate_res_t, list); in test_cose_sign() 1095 res = lws_container_of(o->head, lws_cose_validate_res_ in test_cose_sign() [all...] |
/kernel/linux/linux-5.10/net/core/ |
H A D | dev.c | 154 /* This should be increased if a protocol with a bigger head is added. */ 281 struct hlist_head *head = dev_name_hash(net, name); in netdev_name_node_lookup() local 284 hlist_for_each_entry(name_node, head, hlist) in netdev_name_node_lookup() 293 struct hlist_head *head = dev_name_hash(net, name); in netdev_name_node_lookup_rcu() local 296 hlist_for_each_entry_rcu(name_node, head, hlist) in netdev_name_node_lookup_rcu() 314 /* The node that holds dev->name acts as a head of per-device list. */ in netdev_name_node_alt_create() 535 struct list_head *head = ptype_head(pt); in dev_add_pack() local 538 list_add_rcu(&pt->list, head); in dev_add_pack() 558 struct list_head *head = ptype_head(pt); in __dev_remove_pack() local 563 list_for_each_entry(pt1, head, lis in __dev_remove_pack() 638 struct list_head *head = &offload_base; __dev_remove_offload() local 931 struct hlist_head *head = dev_index_hash(net, ifindex); __dev_get_by_index() local 955 struct hlist_head *head = dev_index_hash(net, ifindex); dev_get_by_index_rcu() local 1582 __dev_close_many(struct list_head *head) __dev_close_many() argument 1635 dev_close_many(struct list_head *head, bool unlink) dev_close_many() argument 3711 struct sk_buff *next, *head = NULL, *tail; validate_xmit_skb_list() local 4937 struct Qdisc *head; net_tx_action() local 5407 __netif_receive_skb_list_ptype(struct list_head *head, struct packet_type *pt_prev, struct net_device *orig_dev) __netif_receive_skb_list_ptype() argument 5427 __netif_receive_skb_list_core(struct list_head *head, bool pfmemalloc) __netif_receive_skb_list_core() argument 5494 __netif_receive_skb_list(struct list_head *head) __netif_receive_skb_list() argument 5599 netif_receive_skb_list_internal(struct list_head *head) netif_receive_skb_list_internal() argument 5670 netif_receive_skb_list(struct list_head *head) netif_receive_skb_list() argument 5804 struct list_head *head = &offload_base; napi_gro_complete() local 5840 struct list_head *head = &napi->gro_hash[index].list; __napi_gro_flush_chain() local 5877 struct list_head *head; gro_list_prepare() local 5963 gro_flush_oldest(struct napi_struct *napi, struct list_head *head) gro_flush_oldest() argument 5989 struct list_head *head = &offload_base; dev_gro_receive() local 10655 unregister_netdevice_queue(struct net_device *dev, struct list_head *head) unregister_netdevice_queue() argument 10677 unregister_netdevice_many(struct list_head *head) unregister_netdevice_many() argument [all...] |