/linux-master/scripts/mod/ |
H A D | list.h | 79 * @head: list head to add it after 81 * Insert a new entry after the specified head. 84 static inline void list_add(struct list_head *new, struct list_head *head) argument 86 __list_add(new, head, head->next); 92 * @head: list head to add it before 94 * Insert a new entry before the specified head. 97 static inline void list_add_tail(struct list_head *new, struct list_head *head) argument 138 list_is_head(const struct list_head *list, const struct list_head *head) argument 147 list_empty(const struct list_head *head) argument [all...] |
/linux-master/net/sched/ |
H A D | cls_matchall.c | 32 struct cls_mall_head *head = rcu_dereference_bh(tp->root); local 34 if (unlikely(!head)) 37 if (tc_skip_sw(head->flags)) 40 *res = head->res; 41 __this_cpu_inc(head->pf->rhit); 42 return tcf_exts_exec(skb, &head->exts, res); 50 static void __mall_destroy(struct cls_mall_head *head) argument 52 tcf_exts_destroy(&head->exts); 53 tcf_exts_put_net(&head->exts); 54 free_percpu(head 60 struct cls_mall_head *head = container_of(to_rcu_work(work), local 68 mall_destroy_hw_filter(struct tcf_proto *tp, struct cls_mall_head *head, unsigned long cookie, struct netlink_ext_ack *extack) argument 84 mall_replace_hw_filter(struct tcf_proto *tp, struct cls_mall_head *head, unsigned long cookie, struct netlink_ext_ack *extack) argument 130 struct cls_mall_head *head = rtnl_dereference(tp->root); local 148 struct cls_mall_head *head = rtnl_dereference(tp->root); local 168 struct cls_mall_head *head = rtnl_dereference(tp->root); local 250 struct cls_mall_head *head = rtnl_dereference(tp->root); local 260 struct cls_mall_head *head = rtnl_dereference(tp->root); local 276 struct cls_mall_head *head = rtnl_dereference(tp->root); local 310 mall_stats_hw_filter(struct tcf_proto *tp, struct cls_mall_head *head, unsigned long cookie) argument 330 struct cls_mall_head *head = fh; local 382 struct cls_mall_head *head = fh; local [all...] |
/linux-master/drivers/net/wireless/ath/carl9170/ |
H A D | fwdesc.h | 113 struct carl9170fw_desc_head head; member in struct:carl9170fw_otus_desc 134 struct carl9170fw_desc_head head; member in struct:carl9170fw_motd_desc 151 struct carl9170fw_desc_head head; member in struct:carl9170fw_fix_desc 160 struct carl9170fw_desc_head head; member in struct:carl9170fw_dbg_desc 176 struct carl9170fw_desc_head head; member in struct:carl9170fw_chk_desc 186 struct carl9170fw_desc_head head; member in struct:carl9170fw_txsq_desc 196 struct carl9170fw_desc_head head; member in struct:carl9170fw_wol_desc 206 struct carl9170fw_desc_head head; member in struct:carl9170fw_last_desc 214 .head = { \ 221 static inline void carl9170fw_fill_desc(struct carl9170fw_desc_head *head, argument 250 carl9170fw_desc_cmp(const struct carl9170fw_desc_head *head, const u8 descid[CARL9170FW_MAGIC_SIZE], u16 min_len, u8 compatible_revision) argument [all...] |
/linux-master/drivers/gpu/drm/nouveau/dispnv04/ |
H A D | hw.h | 37 void NVWriteVgaSeq(struct drm_device *, int head, uint8_t index, uint8_t value); 38 uint8_t NVReadVgaSeq(struct drm_device *, int head, uint8_t index); 39 void NVWriteVgaGr(struct drm_device *, int head, uint8_t index, uint8_t value); 40 uint8_t NVReadVgaGr(struct drm_device *, int head, uint8_t index); 42 void NVBlankScreen(struct drm_device *, int head, bool blank); 48 void nouveau_hw_save_state(struct drm_device *, int head, 50 void nouveau_hw_load_state(struct drm_device *, int head, 52 void nouveau_hw_load_state_palette(struct drm_device *, int head, 60 int head, uint32_t reg) 64 if (head) 59 NVReadCRTC(struct drm_device *dev, int head, uint32_t reg) argument 70 NVWriteCRTC(struct drm_device *dev, int head, uint32_t reg, uint32_t val) argument 79 NVReadRAMDAC(struct drm_device *dev, int head, uint32_t reg) argument 90 NVWriteRAMDAC(struct drm_device *dev, int head, uint32_t reg, uint32_t val) argument 119 NVWriteVgaCrtc(struct drm_device *dev, int head, uint8_t index, uint8_t value) argument 127 NVReadVgaCrtc(struct drm_device *dev, int head, uint8_t index) argument 152 NVWriteVgaCrtc5758(struct drm_device *dev, int head, uint8_t index, uint8_t value) argument 158 NVReadVgaCrtc5758(struct drm_device *dev, int head, uint8_t index) argument 164 NVReadPRMVIO(struct drm_device *dev, int head, uint32_t reg) argument 180 NVWritePRMVIO(struct drm_device *dev, int head, uint32_t reg, uint8_t value) argument 194 NVSetEnablePalette(struct drm_device *dev, int head, bool enable) argument 201 NVGetEnablePalette(struct drm_device *dev, int head) argument 208 NVWriteVgaAttr(struct drm_device *dev, int head, uint8_t index, uint8_t value) argument 222 NVReadVgaAttr(struct drm_device *dev, int head, uint8_t index) argument 238 NVVgaSeqReset(struct drm_device *dev, int head, bool start) argument 243 NVVgaProtect(struct drm_device *dev, int head, bool protect) argument 272 nv_lock_vga_crtc_base(struct drm_device *dev, int head, bool lock) argument 287 nv_lock_vga_crtc_shadow(struct drm_device *dev, int head, int lock) argument 341 nv_fix_nv40_hw_cursor(struct drm_device *dev, int head) argument 353 nv_set_crtc_base(struct drm_device *dev, int head, uint32_t offset) argument 372 nv_show_cursor(struct drm_device *dev, int head, bool show) argument [all...] |
H A D | hw.c | 39 NVWriteVgaSeq(struct drm_device *dev, int head, uint8_t index, uint8_t value) argument 41 NVWritePRMVIO(dev, head, NV_PRMVIO_SRX, index); 42 NVWritePRMVIO(dev, head, NV_PRMVIO_SR, value); 46 NVReadVgaSeq(struct drm_device *dev, int head, uint8_t index) argument 48 NVWritePRMVIO(dev, head, NV_PRMVIO_SRX, index); 49 return NVReadPRMVIO(dev, head, NV_PRMVIO_SR); 53 NVWriteVgaGr(struct drm_device *dev, int head, uint8_t index, uint8_t value) argument 55 NVWritePRMVIO(dev, head, NV_PRMVIO_GRX, index); 56 NVWritePRMVIO(dev, head, NV_PRMVIO_GX, value); 60 NVReadVgaGr(struct drm_device *dev, int head, uint8_ argument 110 NVBlankScreen(struct drm_device *dev, int head, bool blank) argument 252 nouveau_hw_fix_bad_vpll(struct drm_device *dev, int head) argument 380 rd_cio_state(struct drm_device *dev, int head, struct nv04_crtc_reg *crtcstate, int index) argument 387 wr_cio_state(struct drm_device *dev, int head, struct nv04_crtc_reg *crtcstate, int index) argument 394 nv_save_state_ramdac(struct drm_device *dev, int head, struct nv04_mode_state *state) argument 469 nv_load_state_ramdac(struct drm_device *dev, int head, struct nv04_mode_state *state) argument 541 nv_save_state_vga(struct drm_device *dev, int head, struct nv04_mode_state *state) argument 565 nv_load_state_vga(struct drm_device *dev, int head, struct nv04_mode_state *state) argument 591 nv_save_state_ext(struct drm_device *dev, int head, struct nv04_mode_state *state) argument 666 nv_load_state_ext(struct drm_device *dev, int head, struct nv04_mode_state *state) argument 777 nv_save_state_palette(struct drm_device *dev, int head, struct nv04_mode_state *state) argument 796 nouveau_hw_load_state_palette(struct drm_device *dev, int head, struct nv04_mode_state *state) argument 814 nouveau_hw_save_state(struct drm_device *dev, int head, struct nv04_mode_state *state) argument 828 nouveau_hw_load_state(struct drm_device *dev, int head, struct nv04_mode_state *state) argument [all...] |
/linux-master/net/netlabel/ |
H A D | netlabel_addrlist.h | 82 #define netlbl_af4list_foreach(iter, head) \ 83 for (iter = __af4list_valid((head)->next, head); \ 84 &iter->list != (head); \ 85 iter = __af4list_valid(iter->list.next, head)) 87 #define netlbl_af4list_foreach_rcu(iter, head) \ 88 for (iter = __af4list_valid_rcu((head)->next, head); \ 89 &iter->list != (head); \ 90 iter = __af4list_valid_rcu(iter->list.next, head)) [all...] |
/linux-master/drivers/gpu/drm/nouveau/include/nvkm/subdev/ |
H A D | vga.h | 7 u8 nvkm_rdport(struct nvkm_device *, int head, u16 port); 8 void nvkm_wrport(struct nvkm_device *, int head, u16 port, u8 value); 11 u8 nvkm_rdvgas(struct nvkm_device *, int head, u8 index); 12 void nvkm_wrvgas(struct nvkm_device *, int head, u8 index, u8 value); 15 u8 nvkm_rdvgag(struct nvkm_device *, int head, u8 index); 16 void nvkm_wrvgag(struct nvkm_device *, int head, u8 index, u8 value); 19 u8 nvkm_rdvgac(struct nvkm_device *, int head, u8 index); 20 void nvkm_wrvgac(struct nvkm_device *, int head, u8 index, u8 value); 23 u8 nvkm_rdvgai(struct nvkm_device *, int head, u16 port, u8 index); 24 void nvkm_wrvgai(struct nvkm_device *, int head, u1 [all...] |
/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
H A D | uhead.c | 23 #include "head.h" 33 struct nvkm_head *head = nvkm_uhead(object); local 41 return nvkm_uevent_add(uevent, &head->disp->vblank, head->id, 46 nvkm_uhead_mthd_scanoutpos(struct nvkm_head *head, void *argv, u32 argc) argument 53 head->func->state(head, &head->arm); 54 args->v0.vtotal = head->arm.vtotal; 55 args->v0.vblanks = head 77 struct nvkm_head *head = nvkm_uhead(object); local 89 struct nvkm_head *head = nvkm_uhead(object); local 109 struct nvkm_head *head; local [all...] |
H A D | vga.c | 27 nvkm_rdport(struct nvkm_device *device, int head, u16 port) argument 35 return nvkm_rd08(device, 0x601000 + (head * 0x2000) + port); 41 head = 0; /* CR44 selects head */ 42 return nvkm_rd08(device, 0x0c0000 + (head * 0x2000) + port); 49 nvkm_wrport(struct nvkm_device *device, int head, u16 port, u8 data) argument 57 nvkm_wr08(device, 0x601000 + (head * 0x2000) + port, data); 63 head = 0; /* CR44 selects head */ 64 nvkm_wr08(device, 0x0c0000 + (head * 69 nvkm_rdvgas(struct nvkm_device *device, int head, u8 index) argument 76 nvkm_wrvgas(struct nvkm_device *device, int head, u8 index, u8 value) argument 83 nvkm_rdvgag(struct nvkm_device *device, int head, u8 index) argument 90 nvkm_wrvgag(struct nvkm_device *device, int head, u8 index, u8 value) argument 97 nvkm_rdvgac(struct nvkm_device *device, int head, u8 index) argument 104 nvkm_wrvgac(struct nvkm_device *device, int head, u8 index, u8 value) argument 111 nvkm_rdvgai(struct nvkm_device *device, int head, u16 port, u8 index) argument 120 nvkm_wrvgai(struct nvkm_device *device, int head, u16 port, u8 index, u8 value) argument [all...] |
/linux-master/tools/include/linux/ |
H A D | list.h | 56 * @head: list head to add it after 58 * Insert a new entry after the specified head. 61 static inline void list_add(struct list_head *new, struct list_head *head) argument 63 __list_add(new, head, head->next); 70 * @head: list head to add it before 72 * Insert a new entry before the specified head. 75 static inline void list_add_tail(struct list_head *new, struct list_head *head) argument 154 list_move(struct list_head *list, struct list_head *head) argument 165 list_move_tail(struct list_head *list, struct list_head *head) argument 177 list_is_last(const struct list_head *list, const struct list_head *head) argument 187 list_empty(const struct list_head *head) argument 205 list_empty_careful(const struct list_head *head) argument 215 list_rotate_left(struct list_head *head) argument 229 list_is_singular(const struct list_head *head) argument 234 __list_cut_position(struct list_head *list, struct list_head *head, struct list_head *entry) argument 260 list_cut_position(struct list_head *list, struct list_head *head, struct list_head *entry) argument 293 list_splice(const struct list_head *list, struct list_head *head) argument 305 list_splice_tail(struct list_head *list, struct list_head *head) argument 319 list_splice_init(struct list_head *list, struct list_head *head) argument 336 list_splice_tail_init(struct list_head *list, struct list_head *head) argument [all...] |
/linux-master/tools/testing/selftests/arm64/signal/testcases/ |
H A D | fake_sigreturn_duplicated_fpsimd.c | 21 struct _aarch64_ctx *shead = GET_SF_RESV_HEAD(sf), *head; local 27 head = get_starting_head(shead, sizeof(struct fpsimd_context) + HDR_SZ, 29 if (!head) 33 head->magic = FPSIMD_MAGIC; 34 head->size = sizeof(struct fpsimd_context); 36 write_terminator_record(GET_RESV_NEXT_HEAD(head));
|
H A D | fake_sigreturn_bad_size.c | 24 struct _aarch64_ctx *shead = GET_SF_RESV_HEAD(sf), *head; local 33 head = get_starting_head(shead, need_sz, resv_sz, &offset); 34 if (!head) 45 head->magic = ESR_MAGIC; 46 head->size = sizeof(struct esr_context); 48 write_terminator_record(GET_RESV_NEXT_HEAD(head)); 57 * resv_sz - offset < sizeof(*head) 60 head->size = (resv_sz - offset - need_sz + MIN_SZ_ALIGN) & ~0xfUL; 62 head->size += MIN_SZ_ALIGN; 64 write_terminator_record(GET_RESV_NEXT_HEAD(head)); [all...] |
H A D | zt_no_regs.c | 24 struct _aarch64_ctx *head = GET_BUF_RESV_HEAD(context); local 33 head = get_header(head, ZT_MAGIC, GET_BUF_RESV_SIZE(context), &offset); 34 if (head) {
|
/linux-master/include/linux/ |
H A D | timerqueue.h | 8 extern bool timerqueue_add(struct timerqueue_head *head, 10 extern bool timerqueue_del(struct timerqueue_head *head, 18 * @head: head of timerqueue 23 struct timerqueue_node *timerqueue_getnext(struct timerqueue_head *head) argument 25 struct rb_node *leftmost = rb_first_cached(&head->rb_root); 45 static inline void timerqueue_init_head(struct timerqueue_head *head) argument 47 head->rb_root = RB_ROOT_CACHED;
|
H A D | list.h | 162 * @head: list head to add it after 164 * Insert a new entry after the specified head. 167 static inline void list_add(struct list_head *new, struct list_head *head) argument 169 __list_add(new, head, head->next); 176 * @head: list head to add it before 178 * Insert a new entry before the specified head. 181 static inline void list_add_tail(struct list_head *new, struct list_head *head) argument 296 list_move(struct list_head *list, struct list_head *head) argument 307 list_move_tail(struct list_head *list, struct list_head *head) argument 323 list_bulk_move_tail(struct list_head *head, struct list_head *first, struct list_head *last) argument 342 list_is_first(const struct list_head *list, const struct list_head *head) argument 352 list_is_last(const struct list_head *list, const struct list_head *head) argument 362 list_is_head(const struct list_head *list, const struct list_head *head) argument 371 list_empty(const struct list_head *head) argument 407 list_empty_careful(const struct list_head *head) argument 417 list_rotate_left(struct list_head *head) argument 434 list_rotate_to_front(struct list_head *list, struct list_head *head) argument 449 list_is_singular(const struct list_head *head) argument 454 __list_cut_position(struct list_head *list, struct list_head *head, struct list_head *entry) argument 480 list_cut_position(struct list_head *list, struct list_head *head, struct list_head *entry) argument 507 list_cut_before(struct list_head *list, struct list_head *head, struct list_head *entry) argument 542 list_splice(const struct list_head *list, struct list_head *head) argument 554 list_splice_tail(struct list_head *list, struct list_head *head) argument 568 list_splice_init(struct list_head *list, struct list_head *head) argument 585 list_splice_tail_init(struct list_head *list, struct list_head *head) argument 751 list_count_nodes(struct list_head *head) argument 1202 hlist_count_nodes(struct hlist_head *head) argument [all...] |
/linux-master/drivers/gpu/drm/nouveau/dispnv50/ |
H A D | base917c.c | 45 base917c_new(struct nouveau_drm *drm, int head, s32 oclass, argument 48 return base507c_new_(&base907c, base917c_format, drm, head, oclass, 49 0x00000002 << (head * 4), pwndw);
|
H A D | curs.h | 7 int head, s32 oclass, u32 interlock_data, 13 int nv50_curs_new(struct nouveau_drm *, int head, struct nv50_wndw **);
|
/linux-master/arch/x86/platform/pvh/ |
H A D | Makefile | 5 obj-$(CONFIG_PVH) += head.o
|
/linux-master/include/drm/ |
H A D | spsc_queue.h | 40 struct spsc_node *head; member in struct:spsc_queue 50 queue->head = NULL; 51 atomic_long_set(&queue->tail, (long)&queue->head); 57 return queue->head; 85 return tail == &queue->head; 96 node = READ_ONCE(queue->head); 102 WRITE_ONCE(queue->head, next); 108 (long)&node->next, (long) &queue->head) != (long)&node->next) { 112 } while (unlikely(!(queue->head = READ_ONCE(node->next))));
|
/linux-master/fs/xfs/ |
H A D | xfs_hooks.c | 20 BLOCKING_INIT_NOTIFIER_HEAD(&chain->head); 32 return blocking_notifier_chain_register(&chain->head, &hook->nb); 41 blocking_notifier_chain_unregister(&chain->head, &hook->nb); 51 return blocking_notifier_call_chain(&chain->head, val, priv);
|
/linux-master/kernel/rcu/ |
H A D | tiny.c | 85 static inline bool rcu_reclaim_tiny(struct rcu_head *head) argument 88 unsigned long offset = (unsigned long)head->func; 92 trace_rcu_invoke_kvfree_callback("", head, offset); 93 kvfree((void *)head - offset); 98 trace_rcu_invoke_callback("", head); 99 f = head->func; 100 debug_rcu_head_callback(head); 101 WRITE_ONCE(head->func, (rcu_callback_t)0L); 102 f(head); 171 void call_rcu(struct rcu_head *head, rcu_callback_ argument 250 kvfree_call_rcu(struct rcu_head *head, void *ptr) argument [all...] |
/linux-master/kernel/bpf/ |
H A D | percpu_freelist.c | 15 struct pcpu_freelist_head *head = per_cpu_ptr(s->freelist, cpu); local 17 raw_spin_lock_init(&head->lock); 18 head->first = NULL; 30 static inline void pcpu_freelist_push_node(struct pcpu_freelist_head *head, argument 33 node->next = head->first; 34 WRITE_ONCE(head->first, node); 37 static inline void ___pcpu_freelist_push(struct pcpu_freelist_head *head, argument 40 raw_spin_lock(&head->lock); 41 pcpu_freelist_push_node(head, node); 42 raw_spin_unlock(&head 64 struct pcpu_freelist_head *head; local 102 struct pcpu_freelist_head *head; local 123 struct pcpu_freelist_head *head; local 155 struct pcpu_freelist_head *head; local [all...] |
/linux-master/tools/virtio/ringtest/ |
H A D | virtio_ring_0_9.c | 101 unsigned head; local 111 head = (ring_size - 1) & (guest.avail_idx++); 113 head = guest.free_head; 118 desc[head].flags = VRING_DESC_F_NEXT; 119 desc[head].addr = (unsigned long)(void *)buf; 120 desc[head].len = len; 125 desc[head].flags &= ~VRING_DESC_F_NEXT; 127 guest.free_head = desc[head].next; 130 data[head].data = datap; 137 (head | (avai 154 unsigned head; local 201 unsigned short head = last_used_idx & (ring_size - 1); local 260 unsigned head = host.used_idx; local 274 unsigned head; local [all...] |
/linux-master/scripts/kconfig/ |
H A D | list.h | 76 * @head: list head to add it after 78 * Insert a new entry after the specified head. 81 static inline void list_add(struct list_head *new, struct list_head *head) argument 83 __list_add(new, head, head->next); 89 * @head: list head to add it before 91 * Insert a new entry before the specified head. 94 static inline void list_add_tail(struct list_head *new, struct list_head *head) argument 135 list_is_head(const struct list_head *list, const struct list_head *head) argument 144 list_empty(const struct list_head *head) argument [all...] |
/linux-master/tools/testing/selftests/ftrace/test.d/00basic/ |
H A D | trace_pipe.tc | 14 head -n 1 trace_pipe | grep -q "test input 1"
|