Home
last modified time | relevance | path

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

/linux-4.19.296/fs/gfs2/
Drecovery.c140 struct gfs2_log_header *lh; in get_log_header() local
148 lh = (void *)bh->b_data; in get_log_header()
150 hash = crc32(~0, lh, LH_V1_SIZE - 4); in get_log_header()
153 crc = crc32c(~0, (void *)lh + LH_V1_SIZE + 4, in get_log_header()
156 error = lh->lh_header.mh_magic != cpu_to_be32(GFS2_MAGIC) || in get_log_header()
157 lh->lh_header.mh_type != cpu_to_be32(GFS2_METATYPE_LH) || in get_log_header()
158 be32_to_cpu(lh->lh_blkno) != blk || in get_log_header()
159 be32_to_cpu(lh->lh_hash) != hash || in get_log_header()
160 (lh->lh_crc != 0 && be32_to_cpu(lh->lh_crc) != crc); in get_log_header()
165 head->lh_sequence = be64_to_cpu(lh->lh_sequence); in get_log_header()
[all …]
Dlog.c693 struct gfs2_log_header *lh; in gfs2_write_log_header() local
701 lh = page_address(page); in gfs2_write_log_header()
702 clear_page(lh); in gfs2_write_log_header()
704 lh->lh_header.mh_magic = cpu_to_be32(GFS2_MAGIC); in gfs2_write_log_header()
705 lh->lh_header.mh_type = cpu_to_be32(GFS2_METATYPE_LH); in gfs2_write_log_header()
706 lh->lh_header.__pad0 = cpu_to_be64(0); in gfs2_write_log_header()
707 lh->lh_header.mh_format = cpu_to_be32(GFS2_FORMAT_LH); in gfs2_write_log_header()
708 lh->lh_header.mh_jid = cpu_to_be32(sdp->sd_jdesc->jd_jid); in gfs2_write_log_header()
709 lh->lh_sequence = cpu_to_be64(seq); in gfs2_write_log_header()
710 lh->lh_flags = cpu_to_be32(flags); in gfs2_write_log_header()
[all …]
Dsuper.c658 struct gfs2_log_header_host lh; in gfs2_lock_fs_check_clean() local
683 error = gfs2_find_jhead(jd, &lh); in gfs2_lock_fs_check_clean()
686 if (!(lh.lh_flags & GFS2_LOG_HEAD_UNMOUNT)) { in gfs2_lock_fs_check_clean()
/linux-4.19.296/drivers/s390/block/
Ddcssblk.c67 struct list_head lh; member
84 struct list_head lh; member
114 list_for_each_entry_safe(entry, temp, &dev_info->seg_list, lh) { in dcssblk_release_segment()
115 list_del(&entry->lh); in dcssblk_release_segment()
139 list_for_each_entry(entry, &dcssblk_devices, lh) in dcssblk_assign_free_minor()
160 list_for_each_entry(entry, &dcssblk_devices, lh) { in dcssblk_get_device_by_name()
179 list_for_each_entry(dev_info, &dcssblk_devices, lh) { in dcssblk_get_segment_by_name()
180 list_for_each_entry(entry, &dev_info->seg_list, lh) { in dcssblk_get_segment_by_name()
198 list_for_each_entry(entry, &dev_info->seg_list, lh) { in dcssblk_find_highest_addr()
217 list_for_each_entry(entry, &dev_info->seg_list, lh) { in dcssblk_find_lowest_addr()
[all …]
/linux-4.19.296/drivers/gpio/
Dgpiolib.c435 struct linehandle_state *lh = filep->private_data; in linehandle_ioctl() local
445 lh->numdescs, in linehandle_ioctl()
446 lh->descs, in linehandle_ioctl()
452 for (i = 0; i < lh->numdescs; i++) in linehandle_ioctl()
464 if (!test_bit(FLAG_IS_OUT, &lh->descs[0]->flags)) in linehandle_ioctl()
471 for (i = 0; i < lh->numdescs; i++) in linehandle_ioctl()
477 lh->numdescs, in linehandle_ioctl()
478 lh->descs, in linehandle_ioctl()
494 struct linehandle_state *lh = filep->private_data; in linehandle_release() local
495 struct gpio_device *gdev = lh->gdev; in linehandle_release()
[all …]
/linux-4.19.296/fs/
Dseq_file.c889 struct list_head *lh; in seq_list_start() local
891 list_for_each(lh, head) in seq_list_start()
893 return lh; in seq_list_start()
910 struct list_head *lh; in seq_list_next() local
912 lh = ((struct list_head *)v)->next; in seq_list_next()
914 return lh == head ? NULL : lh; in seq_list_next()
Dexec.c86 insert ? list_add(&fmt->lh, &formats) : in __register_binfmt()
87 list_add_tail(&fmt->lh, &formats); in __register_binfmt()
96 list_del(&fmt->lh); in unregister_binfmt()
155 list_for_each_entry(fmt, &formats, lh) { in SYSCALL_DEFINE1()
1663 list_for_each_entry(fmt, &formats, lh) { in search_binary_handler()
/linux-4.19.296/lib/
Dlru_cache.c621 struct list_head *lh; in lc_set() local
633 lh = &lc->free; in lc_set()
636 lh = &lc->lru; in lc_set()
638 list_move(&e->list, lh); in lc_set()
/linux-4.19.296/fs/proc/
Dinode.c179 list_del(&pdeo->lh); in close_pdeo()
201 pdeo = list_first_entry(&de->pde_openers, struct pde_opener, lh); in proc_entry_rundown()
377 list_add(&pdeo->lh, &pde->pde_openers); in proc_reg_open()
393 list_for_each_entry(pdeo, &pde->pde_openers, lh) { in proc_reg_release()
Dinternal.h204 struct list_head lh; member
/linux-4.19.296/fs/coda/
Dpsdev.c103 struct list_head *lh; in coda_psdev_write() local
150 list_for_each(lh, &vcp->vc_processing) { in coda_psdev_write()
151 tmp = list_entry(lh, struct upc_req , uc_chain); in coda_psdev_write()
/linux-4.19.296/fs/jfs/
Djfs_dtree.c3675 struct ldtentry *lh; in ciCompare() local
3703 lh = (struct ldtentry *) & p->slot[si]; in ciCompare()
3704 si = lh->next; in ciCompare()
3705 name = lh->name; in ciCompare()
3706 namlen = lh->namlen; in ciCompare()
3847 struct ldtentry *lh; in dtGetKey() local
3858 lh = (struct ldtentry *) & p->slot[si]; in dtGetKey()
3859 si = lh->next; in dtGetKey()
3860 namlen = lh->namlen; in dtGetKey()
3861 name = lh->name; in dtGetKey()
[all …]
/linux-4.19.296/include/linux/
Dbinfmts.h95 struct list_head lh; member
Dnetdevice.h2550 #define net_device_entry(lh) list_entry(lh, struct net_device, dev_list) argument
2554 struct list_head *lh; in next_net_device() local
2558 lh = dev->dev_list.next; in next_net_device()
2559 return lh == &net->dev_base_head ? NULL : net_device_entry(lh); in next_net_device()
2564 struct list_head *lh; in next_net_device_rcu() local
2568 lh = rcu_dereference(list_next_rcu(&dev->dev_list)); in next_net_device_rcu()
2569 return lh == &net->dev_base_head ? NULL : net_device_entry(lh); in next_net_device_rcu()
2580 struct list_head *lh = rcu_dereference(list_next_rcu(&net->dev_base_head)); in first_net_device_rcu() local
2582 return lh == &net->dev_base_head ? NULL : net_device_entry(lh); in first_net_device_rcu()
/linux-4.19.296/fs/nfs/flexfilelayout/
Dflexfilelayoutdev.c204 struct pnfs_layout_hdr *lh = lseg->pls_layout; in ff_layout_mirror_valid() local
207 node = nfs4_find_get_deviceid(NFS_SERVER(lh->plh_inode), in ff_layout_mirror_valid()
208 &mirror->devid, lh->plh_lc_cred, in ff_layout_mirror_valid()
Dflexfilelayout.c364 ff_layout_alloc_lseg(struct pnfs_layout_hdr *lh, in ff_layout_alloc_lseg() argument
506 mirror = ff_layout_add_mirror(lh, fls->mirror_array[i]); in ff_layout_alloc_lseg()
/linux-4.19.296/block/partitions/
Dldm.c1426 static void ldm_free_vblks (struct list_head *lh) in ldm_free_vblks() argument
1430 BUG_ON (!lh); in ldm_free_vblks()
1432 list_for_each_safe (item, tmp, lh) in ldm_free_vblks()
/linux-4.19.296/include/net/
Dip6_fib.h310 struct list_head lh; member
/linux-4.19.296/drivers/s390/scsi/
Dzfcp_fc.c673 static void zfcp_fc_validate_port(struct zfcp_port *port, struct list_head *lh) in zfcp_fc_validate_port() argument
684 list_move_tail(&port->list, lh); in zfcp_fc_validate_port()
/linux-4.19.296/fs/nfs/
Ddir.c2383 struct list_head *lh; in nfs_access_get_cached_rcu() local
2388 lh = rcu_dereference(nfsi->access_cache_entry_lru.prev); in nfs_access_get_cached_rcu()
2389 cache = list_entry(lh, struct nfs_access_entry, lru); in nfs_access_get_cached_rcu()
2390 if (lh == &nfsi->access_cache_entry_lru || in nfs_access_get_cached_rcu()
/linux-4.19.296/drivers/s390/net/
Dqeth_core_main.c3262 struct list_head *lh; in qeth_queue_input_buffer() local
3296 list_for_each(lh, &card->qdio.in_buf_pool.entry_list) in qeth_queue_input_buffer()