Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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.c111 struct udf_inode_info *iinfo; in udf_symlink_filler() local
120 iinfo = UDF_I(inode); in udf_symlink_filler()
123 down_read(&iinfo->i_data_sem); in udf_symlink_filler()
124 if (iinfo->i_alloc_type == ICBTAG_FLAG_AD_IN_ICB) { in udf_symlink_filler()
125 symlink = iinfo->i_data + iinfo->i_lenEAttr; in udf_symlink_filler()
142 up_read(&iinfo->i_data_sem); in udf_symlink_filler()
148 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()
140 struct udf_inode_info *iinfo = UDF_I(inode); in udf_file_write_iter() local
149 down_write(&iinfo->i_data_sem); in udf_file_write_iter()
150 if (iinfo->i_alloc_type == ICBTAG_FLAG_AD_IN_ICB) { in udf_file_write_iter()
162 iinfo->i_lenAlloc = max(end, inode->i_size); in udf_file_write_iter()
163 up_write(&iinfo->i_data_sem); in udf_file_write_iter()
166 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.c583 struct udf_inode_info *iinfo = UDF_I(inode); in udf_add_nondir() local
596 cfi.icb.extLocation = cpu_to_lelb(iinfo->i_location); in udf_add_nondir()
598 cpu_to_le32(iinfo->i_unique & 0x00000000FFFFFFFFUL); in udf_add_nondir()
671 struct udf_inode_info *iinfo; in udf_mkdir() local
677 iinfo = UDF_I(inode); in udf_mkdir()
705 cfi.icb.extLocation = cpu_to_lelb(iinfo->i_location); in udf_mkdir()
707 cpu_to_le32(iinfo->i_unique & 0x00000000FFFFFFFFUL); in udf_mkdir()
896 struct udf_inode_info *iinfo; in udf_symlink() local
902 iinfo = UDF_I(inode); in udf_symlink()
903 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.c43 struct udf_inode_info *iinfo = UDF_I(dir); in udf_readdir() local
98 if (iinfo->i_alloc_type != ICBTAG_FLAG_AD_IN_ICB) { in udf_readdir()
107 if (iinfo->i_alloc_type == ICBTAG_FLAG_AD_SHORT) in udf_readdir()
109 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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/fs/ceph/
Dinode.c743 struct ceph_mds_reply_info_in *iinfo, in ceph_fill_inode() argument
749 struct ceph_mds_reply_inode *info = iinfo->in; in ceph_fill_inode()
783 if (iinfo->xattr_len > 4) { in ceph_fill_inode()
784 xattr_blob = ceph_buffer_new(iinfo->xattr_len, GFP_NOFS); in ceph_fill_inode()
787 iinfo->xattr_len); in ceph_fill_inode()
790 if (iinfo->pool_ns_len > 0) in ceph_fill_inode()
791 pool_ns = ceph_find_or_create_string(iinfo->pool_ns_data, in ceph_fill_inode()
792 iinfo->pool_ns_len); in ceph_fill_inode()
816 inode_set_max_iversion_raw(inode, iinfo->change_attr); in ceph_fill_inode()
831 __ceph_update_quota(ci, iinfo->max_bytes, iinfo->max_files); in ceph_fill_inode()
[all …]
Dfile.c576 struct ceph_mds_reply_info_in iinfo = { .in = &in }; in ceph_finish_async_create() local
591 iinfo.inline_version = CEPH_INLINE_NONE; in ceph_finish_async_create()
592 iinfo.change_attr = 1; in ceph_finish_async_create()
593 ceph_encode_timespec64(&iinfo.btime, &now); in ceph_finish_async_create()
596 iinfo.xattr_len = req->r_pagelist->length; in ceph_finish_async_create()
597 iinfo.xattr_data = req->r_pagelist->mapped_tail; in ceph_finish_async_create()
600 iinfo.xattr_len = ARRAY_SIZE(xattr_buf); in ceph_finish_async_create()
601 iinfo.xattr_data = xattr_buf; in ceph_finish_async_create()
602 memset(iinfo.xattr_data, 0, iinfo.xattr_len); in ceph_finish_async_create()
612 in.ctime = in.mtime = in.atime = iinfo.btime; in ceph_finish_async_create()
[all …]
Dsuper.h973 struct ceph_mds_reply_info_in *iinfo,
/kernel/linux/linux-5.10/include/net/
Ddn_dev.h128 __u8 iinfo; member
143 __u8 iinfo; member
/kernel/linux/linux-5.10/arch/mips/include/asm/octeon/
Dcvmx-dpi-defs.h665 uint64_t iinfo:6; member
671 uint64_t iinfo:6;
/kernel/linux/linux-5.10/net/decnet/
Ddn_neigh.c414 switch (msg->iinfo & DN_RT_INFO_TYPE) { in dn_neigh_router_hello()
Ddn_dev.c852 msg->iinfo = DN_RT_INFO_ENDN; in dn_send_endnode_hello()