Home
last modified time | relevance | path

Searched refs:update (Results 1 – 25 of 43) sorted by relevance

12

/fs/bcachefs/
A Dbtree_update.c40 struct bkey_i *update; in extent_front_merge() local
47 ret = PTR_ERR_OR_ZERO(update); in extent_front_merge()
65 *insert = update; in extent_front_merge()
150 bkey_init(&update->k); in __bch2_insert_snapshot_whiteouts()
151 update->k.p = pos; in __bch2_insert_snapshot_whiteouts()
174 struct bkey_i *update; in bch2_trans_update_extent_overwrite() local
200 old.k->p, update->k.p) ?: in bch2_trans_update_extent_overwrite()
217 old.k->p, update->k.p) ?: in bch2_trans_update_extent_overwrite()
225 update = bch2_trans_kmalloc(trans, sizeof(*update)); in bch2_trans_update_extent_overwrite()
229 bkey_init(&update->k); in bch2_trans_update_extent_overwrite()
[all …]
A Ddata_update.c526 kfree(update->bvecs); in bch2_data_update_exit()
527 update->bvecs = NULL; in bch2_data_update_exit()
549 bch2_keylist_init(&update->op.insert_keys, update->op.inline_keys); in bch2_update_unwritten_extent()
551 while (bpos_lt(update->op.pos, update->k.k->k.p)) { in bch2_update_unwritten_extent()
553 update->op.pos.offset; in bch2_update_unwritten_extent()
557 bch2_trans_iter_init(trans, &iter, update->btree_id, update->op.pos, in bch2_update_unwritten_extent()
569 e->k.p = update->op.pos; in bch2_update_unwritten_extent()
572 update->op.target, in bch2_update_unwritten_extent()
574 update->op.write_point, in bch2_update_unwritten_extent()
575 &update->op.devs_have, in bch2_update_unwritten_extent()
[all …]
A Dalloc_background.c1282 struct bkey_i *update = in bch2_check_alloc_hole_freespace() local
1283 bch2_trans_kmalloc(trans, sizeof(*update)); in bch2_check_alloc_hole_freespace()
1285 ret = PTR_ERR_OR_ZERO(update); in bch2_check_alloc_hole_freespace()
1289 bkey_init(&update->k); in bch2_check_alloc_hole_freespace()
1290 update->k.type = KEY_TYPE_set; in bch2_check_alloc_hole_freespace()
1291 update->k.p = freespace_iter->pos; in bch2_check_alloc_hole_freespace()
1292 bch2_key_resize(&update->k, in bch2_check_alloc_hole_freespace()
1296 ret = bch2_trans_update(trans, freespace_iter, update, 0); in bch2_check_alloc_hole_freespace()
A Dbtree_update_interior.h19 x(update)
/fs/sysfs/
A Dgroup.c47 const struct attribute_group *grp, int update) in create_files() argument
62 if (update) in create_files()
92 if (update) in create_files()
131 if (WARN_ON(!kobj || (!update && !kobj->sd))) in internal_create_group()
135 if (unlikely(update && !kobj->sd)) in internal_create_group()
153 if (update) { in internal_create_group()
159 update = 0; in internal_create_group()
167 if (!update) { in internal_create_group()
183 error = create_files(kn, kobj, uid, gid, grp, update); in internal_create_group()
190 if (grp->name && update) in internal_create_group()
[all …]
/fs/btrfs/
A Ddelayed-ref.c636 struct btrfs_delayed_ref_head *update) in update_existing_head_ref() argument
655 if (update->must_insert_reserved) { in update_existing_head_ref()
670 existing->num_bytes = update->num_bytes; in update_existing_head_ref()
674 if (update->extent_op) { in update_existing_head_ref()
676 existing->extent_op = update->extent_op; in update_existing_head_ref()
678 if (update->extent_op->update_key) { in update_existing_head_ref()
680 &update->extent_op->key, in update_existing_head_ref()
681 sizeof(update->extent_op->key)); in update_existing_head_ref()
684 if (update->extent_op->update_flags) { in update_existing_head_ref()
686 update->extent_op->flags_to_set; in update_existing_head_ref()
[all …]
/fs/afs/
A Dvalidation.c268 time64_t old = op->pre_volsync.update; in afs_update_volume_update_time()
269 time64_t new = op->volsync.update; in afs_update_volume_update_time()
308 op->volsync.update == volume->update_time)) in afs_update_volume_times()
317 if (op->volsync.update != volume->update_time) in afs_update_volume_times()
340 if (op->volsync.creation != TIME64_MIN || op->volsync.update != TIME64_MIN) { in afs_update_volume_state()
A Dafs.h169 time64_t update; /* Volume update time (or TIME64_MIN) */ member
A Dvolume.c435 goto update; in afs_check_volume_status()
439 update: in afs_check_volume_status()
A Dserver.c599 goto update; in afs_check_server_record()
603 update: in afs_check_server_record()
A Dyfsclient.c248 u64 creation, update; in xdr_decode_YFSVolSync() local
254 update = xdr_to_u64(x->vol_update_date); in xdr_decode_YFSVolSync()
255 do_div(update, 10 * 1000 * 1000); in xdr_decode_YFSVolSync()
256 volsync->update = update; in xdr_decode_YFSVolSync()
/fs/ceph/
A Dcache.h24 void ceph_fscache_unuse_cookie(struct inode *inode, bool update);
82 static inline void ceph_fscache_unuse_cookie(struct inode *inode, bool update) in ceph_fscache_unuse_cookie() argument
A Dcache.c55 void ceph_fscache_unuse_cookie(struct inode *inode, bool update) in ceph_fscache_unuse_cookie() argument
59 if (update) { in ceph_fscache_unuse_cookie()
/fs/smb/client/
A Dfscache.h46 extern void cifs_fscache_unuse_inode_cookie(struct inode *inode, bool update);
94 static inline void cifs_fscache_unuse_inode_cookie(struct inode *inode, bool update) {} in cifs_fscache_unuse_inode_cookie() argument
A Dfscache.c149 void cifs_fscache_unuse_inode_cookie(struct inode *inode, bool update) in cifs_fscache_unuse_inode_cookie() argument
151 if (update) { in cifs_fscache_unuse_inode_cookie()
/fs/cachefiles/
A Dinterface.c311 bool update = false; in cachefiles_commit_object() local
314 update = true; in cachefiles_commit_object()
316 update = true; in cachefiles_commit_object()
317 if (update) in cachefiles_commit_object()
/fs/lockd/
A Dsvcshare.c37 goto update; in nlmsvc_share_file()
59 update: in nlmsvc_share_file()
/fs/unicode/
A DREADME.utf8data39 To update to the newer version of the Unicode standard, the latest
54 Unicode Character Database, please update this README.utf8data file
/fs/
A Dinode.c2802 struct timespec64 inode_set_ctime_deleg(struct inode *inode, struct timespec64 update) in inode_set_ctime_deleg() argument
2813 if (timespec64_compare(&update, &cur_ts) <= 0) in inode_set_ctime_deleg()
2819 if (timespec64_compare(&update, &now) > 0) in inode_set_ctime_deleg()
2820 update = now; in inode_set_ctime_deleg()
2822 update = timestamp_truncate(update, inode); in inode_set_ctime_deleg()
2825 if (timespec64_equal(&update, &cur_ts)) in inode_set_ctime_deleg()
2835 if (try_cmpxchg(&inode->i_ctime_nsec, &cur, update.tv_nsec)) { in inode_set_ctime_deleg()
2836 inode->i_ctime_sec = update.tv_sec; in inode_set_ctime_deleg()
2838 return update; in inode_set_ctime_deleg()
/fs/nfs/
A Ddelegation.c427 const struct nfs_delegation *update) in nfs_update_inplace_delegation() argument
429 if (nfs4_stateid_is_newer(&update->stateid, &delegation->stateid)) { in nfs_update_inplace_delegation()
430 delegation->stateid.seqid = update->stateid.seqid; in nfs_update_inplace_delegation()
432 delegation->type = update->type; in nfs_update_inplace_delegation()
433 delegation->pagemod_limit = update->pagemod_limit; in nfs_update_inplace_delegation()
435 delegation->change_attr = update->change_attr; in nfs_update_inplace_delegation()
436 nfs_update_delegation_cred(delegation, update->cred); in nfs_update_inplace_delegation()
/fs/ext4/
A Dfast_commit.c357 bool update = false; in ext4_fc_track_template() local
366 update = true; in ext4_fc_track_template()
371 ret = __fc_track_fn(handle, inode, args, update); in ext4_fc_track_template()
395 void *arg, bool update) in __track_dentry_update() argument
538 bool update) in __track_inode() argument
540 if (update) in __track_inode()
608 bool update) in __track_range() argument
622 if (update && ei->i_fc_lblk_len > 0) { in __track_range()
/fs/adfs/
A Ddir.c284 if (!ops->update) in adfs_dir_update()
292 ret = ops->update(&dir, obj); in adfs_dir_update()
A Dadfs.h131 int (*update)(struct adfs_dir *dir, struct object_info *obj); member
A Ddir_f.c322 .update = adfs_f_update,
/fs/nfsd/
A Dnfs4idmap.c201 .update = ent_init,
371 .update = ent_init,

Completed in 55 milliseconds

12