/fs/hpfs/ |
D | anode.c | 25 if (btree->u.internal[i].file_secno > sec) { in hpfs_bplus_lookup() 26 a = btree->u.internal[i].down; in hpfs_bplus_lookup() 37 if (btree->u.external[i].file_secno <= sec && in hpfs_bplus_lookup() 38 btree->u.external[i].file_secno + btree->u.external[i].length > sec) { in hpfs_bplus_lookup() 39 a = btree->u.external[i].disk_secno + sec - btree->u.external[i].file_secno; in hpfs_bplus_lookup() 46 hpfs_inode->i_file_sec = btree->u.external[i].file_secno; in hpfs_bplus_lookup() 47 hpfs_inode->i_disk_sec = btree->u.external[i].disk_secno; in hpfs_bplus_lookup() 48 hpfs_inode->i_n_secs = btree->u.external[i].length; in hpfs_bplus_lookup() 86 a = btree->u.internal[n].down; in hpfs_add_sector_to_btree() 87 btree->u.internal[n].file_secno = -1; in hpfs_add_sector_to_btree() [all …]
|
D | hpfs.h | 359 } u; member 408 } u; member 441 } u; member
|
/fs/isofs/ |
D | rock.c | 44 if (rr->u.SP.magic[0] != 0xbe) in check_sp() 46 if (rr->u.SP.magic[1] != 0xef) in check_sp() 48 ISOFS_SB(inode->i_sb)->s_rock_offset = rr->u.SP.skip; in check_sp() 85 const int min_de_size = offsetof(struct rock_ridge, u); in rock_continue() 178 len += offsetof(struct rock_ridge, u); in rock_check_overflow() 233 if ((rr->u.RR.flags[0] & RR_NM) == 0) in get_rock_ridge_filename() 241 rs.cont_extent = isonum_733(rr->u.CE.extent); in get_rock_ridge_filename() 242 rs.cont_offset = isonum_733(rr->u.CE.offset); in get_rock_ridge_filename() 243 rs.cont_size = isonum_733(rr->u.CE.size); in get_rock_ridge_filename() 257 if (rr->u.NM.flags & 6) in get_rock_ridge_filename() [all …]
|
/fs/jfs/ |
D | jfs_dinode.h | 96 #define di_dirtable u._dir._table 97 #define di_dtroot u._dir._dtroot 109 #define di_gengen u._file._u1._imap._gengen 124 #define di_xtroot u._file._u2._xtroot 125 #define di_dxd u._file._u2._special._dxd 127 #define di_inlinedata u._file._u2._special._u 128 #define di_rdev u._file._u2._special._u._rdev 129 #define di_fastsymlink u._file._u2._special._u._fastsymlink 130 #define di_inlineea u._file._u2._special._inlineea 131 } u; member
|
D | jfs_incore.h | 99 } u; member 103 #define i_xtroot u.file._xtroot 104 #define i_imap u.file._imap 105 #define i_dirtable u.dir._table 106 #define i_dtroot u.dir._dtroot 107 #define i_inline u.link._inline 108 #define i_inline_ea u.link._inline_ea
|
D | namei.c | 130 tblk->u.ixpxd = JFS_IP(ip)->ixpxd; in jfs_create() 266 tblk->u.ixpxd = JFS_IP(ip)->ixpxd; in jfs_mkdir() 381 tblk->u.ip = ip; in jfs_rmdir() 541 tblk->u.ip = ip; in jfs_unlink() 931 tblk->u.ixpxd = JFS_IP(ip)->ixpxd; in jfs_symlink() 1187 tblk->u.ip = new_ip; in jfs_rename() 1198 tblk->u.ip = new_ip; in jfs_rename() 1396 tblk->u.ixpxd = JFS_IP(ip)->ixpxd; in jfs_mknod()
|
/fs/jbd2/ |
D | commit.c | 404 stats.u.run.rs_wait = commit_transaction->t_max_wait; in jbd2_journal_commit_transaction() 405 stats.u.run.rs_locked = jiffies; in jbd2_journal_commit_transaction() 406 stats.u.run.rs_running = jbd2_time_diff(commit_transaction->t_start, in jbd2_journal_commit_transaction() 407 stats.u.run.rs_locked); in jbd2_journal_commit_transaction() 479 stats.u.run.rs_flushing = jiffies; in jbd2_journal_commit_transaction() 480 stats.u.run.rs_locked = jbd2_time_diff(stats.u.run.rs_locked, in jbd2_journal_commit_transaction() 481 stats.u.run.rs_flushing); in jbd2_journal_commit_transaction() 514 stats.u.run.rs_logging = jiffies; in jbd2_journal_commit_transaction() 515 stats.u.run.rs_flushing = jbd2_time_diff(stats.u.run.rs_flushing, in jbd2_journal_commit_transaction() 516 stats.u.run.rs_logging); in jbd2_journal_commit_transaction() [all …]
|
D | journal.c | 742 jiffies_to_msecs(ts->u.run.rs_wait), in jbd2_seq_history_show() 743 jiffies_to_msecs(ts->u.run.rs_running), in jbd2_seq_history_show() 744 jiffies_to_msecs(ts->u.run.rs_locked), in jbd2_seq_history_show() 745 jiffies_to_msecs(ts->u.run.rs_flushing), in jbd2_seq_history_show() 746 jiffies_to_msecs(ts->u.run.rs_logging), in jbd2_seq_history_show() 747 ts->u.run.rs_handle_count, in jbd2_seq_history_show() 748 ts->u.run.rs_blocks, in jbd2_seq_history_show() 749 ts->u.run.rs_blocks_logged); in jbd2_seq_history_show() 753 jiffies_to_msecs(ts->u.chp.cs_chp_time), in jbd2_seq_history_show() 754 ts->u.chp.cs_written, ts->u.chp.cs_dropped, in jbd2_seq_history_show() [all …]
|
/fs/fat/ |
D | fatent.c | 49 fatent->u.ent12_p[0] = bhs[0]->b_data + offset; in fat12_ent_set_ptr() 50 fatent->u.ent12_p[1] = bhs[0]->b_data + (offset + 1); in fat12_ent_set_ptr() 53 fatent->u.ent12_p[0] = bhs[0]->b_data + offset; in fat12_ent_set_ptr() 54 fatent->u.ent12_p[1] = bhs[1]->b_data; in fat12_ent_set_ptr() 61 fatent->u.ent16_p = (__le16 *)(fatent->bhs[0]->b_data + offset); in fat16_ent_set_ptr() 67 fatent->u.ent32_p = (__le32 *)(fatent->bhs[0]->b_data + offset); in fat32_ent_set_ptr() 119 u8 **ent12_p = fatent->u.ent12_p; in fat12_ent_get() 137 int next = le16_to_cpu(*fatent->u.ent16_p); in fat16_ent_get() 138 WARN_ON((unsigned long)fatent->u.ent16_p & (2 - 1)); in fat16_ent_get() 146 int next = le32_to_cpu(*fatent->u.ent32_p) & 0x0fffffff; in fat32_ent_get() [all …]
|
D | fat.h | 257 } u; member 266 fatent->u.ent32_p = NULL; in fatent_init() 273 fatent->u.ent32_p = NULL; in fatent_set_entry() 279 fatent->u.ent32_p = NULL; in fatent_brelse()
|
/fs/btrfs/ |
D | struct-funcs.c | 45 u##bits btrfs_##name(struct extent_buffer *eb, type *s); \ 46 void btrfs_set_##name(struct extent_buffer *eb, type *s, u##bits val); \ 47 u##bits btrfs_##name(struct extent_buffer *eb, \ 67 u##bits res; \ 85 type *s, u##bits val) \
|
/fs/ntfs/ |
D | file.c | 509 unsigned blocksize, u; in ntfs_prepare_pages_for_non_resident_write() local 532 u = 0; in ntfs_prepare_pages_for_non_resident_write() 534 page = pages[u]; in ntfs_prepare_pages_for_non_resident_write() 545 } while (++u < nr_pages); in ntfs_prepare_pages_for_non_resident_write() 560 u = 0; in ntfs_prepare_pages_for_non_resident_write() 562 page = pages[u]; in ntfs_prepare_pages_for_non_resident_write() 1098 if (likely(!err && ++u < nr_pages)) in ntfs_prepare_pages_for_non_resident_write() 1137 u = 0; in ntfs_prepare_pages_for_non_resident_write() 1139 bh = head = page_buffers(pages[u]); in ntfs_prepare_pages_for_non_resident_write() 1144 } while (++u < nr_pages); in ntfs_prepare_pages_for_non_resident_write() [all …]
|
D | unistr.c | 210 u16 u; in ntfs_upcase_name() local 213 if ((u = le16_to_cpu(name[i])) < upcase_len) in ntfs_upcase_name() 214 name[i] = upcase[u]; in ntfs_upcase_name()
|
/fs/openpromfs/ |
D | inode.c | 38 union op_inode_data u; member 153 m->private = oi->u.prop; in property_open() 193 dp = oi->u.node; in openpromfs_lookup() 238 ent_oi->u = ent_data; in openpromfs_lookup() 255 inode->i_size = ent_oi->u.prop->length; in openpromfs_lookup() 267 struct device_node *dp = oi->u.node; in openpromfs_readdir() 403 oi->u.node = of_find_node_by_path("/"); in openprom_fill_super()
|
/fs/ |
D | binfmt_aout.c | 99 # define START_DATA(u) (u.start_data) in aout_core_dump() argument 101 # define START_DATA(u) ((u.u_tsize << PAGE_SHIFT) + u.start_code) in aout_core_dump() argument 103 # define START_STACK(u) (u.start_stack) in aout_core_dump() argument
|
D | splice.c | 522 struct file *file = sd->u.file; in pipe_to_sendpage() 560 struct file *file = sd->u.file; in pipe_to_file() 731 .u.file = out, in splice_from_pipe() 771 .u.file = out, in generic_file_splice_write_nolock() 829 .u.file = out, in generic_file_splice_write() 1059 struct file *file = sd->u.file; in direct_splice_actor() 1087 .u.file = out, in do_splice_direct() 1282 if (!fault_in_pages_writeable(sd->u.userptr, sd->len)) { in pipe_to_user() 1284 ret = __copy_to_user_inatomic(sd->u.userptr, src + buf->offset, in pipe_to_user() 1299 if (copy_to_user(sd->u.userptr, src + buf->offset, sd->len)) in pipe_to_user() [all …]
|
D | direct-io.c | 807 unsigned u; in do_direct_IO() local 895 u = (PAGE_SIZE - offset_in_page) >> blkbits; in do_direct_IO() 896 if (this_chunk_blocks > u) in do_direct_IO() 897 this_chunk_blocks = u; in do_direct_IO() 898 u = dio->final_block_in_request - dio->block_in_file; in do_direct_IO() 899 if (this_chunk_blocks > u) in do_direct_IO() 900 this_chunk_blocks = u; in do_direct_IO()
|
/fs/ocfs2/dlm/ |
D | dlmmaster.c | 83 if (namelen != mle->u.name.len || in dlm_mle_equal() 84 memcmp(name, mle->u.name.name, namelen)!=0) in dlm_mle_equal() 87 res = mle->u.res; in dlm_mle_equal() 300 mle->u.res = res; in dlm_init_mle() 303 memcpy(mle->u.name.name, name, namelen); in dlm_init_mle() 304 mle->u.name.len = namelen; in dlm_init_mle() 307 memcpy(mle->u.name.name, name, namelen); in dlm_init_mle() 308 mle->u.name.len = namelen; in dlm_init_mle() 413 mle->u.name.len, mle->u.name.name, mle->type); in dlm_mle_release() 416 mle->u.res->lockname.len, in dlm_mle_release() [all …]
|
/fs/jffs2/ |
D | debug.c | 782 printk(JFFS2_DBG "magic:\t%#04x\n", je16_to_cpu(node.u.magic)); in __jffs2_dbg_dump_node() 783 printk(JFFS2_DBG "nodetype:\t%#04x\n", je16_to_cpu(node.u.nodetype)); in __jffs2_dbg_dump_node() 784 printk(JFFS2_DBG "totlen:\t%#08x\n", je32_to_cpu(node.u.totlen)); in __jffs2_dbg_dump_node() 785 printk(JFFS2_DBG "hdr_crc:\t%#08x\n", je32_to_cpu(node.u.hdr_crc)); in __jffs2_dbg_dump_node() 787 crc = crc32(0, &node.u, sizeof(node.u) - 4); in __jffs2_dbg_dump_node() 788 if (crc != je32_to_cpu(node.u.hdr_crc)) { in __jffs2_dbg_dump_node() 793 if (je16_to_cpu(node.u.magic) != JFFS2_MAGIC_BITMASK && in __jffs2_dbg_dump_node() 794 je16_to_cpu(node.u.magic) != JFFS2_OLD_MAGIC_BITMASK) in __jffs2_dbg_dump_node() 797 je16_to_cpu(node.u.magic), JFFS2_MAGIC_BITMASK); in __jffs2_dbg_dump_node() 801 switch(je16_to_cpu(node.u.nodetype)) { in __jffs2_dbg_dump_node()
|
D | summary.c | 66 s->sum_list_tail->u.next = (union jffs2_sum_mem *) item; in jffs2_sum_add_mem() 69 switch (je16_to_cpu(item->u.nodetype)) { in jffs2_sum_add_mem() 97 je16_to_cpu(item->u.nodetype)); in jffs2_sum_add_mem() 200 s->sum_list_head = s->sum_list_head->u.next; in jffs2_sum_clean_collected() 261 switch (je16_to_cpu(node->u.nodetype)) { in jffs2_sum_add_kvec() 342 c->summary->sum_padded += je32_to_cpu(node->u.totlen); in jffs2_sum_add_kvec() 716 switch (je16_to_cpu(temp->u.nodetype)) { in jffs2_sum_write_data() 776 if ((je16_to_cpu(temp->u.nodetype) & JFFS2_COMPAT_MASK) in jffs2_sum_write_data() 779 je16_to_cpu(temp->u.nodetype)); in jffs2_sum_write_data() 787 c->summary->sum_list_head = temp->u.next; in jffs2_sum_write_data()
|
D | readinode.c | 1057 if (je32_to_cpu(node->u.hdr_crc) != crc32(0, node, sizeof(node->u)-4)) { in jffs2_get_inode_nodes() 1059 ref_offset(ref), je16_to_cpu(node->u.magic), in jffs2_get_inode_nodes() 1060 je16_to_cpu(node->u.nodetype), in jffs2_get_inode_nodes() 1061 je32_to_cpu(node->u.totlen), in jffs2_get_inode_nodes() 1062 je32_to_cpu(node->u.hdr_crc)); in jffs2_get_inode_nodes() 1067 if (je16_to_cpu(node->u.magic) != JFFS2_MAGIC_BITMASK) { in jffs2_get_inode_nodes() 1070 je16_to_cpu(node->u.magic), ref_offset(ref)); in jffs2_get_inode_nodes() 1075 switch (je16_to_cpu(node->u.nodetype)) { in jffs2_get_inode_nodes() 1115 err = read_unknown(c, ref, &node->u); in jffs2_get_inode_nodes()
|
D | summary.h | 84 struct jffs2_sum_unknown_flash u; member 142 struct jffs2_sum_unknown_mem u; member
|
/fs/autofs4/ |
D | inode.c | 27 if (ino->u.symlink) { in ino_lnkfree() 28 kfree(ino->u.symlink); in ino_lnkfree() 29 ino->u.symlink = NULL; in ino_lnkfree() 66 memset(&ino->u, 0, sizeof(ino->u)); in autofs4_init_ino()
|
D | symlink.c | 18 nd_set_link(nd, (char *)ino->u.symlink); in autofs4_follow_link()
|
/fs/dlm/ |
D | plock.c | 324 static ssize_t dev_read(struct file *file, char __user *u, size_t count, in dev_read() argument 344 if (copy_to_user(u, &info, sizeof(info))) in dev_read() 351 static ssize_t dev_write(struct file *file, const char __user *u, size_t count, in dev_write() argument 361 if (copy_from_user(&info, u, sizeof(info))) in dev_write()
|