Home
last modified time | relevance | path

Searched refs:from (Results 1 – 25 of 124) sorted by relevance

12345

/fs/jfs/
Djfs_unicode.c32 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/
Dproc_tty.c27 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/xfs/
Dxfs_arch.h139 #define XFS_PUT_DIR_INO4(from, di) \ argument
141 (di).i[0] = (((from) & 0xff000000ULL) >> 24); \
142 (di).i[1] = (((from) & 0x00ff0000ULL) >> 16); \
143 (di).i[2] = (((from) & 0x0000ff00ULL) >> 8); \
144 (di).i[3] = ((from) & 0x000000ffULL); \
156 #define XFS_PUT_DIR_INO8(from, di) \ argument
159 (di).i[1] = (((from) & 0x00ff000000000000ULL) >> 48); \
160 (di).i[2] = (((from) & 0x0000ff0000000000ULL) >> 40); \
161 (di).i[3] = (((from) & 0x000000ff00000000ULL) >> 32); \
162 (di).i[4] = (((from) & 0x00000000ff000000ULL) >> 24); \
[all …]
Dxfs_mount.c363 xfs_dsb_t *from) in xfs_sb_from_disk() argument
365 to->sb_magicnum = be32_to_cpu(from->sb_magicnum); in xfs_sb_from_disk()
366 to->sb_blocksize = be32_to_cpu(from->sb_blocksize); in xfs_sb_from_disk()
367 to->sb_dblocks = be64_to_cpu(from->sb_dblocks); in xfs_sb_from_disk()
368 to->sb_rblocks = be64_to_cpu(from->sb_rblocks); in xfs_sb_from_disk()
369 to->sb_rextents = be64_to_cpu(from->sb_rextents); in xfs_sb_from_disk()
370 memcpy(&to->sb_uuid, &from->sb_uuid, sizeof(to->sb_uuid)); in xfs_sb_from_disk()
371 to->sb_logstart = be64_to_cpu(from->sb_logstart); in xfs_sb_from_disk()
372 to->sb_rootino = be64_to_cpu(from->sb_rootino); in xfs_sb_from_disk()
373 to->sb_rbmino = be64_to_cpu(from->sb_rbmino); in xfs_sb_from_disk()
[all …]
Dxfs_dir2_sf.h99 xfs_dir2_sf_get_inumber(xfs_dir2_sf_t *sfp, xfs_dir2_inou_t *from) in xfs_dir2_sf_get_inumber() argument
102 (xfs_intino_t)XFS_GET_DIR_INO4((from)->i4) : \ in xfs_dir2_sf_get_inumber()
103 (xfs_intino_t)XFS_GET_DIR_INO8((from)->i8)); in xfs_dir2_sf_get_inumber()
106 static inline void xfs_dir2_sf_put_inumber(xfs_dir2_sf_t *sfp, xfs_ino_t *from, in xfs_dir2_sf_put_inumber() argument
110 XFS_PUT_DIR_INO4(*(from), (to)->i4); in xfs_dir2_sf_put_inumber()
112 XFS_PUT_DIR_INO8(*(from), (to)->i8); in xfs_dir2_sf_put_inumber()
Dxfs_inode.c648 xfs_dinode_t *from) in xfs_dinode_from_disk() argument
650 to->di_magic = be16_to_cpu(from->di_magic); in xfs_dinode_from_disk()
651 to->di_mode = be16_to_cpu(from->di_mode); in xfs_dinode_from_disk()
652 to->di_version = from ->di_version; in xfs_dinode_from_disk()
653 to->di_format = from->di_format; in xfs_dinode_from_disk()
654 to->di_onlink = be16_to_cpu(from->di_onlink); in xfs_dinode_from_disk()
655 to->di_uid = be32_to_cpu(from->di_uid); in xfs_dinode_from_disk()
656 to->di_gid = be32_to_cpu(from->di_gid); in xfs_dinode_from_disk()
657 to->di_nlink = be32_to_cpu(from->di_nlink); in xfs_dinode_from_disk()
658 to->di_projid = be16_to_cpu(from->di_projid); in xfs_dinode_from_disk()
[all …]
Dxfs_dir2_leaf.c601 int from; /* source leaf index */ in xfs_dir2_leaf_compact() local
613 for (from = to = 0, loglow = -1; from < be16_to_cpu(leaf->hdr.count); from++) { in xfs_dir2_leaf_compact()
614 if (be32_to_cpu(leaf->ents[from].address) == XFS_DIR2_NULL_DATAPTR) in xfs_dir2_leaf_compact()
619 if (from > to) { in xfs_dir2_leaf_compact()
622 leaf->ents[to] = leaf->ents[from]; in xfs_dir2_leaf_compact()
629 ASSERT(be16_to_cpu(leaf->hdr.stale) == from - to); in xfs_dir2_leaf_compact()
654 int from; /* source copy index */ in xfs_dir2_leaf_compact_x1() local
697 for (from = to = 0; from < be16_to_cpu(leaf->hdr.count); from++) { in xfs_dir2_leaf_compact_x1()
701 if (index == from) in xfs_dir2_leaf_compact_x1()
703 if (from != keepstale && in xfs_dir2_leaf_compact_x1()
[all …]
/fs/cifs/
Dcifs_unicode.c35 cifs_strfromUCS_le(char *to, const __le16 *from, in cifs_strfromUCS_le() argument
41 for (i = 0; (i < len) && from[i]; i++) { in cifs_strfromUCS_le()
45 codepage->uni2char(le16_to_cpu(from[i]), &to[outlen], in cifs_strfromUCS_le()
64 cifs_strtoUCS(__le16 *to, const char *from, int len, in cifs_strtoUCS() argument
71 for (i = 0; len && *from; i++, from += charlen, len -= charlen) { in cifs_strtoUCS()
74 charlen = codepage->char2uni(from, len, &wchar_to[i]); in cifs_strtoUCS()
78 (int)*from, charlen)); in cifs_strtoUCS()
/fs/sysv/
Dinode.c108 unsigned char * from, unsigned char * to) in read3byte() argument
111 to[0] = from[0]; in read3byte()
113 to[2] = from[1]; in read3byte()
114 to[3] = from[2]; in read3byte()
116 to[0] = from[0]; in read3byte()
117 to[1] = from[1]; in read3byte()
118 to[2] = from[2]; in read3byte()
122 to[1] = from[0]; in read3byte()
123 to[2] = from[1]; in read3byte()
124 to[3] = from[2]; in read3byte()
[all …]
DKconfig7 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/partitions/
Dcheck.h11 sector_t from; member
20 put_partition(struct parsed_partitions *p, int n, sector_t from, sector_t size) in put_partition() argument
23 p->parts[n].from = from; in put_partition()
/fs/ubifs/
Dkey.h432 static inline void key_read(const struct ubifs_info *c, const void *from, in key_read() argument
435 const union ubifs_key *f = from; in key_read()
448 const union ubifs_key *from, void *to) in key_write() argument
452 t->j32[0] = cpu_to_le32(from->u32[0]); in key_write()
453 t->j32[1] = cpu_to_le32(from->u32[1]); in key_write()
464 const union ubifs_key *from, void *to) in key_write_idx() argument
468 t->j32[0] = cpu_to_le32(from->u32[0]); in key_write_idx()
469 t->j32[1] = cpu_to_le32(from->u32[1]); in key_write_idx()
479 const union ubifs_key *from, union ubifs_key *to) in key_copy() argument
481 to->u64[0] = from->u64[0]; in key_copy()
/fs/hpfs/
Dname.c86 char *hpfs_translate_name(struct super_block *s, unsigned char *from, in hpfs_translate_name() argument
91 if (hpfs_sb(s)->sb_chk >= 2) if (hpfs_is_name_long(from, len) != lng) { in hpfs_translate_name()
93 for (i=0; i<len; i++) printk("%c", from[i]); in hpfs_translate_name()
97 if (!lc) return from; in hpfs_translate_name()
100 return from; in hpfs_translate_name()
102 for (i = 0; i < len; i++) to[i] = locase(hpfs_sb(s)->sb_cp_table,from[i]); in hpfs_translate_name()
/fs/ocfs2/
Daops.h26 unsigned from, unsigned to);
30 unsigned from,
34 struct inode *inode, unsigned int from,
41 unsigned from,
Daops.c415 unsigned from, unsigned to) in ocfs2_prepare_write_nolock() argument
419 ret = block_prepare_write(page, from, to, ocfs2_get_block); in ocfs2_prepare_write_nolock()
430 unsigned from, in walk_page_buffers() argument
448 if (block_end <= from || block_start >= to) { in walk_page_buffers()
462 unsigned from, in ocfs2_start_walk_page_trans() argument
736 unsigned from, unsigned to) in ocfs2_clear_page_regions() argument
745 if (from || to) { in ocfs2_clear_page_regions()
746 if (from > cluster_start) in ocfs2_clear_page_regions()
747 memset(kaddr + cluster_start, 0, from - cluster_start); in ocfs2_clear_page_regions()
786 struct inode *inode, unsigned int from, in ocfs2_map_page_blocks() argument
[all …]
/fs/affs/
Dfile.c487 affs_do_readpage_ofs(struct file *file, struct page *page, unsigned from, unsigned to) in affs_do_readpage_ofs() argument
496 pr_debug("AFFS: read_page(%u, %ld, %d, %d)\n", (u32)inode->i_ino, page->index, from, to); in affs_do_readpage_ofs()
497 BUG_ON(from > to || to > PAGE_CACHE_SIZE); in affs_do_readpage_ofs()
501 tmp = (page->index << PAGE_CACHE_SHIFT) + from; in affs_do_readpage_ofs()
505 while (from < to) { in affs_do_readpage_ofs()
509 tmp = min(bsize - boff, to - from); in affs_do_readpage_ofs()
510 BUG_ON(from + tmp > to || tmp > bsize); in affs_do_readpage_ofs()
511 memcpy(data + from, AFFS_DATA(bh) + boff, tmp); in affs_do_readpage_ofs()
514 from += tmp; in affs_do_readpage_ofs()
657 unsigned from, to; in affs_write_end_ofs() local
[all …]
/fs/
Dlibfs.c340 unsigned from, unsigned to) in simple_prepare_write() argument
343 if (to - from != PAGE_CACHE_SIZE) in simple_prepare_write()
345 0, from, in simple_prepare_write()
357 unsigned from; in simple_write_begin() local
360 from = pos & (PAGE_CACHE_SIZE - 1); in simple_write_begin()
368 return simple_prepare_write(file, page, from, from+len); in simple_write_begin()
372 unsigned from, unsigned to) in simple_commit_write() argument
393 unsigned from = pos & (PAGE_CACHE_SIZE - 1); in simple_write_end() local
398 memset(kaddr + from + copied, 0, len - copied); in simple_write_end()
403 simple_commit_write(file, page, from, from+copied); in simple_write_end()
[all …]
Dbuffer.c1876 void page_zero_new_buffers(struct page *page, unsigned from, unsigned to) in page_zero_new_buffers() argument
1891 if (block_end > from && block_start < to) { in page_zero_new_buffers()
1895 start = max(from, block_start); in page_zero_new_buffers()
1914 unsigned from, unsigned to, get_block_t *get_block) in __block_prepare_write() argument
1923 BUG_ON(from > PAGE_CACHE_SIZE); in __block_prepare_write()
1925 BUG_ON(from > to); in __block_prepare_write()
1938 if (block_end <= from || block_start >= to) { in __block_prepare_write()
1961 if (block_end > to || block_start < from) in __block_prepare_write()
1964 block_start, from); in __block_prepare_write()
1975 (block_start < from || block_end > to)) { in __block_prepare_write()
[all …]
Dchar_dev.c193 int register_chrdev_region(dev_t from, unsigned count, const char *name) in register_chrdev_region() argument
196 dev_t to = from + count; in register_chrdev_region()
199 for (n = from; n < to; n = next) { in register_chrdev_region()
211 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()
/fs/nls/
DKconfig283 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/
Dprints.c393 int from, to; in print_internal() local
401 from = 0; in print_internal()
404 from = first; in print_internal()
410 dc = B_N_CHILD(bh, from); in print_internal()
411 reiserfs_printk("PTR %d: %y ", from, dc); in print_internal()
413 for (i = from, key = B_N_PDELIM_KEY(bh, from), dc++; i < to; in print_internal()
429 int from, to; in print_leaf() local
451 from = 0; in print_leaf()
453 from = first; in print_leaf()
460 ih += from; in print_leaf()
[all …]
Dlbalance.c26 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()
960 struct item_head *ih, int from, int del_count) in leaf_cut_entries() argument
972 RFALSE(I_ENTRY_COUNT(ih) < from + del_count, in leaf_cut_entries()
974 I_ENTRY_COUNT(ih), from, del_count); in leaf_cut_entries()
[all …]
/fs/squashfs/
DKconfig19 and tools are available from http://squashfs.sourceforge.net.
22 inserted in and removed from the running kernel whenever you want),
44 By default SquashFS caches the last 3 fragments read from
46 has to re-read fragments less often from disk, at the expense
48 SquashFS uses less memory at the expense of extra reads from disk.
/fs/hostfs/
Dhostfs.h77 extern int make_symlink(const char *from, const char *to);
83 extern int link_file(const char *from, const char *to);
85 extern int rename_file(char *from, char *to);
/fs/smbfs/
DKconfig14 available from <http://www.tldp.org/docs.html#howto>.
19 the program SAMBA (available from <ftp://ftp.samba.org/pub/samba/>)
40 smbmount from samba 2.2.0 or later supports this.
55 smbmount from samba 2.2.0 or later supports this.

12345