Home
last modified time | relevance | path

Searched refs:u (Results 1 – 25 of 78) sorted by relevance

1234

/fs/proc/
Dpage.c83 u64 u; in stable_page_flags() local
93 u = 0; in stable_page_flags()
102 u |= 1 << KPF_MMAP; in stable_page_flags()
104 u |= 1 << KPF_ANON; in stable_page_flags()
106 u |= 1 << KPF_KSM; in stable_page_flags()
113 u |= 1 << KPF_COMPOUND_HEAD; in stable_page_flags()
115 u |= 1 << KPF_COMPOUND_TAIL; in stable_page_flags()
117 u |= 1 << KPF_HUGE; in stable_page_flags()
125 u |= 1 << KPF_THP; in stable_page_flags()
133 u |= 1 << KPF_BUDDY; in stable_page_flags()
[all …]
/fs/hpfs/
Danode.c25 if (le32_to_cpu(btree->u.internal[i].file_secno) > sec) { in hpfs_bplus_lookup()
26 a = le32_to_cpu(btree->u.internal[i].down); in hpfs_bplus_lookup()
37 if (le32_to_cpu(btree->u.external[i].file_secno) <= sec && in hpfs_bplus_lookup()
38 … le32_to_cpu(btree->u.external[i].file_secno) + le32_to_cpu(btree->u.external[i].length) > sec) { in hpfs_bplus_lookup()
39 …a = le32_to_cpu(btree->u.external[i].disk_secno) + sec - le32_to_cpu(btree->u.external[i].file_sec… in hpfs_bplus_lookup()
46 hpfs_inode->i_file_sec = le32_to_cpu(btree->u.external[i].file_secno); in hpfs_bplus_lookup()
47 hpfs_inode->i_disk_sec = le32_to_cpu(btree->u.external[i].disk_secno); in hpfs_bplus_lookup()
48 hpfs_inode->i_n_secs = le32_to_cpu(btree->u.external[i].length); in hpfs_bplus_lookup()
86 a = le32_to_cpu(btree->u.internal[n].down); in hpfs_add_sector_to_btree()
87 btree->u.internal[n].file_secno = cpu_to_le32(-1); in hpfs_add_sector_to_btree()
[all …]
Dhpfs.h414 } u; member
458 } u; member
500 } u; member
/fs/isofs/
Drock.c43 if (rr->u.SP.magic[0] != 0xbe) in check_sp()
45 if (rr->u.SP.magic[1] != 0xef) in check_sp()
47 ISOFS_SB(inode->i_sb)->s_rock_offset = rr->u.SP.skip; in check_sp()
84 const int min_de_size = offsetof(struct rock_ridge, u); in rock_continue()
177 len += offsetof(struct rock_ridge, u); in rock_check_overflow()
232 if ((rr->u.RR.flags[0] & RR_NM) == 0) in get_rock_ridge_filename()
240 rs.cont_extent = isonum_733(rr->u.CE.extent); in get_rock_ridge_filename()
241 rs.cont_offset = isonum_733(rr->u.CE.offset); in get_rock_ridge_filename()
242 rs.cont_size = isonum_733(rr->u.CE.size); in get_rock_ridge_filename()
256 if (rr->u.NM.flags & 6) in get_rock_ridge_filename()
[all …]
/fs/nls/
Dnls_base.c86 int utf32_to_utf8(unicode_t u, u8 *s, int maxout) in utf32_to_utf8() argument
95 l = u; in utf32_to_utf8()
137 unicode_t u; in utf8s_to_utf16s() local
142 size = utf8_to_utf32(s, inlen, &u); in utf8s_to_utf16s()
148 if (u >= PLANE_SIZE) { in utf8s_to_utf16s()
151 u -= PLANE_SIZE; in utf8s_to_utf16s()
153 ((u >> 10) & SURROGATE_BITS), in utf8s_to_utf16s()
157 (u & SURROGATE_BITS), in utf8s_to_utf16s()
161 put_utf16(op++, u, endian); in utf8s_to_utf16s()
191 unsigned long u, v; in utf16s_to_utf8s() local
[all …]
Dnls_utf8.c32 unicode_t u; in char2uni() local
34 n = utf8_to_utf32(rawstring, boundlen, &u); in char2uni()
35 if (n < 0 || u > MAX_WCHAR_T) { in char2uni()
39 *uni = (wchar_t) u; in char2uni()
/fs/jfs/
Djfs_dinode.h96 #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
Djfs_incore.h96 } u; member
100 #define i_xtroot u.file._xtroot
101 #define i_imap u.file._imap
102 #define i_dirtable u.dir._table
103 #define i_dtroot u.dir._dtroot
104 #define i_inline u.link._inline
105 #define i_inline_ea u.link._inline_ea
/fs/fat/
Dfatent.c49 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()
122 u8 **ent12_p = fatent->u.ent12_p; in fat12_ent_get()
140 int next = le16_to_cpu(*fatent->u.ent16_p); in fat16_ent_get()
141 WARN_ON((unsigned long)fatent->u.ent16_p & (2 - 1)); in fat16_ent_get()
149 int next = le32_to_cpu(*fatent->u.ent32_p) & 0x0fffffff; in fat32_ent_get()
[all …]
Dfat.h316 } u; member
326 fatent->u.ent32_p = NULL; in fatent_init()
334 fatent->u.ent32_p = NULL; in fatent_set_entry()
340 fatent->u.ent32_p = NULL; in fatent_brelse()
/fs/btrfs/
Dstruct-funcs.c53 u##bits btrfs_get_token_##bits(struct extent_buffer *eb, void *ptr, \
64 int size = sizeof(u##bits); \
65 u##bits res; \
93 void *ptr, unsigned long off, u##bits val, \
103 int size = sizeof(u##bits); \
Dulist.c131 struct ulist_node *u = NULL; in ulist_rbtree_search() local
134 u = rb_entry(n, struct ulist_node, rb_node); in ulist_rbtree_search()
135 if (u->val < val) in ulist_rbtree_search()
137 else if (u->val > val) in ulist_rbtree_search()
140 return u; in ulist_rbtree_search()
/fs/ntfs/
Dfile.c499 unsigned blocksize, u; in ntfs_prepare_pages_for_non_resident_write() local
522 u = 0; in ntfs_prepare_pages_for_non_resident_write()
524 page = pages[u]; in ntfs_prepare_pages_for_non_resident_write()
535 } while (++u < nr_pages); in ntfs_prepare_pages_for_non_resident_write()
550 u = 0; in ntfs_prepare_pages_for_non_resident_write()
552 page = pages[u]; in ntfs_prepare_pages_for_non_resident_write()
1088 if (likely(!err && ++u < nr_pages)) in ntfs_prepare_pages_for_non_resident_write()
1127 u = 0; in ntfs_prepare_pages_for_non_resident_write()
1129 bh = head = page_buffers(pages[u]); in ntfs_prepare_pages_for_non_resident_write()
1134 } while (++u < nr_pages); in ntfs_prepare_pages_for_non_resident_write()
[all …]
Dunistr.c210 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/nfsd/
Dxdr4.h116 } u; member
122 #define cr_linklen u.link.namelen
123 #define cr_linkname u.link.name
124 #define cr_specdata1 u.dev.specdata1
125 #define cr_specdata2 u.dev.specdata2
177 } u; member
187 #define lk_resp_stateid u.ok.stateid
188 #define lk_denied u.denied
474 } u; member
/fs/openpromfs/
Dinode.c38 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()
410 oi->u.node = of_find_node_by_path("/"); in openprom_fill_super()
/fs/logfs/
Djournal.c394 } u; in journal_erase_segment() local
402 memset(&u, 0, sizeof(u)); in journal_erase_segment()
403 u.sh.pad = 0; in journal_erase_segment()
404 u.sh.type = SEG_JOURNAL; in journal_erase_segment()
405 u.sh.level = 0; in journal_erase_segment()
406 u.sh.segno = cpu_to_be32(area->a_segno); in journal_erase_segment()
407 u.sh.ec = cpu_to_be32(area->a_erase_count); in journal_erase_segment()
408 u.sh.gec = cpu_to_be64(logfs_super(sb)->s_gec); in journal_erase_segment()
409 u.sh.crc = logfs_crc32(&u.sh, sizeof(u.sh), 4); in journal_erase_segment()
415 area->a_used_bytes = sizeof(u); in journal_erase_segment()
[all …]
/fs/
Dbinfmt_aout.c55 # define START_DATA(u) ((void __user *)u.start_data) in aout_core_dump() argument
57 # define START_DATA(u) ((void __user *)((u.u_tsize << PAGE_SHIFT) + \ in aout_core_dump() argument
58 u.start_code)) in aout_core_dump()
60 # define START_STACK(u) ((void __user *)u.start_stack) in aout_core_dump() argument
Dsplice.c694 struct file *file = sd->u.file; in pipe_to_sendpage()
733 struct file *file = sd->u.file; in pipe_to_file()
967 .u.file = out, in splice_from_pipe()
1000 .u.file = out, in generic_file_splice_write()
1053 ret = __kernel_write(sd->u.file, data + buf->offset, sd->len, &tmp); in write_pipe_buf()
1275 struct file *file = sd->u.file; in direct_splice_actor()
1305 .u.file = out, in do_splice_direct()
1512 if (!fault_in_pages_writeable(sd->u.userptr, sd->len)) { in pipe_to_user()
1514 ret = __copy_to_user_inatomic(sd->u.userptr, src + buf->offset, in pipe_to_user()
1529 if (copy_to_user(sd->u.userptr, src + buf->offset, sd->len)) in pipe_to_user()
[all …]
Ddirect-io.c924 unsigned u; in do_direct_IO() local
1012 u = (PAGE_SIZE - offset_in_page) >> blkbits; in do_direct_IO()
1013 if (this_chunk_blocks > u) in do_direct_IO()
1014 this_chunk_blocks = u; in do_direct_IO()
1015 u = sdio->final_block_in_request - sdio->block_in_file; in do_direct_IO()
1016 if (this_chunk_blocks > u) in do_direct_IO()
1017 this_chunk_blocks = u; in do_direct_IO()
/fs/jffs2/
Ddebug.c790 printk(JFFS2_DBG "magic:\t%#04x\n", je16_to_cpu(node.u.magic)); in __jffs2_dbg_dump_node()
791 printk(JFFS2_DBG "nodetype:\t%#04x\n", je16_to_cpu(node.u.nodetype)); in __jffs2_dbg_dump_node()
792 printk(JFFS2_DBG "totlen:\t%#08x\n", je32_to_cpu(node.u.totlen)); in __jffs2_dbg_dump_node()
793 printk(JFFS2_DBG "hdr_crc:\t%#08x\n", je32_to_cpu(node.u.hdr_crc)); in __jffs2_dbg_dump_node()
795 crc = crc32(0, &node.u, sizeof(node.u) - 4); in __jffs2_dbg_dump_node()
796 if (crc != je32_to_cpu(node.u.hdr_crc)) { in __jffs2_dbg_dump_node()
801 if (je16_to_cpu(node.u.magic) != JFFS2_MAGIC_BITMASK && in __jffs2_dbg_dump_node()
802 je16_to_cpu(node.u.magic) != JFFS2_OLD_MAGIC_BITMASK) in __jffs2_dbg_dump_node()
805 je16_to_cpu(node.u.magic), JFFS2_MAGIC_BITMASK); in __jffs2_dbg_dump_node()
809 switch(je16_to_cpu(node.u.nodetype)) { in __jffs2_dbg_dump_node()
Dsummary.c68 s->sum_list_tail->u.next = (union jffs2_sum_mem *) item; in jffs2_sum_add_mem()
71 switch (je16_to_cpu(item->u.nodetype)) { in jffs2_sum_add_mem()
99 je16_to_cpu(item->u.nodetype)); in jffs2_sum_add_mem()
202 s->sum_list_head = s->sum_list_head->u.next; in jffs2_sum_clean_collected()
263 switch (je16_to_cpu(node->u.nodetype)) { in jffs2_sum_add_kvec()
344 c->summary->sum_padded += je32_to_cpu(node->u.totlen); in jffs2_sum_add_kvec()
721 switch (je16_to_cpu(temp->u.nodetype)) { in jffs2_sum_write_data()
781 if ((je16_to_cpu(temp->u.nodetype) & JFFS2_COMPAT_MASK) in jffs2_sum_write_data()
784 je16_to_cpu(temp->u.nodetype)); in jffs2_sum_write_data()
792 c->summary->sum_list_head = temp->u.next; in jffs2_sum_write_data()
Dreadinode.c1060 if (je32_to_cpu(node->u.hdr_crc) != crc32(0, node, sizeof(node->u)-4)) { in jffs2_get_inode_nodes()
1062 ref_offset(ref), je16_to_cpu(node->u.magic), in jffs2_get_inode_nodes()
1063 je16_to_cpu(node->u.nodetype), in jffs2_get_inode_nodes()
1064 je32_to_cpu(node->u.totlen), in jffs2_get_inode_nodes()
1065 je32_to_cpu(node->u.hdr_crc)); in jffs2_get_inode_nodes()
1070 if (je16_to_cpu(node->u.magic) != JFFS2_MAGIC_BITMASK) { in jffs2_get_inode_nodes()
1073 je16_to_cpu(node->u.magic), ref_offset(ref)); in jffs2_get_inode_nodes()
1078 switch (je16_to_cpu(node->u.nodetype)) { in jffs2_get_inode_nodes()
1118 err = read_unknown(c, ref, &node->u); in jffs2_get_inode_nodes()
/fs/reiserfs/
Dreiserfs.h1100 } __attribute__ ((__packed__)) u; member
1176 } __attribute__ ((__packed__)) u; member
1188 #define ih_free_space(ih) le16_to_cpu((ih)->u.ih_free_space_reserved)
1190 #define ih_entry_count(ih) le16_to_cpu((ih)->u.ih_entry_count)
1194 #define put_ih_free_space(ih, val) do { (ih)->u.ih_free_space_reserved = cpu_to_le16(val); } whil…
1196 #define put_ih_entry_count(ih, val) do { (ih)->u.ih_entry_count = cpu_to_le16(val); } while (0)
1271 le32_to_cpu(key->u.k_offset_v1.k_offset) : in le_key_k_offset()
1272 offset_v2_k_offset(&(key->u.k_offset_v2)); in le_key_k_offset()
1283 uniqueness2type(le32_to_cpu(key->u.k_offset_v1.k_uniqueness)) : in le_key_k_type()
1284 offset_v2_k_type(&(key->u.k_offset_v2)); in le_key_k_type()
[all …]
/fs/nfs/objlayout/
Dobjlayout.c235 task = container_of(work, struct rpc_task, u.tk_work); in _rpc_read_complete()
260 INIT_WORK(&rdata->task.u.tk_work, _rpc_read_complete); in objlayout_read_done()
261 schedule_work(&rdata->task.u.tk_work); in objlayout_read_done()
318 task = container_of(work, struct rpc_task, u.tk_work); in _rpc_write_complete()
345 INIT_WORK(&wdata->task.u.tk_work, _rpc_write_complete); in objlayout_write_done()
346 schedule_work(&wdata->task.u.tk_work); in objlayout_write_done()

1234