/fs/proc/ |
D | page.c | 93 u64 u; in stable_page_flags() local 103 u = 0; in stable_page_flags() 112 u |= 1 << KPF_MMAP; in stable_page_flags() 114 u |= 1 << KPF_ANON; in stable_page_flags() 116 u |= 1 << KPF_KSM; in stable_page_flags() 123 u |= 1 << KPF_COMPOUND_HEAD; in stable_page_flags() 125 u |= 1 << KPF_COMPOUND_TAIL; in stable_page_flags() 127 u |= 1 << KPF_HUGE; in stable_page_flags() 138 u |= 1 << KPF_THP; in stable_page_flags() 140 u |= 1 << KPF_ZERO_PAGE; in stable_page_flags() [all …]
|
D | uid.c | 124 const struct uid_entry *u = ptr; in proc_uident_instantiate() local 142 inode->i_mode = u->mode; in proc_uident_instantiate() 145 if (u->iop) in proc_uident_instantiate() 146 inode->i_op = u->iop; in proc_uident_instantiate() 147 if (u->fop) in proc_uident_instantiate() 148 inode->i_fop = u->fop; in proc_uident_instantiate() 157 const struct uid_entry *u, *last; in proc_uid_base_lookup() local 164 for (u = uid_base_stuff; u <= last; u++) { in proc_uid_base_lookup() 165 if (u->len != dentry->d_name.len) in proc_uid_base_lookup() 167 if (!memcmp(dentry->d_name.name, u->name, u->len)) in proc_uid_base_lookup() [all …]
|
/fs/hpfs/ |
D | anode.c | 26 if (le32_to_cpu(btree->u.internal[i].file_secno) > sec) { in hpfs_bplus_lookup() 27 a = le32_to_cpu(btree->u.internal[i].down); in hpfs_bplus_lookup() 38 if (le32_to_cpu(btree->u.external[i].file_secno) <= sec && in hpfs_bplus_lookup() 39 … le32_to_cpu(btree->u.external[i].file_secno) + le32_to_cpu(btree->u.external[i].length) > sec) { in hpfs_bplus_lookup() 40 …a = le32_to_cpu(btree->u.external[i].disk_secno) + sec - le32_to_cpu(btree->u.external[i].file_sec… in hpfs_bplus_lookup() 47 hpfs_inode->i_file_sec = le32_to_cpu(btree->u.external[i].file_secno); in hpfs_bplus_lookup() 48 hpfs_inode->i_disk_sec = le32_to_cpu(btree->u.external[i].disk_secno); in hpfs_bplus_lookup() 49 hpfs_inode->i_n_secs = le32_to_cpu(btree->u.external[i].length); in hpfs_bplus_lookup() 87 a = le32_to_cpu(btree->u.internal[n].down); in hpfs_add_sector_to_btree() 88 btree->u.internal[n].file_secno = cpu_to_le32(-1); in hpfs_add_sector_to_btree() [all …]
|
/fs/isofs/ |
D | rock.c | 45 if (rr->u.SP.magic[0] != 0xbe) in check_sp() 47 if (rr->u.SP.magic[1] != 0xef) in check_sp() 49 ISOFS_SB(inode->i_sb)->s_rock_offset = rr->u.SP.skip; in check_sp() 89 const int min_de_size = offsetof(struct rock_ridge, u); in rock_continue() 184 len += offsetof(struct rock_ridge, u); in rock_check_overflow() 241 if ((rr->u.RR.flags[0] & RR_NM) == 0) in get_rock_ridge_filename() 249 rs.cont_extent = isonum_733(rr->u.CE.extent); in get_rock_ridge_filename() 250 rs.cont_offset = isonum_733(rr->u.CE.offset); in get_rock_ridge_filename() 251 rs.cont_size = isonum_733(rr->u.CE.size); in get_rock_ridge_filename() 265 if (rr->u.NM.flags & 6) in get_rock_ridge_filename() [all …]
|
/fs/orangefs/ |
D | orangefs-kernel.h | 266 unsigned char u[8]; in orangefs_khandle_to_ino() member 270 ihandle.u[0] = khandle->u[0] ^ khandle->u[4]; in orangefs_khandle_to_ino() 271 ihandle.u[1] = khandle->u[1] ^ khandle->u[5]; in orangefs_khandle_to_ino() 272 ihandle.u[2] = khandle->u[2] ^ khandle->u[6]; in orangefs_khandle_to_ino() 273 ihandle.u[3] = khandle->u[3] ^ khandle->u[7]; in orangefs_khandle_to_ino() 274 ihandle.u[4] = khandle->u[12] ^ khandle->u[8]; in orangefs_khandle_to_ino() 275 ihandle.u[5] = khandle->u[13] ^ khandle->u[9]; in orangefs_khandle_to_ino() 276 ihandle.u[6] = khandle->u[14] ^ khandle->u[10]; in orangefs_khandle_to_ino() 277 ihandle.u[7] = khandle->u[15] ^ khandle->u[11]; in orangefs_khandle_to_ino()
|
D | protocol.h | 19 unsigned char u[16]; member 41 if (kh1->u[i] > kh2->u[i]) in ORANGEFS_khandle_cmp() 43 if (kh1->u[i] < kh2->u[i]) in ORANGEFS_khandle_cmp() 54 memcpy(p, kh->u, 16); in ORANGEFS_khandle_to() 63 memcpy(kh->u, p, 16); in ORANGEFS_khandle_from()
|
/fs/nls/ |
D | nls_base.c | 86 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 …]
|
D | nls_utf8.c | 32 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/ |
D | jfs_dinode.h | 83 #define di_dirtable u._dir._table 84 #define di_dtroot u._dir._dtroot 96 #define di_gengen u._file._u1._imap._gengen 118 #define di_xtroot u._file._u2._xtroot 119 #define di_dxd u._file._u2._special._dxd 121 #define di_inlinedata u._file._u2._special._u 122 #define di_rdev u._file._u2._special._u._rdev 123 #define di_fastsymlink u._file._u2._special._u._fastsymlink 124 #define di_inlineea u._file._u2._special._inlineea 125 } u; member
|
D | jfs_incore.h | 86 } u; member 93 #define i_xtroot u.file._xtroot 94 #define i_imap u.file._imap 95 #define i_dirtable u.dir._table 96 #define i_dtroot u.dir._dtroot 97 #define i_inline u.link._inline 98 #define i_inline_ea u.link._inline_ea
|
/fs/nfsd/ |
D | nfs4proc.c | 351 union nfsd4_op_u *u) in nfsd4_open() argument 353 struct nfsd4_open *open = &u->open; in nfsd4_open() 480 struct nfsd4_open *open = &op->u.open; in nfsd4_open_omfg() 487 return nfsd4_open(rqstp, cstate, &op->u); in nfsd4_open_omfg() 495 union nfsd4_op_u *u) in nfsd4_getfh() argument 497 u->getfh = &cstate->current_fh; in nfsd4_getfh() 503 union nfsd4_op_u *u) in nfsd4_putfh() argument 505 struct nfsd4_putfh *putfh = &u->putfh; in nfsd4_putfh() 516 union nfsd4_op_u *u) in nfsd4_putrootfh() argument 527 union nfsd4_op_u *u) in nfsd4_restorefh() argument [all …]
|
D | xdr4.h | 119 } u; member 127 #define cr_datalen u.link.datalen 128 #define cr_data u.link.data 129 #define cr_first u.link.first 130 #define cr_specdata1 u.dev.specdata1 131 #define cr_specdata2 u.dev.specdata2 183 } u; member 193 #define lk_resp_stateid u.ok.stateid 194 #define lk_denied u.denied 631 } u; member [all …]
|
D | flexfilelayout.c | 28 uid_t u; in nfsd4_ff_proc_layoutget() local 53 u = from_kuid(&init_user_ns, inode->i_uid) + 1; in nfsd4_ff_proc_layoutget() 54 fl->uid = make_kuid(&init_user_ns, u); in nfsd4_ff_proc_layoutget()
|
D | nfs4state.c | 1658 static void nfsd4_conn_lost(struct svc_xpt_user *u) in nfsd4_conn_lost() argument 1660 struct nfsd4_conn *c = container_of(u, struct nfsd4_conn, cn_xpt_user); in nfsd4_conn_lost() 2956 union nfsd4_op_u *u) in nfsd4_exchange_id() argument 2958 struct nfsd4_exchange_id *exid = &u->exchange_id; in nfsd4_exchange_id() 3088 new->cl_spo_must_allow.u.words[0] = exid->spo_must_allow[0]; in nfsd4_exchange_id() 3089 new->cl_spo_must_allow.u.words[1] = exid->spo_must_allow[1]; in nfsd4_exchange_id() 3254 struct nfsd4_compound_state *cstate, union nfsd4_op_u *u) in nfsd4_create_session() argument 3256 struct nfsd4_create_session *cr_ses = &u->create_session; in nfsd4_create_session() 3382 union nfsd4_op_u *u) in nfsd4_backchannel_ctl() argument 3384 struct nfsd4_backchannel_ctl *bc = &u->backchannel_ctl; in nfsd4_backchannel_ctl() [all …]
|
/fs/erofs/ |
D | zdata.h | 94 } u; member 127 union z_erofs_onlinepage_converter u; in z_erofs_onlinepage_index() local 130 u.v = &page_private(page); in z_erofs_onlinepage_index() 132 return atomic_read(u.o) >> Z_EROFS_ONLINEPAGE_INDEX_SHIFT; in z_erofs_onlinepage_index() 141 } u = { .o = ATOMIC_INIT(1) }; in z_erofs_onlinepage_init() local 143 set_page_private(page, u.v); in z_erofs_onlinepage_init() 172 union z_erofs_onlinepage_converter u; in z_erofs_onlinepage_endio() local 176 u.v = &page_private(page); in z_erofs_onlinepage_endio() 178 v = atomic_dec_return(u.o); in z_erofs_onlinepage_endio() 185 erofs_dbg("%s, page %p value %x", __func__, page, atomic_read(u.o)); in z_erofs_onlinepage_endio()
|
/fs/btrfs/ |
D | struct-funcs.c | 41 u##bits btrfs_get_token_##bits(const struct extent_buffer *eb, \ 52 int size = sizeof(u##bits); \ 53 u##bits res; \ 79 u##bits btrfs_get_##bits(const struct extent_buffer *eb, \ 89 int size = sizeof(u##bits); \ 90 u##bits res; \ 106 u##bits val, \ 116 int size = sizeof(u##bits); \ 143 unsigned long off, u##bits val) \ 152 int size = sizeof(u##bits); \
|
D | ulist.c | 121 struct ulist_node *u = NULL; in ulist_rbtree_search() local 124 u = rb_entry(n, struct ulist_node, rb_node); in ulist_rbtree_search() 125 if (u->val < val) in ulist_rbtree_search() 127 else if (u->val > val) in ulist_rbtree_search() 130 return u; in ulist_rbtree_search()
|
/fs/fat/ |
D | fatent.c | 47 fatent->u.ent12_p[0] = bhs[0]->b_data + offset; in fat12_ent_set_ptr() 48 fatent->u.ent12_p[1] = bhs[0]->b_data + (offset + 1); in fat12_ent_set_ptr() 51 fatent->u.ent12_p[0] = bhs[0]->b_data + offset; in fat12_ent_set_ptr() 52 fatent->u.ent12_p[1] = bhs[1]->b_data; in fat12_ent_set_ptr() 59 fatent->u.ent16_p = (__le16 *)(fatent->bhs[0]->b_data + offset); in fat16_ent_set_ptr() 65 fatent->u.ent32_p = (__le32 *)(fatent->bhs[0]->b_data + offset); in fat32_ent_set_ptr() 120 u8 **ent12_p = fatent->u.ent12_p; in fat12_ent_get() 138 int next = le16_to_cpu(*fatent->u.ent16_p); in fat16_ent_get() 139 WARN_ON((unsigned long)fatent->u.ent16_p & (2 - 1)); in fat16_ent_get() 147 int next = le32_to_cpu(*fatent->u.ent32_p) & 0x0fffffff; in fat32_ent_get() [all …]
|
/fs/afs/ |
D | dir_edit.c | 134 if (de->u.valid != 1) in afs_dir_scan_block() 138 len = strlen(de->u.name); in afs_dir_scan_block() 140 memcmp(de->u.name, name->name, name->len) == 0) in afs_dir_scan_block() 314 de->u.valid = 1; in afs_edit_dir_add() 315 de->u.unused[0] = 0; in afs_edit_dir_add() 316 de->u.hash_next = 0; // TODO: Really need to maintain this in afs_edit_dir_add() 317 de->u.vnode = htonl(new_fid->vnode); in afs_edit_dir_add() 318 de->u.unique = htonl(new_fid->unique); in afs_edit_dir_add() 319 memcpy(de->u.name, name->name, name->len + 1); in afs_edit_dir_add() 320 de->u.name[name->len] = 0; in afs_edit_dir_add() [all …]
|
/fs/ntfs/ |
D | file.c | 588 unsigned blocksize, u; in ntfs_prepare_pages_for_non_resident_write() local 611 u = 0; in ntfs_prepare_pages_for_non_resident_write() 613 page = pages[u]; in ntfs_prepare_pages_for_non_resident_write() 624 } while (++u < nr_pages); in ntfs_prepare_pages_for_non_resident_write() 639 u = 0; in ntfs_prepare_pages_for_non_resident_write() 641 page = pages[u]; in ntfs_prepare_pages_for_non_resident_write() 1176 if (likely(!err && ++u < nr_pages)) in ntfs_prepare_pages_for_non_resident_write() 1215 u = 0; in ntfs_prepare_pages_for_non_resident_write() 1217 bh = head = page_buffers(pages[u]); in ntfs_prepare_pages_for_non_resident_write() 1222 } while (++u < nr_pages); in ntfs_prepare_pages_for_non_resident_write() [all …]
|
/fs/openpromfs/ |
D | inode.c | 40 union op_inode_data u; member 155 m->private = oi->u.prop; in property_open() 195 dp = oi->u.node; in openpromfs_lookup() 241 ent_oi->u = ent_data; in openpromfs_lookup() 258 inode->i_size = ent_oi->u.prop->length; in openpromfs_lookup() 269 struct device_node *dp = oi->u.node; in openpromfs_readdir() 399 oi->u.node = of_find_node_by_path("/"); in openprom_fill_super()
|
/fs/cachefiles/ |
D | interface.c | 187 int u; in cachefiles_grab_object() local 195 u = atomic_inc_return(&object->usage); in cachefiles_grab_object() 197 (enum cachefiles_obj_ref_trace)why, u); in cachefiles_grab_object() 327 int u; in cachefiles_put_object() local 343 u = atomic_dec_return(&object->usage); in cachefiles_put_object() 345 (enum cachefiles_obj_ref_trace)why, u); in cachefiles_put_object() 346 ASSERTCMP(u, !=, -1); in cachefiles_put_object() 347 if (u == 0) { in cachefiles_put_object()
|
/fs/crypto/ |
D | keyring.c | 177 master_key_spec_len(mk_spec), (u8 *)&mk_spec->u); in format_mk_description() 250 mk->mk_spec.u.identifier); in allocate_master_key_users_keyring() 270 format_mk_user_description(description, mk->mk_spec.u.identifier); in find_master_key_user() 287 format_mk_user_description(description, mk->mk_spec.u.identifier); in add_master_key_user() 574 NULL, 0, arg.key_spec.u.identifier, in fscrypt_ioctl_add_key() 579 if (copy_to_user(uarg->key_spec.u.identifier, in fscrypt_ioctl_add_key() 580 arg.key_spec.u.identifier, in fscrypt_ioctl_add_key() 622 memcpy(mk_spec.u.identifier, identifier, FSCRYPT_KEY_IDENTIFIER_SIZE); in fscrypt_verify_key_added() 734 master_key_spec_len(&mk->mk_spec), (u8 *)&mk->mk_spec.u, in check_for_busy_inodes()
|
/fs/jffs2/ |
D | debug.c | 790 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()
|
/fs/ext4/ |
D | sysfs.c | 52 } u; member 152 .u = { \ 168 .u = { \ 272 return a->u.explicit_ptr; in calc_ptr() 274 return (void *) (((char *) sbi) + a->u.offset); in calc_ptr() 276 return (void *) (((char *) sbi->s_es) + a->u.offset); in calc_ptr()
|