| /include/asm-generic/ |
| D | Kbuild | 7 mandatory-y += atomic.h 8 mandatory-y += archrandom.h 9 mandatory-y += barrier.h 10 mandatory-y += bitops.h 11 mandatory-y += bug.h 12 mandatory-y += cacheflush.h 13 mandatory-y += cfi.h 14 mandatory-y += checksum.h 15 mandatory-y += compat.h 16 mandatory-y += current.h [all …]
|
| /include/uapi/asm-generic/ |
| D | Kbuild | 6 mandatory-y += auxvec.h 7 mandatory-y += bitsperlong.h 8 mandatory-y += bpf_perf_event.h 9 mandatory-y += byteorder.h 10 mandatory-y += errno.h 11 mandatory-y += fcntl.h 12 mandatory-y += ioctl.h 13 mandatory-y += ioctls.h 14 mandatory-y += ipcbuf.h 15 mandatory-y += mman.h [all …]
|
| /include/linux/ |
| D | bits.h | 23 #define GENMASK_INPUT_CHECK(h, l) \ argument 25 __is_constexpr((l) > (h)), (l) > (h), 0))) 31 #define GENMASK_INPUT_CHECK(h, l) 0 argument 34 #define GENMASK(h, l) \ argument 35 (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l)) 36 #define GENMASK_ULL(h, l) \ argument 37 (GENMASK_INPUT_CHECK(h, l) + __GENMASK_ULL(h, l)) 50 #define GENMASK_U128(h, l) \ argument 51 (GENMASK_INPUT_CHECK(h, l) + __GENMASK_U128(h, l))
|
| D | rculist_bl.h | 11 static inline void hlist_bl_set_first_rcu(struct hlist_bl_head *h, in hlist_bl_set_first_rcu() argument 15 LIST_BL_BUG_ON(((unsigned long)h->first & LIST_BL_LOCKMASK) != in hlist_bl_set_first_rcu() 17 rcu_assign_pointer(h->first, in hlist_bl_set_first_rcu() 21 static inline struct hlist_bl_node *hlist_bl_first_rcu(struct hlist_bl_head *h) in hlist_bl_first_rcu() argument 24 ((unsigned long)rcu_dereference_check(h->first, hlist_bl_is_locked(h)) & ~LIST_BL_LOCKMASK); in hlist_bl_first_rcu() 72 struct hlist_bl_head *h) in hlist_bl_add_head_rcu() argument 77 first = hlist_bl_first(h); in hlist_bl_add_head_rcu() 82 n->pprev = &h->first; in hlist_bl_add_head_rcu() 85 hlist_bl_set_first_rcu(h, n); in hlist_bl_add_head_rcu()
|
| D | btree-type.h | 11 struct btree_head h; variable 17 btree_init_mempool(&head->h, mempool); in BTREE_FN() 22 return btree_init(&head->h); in BTREE_FN() 27 btree_destroy(&head->h); in BTREE_FN() 34 return btree_merge(&target->h, &victim->h, BTREE_TYPE_GEO, gfp); in BTREE_FN() 41 return btree_lookup(&head->h, BTREE_TYPE_GEO, &_key); in BTREE_FN() 48 return btree_insert(&head->h, BTREE_TYPE_GEO, &_key, val, gfp); in BTREE_FN() 55 return btree_update(&head->h, BTREE_TYPE_GEO, &_key, val); in BTREE_FN() 61 return btree_remove(&head->h, BTREE_TYPE_GEO, &_key); in BTREE_FN() 67 void *val = btree_last(&head->h, BTREE_TYPE_GEO, &_key); in BTREE_FN() [all …]
|
| D | list_bl.h | 44 static inline void INIT_HLIST_BL_NODE(struct hlist_bl_node *h) in INIT_HLIST_BL_NODE() argument 46 h->next = NULL; in INIT_HLIST_BL_NODE() 47 h->pprev = NULL; in INIT_HLIST_BL_NODE() 52 static inline bool hlist_bl_unhashed(const struct hlist_bl_node *h) in hlist_bl_unhashed() argument 54 return !h->pprev; in hlist_bl_unhashed() 57 static inline struct hlist_bl_node *hlist_bl_first(struct hlist_bl_head *h) in hlist_bl_first() argument 60 ((unsigned long)h->first & ~LIST_BL_LOCKMASK); in hlist_bl_first() 63 static inline void hlist_bl_set_first(struct hlist_bl_head *h, in hlist_bl_set_first() argument 67 LIST_BL_BUG_ON(((unsigned long)h->first & LIST_BL_LOCKMASK) != in hlist_bl_set_first() 69 h->first = (struct hlist_bl_node *)((unsigned long)n | LIST_BL_LOCKMASK); in hlist_bl_set_first() [all …]
|
| D | btree-128.h | 4 struct btree_head128 { struct btree_head h; }; member 9 btree_init_mempool(&head->h, mempool); in btree_init_mempool128() 14 return btree_init(&head->h); in btree_init128() 19 btree_destroy(&head->h); in btree_destroy128() 25 return btree_lookup(&head->h, &btree_geo128, (unsigned long *)&key); in btree_lookup128() 34 val = btree_get_prev(&head->h, &btree_geo128, in btree_get_prev128() 45 return btree_insert(&head->h, &btree_geo128, in btree_insert128() 53 return btree_update(&head->h, &btree_geo128, in btree_update128() 60 return btree_remove(&head->h, &btree_geo128, (unsigned long *)&key); in btree_remove128() 68 val = btree_last(&head->h, &btree_geo128, (unsigned long *)&key[0]); in btree_last128() [all …]
|
| D | list_nulls.h | 67 static inline int hlist_nulls_unhashed(const struct hlist_nulls_node *h) in hlist_nulls_unhashed() argument 69 return !h->pprev; in hlist_nulls_unhashed() 81 static inline int hlist_nulls_unhashed_lockless(const struct hlist_nulls_node *h) in hlist_nulls_unhashed_lockless() argument 83 return !READ_ONCE(h->pprev); in hlist_nulls_unhashed_lockless() 86 static inline int hlist_nulls_empty(const struct hlist_nulls_head *h) in hlist_nulls_empty() argument 88 return is_a_nulls(READ_ONCE(h->first)); in hlist_nulls_empty() 92 struct hlist_nulls_head *h) in hlist_nulls_add_head() argument 94 struct hlist_nulls_node *first = h->first; in hlist_nulls_add_head() 97 WRITE_ONCE(n->pprev, &h->first); in hlist_nulls_add_head() 98 h->first = n; in hlist_nulls_add_head()
|
| D | hugetlb.h | 115 #define for_each_hstate(h) \ argument 116 for ((h) = hstates; (h) < &hstates[hugetlb_max_hstate]; (h)++) 118 struct hugepage_subpool *hugepage_new_subpool(struct hstate *h, long max_hpages, 168 bool hugetlbfs_pagecache_present(struct hstate *h, 237 unsigned long hugetlb_mask_last_page(struct hstate *h); 696 struct folio *alloc_hugetlb_folio_nodemask(struct hstate *h, int preferred_nid, 699 struct folio *alloc_hugetlb_folio_reserve(struct hstate *h, int preferred_nid, 704 void restore_reserve_on_error(struct hstate *h, struct vm_area_struct *vma, 708 int __init __alloc_bootmem_huge_page(struct hstate *h, int nid); 709 int __init alloc_bootmem_huge_page(struct hstate *h, int nid); [all …]
|
| D | rculist_nulls.h | 100 struct hlist_nulls_head *h) in hlist_nulls_add_head_rcu() argument 102 struct hlist_nulls_node *first = h->first; in hlist_nulls_add_head_rcu() 105 WRITE_ONCE(n->pprev, &h->first); in hlist_nulls_add_head_rcu() 106 rcu_assign_pointer(hlist_nulls_first_rcu(h), n); in hlist_nulls_add_head_rcu() 131 struct hlist_nulls_head *h) in hlist_nulls_add_tail_rcu() argument 136 for (i = h->first; !is_a_nulls(i); i = i->next) in hlist_nulls_add_tail_rcu() 144 hlist_nulls_add_head_rcu(n, h); in hlist_nulls_add_tail_rcu()
|
| /include/linux/spi/ |
| D | mxs-spi.h | 53 #define HW_SSP_TIMING(h) (ssp_is_old(h) ? 0x050 : 0x070) argument 64 #define HW_SSP_CTRL1(h) (ssp_is_old(h) ? 0x060 : 0x080) argument 100 #define HW_SSP_DATA(h) (ssp_is_old(h) ? 0x070 : 0x090) argument 102 #define HW_SSP_SDRESP0(h) (ssp_is_old(h) ? 0x080 : 0x0a0) argument 103 #define HW_SSP_SDRESP1(h) (ssp_is_old(h) ? 0x090 : 0x0b0) argument 104 #define HW_SSP_SDRESP2(h) (ssp_is_old(h) ? 0x0a0 : 0x0c0) argument 105 #define HW_SSP_SDRESP3(h) (ssp_is_old(h) ? 0x0b0 : 0x0d0) argument 106 #define HW_SSP_STATUS(h) (ssp_is_old(h) ? 0x0c0 : 0x100) argument
|
| /include/uapi/linux/ |
| D | bits.h | 7 #define __GENMASK(h, l) \ argument 9 (~_UL(0) >> (__BITS_PER_LONG - 1 - (h)))) 11 #define __GENMASK_ULL(h, l) \ argument 13 (~_ULL(0) >> (__BITS_PER_LONG_LONG - 1 - (h)))) 15 #define __GENMASK_U128(h, l) \ argument 16 ((_BIT128((h)) << 1) - (_BIT128(l)))
|
| D | romfs_fs.h | 17 #define __mkw(h,l) (((h)&0x00ff)<< 8|((l)&0x00ff)) argument 18 #define __mkl(h,l) (((h)&0xffff)<<16|((l)&0xffff)) argument
|
| D | pkt_cls.h | 214 #define TC_U32_HTID(h) ((h)&0xFFF00000) argument 215 #define TC_U32_USERHTID(h) (TC_U32_HTID(h)>>20) argument 216 #define TC_U32_HASH(h) (((h)>>12)&0xFF) argument 217 #define TC_U32_NODE(h) ((h)&0xFFF) argument 218 #define TC_U32_KEY(h) ((h)&0xFFFFF) argument
|
| /include/crypto/ |
| D | blake2b.h | 23 u64 h[8]; member 45 state->h[0] = BLAKE2B_IV0 ^ (0x01010000 | keylen << 8 | outlen); in __blake2b_init() 46 state->h[1] = BLAKE2B_IV1; in __blake2b_init() 47 state->h[2] = BLAKE2B_IV2; in __blake2b_init() 48 state->h[3] = BLAKE2B_IV3; in __blake2b_init() 49 state->h[4] = BLAKE2B_IV4; in __blake2b_init() 50 state->h[5] = BLAKE2B_IV5; in __blake2b_init() 51 state->h[6] = BLAKE2B_IV6; in __blake2b_init() 52 state->h[7] = BLAKE2B_IV7; in __blake2b_init()
|
| D | blake2s.h | 27 u32 h[8]; member 49 state->h[0] = BLAKE2S_IV0 ^ (0x01010000 | keylen << 8 | outlen); in __blake2s_init() 50 state->h[1] = BLAKE2S_IV1; in __blake2s_init() 51 state->h[2] = BLAKE2S_IV2; in __blake2s_init() 52 state->h[3] = BLAKE2S_IV3; in __blake2s_init() 53 state->h[4] = BLAKE2S_IV4; in __blake2s_init() 54 state->h[5] = BLAKE2S_IV5; in __blake2s_init() 55 state->h[6] = BLAKE2S_IV6; in __blake2s_init() 56 state->h[7] = BLAKE2S_IV7; in __blake2s_init()
|
| /include/uapi/ |
| D | Kbuild | 2 ifeq ($(wildcard $(srctree)/arch/$(SRCARCH)/include/uapi/asm/a.out.h),) 3 no-export-headers += linux/a.out.h 6 ifeq ($(wildcard $(srctree)/arch/$(SRCARCH)/include/uapi/asm/kvm.h),) 7 no-export-headers += linux/kvm.h 10 ifeq ($(wildcard $(srctree)/arch/$(SRCARCH)/include/uapi/asm/kvm_para.h),) 11 ifeq ($(wildcard $(objtree)/arch/$(SRCARCH)/include/generated/uapi/asm/kvm_para.h),) 12 no-export-headers += linux/kvm_para.h
|
| /include/linux/iio/ |
| D | triggered_buffer.h | 13 irqreturn_t (*h)(int irq, void *p), 20 #define iio_triggered_buffer_setup(indio_dev, h, thread, setup_ops) \ argument 21 iio_triggered_buffer_setup_ext((indio_dev), (h), (thread), \ 27 irqreturn_t (*h)(int irq, void *p), 33 #define devm_iio_triggered_buffer_setup(dev, indio_dev, h, thread, setup_ops) \ argument 34 devm_iio_triggered_buffer_setup_ext((dev), (indio_dev), (h), (thread), \
|
| D | trigger_consumer.h | 32 irqreturn_t (*h)(int irq, void *p); member 42 *iio_alloc_pollfunc(irqreturn_t (*h)(int irq, void *p),
|
| /include/linux/sunrpc/ |
| D | cache.h | 91 struct cache_head *h); 187 sunrpc_cache_pipe_upcall(struct cache_detail *detail, struct cache_head *h); 190 struct cache_head *h); 195 static inline struct cache_head *cache_get(struct cache_head *h) in cache_get() argument 197 kref_get(&h->ref); in cache_get() 198 return h; in cache_get() 201 static inline struct cache_head *cache_get_rcu(struct cache_head *h) in cache_get_rcu() argument 203 if (kref_get_unless_zero(&h->ref)) in cache_get_rcu() 204 return h; in cache_get_rcu() 208 static inline void cache_put(struct cache_head *h, struct cache_detail *cd) in cache_put() argument [all …]
|
| /include/asm-generic/bitops/ |
| D | fls64.h | 21 __u32 h = x >> 32; in fls64() local 22 if (h) in fls64() 23 return fls(h) + 32; in fls64()
|
| /include/linux/soc/qcom/ |
| D | apr.h | 50 #define APR_HDR_FIELD_VER(h) (h & 0x000F) argument 51 #define APR_HDR_FIELD_SIZE(h) ((h & 0x00F0) >> 4) argument 52 #define APR_HDR_FIELD_SIZE_BYTES(h) (((h & 0x00F0) >> 4) * 4) argument 53 #define APR_HDR_FIELD_MT(h) ((h & 0x0300) >> 8) argument
|
| /include/linux/crush/ |
| D | crush.h | 205 struct crush_bucket h; member 210 struct crush_bucket h; member 217 struct crush_bucket h; /* note: h.size is _tree_ size, not number of member 224 struct crush_bucket h; member 230 struct crush_bucket h; member
|
| /include/trace/ |
| D | define_custom_trace.h | 41 # define __TRACE_INCLUDE(system) <trace/events/system.h> 44 # define __TRACE_INCLUDE(system) __stringify(TRACE_INCLUDE_PATH/system.h)
|
| /include/net/bluetooth/ |
| D | hci_core.h | 994 struct hci_conn_hash *h = &hdev->conn_hash; in hci_conn_hash_add() local 995 list_add_tail_rcu(&c->list, &h->list); in hci_conn_hash_add() 998 h->acl_num++; in hci_conn_hash_add() 1001 h->le_num++; in hci_conn_hash_add() 1003 h->le_num_peripheral++; in hci_conn_hash_add() 1007 h->sco_num++; in hci_conn_hash_add() 1010 h->iso_num++; in hci_conn_hash_add() 1017 struct hci_conn_hash *h = &hdev->conn_hash; in hci_conn_hash_del() local 1024 h->acl_num--; in hci_conn_hash_del() 1027 h->le_num--; in hci_conn_hash_del() [all …]
|