| /linux/net/dccp/ccids/lib/ |
| H A D | loss_interval.c | |
| H A D | loss_interval.h | |
| H A D | packet_history.h | |
| /linux/net/netfilter/ |
| H A D | xt_l2tp.c | 84 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 …]
|
| /linux/rust/pin-init/internal/src/ |
| H A D | init.rs | 591 let lh = content.lookahead1(); 592 if lh.peek(End) || lh.peek(Token![..]) { 594 } else if lh.peek(Ident) || lh.peek(LitInt) || lh.peek(Token![_]) || lh.peek(Token![#]) 597 let lh = content.lookahead1(); 598 if lh.peek(End) { 600 } else if lh 409 let lh = content.lookahead1(); global() localVariable 414 let lh = content.lookahead1(); global() localVariable 485 let lh = input.lookahead1(); global() localVariable 494 let lh = input.lookahead1(); global() localVariable [all...] |
| /linux/drivers/s390/block/ |
| H A D | dcssblk.c | 68 struct list_head lh; member 86 struct list_head lh; member 116 list_for_each_entry_safe(entry, temp, &dev_info->seg_list, lh) { in dcssblk_release_segment() 117 list_del(&entry->lh); in dcssblk_release_segment() 141 list_for_each_entry(entry, &dcssblk_devices, lh) in dcssblk_assign_free_minor() 162 list_for_each_entry(entry, &dcssblk_devices, lh) { in dcssblk_get_device_by_name() 181 list_for_each_entry(dev_info, &dcssblk_devices, lh) { in dcssblk_get_segment_by_name() 182 list_for_each_entry(entry, &dev_info->seg_list, lh) { in dcssblk_get_segment_by_name() 200 list_for_each_entry(entry, &dev_info->seg_list, lh) { in dcssblk_find_highest_addr() 219 list_for_each_entry(entry, &dev_info->seg_list, lh) { in dcssblk_find_lowest_addr() [all...] |
| /linux/fs/gfs2/ |
| H A D | recovery.c | 119 int __get_log_header(struct gfs2_sbd *sdp, const struct gfs2_log_header *lh, in __get_log_header() 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 in __get_log_header() 118 __get_log_header(struct gfs2_sbd * sdp,const struct gfs2_log_header * lh,unsigned int blkno,struct gfs2_log_header_host * head) __get_log_header() argument 222 struct gfs2_log_header_host lh; foreach_descriptor() local [all...] |
| H A D | log.c | 826 struct gfs2_log_header *lh; in gfs2_write_log_header() local 838 lh = page_address(page); in gfs2_write_log_header() 839 clear_page(lh); in gfs2_write_log_header() 841 lh->lh_header.mh_magic = cpu_to_be32(GFS2_MAGIC); in gfs2_write_log_header() 842 lh->lh_header.mh_type = cpu_to_be32(GFS2_METATYPE_LH); in gfs2_write_log_header() 843 lh->lh_header.__pad0 = cpu_to_be64(0); in gfs2_write_log_header() 844 lh->lh_header.mh_format = cpu_to_be32(GFS2_FORMAT_LH); in gfs2_write_log_header() 845 lh->lh_header.mh_jid = cpu_to_be32(sdp->sd_jdesc->jd_jid); in gfs2_write_log_header() 846 lh->lh_sequence = cpu_to_be64(seq); in gfs2_write_log_header() 847 lh in gfs2_write_log_header() [all...] |
| /linux/drivers/md/ |
| H A D | dm-bufio.c | 462 static void lh_init(struct lock_history *lh, struct dm_buffer_cache *cache, bool write) in lh_init() argument 464 lh->cache = cache; in lh_init() 465 lh->write = write; in lh_init() 466 lh->no_previous = cache->num_locks; in lh_init() 467 lh->previous = lh->no_previous; in lh_init() 470 static void __lh_lock(struct lock_history *lh, unsigned int index) in __lh_lock() argument 472 if (lh->write) { in __lh_lock() 473 if (static_branch_unlikely(&no_sleep_enabled) && lh->cache->no_sleep) in __lh_lock() 474 write_lock_bh(&lh in __lh_lock() 485 __lh_unlock(struct lock_history * lh,unsigned int index) __lh_unlock() argument 503 lh_exit(struct lock_history * lh) lh_exit() argument 515 lh_next(struct lock_history * lh,sector_t b) lh_next() argument 647 struct lock_history *lh; global() member 671 __cache_evict(struct dm_buffer_cache * bc,int list_mode,b_predicate pred,void * context,struct lock_history * lh) __cache_evict() argument 692 struct lock_history lh; cache_evict() local 726 __cache_mark_many(struct dm_buffer_cache * bc,int old_mode,int new_mode,b_predicate pred,void * context,struct lock_history * lh) __cache_mark_many() argument 746 struct lock_history lh; cache_mark_many() local 772 __cache_iterate(struct dm_buffer_cache * bc,int list_mode,iter_fn fn,void * context,struct lock_history * lh) __cache_iterate() argument 802 struct lock_history lh; cache_iterate() local [all...] |
| /linux/drivers/video/ |
| H A D | aperture.c | 137 struct list_head lh; member 159 list_del(&ap->lh); in devm_aperture_acquire_release() 174 ap = container_of(pos, struct aperture_range, lh); in devm_aperture_acquire() 191 INIT_LIST_HEAD(&ap->lh); in devm_aperture_acquire() 193 list_add(&ap->lh, &apertures); in devm_aperture_acquire() 255 struct aperture_range *ap = container_of(pos, struct aperture_range, lh); in aperture_detach_devices() 265 list_del(&ap->lh); in aperture_detach_devices()
|
| /linux/arch/s390/mm/ |
| H A D | pgtable.c | 320 struct list_head *lh = (struct list_head *) pgtable; in pgtable_trans_huge_deposit() local 326 INIT_LIST_HEAD(lh); in pgtable_trans_huge_deposit() 328 list_add(lh, (struct list_head *) pmd_huge_pte(mm, pmdp)); in pgtable_trans_huge_deposit() 334 struct list_head *lh; in pgtable_trans_huge_withdraw() local 342 lh = (struct list_head *) pgtable; in pgtable_trans_huge_withdraw() 343 if (list_empty(lh)) in pgtable_trans_huge_withdraw() 346 pmd_huge_pte(mm, pmdp) = (pgtable_t) lh->next; in pgtable_trans_huge_withdraw() 347 list_del(lh); in pgtable_trans_huge_withdraw()
|
| /linux/kernel/rcu/ |
| H A D | srcutiny.c | 141 struct rcu_head *lh; in srcu_drive_gp() 155 lh = ssp->srcu_cb_head; in srcu_drive_gp() 177 while (lh) { in srcu_drive_gp() 178 rhp = lh; in srcu_drive_gp() 179 lh = lh->next; in srcu_drive_gp() 125 struct rcu_head *lh; srcu_drive_gp() local
|
| /linux/security/apparmor/ |
| H A D | policy.c | 1031 static struct aa_profile *__list_lookup_parent(struct list_head *lh, in __list_lookup_parent() argument 1043 list_for_each_entry(ent, lh, list) { in __list_lookup_parent() 1071 LIST_HEAD(lh); in __replace_profile() 1072 list_splice_init_rcu(&old->base.profiles, &lh, synchronize_rcu); in __replace_profile() 1074 list_for_each_entry_safe(child, tmp, &lh, base.list) { in __replace_profile() 1195 LIST_HEAD(lh); in aa_replace_profiles() 1200 error = aa_unpack(udata, &lh, &ns_name, compressed_profile, compressed_size); in aa_replace_profiles() 1210 list_for_each_entry(ent, &lh, list) { in aa_replace_profiles() 1265 list_for_each_entry(ent, &lh, list) { in aa_replace_profiles() 1296 p = __list_lookup_parent(&lh, en in aa_replace_profiles() 1398 struct list_head *lh; aa_replace_profiles() local [all...] |
| /linux/drivers/gpio/ |
| H A D | gpiolib-cdev.c | 164 static long linehandle_set_config(struct linehandle_state *lh, in linehandle_set_config() 184 for (i = 0; i < lh->num_descs; i++) { in linehandle_set_config() 185 desc = lh->descs[i]; in linehandle_set_config() 208 struct linehandle_state *lh = file->private_data; in linehandle_ioctl() 215 guard(srcu)(&lh->gdev->srcu); in linehandle_ioctl() 217 if (!rcu_access_pointer(lh->gdev->chip)) in linehandle_ioctl() 224 lh->num_descs, lh->descs, in linehandle_ioctl() 230 for (i = 0; i < lh->num_descs; i++) in linehandle_ioctl() 242 if (!test_bit(GPIOD_FLAG_IS_OUT, &lh in linehandle_ioctl() 163 linehandle_set_config(struct linehandle_state * lh,void __user * ip) linehandle_set_config() argument 207 struct linehandle_state *lh = file->private_data; linehandle_ioctl() local 273 linehandle_free(struct linehandle_state * lh) linehandle_free() argument [all...] |
| /linux/arch/s390/appldata/ |
| H A D | appldata_base.c | 118 struct list_head *lh; in appldata_work_fn() local 138 list_for_each(lh, &appldata_ops_list) { in appldata_work_fn() 139 ops = list_entry(lh, struct appldata_ops, list); in appldata_work_fn() 310 struct list_head *lh; in appldata_generic_handler() local 322 list_for_each(lh, &appldata_ops_list) { in appldata_generic_handler() 323 tmp_ops = list_entry(lh, struct appldata_ops, list); in appldata_generic_handler()
|
| /linux/drivers/dma/sh/ |
| H A D | shdma.h | 56 #define to_sh_desc(lh) container_of(lh, struct sh_desc, node) argument
|
| /linux/drivers/net/ethernet/altera/ |
| H A D | altera_sgdma.c | 447 list_add_tail(&buffer->lh, &priv->txlisthd); in queue_tx() 458 list_add_tail(&buffer->lh, &priv->rxlisthd); in queue_rx() 470 list_remove_head(&priv->txlisthd, buffer, struct tse_buffer, lh); in dequeue_tx() 483 list_remove_head(&priv->rxlisthd, buffer, struct tse_buffer, lh); in dequeue_rx() 497 list_peek_head(&priv->rxlisthd, buffer, struct tse_buffer, lh); in queue_rx_peekhead()
|
| /linux/arch/mips/include/asm/mach-ip27/ |
| H A D | kernel-entry-init.h | 83 lh t1, KV_RO_NASID_OFFSET(t0) 84 lh t2, KV_RW_NASID_OFFSET(t0)
|
| /linux/arch/riscv/kernel/tests/module_test/ |
| H A D | test_sub16.S | 9 lh a0, sub16
|
| /linux/fs/coda/ |
| H A D | psdev.c | 97 struct list_head *lh; in coda_psdev_write() local 148 list_for_each(lh, &vcp->vc_processing) { in coda_psdev_write() 149 tmp = list_entry(lh, struct upc_req , uc_chain); in coda_psdev_write()
|
| /linux/include/linux/ |
| H A D | filter.h | 981 struct list_head *lh; in bpf_compute_data_pointers() 988 lh = &bpf_net_ctx->dev_map_flush_list; in bpf_prog_run_data_pointers() 989 if (kern_flags & BPF_RI_F_DEV_MAP_INIT && !list_empty(lh)) in bpf_prog_run_data_pointers() 990 *lh_dev = lh; in bpf_prog_run_data_pointers() 992 lh = &bpf_net_ctx->cpu_map_flush_list; in bpf_prog_run_data_pointers() 993 if (kern_flags & BPF_RI_F_CPU_MAP_INIT && !list_empty(lh)) in bpf_prog_run_data_pointers() 994 *lh_map = lh; in bpf_prog_run_data_pointers() 996 lh = &bpf_net_ctx->xskmap_map_flush_list; in bpf_prog_run_data_pointers() 998 kern_flags & BPF_RI_F_XSK_MAP_INIT && !list_empty(lh)) in bpf_prog_run_data_pointers() 999 *lh_xsk = lh; in bpf_prog_run_data_pointers() 947 struct list_head *lh; bpf_net_ctx_get_all_used_flush_lists() local [all...] |
| /linux/sound/usb/usx2y/ |
| H A D | usbus428ctldefs.h | 65 lh, member
|
| /linux/drivers/dma/ |
| H A D | fsldma.h | 192 #define to_fsl_desc(lh) container_of(lh, struct fsl_desc_sw, node) argument
|
| /linux/fs/proc/ |
| H A D | inode.c | 246 list_del(&pdeo->lh); in close_pdeo() 268 pdeo = list_first_entry(&de->pde_openers, struct pde_opener, lh); in proc_entry_rundown() 520 list_add(&pdeo->lh, &pde->pde_openers); in proc_reg_open() 544 list_for_each_entry(pdeo, &pde->pde_openers, lh) { in proc_reg_release()
|
| /linux/drivers/scsi/ |
| H A D | scsi_devinfo.c | 789 struct list_head *lh, *lh_next; in scsi_dev_info_remove_list() 800 list_for_each_safe(lh, lh_next, &devinfo_table->scsi_dev_info_list) { in scsi_dev_info_remove_list() 803 devinfo = list_entry(lh, struct scsi_dev_info_list, in scsi_dev_info_remove_list() 788 struct list_head *lh, *lh_next; scsi_dev_info_remove_list() local
|