| /include/asm-generic/ |
| A D | Kbuild | 7 mandatory-y += atomic.h 10 mandatory-y += bitops.h 11 mandatory-y += bug.h 13 mandatory-y += cfi.h 17 mandatory-y += delay.h 21 mandatory-y += dma.h 23 mandatory-y += exec.h 28 mandatory-y += io.h 29 mandatory-y += irq.h 39 mandatory-y += mmu.h [all …]
|
| /include/uapi/asm-generic/ |
| A D | Kbuild | 6 mandatory-y += auxvec.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 17 mandatory-y += param.h 18 mandatory-y += poll.h 30 mandatory-y += stat.h [all …]
|
| /include/linux/ |
| A D | bits.h | 34 #define GENMASK_INPUT_CHECK(h, l) BUILD_BUG_ON_ZERO(const_true((l) > (h))) argument 46 #define GENMASK_TYPE(t, h, l) \ argument 51 #define GENMASK(h, l) GENMASK_TYPE(unsigned long, h, l) argument 52 #define GENMASK_ULL(h, l) GENMASK_TYPE(unsigned long long, h, l) argument 54 #define GENMASK_U8(h, l) GENMASK_TYPE(u8, h, l) argument 55 #define GENMASK_U16(h, l) GENMASK_TYPE(u16, h, l) argument 56 #define GENMASK_U32(h, l) GENMASK_TYPE(u32, h, l) argument 57 #define GENMASK_U64(h, l) GENMASK_TYPE(u64, h, l) argument 58 #define GENMASK_U128(h, l) GENMASK_TYPE(u128, h, l) argument 84 #define GENMASK(h, l) __GENMASK(h, l) argument [all …]
|
| A 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()
|
| A 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() 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() 76 void *val = btree_get_prev(&head->h, BTREE_TYPE_GEO, &_key); in BTREE_FN() [all …]
|
| A 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() 54 return !h->pprev; in hlist_bl_unhashed() 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() 78 struct hlist_bl_head *h) in hlist_bl_add_head() argument 80 struct hlist_bl_node *first = hlist_bl_first(h); in hlist_bl_add_head() 85 n->pprev = &h->first; in hlist_bl_add_head() [all …]
|
| A 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() 81 return btree_merge(&target->h, &victim->h, &btree_geo128, gfp); in btree_merge128() 94 return btree_visitor(&head->h, &btree_geo128, opaque, in btree_visitor128() [all …]
|
| A D | list_nulls.h | 68 static inline int hlist_nulls_unhashed(const struct hlist_nulls_node *h) in hlist_nulls_unhashed() argument 70 return !h->pprev; in hlist_nulls_unhashed() 82 static inline int hlist_nulls_unhashed_lockless(const struct hlist_nulls_node *h) in hlist_nulls_unhashed_lockless() argument 84 return !READ_ONCE(h->pprev); in hlist_nulls_unhashed_lockless() 87 static inline int hlist_nulls_empty(const struct hlist_nulls_head *h) in hlist_nulls_empty() argument 89 return is_a_nulls(READ_ONCE(h->first)); in hlist_nulls_empty() 93 struct hlist_nulls_head *h) in hlist_nulls_add_head() argument 95 struct hlist_nulls_node *first = h->first; in hlist_nulls_add_head() 98 WRITE_ONCE(n->pprev, &h->first); in hlist_nulls_add_head() 99 h->first = n; in hlist_nulls_add_head()
|
| A D | hugetlb.h | 116 #define for_each_hstate(h) \ argument 117 for ((h) = hstates; (h) < &hstates[hugetlb_max_hstate]; (h)++) 778 return h->mask; in huge_page_mask() 783 return h->order; in huge_page_order() 788 return h->order + PAGE_SHIFT; in huge_page_shift() 798 return 1 << h->order; in pages_per_huge_page() 803 return huge_page_size(h) / 512; in blocks_per_huge_page() 860 return h - hstates; in hstate_index() 880 (huge_page_shift(h) == PUD_SHIFT) || in arch_hugetlb_migration_supported() 919 if (hstate_is_gigantic(h)) in hugepage_movable_supported() [all …]
|
| A 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/ |
| A 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/crypto/ |
| A D | blake2b.h | 12 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()
|
| A 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()
|
| A D | poly1305.h | 35 u32 h[5]; member 43 struct poly1305_state h; member
|
| /include/uapi/linux/ |
| A D | bits.h | 7 #define __GENMASK(h, l) (((~_UL(0)) << (l)) & (~_UL(0) >> (__BITS_PER_LONG - 1 - (h)))) argument 9 #define __GENMASK_ULL(h, l) (((~_ULL(0)) << (l)) & (~_ULL(0) >> (__BITS_PER_LONG_LONG - 1 - (h)))) argument 11 #define __GENMASK_U128(h, l) \ argument 12 ((_BIT128((h)) << 1) - (_BIT128(l)))
|
| A 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
|
| A 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/uapi/ |
| A 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/sunrpc/ |
| A D | cache.h | 91 struct cache_head *h); 190 struct cache_head *h); 197 kref_get(&h->ref); in cache_get() 198 return h; in cache_get() 203 if (kref_get_unless_zero(&h->ref)) in cache_get_rcu() 204 return h; in cache_get_rcu() 210 if (kref_read(&h->ref) <= 2 && in cache_put() 211 h->expiry_time < cd->nextcheck) in cache_put() 212 cd->nextcheck = h->expiry_time; in cache_put() 213 kref_put(&h->ref, cd->cache_put); in cache_put() [all …]
|
| /include/linux/iio/ |
| A 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), \
|
| A 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/asm-generic/bitops/ |
| A D | fls64.h | 21 __u32 h = x >> 32; in fls64() local 22 if (h) in fls64() 23 return fls(h) + 32; in fls64()
|
| /include/drm/ |
| A D | Makefile | 8 $(patsubst %.h,%.hdrtest, $(hdrtest-files)) 11 quiet_cmd_hdrtest = HDRTEST $(patsubst %.hdrtest,%.h,$@) 17 $(obj)/%.hdrtest: $(src)/%.h FORCE
|
| /include/linux/soc/qcom/ |
| A 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/ |
| A 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
|