/fs/xfs/libxfs/ |
D | xfs_sb.c | 353 xfs_dsb_t *from, in __xfs_sb_from_disk() argument 356 to->sb_magicnum = be32_to_cpu(from->sb_magicnum); in __xfs_sb_from_disk() 357 to->sb_blocksize = be32_to_cpu(from->sb_blocksize); in __xfs_sb_from_disk() 358 to->sb_dblocks = be64_to_cpu(from->sb_dblocks); in __xfs_sb_from_disk() 359 to->sb_rblocks = be64_to_cpu(from->sb_rblocks); in __xfs_sb_from_disk() 360 to->sb_rextents = be64_to_cpu(from->sb_rextents); in __xfs_sb_from_disk() 361 memcpy(&to->sb_uuid, &from->sb_uuid, sizeof(to->sb_uuid)); in __xfs_sb_from_disk() 362 to->sb_logstart = be64_to_cpu(from->sb_logstart); in __xfs_sb_from_disk() 363 to->sb_rootino = be64_to_cpu(from->sb_rootino); in __xfs_sb_from_disk() 364 to->sb_rbmino = be64_to_cpu(from->sb_rbmino); in __xfs_sb_from_disk() [all …]
|
D | xfs_inode_buf.c | 200 xfs_dinode_t *from) in xfs_dinode_from_disk() argument 202 to->di_magic = be16_to_cpu(from->di_magic); in xfs_dinode_from_disk() 203 to->di_mode = be16_to_cpu(from->di_mode); in xfs_dinode_from_disk() 204 to->di_version = from ->di_version; in xfs_dinode_from_disk() 205 to->di_format = from->di_format; in xfs_dinode_from_disk() 206 to->di_onlink = be16_to_cpu(from->di_onlink); in xfs_dinode_from_disk() 207 to->di_uid = be32_to_cpu(from->di_uid); in xfs_dinode_from_disk() 208 to->di_gid = be32_to_cpu(from->di_gid); in xfs_dinode_from_disk() 209 to->di_nlink = be32_to_cpu(from->di_nlink); in xfs_dinode_from_disk() 210 to->di_projid_lo = be16_to_cpu(from->di_projid_lo); in xfs_dinode_from_disk() [all …]
|
D | xfs_da_format.c | 128 xfs_dir2_inou_t *from) in xfs_dir2_sf_get_ino() argument 131 return get_unaligned_be64(&from->i8.i) & 0x00ffffffffffffffULL; in xfs_dir2_sf_get_ino() 133 return get_unaligned_be32(&from->i4.i); in xfs_dir2_sf_get_ino() 455 struct xfs_dir2_leaf *from) in xfs_dir2_leaf_hdr_from_disk() argument 457 to->forw = be32_to_cpu(from->hdr.info.forw); in xfs_dir2_leaf_hdr_from_disk() 458 to->back = be32_to_cpu(from->hdr.info.back); in xfs_dir2_leaf_hdr_from_disk() 459 to->magic = be16_to_cpu(from->hdr.info.magic); in xfs_dir2_leaf_hdr_from_disk() 460 to->count = be16_to_cpu(from->hdr.count); in xfs_dir2_leaf_hdr_from_disk() 461 to->stale = be16_to_cpu(from->hdr.stale); in xfs_dir2_leaf_hdr_from_disk() 470 struct xfs_dir3_icleaf_hdr *from) in xfs_dir2_leaf_hdr_to_disk() argument [all …]
|
D | xfs_attr_leaf.c | 110 struct xfs_attr_leafblock *from) in xfs_attr3_leaf_firstused_from_disk() argument 114 if (from->hdr.info.magic == cpu_to_be16(XFS_ATTR3_LEAF_MAGIC)) { in xfs_attr3_leaf_firstused_from_disk() 115 hdr3 = (struct xfs_attr3_leaf_hdr *) from; in xfs_attr3_leaf_firstused_from_disk() 118 to->firstused = be16_to_cpu(from->hdr.firstused); in xfs_attr3_leaf_firstused_from_disk() 137 struct xfs_attr3_icleaf_hdr *from) in xfs_attr3_leaf_firstused_to_disk() argument 143 ASSERT(from->firstused != XFS_ATTR3_LEAF_NULLOFF); in xfs_attr3_leaf_firstused_to_disk() 150 firstused = from->firstused; in xfs_attr3_leaf_firstused_to_disk() 152 ASSERT(from->firstused == geo->blksize); in xfs_attr3_leaf_firstused_to_disk() 156 if (from->magic == XFS_ATTR3_LEAF_MAGIC) { in xfs_attr3_leaf_firstused_to_disk() 168 struct xfs_attr_leafblock *from) in xfs_attr3_leaf_hdr_from_disk() argument [all …]
|
D | xfs_dir2.h | 86 struct xfs_dir3_icleaf_hdr *from); 88 struct xfs_dir2_leaf *from); 95 struct xfs_da3_icnode_hdr *from); 97 struct xfs_da_intnode *from); 103 struct xfs_dir3_icfree_hdr *from); 105 struct xfs_dir2_free *from);
|
D | xfs_dir2_leaf.c | 918 int from; /* source leaf index */ in xfs_dir3_leaf_compact() local 933 for (from = to = 0, loglow = -1; from < leafhdr->count; from++) { in xfs_dir3_leaf_compact() 934 if (ents[from].address == cpu_to_be32(XFS_DIR2_NULL_DATAPTR)) in xfs_dir3_leaf_compact() 939 if (from > to) { in xfs_dir3_leaf_compact() 942 ents[to] = ents[from]; in xfs_dir3_leaf_compact() 949 ASSERT(leafhdr->stale == from - to); in xfs_dir3_leaf_compact() 977 int from; /* source copy index */ in xfs_dir3_leaf_compact_x1() local 1003 for (from = to = 0; from < leafhdr->count; from++) { in xfs_dir3_leaf_compact_x1() 1007 if (index == from) in xfs_dir3_leaf_compact_x1() 1009 if (from != keepstale && in xfs_dir3_leaf_compact_x1() [all …]
|
/fs/jfs/ |
D | jfs_unicode.c | 32 int jfs_strfromUCS_le(char *to, const __le16 * from, in jfs_strfromUCS_le() argument 41 for (i = 0; (i < len) && from[i]; i++) { in jfs_strfromUCS_le() 44 codepage->uni2char(le16_to_cpu(from[i]), in jfs_strfromUCS_le() 53 for (i = 0; (i < len) && from[i]; i++) { in jfs_strfromUCS_le() 54 if (unlikely(le16_to_cpu(from[i]) & 0xff00)) { in jfs_strfromUCS_le() 61 le16_to_cpu(from[i])); in jfs_strfromUCS_le() 68 to[i] = (char) (le16_to_cpu(from[i])); in jfs_strfromUCS_le() 82 static int jfs_strtoUCS(wchar_t * to, const unsigned char *from, int len, in jfs_strtoUCS() argument 89 for (i = 0; len && *from; i++, from += charlen, len -= charlen) in jfs_strtoUCS() 91 charlen = codepage->char2uni(from, len, &to[i]); in jfs_strtoUCS() [all …]
|
/fs/proc/ |
D | proc_tty.c | 28 dev_t from, int num) in show_tty_range() argument 33 seq_printf(m, "%3d %d-%d ", MAJOR(from), MINOR(from), in show_tty_range() 34 MINOR(from) + num - 1); in show_tty_range() 36 seq_printf(m, "%3d %7d ", MAJOR(from), MINOR(from)); in show_tty_range() 71 dev_t from = MKDEV(p->major, p->minor_start); in show_tty_driver() local 72 dev_t to = from + p->num; in show_tty_driver() 94 while (MAJOR(from) < MAJOR(to)) { in show_tty_driver() 95 dev_t next = MKDEV(MAJOR(from)+1, 0); in show_tty_driver() 96 show_tty_range(m, p, from, next - from); in show_tty_driver() 97 from = next; in show_tty_driver() [all …]
|
/fs/cifs/ |
D | cifs_unicode.c | 129 cifs_mapchar(char *target, const __u16 *from, const struct nls_table *cp, in cifs_mapchar() argument 135 src_char = *from; in cifs_mapchar() 154 len = utf16s_to_utf8s(from, 3, UTF16_LITTLE_ENDIAN, target, 6); in cifs_mapchar() 188 cifs_from_utf16(char *to, const __le16 *from, int tolen, int fromlen, in cifs_from_utf16() argument 207 ftmp[0] = get_unaligned_le16(&from[i]); in cifs_from_utf16() 211 ftmp[1] = get_unaligned_le16(&from[i + 1]); in cifs_from_utf16() 215 ftmp[2] = get_unaligned_le16(&from[i + 2]); in cifs_from_utf16() 259 cifs_strtoUTF16(__le16 *to, const char *from, int len, in cifs_strtoUTF16() argument 273 i = utf8s_to_utf16s(from, len, UTF16_LITTLE_ENDIAN, in cifs_strtoUTF16() 287 for (i = 0; len && *from; i++, from += charlen, len -= charlen) { in cifs_strtoUTF16() [all …]
|
/fs/sysv/ |
D | inode.c | 109 unsigned char * from, unsigned char * to) in read3byte() argument 112 to[0] = from[0]; in read3byte() 114 to[2] = from[1]; in read3byte() 115 to[3] = from[2]; in read3byte() 117 to[0] = from[0]; in read3byte() 118 to[1] = from[1]; in read3byte() 119 to[2] = from[2]; in read3byte() 123 to[1] = from[0]; in read3byte() 124 to[2] = from[1]; in read3byte() 125 to[3] = from[2]; in read3byte() [all …]
|
D | Kconfig | 7 here would allow you to read from their floppies and hard disk 11 that they contain binaries from those other Unix systems; in order 15 available via FTP (user: ftp) from 17 NOTE: that will work only for binaries from Intel-based systems; 20 If you only intend to mount files from some other Unix over the
|
/fs/nilfs2/ |
D | dir.c | 78 static int nilfs_prepare_chunk(struct page *page, unsigned from, unsigned to) in nilfs_prepare_chunk() argument 80 loff_t pos = page_offset(page) + from; in nilfs_prepare_chunk() 81 return __block_write_begin(page, pos, to - from, nilfs_get_block); in nilfs_prepare_chunk() 86 unsigned from, unsigned to) in nilfs_commit_chunk() argument 89 loff_t pos = page_offset(page) + from; in nilfs_commit_chunk() 90 unsigned len = to - from; in nilfs_commit_chunk() 94 nr_dirty = nilfs_page_count_clean_buffers(page, from, to); in nilfs_commit_chunk() 413 unsigned from = (char *) de - (char *) page_address(page); in nilfs_set_link() local 414 unsigned to = from + nilfs_rec_len_from_disk(de->rec_len); in nilfs_set_link() 419 err = nilfs_prepare_chunk(page, from, to); in nilfs_set_link() [all …]
|
/fs/ubifs/ |
D | key.h | 422 static inline void key_read(const struct ubifs_info *c, const void *from, in key_read() argument 425 const union ubifs_key *f = from; in key_read() 438 const union ubifs_key *from, void *to) in key_write() argument 442 t->j32[0] = cpu_to_le32(from->u32[0]); in key_write() 443 t->j32[1] = cpu_to_le32(from->u32[1]); in key_write() 454 const union ubifs_key *from, void *to) in key_write_idx() argument 458 t->j32[0] = cpu_to_le32(from->u32[0]); in key_write_idx() 459 t->j32[1] = cpu_to_le32(from->u32[1]); in key_write_idx() 469 const union ubifs_key *from, union ubifs_key *to) in key_copy() argument 471 to->u64[0] = from->u64[0]; in key_copy()
|
/fs/hpfs/ |
D | name.c | 53 unsigned char *hpfs_translate_name(struct super_block *s, unsigned char *from, in hpfs_translate_name() argument 58 if (hpfs_sb(s)->sb_chk >= 2) if (hpfs_is_name_long(from, len) != lng) { in hpfs_translate_name() 61 pr_cont("%c", from[i]); in hpfs_translate_name() 65 if (!lc) return from; in hpfs_translate_name() 68 return from; in hpfs_translate_name() 70 for (i = 0; i < len; i++) to[i] = locase(hpfs_sb(s)->sb_cp_table,from[i]); in hpfs_translate_name()
|
/fs/hostfs/ |
D | hostfs_user.c | 277 int make_symlink(const char *from, const char *to) in make_symlink() argument 281 err = symlink(to, from); in make_symlink() 327 int link_file(const char *to, const char *from) in link_file() argument 331 err = link(to, from); in link_file() 349 int rename_file(char *from, char *to) in rename_file() argument 353 err = rename(from, to); in rename_file() 359 int rename2_file(char *from, char *to, unsigned int flags) in rename2_file() argument 373 err = syscall(SYS_renameat2, AT_FDCWD, from, AT_FDCWD, to, flags); in rename2_file()
|
D | hostfs.h | 83 extern int make_symlink(const char *from, const char *to); 89 extern int link_file(const char *from, const char *to); 91 extern int rename_file(char *from, char *to); 92 extern int rename2_file(char *from, char *to, unsigned int flags);
|
/fs/ext4/ |
D | move_extent.c | 98 mext_check_coverage(struct inode *inode, ext4_lblk_t from, ext4_lblk_t count, in mext_check_coverage() argument 104 ext4_lblk_t last = from + count; in mext_check_coverage() 105 while (from < last) { in mext_check_coverage() 106 *err = get_ext_path(inode, from, &path); in mext_check_coverage() 112 from += ext4_ext_get_actual_len(ext); in mext_check_coverage() 177 mext_page_mkuptodate(struct page *page, unsigned from, unsigned to) in mext_page_mkuptodate() argument 199 if (block_end <= from || block_start >= to) { in mext_page_mkuptodate() 270 int from = data_offset_in_page << orig_inode->i_blkbits; in move_extent_per_page() local 358 *err = mext_page_mkuptodate(pagep[0], from, from + replaced_size); in move_extent_per_page() 396 *err = block_commit_write(pagep[0], from, from + replaced_size); in move_extent_per_page()
|
/fs/reiserfs/ |
D | prints.c | 428 int from, to; in print_internal() local 436 from = 0; in print_internal() 439 from = first; in print_internal() 445 dc = B_N_CHILD(bh, from); in print_internal() 446 reiserfs_printk("PTR %d: %y ", from, dc); in print_internal() 448 for (i = from, key = internal_key(bh, from), dc++; i < to; in print_internal() 464 int from, to; in print_leaf() local 486 from = 0; in print_leaf() 488 from = first; in print_leaf() 495 ih += from; in print_leaf() [all …]
|
D | lbalance.c | 17 int item_num, int from, int copy_count) in leaf_copy_dir_entries() argument 41 copy_records_len = (from ? deh_location(&deh[from - 1]) : in leaf_copy_dir_entries() 43 deh_location(&deh[from + copy_count - 1]); in leaf_copy_dir_entries() 46 deh_location(&deh[from + copy_count - 1]); in leaf_copy_dir_entries() 82 if (from < ih_entry_count(ih)) { in leaf_copy_dir_entries() 84 deh_offset(&deh[from])); in leaf_copy_dir_entries() 123 : 0, copy_count, deh + from, records, in leaf_copy_dir_entries() 1073 struct item_head *ih, int from, int del_count) in leaf_cut_entries() argument 1087 RFALSE(ih_entry_count(ih) < from + del_count, in leaf_cut_entries() 1089 ih_entry_count(ih), from, del_count); in leaf_cut_entries() [all …]
|
/fs/ |
D | buffer.c | 1868 void page_zero_new_buffers(struct page *page, unsigned from, unsigned to) in page_zero_new_buffers() argument 1883 if (block_end > from && block_start < to) { in page_zero_new_buffers() 1887 start = max(from, block_start); in page_zero_new_buffers() 1908 unsigned from = pos & (PAGE_CACHE_SIZE - 1); in __block_write_begin() local 1909 unsigned to = from + len; in __block_write_begin() 1918 BUG_ON(from > PAGE_CACHE_SIZE); in __block_write_begin() 1920 BUG_ON(from > to); in __block_write_begin() 1931 if (block_end <= from || block_start >= to) { in __block_write_begin() 1954 if (block_end > to || block_start < from) in __block_write_begin() 1957 block_start, from); in __block_write_begin() [all …]
|
/fs/xfs/ |
D | xfs_file.c | 582 struct iov_iter *from, in xfs_file_aio_write_checks() argument 589 size_t count = iov_iter_count(from); in xfs_file_aio_write_checks() 593 error = generic_write_checks(iocb, from); in xfs_file_aio_write_checks() 633 iov_iter_reexpand(from, count); in xfs_file_aio_write_checks() 703 struct iov_iter *from) in xfs_file_dio_aio_write() argument 713 size_t count = iov_iter_count(from); in xfs_file_dio_aio_write() 752 ret = xfs_file_aio_write_checks(iocb, from, &iolock); in xfs_file_dio_aio_write() 755 count = iov_iter_count(from); in xfs_file_dio_aio_write() 789 data = *from; in xfs_file_dio_aio_write() 801 iov_iter_advance(from, ret); in xfs_file_dio_aio_write() [all …]
|
/fs/nls/ |
D | Kconfig | 283 from the Microsoft FAT file system family or from JOLIET CD-ROMs 292 from the Microsoft FAT file system family or from JOLIET CDROMs 322 from the Microsoft FAT file system family or from JOLIET CD-ROMs 334 from the Microsoft FAT file system family or from JOLIET CD-ROMs 345 from the Microsoft FAT file system family or from JOLIET CD-ROMs 355 from the Microsoft FAT file system family or from JOLIET CD-ROMs 365 from the Microsoft FAT file system family or from JOLIET CD-ROMs 376 from the Microsoft FAT file system family or from JOLIET CD-ROMs 385 from the Microsoft FAT file system family or from JOLIET CD-ROMs 394 from the Microsoft FAT file system family or from JOLIET CD-ROMs [all …]
|
/fs/ncpfs/ |
D | file.c | 168 ncp_file_write_iter(struct kiocb *iocb, struct iov_iter *from) in ncp_file_write_iter() argument 179 errno = generic_write_checks(iocb, from); in ncp_file_write_iter() 200 while (iov_iter_count(from)) { in ncp_file_write_iter() 204 iov_iter_count(from)); in ncp_file_write_iter() 206 if (copy_from_iter(bouncebuffer, to_write, from) != to_write) { in ncp_file_write_iter()
|
/fs/ocfs2/ |
D | aops.h | 29 unsigned from, 33 struct inode *inode, unsigned int from, 40 unsigned from,
|
/fs/9p/ |
D | vfs_addr.c | 167 struct iov_iter from; in v9fs_vfs_writepage_locked() local 179 iov_iter_bvec(&from, ITER_BVEC | WRITE, &bvec, 1, len); in v9fs_vfs_writepage_locked() 186 p9_client_write(v9inode->writeback_fid, page_offset(page), &from, &err); in v9fs_vfs_writepage_locked() 318 unsigned from = pos & (PAGE_CACHE_SIZE - 1); in v9fs_write_end() local 320 zero_user(page, from + copied, len - copied); in v9fs_write_end()
|