Home
last modified time | relevance | path

Searched refs:fcd (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/fs/fuse/
Ddax.c105 alloc_dax_mapping_reclaim(struct fuse_conn_dax *fcd, struct inode *inode);
108 __kick_dmap_free_worker(struct fuse_conn_dax *fcd, unsigned long delay_ms) in __kick_dmap_free_worker() argument
113 free_threshold = max_t(unsigned long, fcd->nr_ranges * FUSE_DAX_RECLAIM_THRESHOLD / 100, in __kick_dmap_free_worker()
115 if (fcd->nr_free_ranges < free_threshold) in __kick_dmap_free_worker()
116 queue_delayed_work(system_long_wq, &fcd->free_work, in __kick_dmap_free_worker()
120 static void kick_dmap_free_worker(struct fuse_conn_dax *fcd, in kick_dmap_free_worker() argument
123 spin_lock(&fcd->lock); in kick_dmap_free_worker()
124 __kick_dmap_free_worker(fcd, delay_ms); in kick_dmap_free_worker()
125 spin_unlock(&fcd->lock); in kick_dmap_free_worker()
128 static struct fuse_dax_mapping *alloc_dax_mapping(struct fuse_conn_dax *fcd) in alloc_dax_mapping() argument
[all …]
/kernel/linux/linux-5.10/fs/ext4/
Dfast_commit.c735 struct ext4_fc_dentry_info fcd; in ext4_fc_add_dentry_tlv() local
737 u8 *dst = ext4_fc_reserve_space(sb, sizeof(tl) + sizeof(fcd) + dlen, in ext4_fc_add_dentry_tlv()
743 fcd.fc_parent_ino = cpu_to_le32(parent_ino); in ext4_fc_add_dentry_tlv()
744 fcd.fc_ino = cpu_to_le32(ino); in ext4_fc_add_dentry_tlv()
746 tl.fc_len = cpu_to_le16(sizeof(fcd) + dlen); in ext4_fc_add_dentry_tlv()
749 ext4_fc_memcpy(sb, dst, &fcd, sizeof(fcd), crc); in ext4_fc_add_dentry_tlv()
750 dst += sizeof(fcd); in ext4_fc_add_dentry_tlv()
1261 struct ext4_fc_dentry_info fcd; in tl_to_darg() local
1263 memcpy(&fcd, val, sizeof(fcd)); in tl_to_darg()
1265 darg->parent_ino = le32_to_cpu(fcd.fc_parent_ino); in tl_to_darg()
[all …]