/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 | 27 dev_t from, int num) in show_tty_range() argument 32 seq_printf(m, "%3d %d-%d ", MAJOR(from), MINOR(from), in show_tty_range() 33 MINOR(from) + num - 1); in show_tty_range() 35 seq_printf(m, "%3d %7d ", MAJOR(from), MINOR(from)); in show_tty_range() 70 dev_t from = MKDEV(p->major, p->minor_start); in show_tty_driver() local 71 dev_t to = from + p->num; in show_tty_driver() 93 while (MAJOR(from) < MAJOR(to)) { in show_tty_driver() 94 dev_t next = MKDEV(MAJOR(from)+1, 0); in show_tty_driver() 95 show_tty_range(m, p, from, next - from); in show_tty_driver() 96 from = next; in show_tty_driver() [all …]
|
/fs/sysv/ |
D | inode.c | 123 unsigned char * from, unsigned char * to) in read3byte() argument 126 to[0] = from[0]; in read3byte() 128 to[2] = from[1]; in read3byte() 129 to[3] = from[2]; in read3byte() 131 to[0] = from[0]; in read3byte() 132 to[1] = from[1]; in read3byte() 133 to[2] = from[2]; in read3byte() 137 to[1] = from[0]; in read3byte() 138 to[2] = from[1]; in read3byte() 139 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/cifs/ |
D | cifs_unicode.c | 40 cifs_utf16_bytes(const __le16 *from, int maxbytes, in cifs_utf16_bytes() argument 50 ftmp = get_unaligned_le16(&from[i]); in cifs_utf16_bytes() 147 cifs_from_utf16(char *to, const __le16 *from, int tolen, int fromlen, in cifs_from_utf16() argument 166 ftmp = get_unaligned_le16(&from[i]); in cifs_from_utf16() 199 cifs_strtoUTF16(__le16 *to, const char *from, int len, in cifs_strtoUTF16() argument 213 i = utf8s_to_utf16s(from, len, UTF16_LITTLE_ENDIAN, in cifs_strtoUTF16() 227 for (i = 0; len && *from; i++, from += charlen, len -= charlen) { in cifs_strtoUTF16() 228 charlen = codepage->char2uni(from, len, &wchar_to); in cifs_strtoUTF16() 231 *from, charlen); in cifs_strtoUTF16()
|
/fs/nilfs2/ |
D | dir.c | 83 static int nilfs_prepare_chunk(struct page *page, unsigned from, unsigned to) in nilfs_prepare_chunk() argument 85 loff_t pos = page_offset(page) + from; in nilfs_prepare_chunk() 86 return __block_write_begin(page, pos, to - from, nilfs_get_block); in nilfs_prepare_chunk() 91 unsigned from, unsigned to) in nilfs_commit_chunk() argument 94 loff_t pos = page_offset(page) + from; in nilfs_commit_chunk() 95 unsigned len = to - from; in nilfs_commit_chunk() 99 nr_dirty = nilfs_page_count_clean_buffers(page, from, to); in nilfs_commit_chunk() 430 unsigned from = (char *) de - (char *) page_address(page); in nilfs_set_link() local 431 unsigned to = from + nilfs_rec_len_from_disk(de->rec_len); in nilfs_set_link() 436 err = nilfs_prepare_chunk(page, from, to); in nilfs_set_link() [all …]
|
/fs/xfs/ |
D | xfs_mount.c | 557 xfs_dsb_t *from) in xfs_sb_from_disk() argument 561 to->sb_magicnum = be32_to_cpu(from->sb_magicnum); in xfs_sb_from_disk() 562 to->sb_blocksize = be32_to_cpu(from->sb_blocksize); in xfs_sb_from_disk() 563 to->sb_dblocks = be64_to_cpu(from->sb_dblocks); in xfs_sb_from_disk() 564 to->sb_rblocks = be64_to_cpu(from->sb_rblocks); in xfs_sb_from_disk() 565 to->sb_rextents = be64_to_cpu(from->sb_rextents); in xfs_sb_from_disk() 566 memcpy(&to->sb_uuid, &from->sb_uuid, sizeof(to->sb_uuid)); in xfs_sb_from_disk() 567 to->sb_logstart = be64_to_cpu(from->sb_logstart); in xfs_sb_from_disk() 568 to->sb_rootino = be64_to_cpu(from->sb_rootino); in xfs_sb_from_disk() 569 to->sb_rbmino = be64_to_cpu(from->sb_rbmino); in xfs_sb_from_disk() [all …]
|
D | xfs_inode.c | 634 xfs_dinode_t *from) in xfs_dinode_from_disk() argument 636 to->di_magic = be16_to_cpu(from->di_magic); in xfs_dinode_from_disk() 637 to->di_mode = be16_to_cpu(from->di_mode); in xfs_dinode_from_disk() 638 to->di_version = from ->di_version; in xfs_dinode_from_disk() 639 to->di_format = from->di_format; in xfs_dinode_from_disk() 640 to->di_onlink = be16_to_cpu(from->di_onlink); in xfs_dinode_from_disk() 641 to->di_uid = be32_to_cpu(from->di_uid); in xfs_dinode_from_disk() 642 to->di_gid = be32_to_cpu(from->di_gid); in xfs_dinode_from_disk() 643 to->di_nlink = be32_to_cpu(from->di_nlink); in xfs_dinode_from_disk() 644 to->di_projid_lo = be16_to_cpu(from->di_projid_lo); in xfs_dinode_from_disk() [all …]
|
D | xfs_dir2_leaf.c | 634 int from; /* source leaf index */ in xfs_dir2_leaf_compact() local 646 for (from = to = 0, loglow = -1; from < be16_to_cpu(leaf->hdr.count); from++) { in xfs_dir2_leaf_compact() 647 if (leaf->ents[from].address == in xfs_dir2_leaf_compact() 653 if (from > to) { in xfs_dir2_leaf_compact() 656 leaf->ents[to] = leaf->ents[from]; in xfs_dir2_leaf_compact() 663 ASSERT(be16_to_cpu(leaf->hdr.stale) == from - to); in xfs_dir2_leaf_compact() 688 int from; /* source copy index */ in xfs_dir2_leaf_compact_x1() local 716 for (from = to = 0; from < be16_to_cpu(leaf->hdr.count); from++) { in xfs_dir2_leaf_compact_x1() 720 if (index == from) in xfs_dir2_leaf_compact_x1() 722 if (from != keepstale && in xfs_dir2_leaf_compact_x1() [all …]
|
/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() 60 for (i=0; i<len; i++) printk("%c", from[i]); in hpfs_translate_name() 64 if (!lc) return from; in hpfs_translate_name() 67 return from; in hpfs_translate_name() 69 for (i = 0; i < len; i++) to[i] = locase(hpfs_sb(s)->sb_cp_table,from[i]); in hpfs_translate_name()
|
/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/affs/ |
D | file.c | 495 affs_do_readpage_ofs(struct file *file, struct page *page, unsigned from, unsigned to) in affs_do_readpage_ofs() argument 504 pr_debug("AFFS: read_page(%u, %ld, %d, %d)\n", (u32)inode->i_ino, page->index, from, to); in affs_do_readpage_ofs() 505 BUG_ON(from > to || to > PAGE_CACHE_SIZE); in affs_do_readpage_ofs() 509 tmp = (page->index << PAGE_CACHE_SHIFT) + from; in affs_do_readpage_ofs() 513 while (from < to) { in affs_do_readpage_ofs() 517 tmp = min(bsize - boff, to - from); in affs_do_readpage_ofs() 518 BUG_ON(from + tmp > to || tmp > bsize); in affs_do_readpage_ofs() 519 memcpy(data + from, AFFS_DATA(bh) + boff, tmp); in affs_do_readpage_ofs() 522 from += tmp; in affs_do_readpage_ofs() 665 unsigned from, to; in affs_write_end_ofs() local [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/reiserfs/ |
D | prints.c | 421 int from, to; in print_internal() local 429 from = 0; in print_internal() 432 from = first; in print_internal() 438 dc = B_N_CHILD(bh, from); in print_internal() 439 reiserfs_printk("PTR %d: %y ", from, dc); in print_internal() 441 for (i = from, key = B_N_PDELIM_KEY(bh, from), dc++; i < to; in print_internal() 457 int from, to; in print_leaf() local 479 from = 0; in print_leaf() 481 from = first; in print_leaf() 488 ih += from; in print_leaf() [all …]
|
D | lbalance.c | 26 int item_num, int from, int copy_count) in leaf_copy_dir_entries() argument 45 copy_records_len = (from ? deh_location(&(deh[from - 1])) : in leaf_copy_dir_entries() 47 deh_location(&(deh[from + copy_count - 1])); in leaf_copy_dir_entries() 50 deh_location(&(deh[from + copy_count - 1])); in leaf_copy_dir_entries() 83 if (from < I_ENTRY_COUNT(ih)) { in leaf_copy_dir_entries() 85 deh_offset(&(deh[from]))); in leaf_copy_dir_entries() 118 : 0, copy_count, deh + from, records, in leaf_copy_dir_entries() 965 struct item_head *ih, int from, int del_count) in leaf_cut_entries() argument 977 RFALSE(I_ENTRY_COUNT(ih) < from + del_count, in leaf_cut_entries() 979 I_ENTRY_COUNT(ih), from, del_count); in leaf_cut_entries() [all …]
|
/fs/ |
D | buffer.c | 1755 void page_zero_new_buffers(struct page *page, unsigned from, unsigned to) in page_zero_new_buffers() argument 1770 if (block_end > from && block_start < to) { in page_zero_new_buffers() 1774 start = max(from, block_start); in page_zero_new_buffers() 1795 unsigned from = pos & (PAGE_CACHE_SIZE - 1); in __block_write_begin() local 1796 unsigned to = from + len; in __block_write_begin() 1805 BUG_ON(from > PAGE_CACHE_SIZE); in __block_write_begin() 1807 BUG_ON(from > to); in __block_write_begin() 1820 if (block_end <= from || block_start >= to) { in __block_write_begin() 1843 if (block_end > to || block_start < from) in __block_write_begin() 1846 block_start, from); in __block_write_begin() [all …]
|
D | char_dev.c | 196 int register_chrdev_region(dev_t from, unsigned count, const char *name) in register_chrdev_region() argument 199 dev_t to = from + count; in register_chrdev_region() 202 for (n = from; n < to; n = next) { in register_chrdev_region() 214 for (n = from; n < to; n = next) { in register_chrdev_region() 307 void unregister_chrdev_region(dev_t from, unsigned count) in unregister_chrdev_region() argument 309 dev_t to = from + count; in unregister_chrdev_region() 312 for (n = from; n < to; n = next) { in unregister_chrdev_region()
|
D | libfs.c | 411 unsigned from = pos & (PAGE_CACHE_SIZE - 1); in simple_write_begin() local 413 zero_user_segments(page, 0, from, from + len, PAGE_CACHE_SIZE); in simple_write_begin() 448 unsigned from = pos & (PAGE_CACHE_SIZE - 1); in simple_write_end() local 450 zero_user(page, from + copied, len - copied); in simple_write_end() 585 const void *from, size_t available) in simple_read_from_buffer() argument 596 ret = copy_to_user(to, from + pos, count); in simple_read_from_buffer() 619 const void __user *from, size_t count) in simple_write_to_buffer() argument 630 res = copy_from_user(to + pos, from, count); in simple_write_to_buffer() 653 const void *from, size_t available) in memory_read_from_buffer() argument 663 memcpy(to, from + pos, count); in memory_read_from_buffer()
|
D | Kconfig.binfmt | 12 to run executables from different architectures or operating systems 17 Information about ELF is contained in the ELF HOWTO available from 20 If you find that after upgrading from Linux kernel 1.2 and saying Y 101 who need to run binaries from that era. 117 with v4 shared libraries freely available from Compaq. If you're 118 going to use shared libraries from Tru64 version 5.0 or later, say N. 139 SOM is a binary executable format inherited from HP/UX. Say 149 the Linux DOS emulator DOSEMU (read the DOSEMU-HOWTO, available from
|
/fs/ocfs2/ |
D | aops.c | 420 unsigned from, in walk_page_buffers() argument 438 if (block_end <= from || block_start >= to) { in walk_page_buffers() 685 unsigned from, unsigned to) in ocfs2_clear_page_regions() argument 694 if (from || to) { in ocfs2_clear_page_regions() 695 if (from > cluster_start) in ocfs2_clear_page_regions() 696 memset(kaddr + cluster_start, 0, from - cluster_start); in ocfs2_clear_page_regions() 735 struct inode *inode, unsigned int from, in ocfs2_map_page_blocks() argument 757 if (block_start >= to || block_end <= from) { in ocfs2_map_page_blocks() 781 (block_start < from || block_end > to)) { in ocfs2_map_page_blocks() 809 if (block_end <= from) in ocfs2_map_page_blocks() [all …]
|
D | aops.h | 27 unsigned from, 31 struct inode *inode, unsigned int from, 38 unsigned from,
|
/fs/hostfs/ |
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);
|
D | hostfs_user.c | 282 int make_symlink(const char *from, const char *to) in make_symlink() argument 286 err = symlink(to, from); in make_symlink() 332 int link_file(const char *to, const char *from) in link_file() argument 336 err = link(to, from); in link_file() 354 int rename_file(char *from, char *to) in rename_file() argument 358 err = rename(from, to); in rename_file()
|
/fs/minix/ |
D | itree_common.c | 17 static inline int verify_chain(Indirect *from, Indirect *to) in verify_chain() argument 19 while (from <= to && from->key == *from->p) in verify_chain() 20 from++; in verify_chain() 21 return (from > to); in verify_chain()
|
/fs/ext3/ |
D | inode.c | 35 static int ext3_block_truncate_page(struct inode *inode, loff_t from); 303 static int verify_chain(Indirect *from, Indirect *to) in verify_chain() argument 305 while (from <= to && from->key == *from->p) in verify_chain() 306 from++; in verify_chain() 307 return (from > to); in verify_chain() 1147 unsigned from, in walk_page_buffers() argument 1165 if (block_end <= from || block_start >= to) { in walk_page_buffers() 1256 unsigned from, to; in ext3_write_begin() local 1264 from = pos & (PAGE_CACHE_SIZE - 1); in ext3_write_begin() 1265 to = from + len; in ext3_write_begin() [all …]
|