Home
last modified time | relevance | path

Searched refs:iinfo (Results 1 – 20 of 20) sorted by relevance

/linux-6.1.9/fs/udf/
Dinode.c73 struct udf_inode_info *iinfo = UDF_I(inode); in __udf_clear_extent_cache() local
75 if (iinfo->cached_extent.lstart != -1) { in __udf_clear_extent_cache()
76 brelse(iinfo->cached_extent.epos.bh); in __udf_clear_extent_cache()
77 iinfo->cached_extent.lstart = -1; in __udf_clear_extent_cache()
84 struct udf_inode_info *iinfo = UDF_I(inode); in udf_clear_extent_cache() local
86 spin_lock(&iinfo->i_extent_cache_lock); in udf_clear_extent_cache()
88 spin_unlock(&iinfo->i_extent_cache_lock); in udf_clear_extent_cache()
95 struct udf_inode_info *iinfo = UDF_I(inode); in udf_read_extent_cache() local
98 spin_lock(&iinfo->i_extent_cache_lock); in udf_read_extent_cache()
99 if ((iinfo->cached_extent.lstart <= bcount) && in udf_read_extent_cache()
[all …]
Dialloc.c55 struct udf_inode_info *iinfo; in udf_new_inode() local
65 iinfo = UDF_I(inode); in udf_new_inode()
67 iinfo->i_efe = 1; in udf_new_inode()
70 iinfo->i_data = kzalloc(inode->i_sb->s_blocksize - in udf_new_inode()
74 iinfo->i_efe = 0; in udf_new_inode()
75 iinfo->i_data = kzalloc(inode->i_sb->s_blocksize - in udf_new_inode()
79 if (!iinfo->i_data) { in udf_new_inode()
97 iinfo->i_unique = lvid_get_unique_id(sb); in udf_new_inode()
98 inode->i_generation = iinfo->i_unique; in udf_new_inode()
114 iinfo->i_location.logicalBlockNum = block; in udf_new_inode()
[all …]
Dmisc.c53 struct udf_inode_info *iinfo = UDF_I(inode); in udf_add_extendedattr() local
55 ea = iinfo->i_data; in udf_add_extendedattr()
56 if (iinfo->i_lenEAttr) { in udf_add_extendedattr()
57 ad = iinfo->i_data + iinfo->i_lenEAttr; in udf_add_extendedattr()
64 iinfo->i_lenAlloc; in udf_add_extendedattr()
72 if (iinfo->i_lenAlloc) in udf_add_extendedattr()
73 memmove(&ad[size], ad, iinfo->i_lenAlloc); in udf_add_extendedattr()
75 if (iinfo->i_lenEAttr) { in udf_add_extendedattr()
80 iinfo->i_location.logicalBlockNum) in udf_add_extendedattr()
86 iinfo->i_lenEAttr += in udf_add_extendedattr()
[all …]
Dtruncate.c75 struct udf_inode_info *iinfo = UDF_I(inode); in udf_truncate_tail_extent() local
77 if (iinfo->i_alloc_type == ICBTAG_FLAG_AD_IN_ICB || in udf_truncate_tail_extent()
78 inode->i_size == iinfo->i_lenExtents) in udf_truncate_tail_extent()
84 if (iinfo->i_alloc_type == ICBTAG_FLAG_AD_SHORT) in udf_truncate_tail_extent()
86 else if (iinfo->i_alloc_type == ICBTAG_FLAG_AD_LONG) in udf_truncate_tail_extent()
117 iinfo->i_lenExtents = inode->i_size; in udf_truncate_tail_extent()
129 struct udf_inode_info *iinfo = UDF_I(inode); in udf_discard_prealloc() local
132 if (iinfo->i_alloc_type == ICBTAG_FLAG_AD_IN_ICB || in udf_discard_prealloc()
133 ALIGN(inode->i_size, bsize) == ALIGN(iinfo->i_lenExtents, bsize)) in udf_discard_prealloc()
136 epos.block = iinfo->i_location; in udf_discard_prealloc()
[all …]
Dsymlink.c112 struct udf_inode_info *iinfo; in udf_symlink_filler() local
121 iinfo = UDF_I(inode); in udf_symlink_filler()
124 down_read(&iinfo->i_data_sem); in udf_symlink_filler()
125 if (iinfo->i_alloc_type == ICBTAG_FLAG_AD_IN_ICB) { in udf_symlink_filler()
126 symlink = iinfo->i_data + iinfo->i_lenEAttr; in udf_symlink_filler()
143 up_read(&iinfo->i_data_sem); in udf_symlink_filler()
149 up_read(&iinfo->i_data_sem); in udf_symlink_filler()
Dfile.c45 struct udf_inode_info *iinfo = UDF_I(inode); in __udf_adinicb_readpage() local
53 memcpy(kaddr, iinfo->i_data + iinfo->i_lenEAttr, isize); in __udf_adinicb_readpage()
74 struct udf_inode_info *iinfo = UDF_I(inode); in udf_adinicb_writepage() local
79 memcpy(iinfo->i_data + iinfo->i_lenEAttr, kaddr, i_size_read(inode)); in udf_adinicb_writepage()
142 struct udf_inode_info *iinfo = UDF_I(inode); in udf_file_write_iter() local
151 down_write(&iinfo->i_data_sem); in udf_file_write_iter()
152 if (iinfo->i_alloc_type == ICBTAG_FLAG_AD_IN_ICB) { in udf_file_write_iter()
164 iinfo->i_lenAlloc = max(end, inode->i_size); in udf_file_write_iter()
165 up_write(&iinfo->i_data_sem); in udf_file_write_iter()
168 up_write(&iinfo->i_data_sem); in udf_file_write_iter()
Dballoc.c370 struct udf_inode_info *iinfo; in udf_table_free_blocks() local
383 iinfo = UDF_I(table); in udf_table_free_blocks()
391 epos.block = oepos.block = iinfo->i_location; in udf_table_free_blocks()
466 if (iinfo->i_alloc_type == ICBTAG_FLAG_AD_SHORT) in udf_table_free_blocks()
468 else if (iinfo->i_alloc_type == ICBTAG_FLAG_AD_LONG) in udf_table_free_blocks()
508 struct udf_inode_info *iinfo; in udf_table_prealloc_blocks() local
513 iinfo = UDF_I(table); in udf_table_prealloc_blocks()
514 if (iinfo->i_alloc_type == ICBTAG_FLAG_AD_SHORT) in udf_table_prealloc_blocks()
516 else if (iinfo->i_alloc_type == ICBTAG_FLAG_AD_LONG) in udf_table_prealloc_blocks()
523 epos.block = iinfo->i_location; in udf_table_prealloc_blocks()
[all …]
Dnamei.c582 struct udf_inode_info *iinfo = UDF_I(inode); in udf_add_nondir() local
595 cfi.icb.extLocation = cpu_to_lelb(iinfo->i_location); in udf_add_nondir()
597 cpu_to_le32(iinfo->i_unique & 0x00000000FFFFFFFFUL); in udf_add_nondir()
672 struct udf_inode_info *iinfo; in udf_mkdir() local
678 iinfo = UDF_I(inode); in udf_mkdir()
706 cfi.icb.extLocation = cpu_to_lelb(iinfo->i_location); in udf_mkdir()
708 cpu_to_le32(iinfo->i_unique & 0x00000000FFFFFFFFUL); in udf_mkdir()
897 struct udf_inode_info *iinfo; in udf_symlink() local
903 iinfo = UDF_I(inode); in udf_symlink()
904 down_write(&iinfo->i_data_sem); in udf_symlink()
[all …]
Dudfdecl.h51 struct udf_inode_info *iinfo = UDF_I(inode); in udf_file_entry_alloc_offset() local
52 if (iinfo->i_use) in udf_file_entry_alloc_offset()
54 else if (iinfo->i_efe) in udf_file_entry_alloc_offset()
55 return sizeof(struct extendedFileEntry) + iinfo->i_lenEAttr; in udf_file_entry_alloc_offset()
57 return sizeof(struct fileEntry) + iinfo->i_lenEAttr; in udf_file_entry_alloc_offset()
Ddir.c42 struct udf_inode_info *iinfo = UDF_I(dir); in udf_readdir() local
97 if (iinfo->i_alloc_type != ICBTAG_FLAG_AD_IN_ICB) { in udf_readdir()
106 if (iinfo->i_alloc_type == ICBTAG_FLAG_AD_SHORT) in udf_readdir()
108 else if (iinfo->i_alloc_type == in udf_readdir()
Ddirectory.c32 struct udf_inode_info *iinfo = UDF_I(dir); in udf_fileident_read() local
36 if (iinfo->i_alloc_type == ICBTAG_FLAG_AD_IN_ICB) { in udf_fileident_read()
37 fi = udf_get_fileident(iinfo->i_data - in udf_fileident_read()
38 (iinfo->i_efe ? in udf_fileident_read()
Dpartition.c56 struct udf_inode_info *iinfo = UDF_I(sbi->s_vat_inode); in udf_get_pblock_virt15() local
67 if (iinfo->i_alloc_type == ICBTAG_FLAG_AD_IN_ICB) { in udf_get_pblock_virt15()
68 loc = le32_to_cpu(((__le32 *)(iinfo->i_data + in udf_get_pblock_virt15()
96 if (iinfo->i_location.partitionReferenceNum == partition) { in udf_get_pblock_virt15()
102 iinfo->i_location.partitionReferenceNum, in udf_get_pblock_virt15()
/linux-6.1.9/net/rds/
Dib.c297 struct rds_info_rdma_connection *iinfo = buffer; in rds_ib_conn_info_visitor() local
306 iinfo->src_addr = conn->c_laddr.s6_addr32[3]; in rds_ib_conn_info_visitor()
307 iinfo->dst_addr = conn->c_faddr.s6_addr32[3]; in rds_ib_conn_info_visitor()
309 iinfo->tos = conn->c_tos; in rds_ib_conn_info_visitor()
310 iinfo->sl = ic->i_sl; in rds_ib_conn_info_visitor()
313 memset(&iinfo->src_gid, 0, sizeof(iinfo->src_gid)); in rds_ib_conn_info_visitor()
314 memset(&iinfo->dst_gid, 0, sizeof(iinfo->dst_gid)); in rds_ib_conn_info_visitor()
318 rdma_read_gids(ic->i_cm_id, (union ib_gid *)&iinfo->src_gid, in rds_ib_conn_info_visitor()
319 (union ib_gid *)&iinfo->dst_gid); in rds_ib_conn_info_visitor()
322 iinfo->max_send_wr = ic->i_send_ring.w_nr; in rds_ib_conn_info_visitor()
[all …]
Dib_mr.h116 struct rds_info_rdma_connection *iinfo);
Dib_rdma.c179 void rds_ib_get_mr_info(struct rds_ib_device *rds_ibdev, struct rds_info_rdma_connection *iinfo) in rds_ib_get_mr_info() argument
183 iinfo->rdma_mr_max = pool_1m->max_items; in rds_ib_get_mr_info()
184 iinfo->rdma_mr_size = pool_1m->max_pages; in rds_ib_get_mr_info()
/linux-6.1.9/fs/ceph/
Dinode.c759 struct ceph_mds_reply_info_in *iinfo, in ceph_fill_inode() argument
765 struct ceph_mds_reply_inode *info = iinfo->in; in ceph_fill_inode()
820 if (iinfo->xattr_len > 4) { in ceph_fill_inode()
821 xattr_blob = ceph_buffer_new(iinfo->xattr_len, GFP_NOFS); in ceph_fill_inode()
824 iinfo->xattr_len); in ceph_fill_inode()
827 if (iinfo->pool_ns_len > 0) in ceph_fill_inode()
828 pool_ns = ceph_find_or_create_string(iinfo->pool_ns_data, in ceph_fill_inode()
829 iinfo->pool_ns_len); in ceph_fill_inode()
853 inode_set_max_iversion_raw(inode, iinfo->change_attr); in ceph_fill_inode()
866 __ceph_update_quota(ci, iinfo->max_bytes, iinfo->max_files); in ceph_fill_inode()
[all …]
Dfile.c611 struct ceph_mds_reply_info_in iinfo = { .in = &in }; in ceph_finish_async_create() local
627 iinfo.inline_version = CEPH_INLINE_NONE; in ceph_finish_async_create()
628 iinfo.change_attr = 1; in ceph_finish_async_create()
629 ceph_encode_timespec64(&iinfo.btime, &now); in ceph_finish_async_create()
632 iinfo.xattr_len = req->r_pagelist->length; in ceph_finish_async_create()
633 iinfo.xattr_data = req->r_pagelist->mapped_tail; in ceph_finish_async_create()
636 iinfo.xattr_len = ARRAY_SIZE(xattr_buf); in ceph_finish_async_create()
637 iinfo.xattr_data = xattr_buf; in ceph_finish_async_create()
638 memset(iinfo.xattr_data, 0, iinfo.xattr_len); in ceph_finish_async_create()
648 in.ctime = in.mtime = in.atime = iinfo.btime; in ceph_finish_async_create()
[all …]
Daddr.c252 struct ceph_mds_reply_info_in *iinfo; in ceph_netfs_issue_op_inline() local
283 iinfo = &rinfo->targeti; in ceph_netfs_issue_op_inline()
284 if (iinfo->inline_version == CEPH_INLINE_NONE) { in ceph_netfs_issue_op_inline()
290 len = min_t(size_t, iinfo->inline_len - subreq->start, subreq->len); in ceph_netfs_issue_op_inline()
292 err = copy_to_iter(iinfo->inline_data + subreq->start, len, &iter); in ceph_netfs_issue_op_inline()
Dsuper.h992 struct ceph_mds_reply_info_in *iinfo,
/linux-6.1.9/arch/mips/include/asm/octeon/
Dcvmx-dpi-defs.h665 uint64_t iinfo:6; member
671 uint64_t iinfo:6;