/fs/vboxsf/ |
D | vboxsf_wrappers.c | 27 strcpy(loc.u.localhost.service_name, "VBoxSharedFolders"); in vboxsf_connect() 81 parms.path.u.pointer.size = shfl_string_buf_size(folder_name); in vboxsf_map_folder() 82 parms.path.u.pointer.u.linear_addr = (uintptr_t)folder_name; in vboxsf_map_folder() 85 parms.root.u.value32 = 0; in vboxsf_map_folder() 88 parms.delimiter.u.value32 = '/'; in vboxsf_map_folder() 91 parms.case_sensitive.u.value32 = 1; in vboxsf_map_folder() 98 *root = parms.root.u.value32; in vboxsf_map_folder() 107 parms.root.u.value32 = root; in vboxsf_unmap_folder() 136 parms.root.u.value32 = root; in vboxsf_create() 139 parms.path.u.pointer.size = shfl_string_buf_size(parsed_path); in vboxsf_create() [all …]
|
/fs/proc/ |
D | page.c | 111 u64 u; in stable_page_flags() local 121 u = 0; in stable_page_flags() 130 u |= 1 << KPF_MMAP; in stable_page_flags() 132 u |= 1 << KPF_ANON; in stable_page_flags() 134 u |= 1 << KPF_KSM; in stable_page_flags() 141 u |= 1 << KPF_COMPOUND_HEAD; in stable_page_flags() 143 u |= 1 << KPF_COMPOUND_TAIL; in stable_page_flags() 145 u |= 1 << KPF_HUGE; in stable_page_flags() 156 u |= 1 << KPF_THP; in stable_page_flags() 158 u |= 1 << KPF_ZERO_PAGE; in stable_page_flags() [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 | 264 unsigned char u[8]; in orangefs_khandle_to_ino() member 268 ihandle.u[0] = khandle->u[0] ^ khandle->u[4]; in orangefs_khandle_to_ino() 269 ihandle.u[1] = khandle->u[1] ^ khandle->u[5]; in orangefs_khandle_to_ino() 270 ihandle.u[2] = khandle->u[2] ^ khandle->u[6]; in orangefs_khandle_to_ino() 271 ihandle.u[3] = khandle->u[3] ^ khandle->u[7]; in orangefs_khandle_to_ino() 272 ihandle.u[4] = khandle->u[12] ^ khandle->u[8]; in orangefs_khandle_to_ino() 273 ihandle.u[5] = khandle->u[13] ^ khandle->u[9]; in orangefs_khandle_to_ino() 274 ihandle.u[6] = khandle->u[14] ^ khandle->u[10]; in orangefs_khandle_to_ino() 275 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/erofs/ |
D | zdata.h | 96 } u; member 117 union z_erofs_onlinepage_converter u; in z_erofs_onlinepage_index() local 120 u.v = &page_private(page); in z_erofs_onlinepage_index() 122 return atomic_read(u.o) >> Z_EROFS_ONLINEPAGE_INDEX_SHIFT; in z_erofs_onlinepage_index() 131 } u = { .o = ATOMIC_INIT(1) }; in z_erofs_onlinepage_init() local 133 set_page_private(page, u.v); in z_erofs_onlinepage_init() 141 union z_erofs_onlinepage_converter u = { .v = &page_private(page) }; in z_erofs_onlinepage_fixup() local 145 orig = atomic_read(u.o); in z_erofs_onlinepage_fixup() 156 if (atomic_cmpxchg(u.o, orig, val) != orig) in z_erofs_onlinepage_fixup() 162 union z_erofs_onlinepage_converter u; in z_erofs_onlinepage_endio() local [all …]
|
/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 123 #define di_xtroot u._file._u2._xtroot 124 #define di_dxd u._file._u2._special._dxd 126 #define di_inlinedata u._file._u2._special._u 127 #define di_rdev u._file._u2._special._u._rdev 128 #define di_fastsymlink u._file._u2._special._u._fastsymlink 129 #define di_inlineea u._file._u2._special._inlineea 130 #define di_inline_all u._file._u2._special._inline_all [all …]
|
D | jfs_incore.h | 93 } 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 106 #define i_inline_all u.link._inline_all
|
/fs/nfsd/ |
D | xdr4.h | 114 } u; member 122 #define cr_datalen u.link.datalen 123 #define cr_data u.link.data 124 #define cr_first u.link.first 125 #define cr_specdata1 u.dev.specdata1 126 #define cr_specdata2 u.dev.specdata2 178 } u; member 188 #define lk_resp_stateid u.ok.stateid 189 #define lk_denied u.denied 671 } u; member [all …]
|
D | nfs4proc.c | 365 union nfsd4_op_u *u) in nfsd4_open() argument 367 struct nfsd4_open *open = &u->open; in nfsd4_open() 492 struct nfsd4_open *open = &op->u.open; in nfsd4_open_omfg() 499 return nfsd4_open(rqstp, cstate, &op->u); in nfsd4_open_omfg() 507 union nfsd4_op_u *u) in nfsd4_getfh() argument 509 u->getfh = &cstate->current_fh; in nfsd4_getfh() 515 union nfsd4_op_u *u) in nfsd4_putfh() argument 517 struct nfsd4_putfh *putfh = &u->putfh; in nfsd4_putfh() 536 union nfsd4_op_u *u) in nfsd4_putrootfh() argument 547 union nfsd4_op_u *u) in nfsd4_restorefh() argument [all …]
|
D | nfs4state.c | 1762 static void nfsd4_conn_lost(struct svc_xpt_user *u) in nfsd4_conn_lost() argument 1764 struct nfsd4_conn *c = container_of(u, struct nfsd4_conn, cn_xpt_user); in nfsd4_conn_lost() 3122 union nfsd4_op_u *u) in nfsd4_exchange_id() argument 3124 struct nfsd4_exchange_id *exid = &u->exchange_id; in nfsd4_exchange_id() 3262 new->cl_spo_must_allow.u.words[0] = exid->spo_must_allow[0]; in nfsd4_exchange_id() 3263 new->cl_spo_must_allow.u.words[1] = exid->spo_must_allow[1]; in nfsd4_exchange_id() 3430 struct nfsd4_compound_state *cstate, union nfsd4_op_u *u) in nfsd4_create_session() argument 3432 struct nfsd4_create_session *cr_ses = &u->create_session; in nfsd4_create_session() 3562 union nfsd4_op_u *u) in nfsd4_backchannel_ctl() argument 3564 struct nfsd4_backchannel_ctl *bc = &u->backchannel_ctl; in nfsd4_backchannel_ctl() [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()
|
/fs/btrfs/ |
D | struct-funcs.c | 56 u##bits btrfs_get_token_##bits(struct btrfs_map_token *token, \ 63 const int size = sizeof(u##bits); \ 64 u8 lebytes[sizeof(u##bits)]; \ 85 u##bits btrfs_get_##bits(const struct extent_buffer *eb, \ 92 const int size = sizeof(u##bits); \ 94 u8 lebytes[sizeof(u##bits)]; \ 107 u##bits val) \ 113 const int size = sizeof(u##bits); \ 114 u8 lebytes[sizeof(u##bits)]; \ 138 unsigned long off, u##bits val) \ [all …]
|
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 | 48 fatent->u.ent12_p[0] = bhs[0]->b_data + offset; in fat12_ent_set_ptr() 49 fatent->u.ent12_p[1] = bhs[0]->b_data + (offset + 1); in fat12_ent_set_ptr() 52 fatent->u.ent12_p[0] = bhs[0]->b_data + offset; in fat12_ent_set_ptr() 53 fatent->u.ent12_p[1] = bhs[1]->b_data; in fat12_ent_set_ptr() 60 fatent->u.ent16_p = (__le16 *)(fatent->bhs[0]->b_data + offset); in fat16_ent_set_ptr() 66 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 …]
|
/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() 311 de->u.valid = 1; in afs_edit_dir_add() 312 de->u.unused[0] = 0; in afs_edit_dir_add() 313 de->u.hash_next = 0; // TODO: Really need to maintain this in afs_edit_dir_add() 314 de->u.vnode = htonl(new_fid->vnode); in afs_edit_dir_add() 315 de->u.unique = htonl(new_fid->unique); in afs_edit_dir_add() 316 memcpy(de->u.name, name->name, name->len + 1); in afs_edit_dir_add() 317 de->u.name[name->len] = 0; in afs_edit_dir_add() [all …]
|
/fs/ntfs/ |
D | file.c | 585 unsigned blocksize, u; in ntfs_prepare_pages_for_non_resident_write() local 608 u = 0; in ntfs_prepare_pages_for_non_resident_write() 610 page = pages[u]; in ntfs_prepare_pages_for_non_resident_write() 621 } while (++u < nr_pages); in ntfs_prepare_pages_for_non_resident_write() 636 u = 0; in ntfs_prepare_pages_for_non_resident_write() 638 page = pages[u]; in ntfs_prepare_pages_for_non_resident_write() 1173 if (likely(!err && ++u < nr_pages)) in ntfs_prepare_pages_for_non_resident_write() 1212 u = 0; in ntfs_prepare_pages_for_non_resident_write() 1214 bh = head = page_buffers(pages[u]); in ntfs_prepare_pages_for_non_resident_write() 1219 } while (++u < nr_pages); in ntfs_prepare_pages_for_non_resident_write() [all …]
|
/fs/crypto/ |
D | keyring.c | 260 unsigned long i = get_unaligned((unsigned long *)&mk_spec->u); in fscrypt_mk_hash_bucket() 297 memcmp(mk->mk_spec.u.descriptor, in fscrypt_find_master_key() 298 mk_spec->u.descriptor, in fscrypt_find_master_key() 308 memcmp(mk->mk_spec.u.identifier, in fscrypt_find_master_key() 309 mk_spec->u.identifier, in fscrypt_find_master_key() 328 mk->mk_spec.u.identifier); in allocate_master_key_users_keyring() 349 format_mk_user_description(description, mk->mk_spec.u.identifier); in find_master_key_user() 378 format_mk_user_description(description, mk->mk_spec.u.identifier); in add_master_key_user() 567 key_spec->u.identifier, in add_master_key() 767 copy_to_user(uarg->key_spec.u.identifier, arg.key_spec.u.identifier, in fscrypt_ioctl_add_key() [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() 243 ent_oi->u = ent_data; in openpromfs_lookup() 260 inode->i_size = ent_oi->u.prop->length; in openpromfs_lookup() 273 struct device_node *dp = oi->u.node; in openpromfs_readdir() 397 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/ntfs3/ |
D | dir.c | 119 unicode_t u; in _utf8s_to_utf16s() local 124 size = utf8_to_utf32(s, inlen, &u); in _utf8s_to_utf16s() 130 if (u >= PLANE_SIZE) { in _utf8s_to_utf16s() 134 u -= PLANE_SIZE; in _utf8s_to_utf16s() 137 ((u >> 10) & SURROGATE_BITS), in _utf8s_to_utf16s() 141 (u & SURROGATE_BITS), in _utf8s_to_utf16s() 148 put_utf16(op++, u, endian); in _utf8s_to_utf16s()
|
/fs/dlm/ |
D | util.c | 27 hd->u.h_lockspace = cpu_to_le32(hd->u.h_lockspace); in header_out() 36 hd->u.h_lockspace = le32_to_cpu(hd->u.h_lockspace); in header_in()
|