Home
last modified time | relevance | path

Searched refs:type (Results 1 – 25 of 732) sorted by relevance

12345678910>>...30

/fs/orangefs/
A Dorangefs-cache.c49 __s32 type = new_op->upcall.type; in get_opname_string() local
51 if (type == ORANGEFS_VFS_OP_FILE_IO) in get_opname_string()
53 else if (type == ORANGEFS_VFS_OP_LOOKUP) in get_opname_string()
55 else if (type == ORANGEFS_VFS_OP_CREATE) in get_opname_string()
59 else if (type == ORANGEFS_VFS_OP_REMOVE) in get_opname_string()
61 else if (type == ORANGEFS_VFS_OP_MKDIR) in get_opname_string()
71 else if (type == ORANGEFS_VFS_OP_RENAME) in get_opname_string()
91 else if (type == ORANGEFS_VFS_OP_PARAM) in get_opname_string()
97 else if (type == ORANGEFS_VFS_OP_FSYNC) in get_opname_string()
99 else if (type == ORANGEFS_VFS_OP_FSKEY) in get_opname_string()
[all …]
A Dacl.c13 struct posix_acl *orangefs_get_acl(struct inode *inode, int type, bool rcu) in orangefs_get_acl() argument
22 switch (type) { in orangefs_get_acl()
30 gossip_err("orangefs_get_acl: bogus value of type %d\n", type); in orangefs_get_acl()
48 type); in orangefs_get_acl()
74 switch (type) { in __orangefs_set_acl()
82 gossip_err("%s: invalid type %d!\n", __func__, type); in __orangefs_set_acl()
90 type); in __orangefs_set_acl()
117 set_cached_acl(inode, type, acl); in __orangefs_set_acl()
122 struct posix_acl *acl, int type) in orangefs_set_acl() argument
131 if (type == ACL_TYPE_ACCESS && acl) { in orangefs_set_acl()
[all …]
/fs/bcachefs/
A Dsix.h209 return six_trylock_ip(lock, type, _THIS_IP_); in six_trylock_type()
291 return six_relock_ip(lock, type, seq, _THIS_IP_); in six_relock_type()
312 six_unlock_ip(lock, type, _THIS_IP_); in six_unlock_type()
315 #define __SIX_LOCK(type) \ argument
318 return six_trylock_ip(lock, SIX_LOCK_##type, ip); \
323 return six_trylock_ip(lock, SIX_LOCK_##type, _THIS_IP_); \
343 return six_relock_ip(lock, SIX_LOCK_##type, seq, ip); \
351 static inline int six_lock_##type(struct six_lock *lock, \
354 return six_lock_ip_##type(lock, fn, p, _THIS_IP_); \
359 six_unlock_ip(lock, SIX_LOCK_##type, ip); \
[all …]
A Dsix.c87 if (type != SIX_LOCK_intent) in six_set_owner()
302 if (type != SIX_LOCK_write) in six_trylock_ip()
354 if (type == SIX_LOCK_write) in six_optimistic_spin()
424 wait->lock_want = type; in six_lock_slowpath()
549 if (type != SIX_LOCK_write) in six_lock_ip_waiter()
569 if (type == SIX_LOCK_intent) in do_six_unlock_type()
579 u32 v = l[type].lock_val; in do_six_unlock_type()
581 if (type != SIX_LOCK_read) in do_six_unlock_type()
614 if (type != SIX_LOCK_write) in six_unlock_ip()
629 if (type == SIX_LOCK_write) in six_unlock_ip()
[all …]
A Dchecksum.h15 switch (type) { in bch2_checksum_mergeable()
49 enum bch_csum_type type, in bch2_csum_to_text() argument
53 unsigned bytes = type < BCH_CSUM_NR ? bch_crc_bytes[type] : 16; in bch2_csum_to_text()
60 enum bch_csum_type type, in bch2_csum_err_msg() argument
65 bch2_prt_csum_type(out, type); in bch2_csum_err_msg()
67 bch2_csum_to_text(out, type, got); in bch2_csum_err_msg()
69 bch2_csum_to_text(out, type, expected); in bch2_csum_err_msg()
97 return bch2_csum_type_is_encryption(type) in bch2_encrypt_bio()
118 switch (type) { in bch2_csum_opt_to_type()
155 unsigned type) in bch2_checksum_type_valid() argument
[all …]
A Dbkey_methods.c166 return type == BKEY_TYPE_btree ? "internal btree node" : bch2_btree_id_str(type - 1); in bch2_btree_node_type_str()
183 if (type >= BKEY_TYPE_NR) in __bch2_bkey_validate()
187 ? bch2_bkey_type_flags[k.k->type] in __bch2_bkey_validate()
192 type == BKEY_TYPE_btree || in __bch2_bkey_validate()
197 k.k->type < KEY_TYPE_MAX && in __bch2_bkey_validate()
198 !(bch2_key_types_allowed[type] & BIT_ULL(k.k->type)), in __bch2_bkey_validate()
202 k.k->type < KEY_TYPE_MAX in __bch2_bkey_validate()
203 ? bch2_bkey_types[k.k->type] in __bch2_bkey_validate()
221 if (type != BKEY_TYPE_btree) { in __bch2_bkey_validate()
222 enum btree_id btree = type - 1; in __bch2_bkey_validate()
[all …]
A Dextents_format.h95 __u32 type:2, member
111 type:2;
120 __u64 type:3, member
136 type:3;
146 __u64 type:4, member
160 type:4;
173 __u64 type:1, member
187 type:1;
193 __u64 type:5, member
201 type:5;
[all …]
/fs/smb/client/
A Dcifs_debug.h67 } else if ((type) & VFS) { \
74 #define cifs_dbg(type, fmt, ...) \ argument
76 if ((type) & ONCE) \
89 } else if ((type) & VFS) { \
99 #define cifs_server_dbg(type, fmt, ...) \ argument
101 if ((type) & ONCE) \
116 } else if ((type) & VFS) { \
123 #define cifs_tcon_dbg(type, fmt, ...) \ argument
125 if ((type) & ONCE) \
137 #define cifs_dbg(type, fmt, ...) \ argument
[all …]
A Dnetlink.c17 [CIFS_GENL_ATTR_SWN_REGISTRATION_ID] = { .type = NLA_U32 },
18 [CIFS_GENL_ATTR_SWN_NET_NAME] = { .type = NLA_STRING },
19 [CIFS_GENL_ATTR_SWN_SHARE_NAME] = { .type = NLA_STRING },
21 [CIFS_GENL_ATTR_SWN_NET_NAME_NOTIFY] = { .type = NLA_FLAG },
23 [CIFS_GENL_ATTR_SWN_IP_NOTIFY] = { .type = NLA_FLAG },
24 [CIFS_GENL_ATTR_SWN_KRB_AUTH] = { .type = NLA_FLAG },
25 [CIFS_GENL_ATTR_SWN_USER_NAME] = { .type = NLA_STRING },
26 [CIFS_GENL_ATTR_SWN_PASSWORD] = { .type = NLA_STRING },
27 [CIFS_GENL_ATTR_SWN_DOMAIN_NAME] = { .type = NLA_STRING },
29 [CIFS_GENL_ATTR_SWN_RESOURCE_STATE] = { .type = NLA_U32 },
[all …]
/fs/ocfs2/
A Dsysfile.c27 int type,
37 type <= OCFS2_LAST_GLOBAL_SYSTEM_INODE; in is_global_system_inode()
41 int type, in get_local_system_inode() argument
83 (type - OCFS2_FIRST_LOCAL_SYSTEM_INODE); in get_local_system_inode()
89 int type, in ocfs2_get_system_file_inode() argument
96 if (is_global_system_inode(type)) { in ocfs2_get_system_file_inode()
97 arr = &(osb->global_system_inodes[type]); in ocfs2_get_system_file_inode()
124 int type, in _ocfs2_get_system_file_inode() argument
134 type, slot); in _ocfs2_get_system_file_inode()
151 type == JOURNAL_SYSTEM_INODE) { in _ocfs2_get_system_file_inode()
[all …]
A Dquota_local.c179 type); in ocfs2_local_check_quota_file()
186 lmagics[type], type); in ocfs2_local_check_quota_file()
192 lversions[type], type); in ocfs2_local_check_quota_file()
225 type); in ocfs2_local_check_quota_file()
330 int type; in ocfs2_free_quota_recovery() local
332 for (type = 0; type < OCFS2_MAXQUOTAS; type++) in ocfs2_free_quota_recovery()
378 for (type = 0; type < OCFS2_MAXQUOTAS; type++) in ocfs2_alloc_quota_recovery()
409 for (type = 0; type < OCFS2_MAXQUOTAS; type++) { in ocfs2_begin_quota_recovery()
601 for (type = 0; type < OCFS2_MAXQUOTAS; type++) { in ocfs2_finish_quota_recovery()
1219 int type = dquot->dq_id.type; in ocfs2_create_local_dquot() local
[all …]
A Dquota_global.c361 type); in ocfs2_global_read_info()
494 int type = dquot->dq_id.type; in __ocfs2_sync_dquot() local
614 type, sb->s_id); in ocfs2_sync_dquot_helper()
615 if (type != dquot->dq_id.type) in ocfs2_sync_dquot_helper()
677 dquot->dq_id.type); in ocfs2_write_dquot()
739 dquot->dq_id.type); in ocfs2_release_dquot()
815 int type = dquot->dq_id.type; in ocfs2_acquire_dquot() local
822 type); in ocfs2_acquire_dquot()
896 int type = qid->type; in ocfs2_get_next_id() local
936 int type = dquot->dq_id.type; in ocfs2_mark_dquot_dirty() local
[all …]
/fs/vboxsf/
A Dvboxsf_wrappers.c26 loc.type = VMMDEV_HGCM_LOC_LOCALHOST_EXISTING; in vboxsf_connect()
84 parms.root.type = VMMDEV_HGCM_PARM_TYPE_32BIT; in vboxsf_map_folder()
106 parms.root.type = VMMDEV_HGCM_PARM_TYPE_32BIT; in vboxsf_unmap_folder()
135 parms.root.type = VMMDEV_HGCM_PARM_TYPE_32BIT; in vboxsf_create()
153 parms.root.type = VMMDEV_HGCM_PARM_TYPE_32BIT; in vboxsf_close()
166 parms.root.type = VMMDEV_HGCM_PARM_TYPE_32BIT; in vboxsf_remove()
184 parms.root.type = VMMDEV_HGCM_PARM_TYPE_32BIT; in vboxsf_rename()
213 parms.cb.type = VMMDEV_HGCM_PARM_TYPE_32BIT; in vboxsf_read()
237 parms.cb.type = VMMDEV_HGCM_PARM_TYPE_32BIT; in vboxsf_write()
264 parms.cb.type = VMMDEV_HGCM_PARM_TYPE_32BIT; in vboxsf_dirinfo()
[all …]
/fs/quota/
A Dquota.c56 int type = *(int *)arg; in quota_sync_one() local
75 switch (type) { in qtype_enforce_flag()
131 tstate = state.s_state + type; in quota_getinfo()
671 int type, qid_t id) in copy_to_xfs_dqblk() argument
679 if (type == USRQUOTA) in copy_to_xfs_dqblk()
681 else if (type == PRJQUOTA) in copy_to_xfs_dqblk()
772 type = array_index_nospec(type, MAXQUOTAS); in do_quotactl()
920 uint cmds, type; in SYSCALL_DEFINE4() local
926 type = cmd & SUBCMDMASK; in SYSCALL_DEFINE4()
928 if (type >= MAXQUOTAS) in SYSCALL_DEFINE4()
[all …]
A Dquota_v1.c58 int type = dquot->dq_id.type; in v1_read_dqblk() local
62 if (!dqopt->files[type]) in v1_read_dqblk()
84 short type = dquot->dq_id.type; in v1_commit_dqblk() local
92 sb_dqopt(dquot->dq_sb)->info[type].dqi_bgrace; in v1_commit_dqblk()
94 sb_dqopt(dquot->dq_sb)->info[type].dqi_igrace; in v1_commit_dqblk()
97 if (sb_dqopt(dquot->dq_sb)->files[type]) in v1_commit_dqblk()
129 struct inode *inode = sb_dqopt(sb)->files[type]; in v1_check_quota_file()
179 dqopt->info[type].dqi_igrace = in v1_read_file_info()
181 dqopt->info[type].dqi_bgrace = in v1_read_file_info()
206 dqopt->info[type].dqi_flags &= ~DQF_INFO_DIRTY; in v1_write_file_info()
[all …]
A Ddquot.c277 int type = qid.type; in hashfn() local
582 if (dquot->dq_id.type != type) in invalidate_dquots()
694 if (type != -1 && cnt != type) in dquot_writeback_dquots()
768 if (type != -1 && cnt != type) in dquot_quota_sync()
1476 if (type != -1 && cnt != type) in __dquot_initialize()
2589 for (type = 0; type < MAXQUOTAS; type++) { in dquot_quota_enable()
2609 for (type--; type >= 0; type--) { in dquot_quota_enable()
2634 for (type = 0; type < MAXQUOTAS; type++) in dquot_quota_disable()
2640 for (type = 0; type < MAXQUOTAS; type++) { in dquot_quota_disable()
2650 for (type--; type >= 0; type--) { in dquot_quota_disable()
[all …]
A Dkqid.c15 if (left.type != right.type) in qid_eq()
17 switch(left.type) { in qid_eq()
39 if (left.type < right.type) in qid_lt()
41 if (left.type > right.type) in qid_lt()
43 switch (left.type) { in qid_lt()
70 switch (kqid.type) { in from_kqid()
103 switch (kqid.type) { in from_kqid_munged()
122 switch (qid.type) { in qid_valid()
/fs/xfs/libxfs/
A Dxfs_ag_resv.c71 enum xfs_ag_resv_type type) in xfs_ag_resv_critical() argument
77 switch (type) { in xfs_ag_resv_critical()
107 enum xfs_ag_resv_type type) in xfs_ag_resv_needed() argument
112 switch (type) { in xfs_ag_resv_needed()
134 enum xfs_ag_resv_type type) in __xfs_ag_resv_free() argument
171 enum xfs_ag_resv_type type, in __xfs_ag_resv_init() argument
183 switch (type) { in __xfs_ag_resv_init()
340 enum xfs_ag_resv_type type, in xfs_ag_resv_alloc_extent() argument
349 switch (type) { in xfs_ag_resv_alloc_extent()
383 enum xfs_ag_resv_type type, in xfs_ag_resv_free_extent() argument
[all …]
A Dxfs_group.c35 enum xfs_group_type type) in xfs_group_get() argument
40 xg = xa_load(&mp->m_groups[type].xa, index); in xfs_group_get()
76 enum xfs_group_type type) in xfs_group_grab() argument
104 enum xfs_group_type type) in xfs_group_next_range() argument
114 return xfs_group_grab(mp, index, type); in xfs_group_next_range()
125 enum xfs_group_type type) in xfs_group_grab_next_mark() argument
157 enum xfs_group_type type, in xfs_group_free() argument
185 enum xfs_group_type type) in xfs_group_insert() argument
191 xg->xg_type = type; in xfs_group_insert()
227 enum xfs_group_type type) in xfs_group_get_by_fsb() argument
[all …]
/fs/ocfs2/dlm/
A Ddlmconvert.c44 int type, int *call_ast,
114 lock->ml.type, lock->ml.convert_type, type); in __dlmconvert_master()
135 switch (lock->ml.type) { in __dlmconvert_master()
146 if (type > LKM_NLMODE) { in __dlmconvert_master()
165 if (type <= lock->ml.type) in __dlmconvert_master()
173 if (!dlm_lock_compatible(tmplock->ml.type, type)) in __dlmconvert_master()
178 if (!dlm_lock_compatible(tmplock->ml.type, type)) in __dlmconvert_master()
194 lock->ml.type = type; in __dlmconvert_master()
212 lock->ml.type, type); in __dlmconvert_master()
219 lock->ml.convert_type = type; in __dlmconvert_master()
[all …]
/fs/f2fs/
A Dextent_cache.c78 enum extent_type type) in __set_extent_info() argument
83 if (type == EX_READ) { in __set_extent_info()
98 if (type == EX_READ) in __init_may_extent_tree()
122 if (type == EX_READ) { in __may_extent_tree()
140 if (et->type != EX_READ) in __try_update_largest_extent()
152 if (type == EX_READ) { in __is_extent_mergeable()
362 et->type = type; in __grab_extent_tree()
531 if (type == EX_READ) in __lookup_extent_tree()
667 if (type == EX_READ) in __update_extent_tree_range()
728 type); in __update_extent_tree_range()
[all …]
A Diostat.c21 enum iostat_type type) in iostat_get_avg_bytes() argument
23 return sbi->iostat_count[type] ? div64_u64(sbi->iostat_bytes[type], in iostat_get_avg_bytes()
24 sbi->iostat_count[type]) : 0; in iostat_get_avg_bytes()
30 sbi->iostat_count[type], \
165 sbi->iostat_count[type]++; in __f2fs_update_iostat()
179 if (type == APP_BUFFERED_IO || type == APP_DIRECT_IO) in f2fs_update_iostat()
182 if (type == APP_BUFFERED_READ_IO || type == APP_DIRECT_READ_IO) in f2fs_update_iostat()
187 if (type == APP_BUFFERED_IO) in f2fs_update_iostat()
196 if (type == APP_MAPPED_IO) in f2fs_update_iostat()
202 if (type == FS_DATA_IO) in f2fs_update_iostat()
[all …]
/fs/notify/
A Dmark.c332 unsigned int *type) in fsnotify_detach_connector_from_object() argument
338 *type = conn->type; in fsnotify_detach_connector_from_object()
419 type = conn->type; in fsnotify_put_mark()
424 fsnotify_drop_object(type, objp); in fsnotify_put_mark()
496 int type; in fsnotify_prepare_user_wait() local
516 for (type--; type >= 0; type--) in fsnotify_prepare_user_wait()
524 int type; in fsnotify_finish_user_wait() local
527 fsnotify_foreach_iter_type(type) in fsnotify_finish_user_wait()
670 conn->type = obj_type; in fsnotify_attach_connector_to_object()
934 unsigned int type; in fsnotify_destroy_marks() local
[all …]
/fs/exfat/
A Ddir.c82 if (ei->type != TYPE_DIR) in exfat_readdir()
128 if (type != TYPE_FILE && type != TYPE_DIR) { in exfat_readdir()
380 ep->type = EXFAT_UNUSED; in exfat_set_entry_type()
384 ep->type = EXFAT_STREAM; in exfat_set_entry_type()
386 ep->type = EXFAT_NAME; in exfat_set_entry_type()
388 ep->type = EXFAT_BITMAP; in exfat_set_entry_type()
390 ep->type = EXFAT_UPCASE; in exfat_set_entry_type()
392 ep->type = EXFAT_VOLUME; in exfat_set_entry_type()
394 ep->type = EXFAT_FILE; in exfat_set_entry_type()
397 ep->type = EXFAT_FILE; in exfat_set_entry_type()
[all …]
/fs/btrfs/
A Duuid-tree.c20 key->type = type; in btrfs_uuid_to_key()
27 u8 type, u64 subid) in btrfs_uuid_tree_lookup() argument
48 btrfs_uuid_to_key(uuid, type, &key); in btrfs_uuid_tree_lookup()
108 btrfs_uuid_to_key(uuid, type, &key); in btrfs_uuid_tree_add()
169 btrfs_uuid_to_key(uuid, type, &key); in btrfs_uuid_tree_remove()
276 switch (type) { in btrfs_check_uuid_tree_entry()
310 key.type = 0; in btrfs_uuid_tree_iterate()
354 key.type, subid_cpu); in btrfs_uuid_tree_iterate()
415 key.type = BTRFS_ROOT_ITEM_KEY; in btrfs_uuid_scan_kthread()
506 key.type = BTRFS_ROOT_ITEM_KEY; in btrfs_uuid_scan_kthread()
[all …]

Completed in 59 milliseconds

12345678910>>...30