| /fs/lockd/ |
| A D | host.c | 129 host = kmalloc(sizeof(*host), GFP_KERNEL); in nlm_alloc_host() 169 return host; in nlm_alloc_host() 265 host->h_name, host->h_addrbuf); in nlmclnt_lookup_host() 278 host->h_name, host->h_addrbuf); in nlmclnt_lookup_host() 382 __func__, host->h_name, host->h_addrbuf); in nlmsvc_lookup_host() 399 __func__, host->h_name, host->h_addrbuf); in nlmsvc_lookup_host() 432 host->h_name, host->h_addrbuf); in nlm_bind_host() 607 host->h_name, refcount_read(&host->h_count), in nlm_complain_hosts() 608 host->h_inuse, host->h_expires, host->net->ns.inum); in nlm_complain_hosts() 680 host->h_name, refcount_read(&host->h_count), in nlm_gc_hosts() [all …]
|
| A D | clntlock.c | 47 struct nlm_host *host; in nlmclnt_init() local 59 if (host == NULL) in nlmclnt_init() 61 if (host->h_rpcclnt == NULL && nlm_bind_host(host) == NULL) in nlmclnt_init() 65 return host; in nlmclnt_init() 90 block->b_host = host; in nlmclnt_prepare_block() 98 return host->h_rpcclnt; in nlmclnt_rpc_clnt() 217 nlm_get_host(host); in nlmclnt_recovery() 218 task = kthread_run(reclaimer, host, "%s-reclaim", host->h_name); in nlmclnt_recovery() 254 nlm_rebind_host(host); in reclaimer() 257 list_splice_init(&host->h_granted, &host->h_reclaim); in reclaimer() [all …]
|
| A D | clntproc.c | 84 res = host->h_pidcount++; in __nlm_alloc_pid() 104 spin_lock(&host->h_lock); in nlmclnt_find_lockowner() 107 spin_unlock(&host->h_lock); in nlmclnt_find_lockowner() 109 spin_lock(&host->h_lock); in nlmclnt_find_lockowner() 116 new->host = nlm_get_host(host); in nlmclnt_find_lockowner() 121 spin_unlock(&host->h_lock); in nlmclnt_find_lockowner() 300 nlm_rebind_host(host); in nlmclnt_call() 600 up_read(&host->h_rwsem); in nlmclnt_lock() 632 up_read(&host->h_rwsem); in nlmclnt_lock() 651 req->a_host = host; in nlmclnt_reclaim() [all …]
|
| A D | svc4proc.c | 43 *hostp = host; in nlm4svc_retrieve_args() 75 nlmsvc_release_host(host); in nlm4svc_retrieve_args() 98 struct nlm_host *host; in __nlm4svc_proc_test() local 135 struct nlm_host *host; in __nlm4svc_proc_lock() local 172 struct nlm_host *host; in __nlm4svc_proc_cancel() local 212 struct nlm_host *host; in __nlm4svc_proc_unlock() local 294 struct nlm_host *host; in nlm4svc_callback() local 301 if (host == NULL) in nlm4svc_callback() 359 struct nlm_host *host; in nlm4svc_proc_share() local 394 struct nlm_host *host; in nlm4svc_proc_unshare() local [all …]
|
| A D | svcproc.c | 69 *hostp = host; in nlmsvc_retrieve_args() 95 nlmsvc_release_host(host); in nlmsvc_retrieve_args() 118 struct nlm_host *host; in __nlmsvc_proc_test() local 157 struct nlm_host *host; in __nlmsvc_proc_lock() local 194 struct nlm_host *host; in __nlmsvc_proc_cancel() local 235 struct nlm_host *host; in __nlmsvc_proc_unlock() local 326 struct nlm_host *host; in nlmsvc_callback() local 333 if (host == NULL) in nlmsvc_callback() 393 struct nlm_host *host; in nlmsvc_proc_share() local 428 struct nlm_host *host; in nlmsvc_proc_unshare() local [all …]
|
| A D | svcsubs.c | 229 if (match(lockhost, host)) { in nlm_traverse_locks() 379 struct nlm_host *host = data; in nlmsvc_mark_host() local 382 (host->net == hint->net)) in nlmsvc_mark_host() 383 host->h_inuse = 1; in nlmsvc_mark_host() 390 struct nlm_host *host = data; in nlmsvc_same_host() local 392 return host == other; in nlmsvc_same_host() 398 struct nlm_host *host = data; in nlmsvc_is_client() local 400 if (host->h_server) { in nlmsvc_is_client() 405 if (host->h_nsmhandle) in nlmsvc_is_client() 406 host->h_nsmhandle->sm_sticky = 1; in nlmsvc_is_client() [all …]
|
| A D | svcshare.c | 28 nlmsvc_share_file(struct nlm_host *host, struct nlm_file *file, in nlmsvc_share_file() argument 36 if (share->s_host == host && nlm_cmp_owner(share, oh)) in nlmsvc_share_file() 53 share->s_host = host; in nlmsvc_share_file() 69 nlmsvc_unshare_file(struct nlm_host *host, struct nlm_file *file, in nlmsvc_unshare_file() argument 77 if (share->s_host == host && nlm_cmp_owner(share, oh)) { in nlmsvc_unshare_file() 93 void nlmsvc_traverse_shares(struct nlm_host *host, struct nlm_file *file, in nlmsvc_traverse_shares() argument 100 if (match(share->s_host, host)) { in nlmsvc_traverse_shares()
|
| A D | svclock.c | 231 call = nlm_alloc_call(host); in nlmsvc_create_block() 255 block->b_host = host; in nlmsvc_create_block() 329 if (!match(block->b_host, host)) in nlmsvc_traverse_blocks() 358 spin_unlock(&lockowner->host->h_lock); in nlmsvc_put_lockowner() 359 nlmsvc_release_host(lockowner->host); in nlmsvc_put_lockowner() 378 spin_lock(&host->h_lock); in nlmsvc_find_lockowner() 379 res = __nlmsvc_find_lockowner(host, pid); in nlmsvc_find_lockowner() 382 spin_unlock(&host->h_lock); in nlmsvc_find_lockowner() 384 spin_lock(&host->h_lock); in nlmsvc_find_lockowner() 391 new->host = nlm_get_host(host); in nlmsvc_find_lockowner() [all …]
|
| A D | mon.c | 92 const struct nlm_host *host) in nsm_mon_unmon() argument 102 .nodename = host->nodename, in nsm_mon_unmon() 111 clnt = nsm_create(host->net, host->nodename); in nsm_mon_unmon() 115 host->net->ns.inum); in nsm_mon_unmon() 148 int nsm_monitor(const struct nlm_host *host) in nsm_monitor() argument 150 struct nsm_handle *nsm = host->h_nsmhandle; in nsm_monitor() 165 status = nsm_mon_unmon(nsm, NSMPROC_MON, &res, host); in nsm_monitor() 189 void nsm_unmonitor(const struct nlm_host *host) in nsm_unmonitor() argument 191 struct nsm_handle *nsm = host->h_nsmhandle; in nsm_unmonitor() 199 status = nsm_mon_unmon(nsm, NSMPROC_UNMON, &res, host); in nsm_unmonitor()
|
| /fs/ubifs/ |
| A D | xattr.c | 80 host->i_ino, host_ui->xattr_cnt); in create_xattr() 124 inode_set_ctime_current(host); in create_xattr() 142 ubifs_set_inode_flags(host); in create_xattr() 205 inode_set_ctime_current(host); in change_xattr() 261 ubifs_assert(c, inode_is_locked(host)); in ubifs_xattr_set() 364 up_read(&ubifs_inode(host)->xattr_sem); in ubifs_xattr_get() 386 struct inode *host = d_inode(dentry); in ubifs_listxattr() local 412 lowest_xent_key(c, &key, host->i_ino); in ubifs_listxattr() 464 inode_set_ctime_current(host); in remove_xattr() 502 host->i_ino); in ubifs_purge_xattrs() [all …]
|
| A D | file.c | 104 struct inode *inode = folio->mapping->host; in do_readpage() 208 struct inode *inode = mapping->host; in write_begin_slow() 412 struct inode *inode = mapping->host; in ubifs_write_begin() 523 struct inode *inode = mapping->host; in ubifs_write_end() 596 struct inode *inode = folio->mapping->host; in populate_page() 701 struct inode *inode = mapping->host; in ubifs_do_bulk_read() 810 struct inode *inode = folio->mapping->host; in ubifs_bulk_read() 889 struct inode *inode = folio->mapping->host; in do_writepage() 984 struct inode *inode = folio->mapping->host; in ubifs_writepage() 1287 struct inode *inode = folio->mapping->host; in ubifs_invalidate_folio() [all …]
|
| /fs/ecryptfs/ |
| A D | mmap.c | 117 page_virt, folio->mapping->host); in ecryptfs_copy_up_encrypted_with_header() 139 crypt_stat->extent_size, folio->mapping->host); in ecryptfs_copy_up_encrypted_with_header() 165 struct inode *inode = folio->mapping->host; in ecryptfs_read_folio() 216 struct inode *inode = folio->mapping->host; in fill_zeros_to_end_of_page() 261 &ecryptfs_inode_to_private(mapping->host)->crypt_stat; in ecryptfs_write_begin() 265 folio, index, 0, PAGE_SIZE, mapping->host); in ecryptfs_write_begin() 292 mapping->host); in ecryptfs_write_begin() 304 >= i_size_read(mapping->host)) { in ecryptfs_write_begin() 324 if (prev_page_end_size > i_size_read(mapping->host)) { in ecryptfs_write_begin() 338 if ((i_size_read(mapping->host) == prev_page_end_size) in ecryptfs_write_begin() [all …]
|
| /fs/nfs/ |
| A D | file.c | 125 struct inode *inode = filp->f_mapping->host; in nfs_file_llseek() 423 NFS_I(mapping->host)->write_io += copied; in nfs_write_end() 426 nfs_wb_all(mapping->host); in nfs_write_end() 441 struct inode *inode = folio->mapping->host; in nfs_invalidate_folio() 485 nfsi = NFS_I(mapping->host); in nfs_check_dirty_writeback() 510 struct inode *inode = folio->mapping->host; in nfs_launder_folio() 604 filp, filp->f_mapping->host->i_ino, in nfs_vm_page_mkwrite() 737 struct inode *inode = filp->f_mapping->host; in do_getlk() 766 struct inode *inode = filp->f_mapping->host; in do_unlk() 802 struct inode *inode = filp->f_mapping->host; in do_setlk() [all …]
|
| A D | write.c | 201 struct inode *inode = folio->mapping->host; in nfs_grow_file() 227 struct inode *inode = mapping->host; in nfs_set_pageerror() 229 nfs_zap_mapping(mapping->host, mapping); in nfs_set_pageerror() 243 if (mapping->host) in nfs_mapping_set_error() 244 errseq_set(&mapping->host->i_sb->s_wb_err, in nfs_mapping_set_error() 565 struct inode *inode = folio->mapping->host; in nfs_lock_and_join_requests() 685 struct inode *inode = folio->mapping->host; in nfs_writepage_locked() 704 struct inode *inode = mapping->host; in nfs_writepages() 1256 struct inode *inode = folio->mapping->host; in nfs_folio_write_uptodate() 1338 struct inode *inode = mapping->host; in nfs_update_folio() [all …]
|
| /fs/gfs2/ |
| A D | aops.c | 74 struct inode * const inode = folio->mapping->host; in gfs2_write_jdata_folio() 105 struct inode *inode = folio->mapping->host; in __gfs2_jdata_write_folio() 129 struct inode *inode = mapping->host; in gfs2_jdata_writeback() 131 struct gfs2_sbd *sdp = GFS2_SB(mapping->host); in gfs2_jdata_writeback() 163 .inode = mapping->host, in gfs2_writepages() 196 struct inode *inode = mapping->host; in gfs2_write_jdata_batch() 368 struct gfs2_inode *ip = GFS2_I(mapping->host); in gfs2_jdata_writepages() 369 struct gfs2_sbd *sdp = GFS2_SB(mapping->host); in gfs2_jdata_writepages() 424 struct inode *inode = folio->mapping->host; in gfs2_read_folio() 498 struct inode *inode = rac->mapping->host; in gfs2_readahead() [all …]
|
| A D | file.c | 60 struct gfs2_inode *ip = GFS2_I(file->f_mapping->host); in gfs2_llseek() 107 struct inode *dir = file->f_mapping->host; in gfs2_readdir() 396 if (gfs2_iomap_alloc(folio->mapping->host, pos, length, &iomap)) in gfs2_allocate_folio_backing() 593 struct gfs2_inode *ip = GFS2_I(file->f_mapping->host); in gfs2_mmap() 746 struct inode *inode = mapping->host; in gfs2_fsync() 815 struct gfs2_inode *ip = GFS2_I(file->f_mapping->host); in gfs2_file_direct_read() 878 struct inode *inode = file->f_mapping->host; in gfs2_file_direct_write() 982 ip = GFS2_I(iocb->ki_filp->f_mapping->host); in gfs2_file_read_iter() 1356 if ((file->f_flags & O_DSYNC) || IS_SYNC(file->f_mapping->host)) in __gfs2_fallocate() 1442 struct gfs2_inode *ip = GFS2_I(file->f_mapping->host); in gfs2_lock() [all …]
|
| /fs/ext2/ |
| A D | file.c | 37 struct inode *inode = iocb->ki_filp->f_mapping->host; in ext2_dax_read_iter() 54 struct inode *inode = file->f_mapping->host; in ext2_dax_write_iter() 158 struct super_block *sb = file->f_mapping->host->i_sb; in ext2_fsync() 171 struct inode *inode = file->f_mapping->host; in ext2_dio_read_iter() 217 struct inode *inode = file->f_mapping->host; in ext2_dio_write_iter() 286 if (IS_DAX(iocb->ki_filp->f_mapping->host)) in ext2_file_read_iter() 298 if (IS_DAX(iocb->ki_filp->f_mapping->host)) in ext2_file_write_iter()
|
| /fs/iomap/ |
| A D | fiemap.c | 98 .inode = mapping->host, in iomap_bmap() 99 .pos = (loff_t)bno << mapping->host->i_blkbits, in iomap_bmap() 100 .len = i_blocksize(mapping->host), in iomap_bmap() 103 const unsigned int blkshift = mapping->host->i_blkbits - SECTOR_SHIFT; in iomap_bmap()
|
| A D | buffered-io.c | 35 struct inode *inode = folio->mapping->host; in ifs_is_fully_uptodate() 49 struct inode *inode = folio->mapping->host; in ifs_set_range_uptodate() 81 struct inode *inode = folio->mapping->host; in ifs_block_is_dirty() 90 struct inode *inode = folio->mapping->host; in ifs_find_dirty_range() 128 struct inode *inode = folio->mapping->host; in ifs_clear_range_dirty() 151 struct inode *inode = folio->mapping->host; in ifs_set_range_dirty() 457 .inode = folio->mapping->host, in iomap_read_folio() 530 .inode = rac->mapping->host, in iomap_readahead() 583 struct inode *inode = folio->mapping->host; in iomap_is_partially_uptodate() 663 struct inode *inode = mapping->host; in iomap_dirty_folio() [all …]
|
| /fs/jffs2/ |
| A D | file.c | 36 struct inode *inode = filp->f_mapping->host; in jffs2_fsync() 110 int ret = jffs2_do_readpage_nolock(folio->mapping->host, folio); in __jffs2_read_folio() 117 struct jffs2_inode_info *f = JFFS2_INODE_INFO(folio->mapping->host); in jffs2_read_folio() 132 struct inode *inode = mapping->host; in jffs2_write_begin() 249 struct inode *inode = mapping->host; in jffs2_write_end()
|
| /fs/exfat/ |
| A D | inode.c | 416 struct inode *inode = mapping->host; in exfat_readahead() 432 if (unlikely(exfat_forced_shutdown(mapping->host->i_sb))) in exfat_writepages() 440 struct inode *inode = mapping->host; in exfat_write_failed() 456 if (unlikely(exfat_forced_shutdown(mapping->host->i_sb))) in exfat_write_begin() 472 struct inode *inode = mapping->host; in exfat_write_end() 497 struct inode *inode = mapping->host; in exfat_direct_IO() 541 down_read(&EXFAT_I(mapping->host)->truncate_lock); in exfat_aop_bmap() 543 up_read(&EXFAT_I(mapping->host)->truncate_lock); in exfat_aop_bmap()
|
| /fs/zonefs/ |
| A D | Kconfig | 9 device (e.g. host-managed or host-aware SMR disk drives) as files.
|
| /fs/fuse/ |
| A D | Kconfig | 38 host. 40 If you want to share files between guests or with the host, answer Y 51 This allows bypassing guest page cache and allows mapping host page
|
| /fs/hpfs/ |
| A D | file.c | 27 struct inode *inode = file->f_mapping->host; in hpfs_file_fsync() 179 struct inode *inode = mapping->host; in hpfs_write_failed() 200 &hpfs_i(mapping->host)->mmu_private); in hpfs_write_begin() 212 struct inode *inode = mapping->host; in hpfs_write_end()
|
| /fs/xfs/ |
| A D | xfs_aops.c | 258 struct xfs_inode *ip = XFS_I(folio->mapping->host); in xfs_discard_folio() 674 struct xfs_inode *ip = XFS_I(mapping->host); in xfs_vm_writepages() 681 .inode = mapping->host, in xfs_vm_writepages() 695 .inode = mapping->host, in xfs_vm_writepages() 710 struct xfs_inode *ip = XFS_I(mapping->host); in xfs_dax_writepages() 722 struct xfs_inode *ip = XFS_I(mapping->host); in xfs_vm_bmap()
|