Home
last modified time | relevance | path

Searched refs:lh (Results 1 – 25 of 106) sorted by relevance

12345

/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm64/include/openssl/
H A Dlhash_macros.h27 #define lh_ASN1_OBJECT_free(lh) \ argument
28 lh_free(CHECKED_CAST(_LHASH *, LHASH_OF(ASN1_OBJECT) *, lh));
30 #define lh_ASN1_OBJECT_num_items(lh) \ argument
31 lh_num_items(CHECKED_CAST(_LHASH *, LHASH_OF(ASN1_OBJECT) *, lh))
33 #define lh_ASN1_OBJECT_retrieve(lh, data) \ argument
35 CHECKED_CAST(_LHASH *, LHASH_OF(ASN1_OBJECT) *, lh), \
38 #define lh_ASN1_OBJECT_insert(lh, old_data, data) \ argument
39 lh_insert(CHECKED_CAST(_LHASH *, LHASH_OF(ASN1_OBJECT) *, lh), \
43 #define lh_ASN1_OBJECT_delete(lh, data) \ argument
45 CHECKED_CAST(_LHASH *, LHASH_OF(ASN1_OBJECT) *, lh), \
[all …]
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm32/host_include/openssl/
H A Dlhash_macros.h27 #define lh_ASN1_OBJECT_free(lh) \ argument
28 lh_free(CHECKED_CAST(_LHASH *, LHASH_OF(ASN1_OBJECT) *, lh));
30 #define lh_ASN1_OBJECT_num_items(lh) \ argument
31 lh_num_items(CHECKED_CAST(_LHASH *, LHASH_OF(ASN1_OBJECT) *, lh))
33 #define lh_ASN1_OBJECT_retrieve(lh, data) \ argument
35 CHECKED_CAST(_LHASH *, LHASH_OF(ASN1_OBJECT) *, lh), \
38 #define lh_ASN1_OBJECT_insert(lh, old_data, data) \ argument
39 lh_insert(CHECKED_CAST(_LHASH *, LHASH_OF(ASN1_OBJECT) *, lh), \
43 #define lh_ASN1_OBJECT_delete(lh, data) \ argument
45 CHECKED_CAST(_LHASH *, LHASH_OF(ASN1_OBJECT) *, lh), \
[all …]
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm64/host_include/openssl/
H A Dlhash_macros.h27 #define lh_ASN1_OBJECT_free(lh) \ argument
28 lh_free(CHECKED_CAST(_LHASH *, LHASH_OF(ASN1_OBJECT) *, lh));
30 #define lh_ASN1_OBJECT_num_items(lh) \ argument
31 lh_num_items(CHECKED_CAST(_LHASH *, LHASH_OF(ASN1_OBJECT) *, lh))
33 #define lh_ASN1_OBJECT_retrieve(lh, data) \ argument
35 CHECKED_CAST(_LHASH *, LHASH_OF(ASN1_OBJECT) *, lh), \
38 #define lh_ASN1_OBJECT_insert(lh, old_data, data) \ argument
39 lh_insert(CHECKED_CAST(_LHASH *, LHASH_OF(ASN1_OBJECT) *, lh), \
43 #define lh_ASN1_OBJECT_delete(lh, data) \ argument
45 CHECKED_CAST(_LHASH *, LHASH_OF(ASN1_OBJECT) *, lh), \
[all …]
/OK3568_Linux_fs/external/security/rk_tee_user/v1/export-user_ta/include/openssl/
H A Dlhash_macros.h27 #define lh_ASN1_OBJECT_free(lh) \ argument
28 lh_free(CHECKED_CAST(_LHASH *, LHASH_OF(ASN1_OBJECT) *, lh));
30 #define lh_ASN1_OBJECT_num_items(lh) \ argument
31 lh_num_items(CHECKED_CAST(_LHASH *, LHASH_OF(ASN1_OBJECT) *, lh))
33 #define lh_ASN1_OBJECT_retrieve(lh, data) \ argument
35 CHECKED_CAST(_LHASH *, LHASH_OF(ASN1_OBJECT) *, lh), \
38 #define lh_ASN1_OBJECT_insert(lh, old_data, data) \ argument
39 lh_insert(CHECKED_CAST(_LHASH *, LHASH_OF(ASN1_OBJECT) *, lh), \
43 #define lh_ASN1_OBJECT_delete(lh, data) \ argument
45 CHECKED_CAST(_LHASH *, LHASH_OF(ASN1_OBJECT) *, lh), \
[all …]
H A Dlhash.h152 OPENSSL_EXPORT void lh_free(_LHASH *lh);
155 OPENSSL_EXPORT size_t lh_num_items(const _LHASH *lh);
159 OPENSSL_EXPORT void *lh_retrieve(const _LHASH *lh, const void *data);
166 OPENSSL_EXPORT int lh_insert(_LHASH *lh, void **old_data, void *data);
170 OPENSSL_EXPORT void *lh_delete(_LHASH *lh, const void *data);
174 OPENSSL_EXPORT void lh_doall(_LHASH *lh, void (*func)(void *));
179 OPENSSL_EXPORT void lh_doall_arg(_LHASH *lh, void (*func)(void *, void *),
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm32/include/openssl/
H A Dlhash_macros.h27 #define lh_ASN1_OBJECT_free(lh) \ argument
28 lh_free(CHECKED_CAST(_LHASH *, LHASH_OF(ASN1_OBJECT) *, lh));
30 #define lh_ASN1_OBJECT_num_items(lh) \ argument
31 lh_num_items(CHECKED_CAST(_LHASH *, LHASH_OF(ASN1_OBJECT) *, lh))
33 #define lh_ASN1_OBJECT_retrieve(lh, data) \ argument
35 CHECKED_CAST(_LHASH *, LHASH_OF(ASN1_OBJECT) *, lh), \
38 #define lh_ASN1_OBJECT_insert(lh, old_data, data) \ argument
39 lh_insert(CHECKED_CAST(_LHASH *, LHASH_OF(ASN1_OBJECT) *, lh), \
43 #define lh_ASN1_OBJECT_delete(lh, data) \ argument
45 CHECKED_CAST(_LHASH *, LHASH_OF(ASN1_OBJECT) *, lh), \
[all …]
/OK3568_Linux_fs/external/security/rk_tee_user/v1/export-user_ta/host_include/openssl/
H A Dlhash_macros.h27 #define lh_ASN1_OBJECT_free(lh) \ argument
28 lh_free(CHECKED_CAST(_LHASH *, LHASH_OF(ASN1_OBJECT) *, lh));
30 #define lh_ASN1_OBJECT_num_items(lh) \ argument
31 lh_num_items(CHECKED_CAST(_LHASH *, LHASH_OF(ASN1_OBJECT) *, lh))
33 #define lh_ASN1_OBJECT_retrieve(lh, data) \ argument
35 CHECKED_CAST(_LHASH *, LHASH_OF(ASN1_OBJECT) *, lh), \
38 #define lh_ASN1_OBJECT_insert(lh, old_data, data) \ argument
39 lh_insert(CHECKED_CAST(_LHASH *, LHASH_OF(ASN1_OBJECT) *, lh), \
43 #define lh_ASN1_OBJECT_delete(lh, data) \ argument
45 CHECKED_CAST(_LHASH *, LHASH_OF(ASN1_OBJECT) *, lh), \
[all …]
H A Dlhash.h152 OPENSSL_EXPORT void lh_free(_LHASH *lh);
155 OPENSSL_EXPORT size_t lh_num_items(const _LHASH *lh);
159 OPENSSL_EXPORT void *lh_retrieve(const _LHASH *lh, const void *data);
166 OPENSSL_EXPORT int lh_insert(_LHASH *lh, void **old_data, void *data);
170 OPENSSL_EXPORT void *lh_delete(_LHASH *lh, const void *data);
174 OPENSSL_EXPORT void lh_doall(_LHASH *lh, void (*func)(void *));
179 OPENSSL_EXPORT void lh_doall_arg(_LHASH *lh, void (*func)(void *, void *),
/OK3568_Linux_fs/kernel/net/dccp/ccids/lib/
H A Dloss_interval.c22 static inline struct tfrc_loss_interval *tfrc_lh_peek(struct tfrc_loss_hist *lh) in tfrc_lh_peek() argument
24 return lh->counter ? lh->ring[LIH_INDEX(lh->counter - 1)] : NULL; in tfrc_lh_peek()
28 static inline u32 tfrc_lh_get_interval(struct tfrc_loss_hist *lh, const u8 i) in tfrc_lh_get_interval() argument
30 BUG_ON(i >= lh->counter); in tfrc_lh_get_interval()
31 return lh->ring[LIH_INDEX(lh->counter - i - 1)]->li_length; in tfrc_lh_get_interval()
37 static struct tfrc_loss_interval *tfrc_lh_demand_next(struct tfrc_loss_hist *lh) in tfrc_lh_demand_next() argument
39 if (lh->ring[LIH_INDEX(lh->counter)] == NULL) in tfrc_lh_demand_next()
40 lh->ring[LIH_INDEX(lh->counter)] = kmem_cache_alloc(tfrc_lh_slab, in tfrc_lh_demand_next()
42 return lh->ring[LIH_INDEX(lh->counter)]; in tfrc_lh_demand_next()
45 void tfrc_lh_cleanup(struct tfrc_loss_hist *lh) in tfrc_lh_cleanup() argument
[all …]
H A Dloss_interval.h47 static inline void tfrc_lh_init(struct tfrc_loss_hist *lh) in tfrc_lh_init() argument
49 memset(lh, 0, sizeof(struct tfrc_loss_hist)); in tfrc_lh_init()
52 static inline u8 tfrc_lh_is_initialised(struct tfrc_loss_hist *lh) in tfrc_lh_is_initialised() argument
54 return lh->counter > 0; in tfrc_lh_is_initialised()
57 static inline u8 tfrc_lh_length(struct tfrc_loss_hist *lh) in tfrc_lh_length() argument
59 return min(lh->counter, (u8)LIH_SIZE); in tfrc_lh_length()
66 u8 tfrc_lh_update_i_mean(struct tfrc_loss_hist *lh, struct sk_buff *);
67 void tfrc_lh_cleanup(struct tfrc_loss_hist *lh);
/OK3568_Linux_fs/external/security/rk_tee_user/v2/host/openssl/include/openssl/
H A Dlhash.h173 # define lh_error(lh) ((lh)->error) argument
176 void lh_free(_LHASH *lh);
177 void *lh_insert(_LHASH *lh, void *data);
178 void *lh_delete(_LHASH *lh, const void *data);
179 void *lh_retrieve(_LHASH *lh, const void *data);
180 void lh_doall(_LHASH *lh, LHASH_DOALL_FN_TYPE func);
181 void lh_doall_arg(_LHASH *lh, LHASH_DOALL_ARG_FN_TYPE func, void *arg);
183 unsigned long lh_num_items(const _LHASH *lh);
186 void lh_stats(const _LHASH *lh, FILE *out);
187 void lh_node_stats(const _LHASH *lh, FILE *out);
[all …]
H A Dsafestack.h2449 # define lh_ADDED_OBJ_insert(lh,inst) LHM_lh_insert(ADDED_OBJ,lh,inst) argument
2450 # define lh_ADDED_OBJ_retrieve(lh,inst) LHM_lh_retrieve(ADDED_OBJ,lh,inst) argument
2451 # define lh_ADDED_OBJ_delete(lh,inst) LHM_lh_delete(ADDED_OBJ,lh,inst) argument
2452 # define lh_ADDED_OBJ_doall(lh,fn) LHM_lh_doall(ADDED_OBJ,lh,fn) argument
2453 # define lh_ADDED_OBJ_doall_arg(lh,fn,arg_type,arg) \ argument
2454 LHM_lh_doall_arg(ADDED_OBJ,lh,fn,arg_type,arg)
2455 # define lh_ADDED_OBJ_error(lh) LHM_lh_error(ADDED_OBJ,lh) argument
2456 # define lh_ADDED_OBJ_num_items(lh) LHM_lh_num_items(ADDED_OBJ,lh) argument
2457 # define lh_ADDED_OBJ_down_load(lh) LHM_lh_down_load(ADDED_OBJ,lh) argument
2458 # define lh_ADDED_OBJ_node_stats_bio(lh,out) \ argument
[all …]
/OK3568_Linux_fs/kernel/net/netfilter/
H A Dxt_l2tp.c84 union l2tp_val *lh; in l2tp_udp_mt() local
95 lh = skb_header_pointer(skb, offs, 2, &lhbuf); in l2tp_udp_mt()
96 if (lh == NULL) in l2tp_udp_mt()
99 flags = ntohs(lh->val16[0]); in l2tp_udp_mt()
113 lh = skb_header_pointer(skb, offs + 4, 4, &lhbuf); in l2tp_udp_mt()
114 if (lh == NULL) in l2tp_udp_mt()
117 data.tid = ntohl(lh->val32); in l2tp_udp_mt()
119 data.sid = ntohl(lh->val32); in l2tp_udp_mt()
123 lh = skb_header_pointer(skb, offs + 2, 4, &lhbuf); in l2tp_udp_mt()
124 if (lh == NULL) in l2tp_udp_mt()
[all …]
/OK3568_Linux_fs/kernel/drivers/s390/block/
H A Ddcssblk.c83 struct list_head lh; member
100 struct list_head lh; member
130 list_for_each_entry_safe(entry, temp, &dev_info->seg_list, lh) { in dcssblk_release_segment()
131 list_del(&entry->lh); in dcssblk_release_segment()
155 list_for_each_entry(entry, &dcssblk_devices, lh) in dcssblk_assign_free_minor()
176 list_for_each_entry(entry, &dcssblk_devices, lh) { in dcssblk_get_device_by_name()
195 list_for_each_entry(dev_info, &dcssblk_devices, lh) { in dcssblk_get_segment_by_name()
196 list_for_each_entry(entry, &dev_info->seg_list, lh) { in dcssblk_get_segment_by_name()
214 list_for_each_entry(entry, &dev_info->seg_list, lh) { in dcssblk_find_highest_addr()
233 list_for_each_entry(entry, &dev_info->seg_list, lh) { in dcssblk_find_lowest_addr()
[all …]
/OK3568_Linux_fs/kernel/fs/gfs2/
H A Drecovery.c120 int __get_log_header(struct gfs2_sbd *sdp, const struct gfs2_log_header *lh, in __get_log_header() argument
125 if (lh->lh_header.mh_magic != cpu_to_be32(GFS2_MAGIC) || in __get_log_header()
126 lh->lh_header.mh_type != cpu_to_be32(GFS2_METATYPE_LH) || in __get_log_header()
127 (blkno && be32_to_cpu(lh->lh_blkno) != blkno)) in __get_log_header()
130 hash = crc32(~0, lh, LH_V1_SIZE - 4); in __get_log_header()
133 if (be32_to_cpu(lh->lh_hash) != hash) in __get_log_header()
136 crc = crc32c(~0, (void *)lh + LH_V1_SIZE + 4, in __get_log_header()
139 if ((lh->lh_crc != 0 && be32_to_cpu(lh->lh_crc) != crc)) in __get_log_header()
142 head->lh_sequence = be64_to_cpu(lh->lh_sequence); in __get_log_header()
143 head->lh_flags = be32_to_cpu(lh->lh_flags); in __get_log_header()
[all …]
H A Dlog.c763 struct gfs2_log_header *lh; in gfs2_write_log_header() local
775 lh = page_address(page); in gfs2_write_log_header()
776 clear_page(lh); in gfs2_write_log_header()
778 lh->lh_header.mh_magic = cpu_to_be32(GFS2_MAGIC); in gfs2_write_log_header()
779 lh->lh_header.mh_type = cpu_to_be32(GFS2_METATYPE_LH); in gfs2_write_log_header()
780 lh->lh_header.__pad0 = cpu_to_be64(0); in gfs2_write_log_header()
781 lh->lh_header.mh_format = cpu_to_be32(GFS2_FORMAT_LH); in gfs2_write_log_header()
782 lh->lh_header.mh_jid = cpu_to_be32(sdp->sd_jdesc->jd_jid); in gfs2_write_log_header()
783 lh->lh_sequence = cpu_to_be64(seq); in gfs2_write_log_header()
784 lh->lh_flags = cpu_to_be32(flags); in gfs2_write_log_header()
[all …]
/OK3568_Linux_fs/u-boot/drivers/block/
H A Dblkcache.c16 struct list_head lh; member
38 list_for_each_entry(node, &block_cache, lh) in cache_find()
44 if (block_cache.next != &node->lh) { in cache_find()
46 list_del(&node->lh); in cache_find()
47 list_add(&node->lh, &block_cache); in cache_find()
93 list_del(&node->lh); in blkcache_fill()
125 list_add(&node->lh, &block_cache); in blkcache_fill()
154 list_del(&node->lh); in blkcache_configure()
/OK3568_Linux_fs/kernel/arch/s390/appldata/
H A Dappldata_base.c126 struct list_head *lh; in appldata_work_fn() local
130 list_for_each(lh, &appldata_ops_list) { in appldata_work_fn()
131 ops = list_entry(lh, struct appldata_ops, list); in appldata_work_fn()
285 struct list_head *lh; in appldata_generic_handler() local
297 list_for_each(lh, &appldata_ops_list) { in appldata_generic_handler()
298 tmp_ops = list_entry(lh, struct appldata_ops, list); in appldata_generic_handler()
420 struct list_head *lh; in appldata_freeze() local
430 list_for_each(lh, &appldata_ops_list) { in appldata_freeze()
431 ops = list_entry(lh, struct appldata_ops, list); in appldata_freeze()
449 struct list_head *lh; in appldata_restore() local
[all …]
/OK3568_Linux_fs/kernel/arch/sparc/mm/
H A Dtlb.c266 struct list_head *lh = (struct list_head *) pgtable; in pgtable_trans_huge_deposit() local
272 INIT_LIST_HEAD(lh); in pgtable_trans_huge_deposit()
274 list_add(lh, (struct list_head *) pmd_huge_pte(mm, pmdp)); in pgtable_trans_huge_deposit()
280 struct list_head *lh; in pgtable_trans_huge_withdraw() local
287 lh = (struct list_head *) pgtable; in pgtable_trans_huge_withdraw()
288 if (list_empty(lh)) in pgtable_trans_huge_withdraw()
291 pmd_huge_pte(mm, pmdp) = (pgtable_t) lh->next; in pgtable_trans_huge_withdraw()
292 list_del(lh); in pgtable_trans_huge_withdraw()
/OK3568_Linux_fs/kernel/security/apparmor/
H A Dpolicy.c705 static struct aa_profile *__list_lookup_parent(struct list_head *lh, in __list_lookup_parent() argument
717 list_for_each_entry(ent, lh, list) { in __list_lookup_parent()
746 LIST_HEAD(lh); in __replace_profile()
747 list_splice_init_rcu(&old->base.profiles, &lh, synchronize_rcu); in __replace_profile()
749 list_for_each_entry_safe(child, tmp, &lh, base.list) { in __replace_profile()
866 LIST_HEAD(lh); in aa_replace_profiles()
871 error = aa_unpack(udata, &lh, &ns_name); in aa_replace_profiles()
881 list_for_each_entry(ent, &lh, list) { in aa_replace_profiles()
929 list_for_each_entry(ent, &lh, list) { in aa_replace_profiles()
957 p = __list_lookup_parent(&lh, ent->new); in aa_replace_profiles()
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/arm/midgard/
H A Dmali_kbase_debug_mem_view.c46 struct list_head *lh; member
64 data->lh = &map->node; in debug_mem_start()
85 map = list_entry(data->lh, struct debug_mem_mapping, node); in debug_mem_next()
93 if (list_is_last(data->lh, &mem_data->mapping_list)) { in debug_mem_next()
98 data->lh = data->lh->next; in debug_mem_next()
115 map = list_entry(data->lh, struct debug_mem_mapping, node); in debug_mem_show()
/OK3568_Linux_fs/u-boot/fs/yaffs2/
H A Dyaffs_verify.c405 struct list_head *lh; in yaffs_verify_objects() local
413 list_for_each(lh, &dev->obj_bucket[i].list) { in yaffs_verify_objects()
414 obj = list_entry(lh, struct yaffs_obj, hash_link); in yaffs_verify_objects()
422 struct list_head *lh; in yaffs_verify_obj_in_dir() local
448 list_for_each(lh, &obj->parent->variant.dir_variant.children) { in yaffs_verify_obj_in_dir()
449 list_obj = list_entry(lh, struct yaffs_obj, siblings); in yaffs_verify_obj_in_dir()
465 struct list_head *lh; in yaffs_verify_dir() local
485 list_for_each(lh, &directory->variant.dir_variant.children) { in yaffs_verify_dir()
486 list_obj = list_entry(lh, struct yaffs_obj, siblings); in yaffs_verify_dir()
/OK3568_Linux_fs/kernel/kernel/rcu/
H A Dsrcutiny.c115 struct rcu_head *lh; in srcu_drive_gp() local
126 lh = ssp->srcu_cb_head; in srcu_drive_gp()
138 while (lh) { in srcu_drive_gp()
139 rhp = lh; in srcu_drive_gp()
140 lh = lh->next; in srcu_drive_gp()
/OK3568_Linux_fs/kernel/drivers/gpio/
H A Dgpiolib-cdev.c150 static long linehandle_set_config(struct linehandle_state *lh, in linehandle_set_config() argument
166 for (i = 0; i < lh->num_descs; i++) { in linehandle_set_config()
167 desc = lh->descs[i]; in linehandle_set_config()
196 struct linehandle_state *lh = file->private_data; in linehandle_ioctl() local
206 lh->num_descs, in linehandle_ioctl()
207 lh->descs, in linehandle_ioctl()
214 for (i = 0; i < lh->num_descs; i++) in linehandle_ioctl()
226 if (!test_bit(FLAG_IS_OUT, &lh->descs[0]->flags)) in linehandle_ioctl()
233 for (i = 0; i < lh->num_descs; i++) in linehandle_ioctl()
239 lh->num_descs, in linehandle_ioctl()
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/
H A Dmali_kbase_debug_mem_view.c67 struct list_head *lh; member
85 data->lh = &map->node; in debug_mem_start()
106 map = list_entry(data->lh, struct debug_mem_mapping, node); in debug_mem_next()
114 if (list_is_last(data->lh, &mem_data->mapping_list)) { in debug_mem_next()
119 data->lh = data->lh->next; in debug_mem_next()
136 map = list_entry(data->lh, struct debug_mem_mapping, node); in debug_mem_show()

12345