/fs/ocfs2/dlm/ |
D | dlmlock.c | 305 struct dlm_create_lock create; in dlm_send_remote_lock_request() local 309 memset(&create, 0, sizeof(create)); in dlm_send_remote_lock_request() 310 create.node_idx = dlm->node_num; in dlm_send_remote_lock_request() 311 create.requested_type = lock->ml.type; in dlm_send_remote_lock_request() 312 create.cookie = lock->ml.cookie; in dlm_send_remote_lock_request() 313 create.namelen = res->lockname.len; in dlm_send_remote_lock_request() 314 create.flags = cpu_to_be32(flags); in dlm_send_remote_lock_request() 315 memcpy(create.name, res->lockname.name, create.namelen); in dlm_send_remote_lock_request() 317 tmpret = o2net_send_message(DLM_CREATE_LOCK_MSG, dlm->key, &create, in dlm_send_remote_lock_request() 318 sizeof(create), res->owner, &status); in dlm_send_remote_lock_request() [all …]
|
/fs/bfs/ |
D | file.c | 64 struct buffer_head *bh_result, int create) in bfs_get_block() argument 73 if (!create) { in bfs_get_block() 76 create, (unsigned long)block, phys); in bfs_get_block() 88 create, (unsigned long)block, phys); in bfs_get_block() 107 create, (unsigned long)block, phys); in bfs_get_block() 135 create, (unsigned long)block, phys); in bfs_get_block()
|
/fs/nfsd/ |
D | nfs4proc.c | 600 struct nfsd4_create *create) in nfsd4_create() argument 612 status = check_attr_support(rqstp, cstate, create->cr_bmval, in nfsd4_create() 617 switch (create->cr_type) { in nfsd4_create() 620 create->cr_name, create->cr_namelen, in nfsd4_create() 621 create->cr_data, &resfh); in nfsd4_create() 625 rdev = MKDEV(create->cr_specdata1, create->cr_specdata2); in nfsd4_create() 626 if (MAJOR(rdev) != create->cr_specdata1 || in nfsd4_create() 627 MINOR(rdev) != create->cr_specdata2) in nfsd4_create() 630 create->cr_name, create->cr_namelen, in nfsd4_create() 631 &create->cr_iattr, S_IFBLK, rdev, &resfh); in nfsd4_create() [all …]
|
D | nfs4xdr.c | 601 nfsd4_decode_create(struct nfsd4_compoundargs *argp, struct nfsd4_create *create) in nfsd4_decode_create() argument 606 create->cr_type = be32_to_cpup(p++); in nfsd4_decode_create() 607 switch (create->cr_type) { in nfsd4_decode_create() 610 create->cr_datalen = be32_to_cpup(p++); in nfsd4_decode_create() 611 READ_BUF(create->cr_datalen); in nfsd4_decode_create() 612 create->cr_data = svcxdr_dupstr(argp, p, create->cr_datalen); in nfsd4_decode_create() 613 if (!create->cr_data) in nfsd4_decode_create() 619 create->cr_specdata1 = be32_to_cpup(p++); in nfsd4_decode_create() 620 create->cr_specdata2 = be32_to_cpup(p++); in nfsd4_decode_create() 630 create->cr_namelen = be32_to_cpup(p++); in nfsd4_decode_create() [all …]
|
/fs/xfs/ |
D | xfs_aops.h | 59 struct buffer_head *map_bh, int create); 61 struct buffer_head *map_bh, int create); 63 struct buffer_head *map_bh, int create);
|
D | xfs_aops.c | 1314 int create, in __xfs_get_blocks() argument 1331 BUG_ON(create && !direct); in __xfs_get_blocks() 1340 if (!create && offset >= i_size_read(inode)) in __xfs_get_blocks() 1355 if (create && direct && xfs_is_reflink_inode(ip)) in __xfs_get_blocks() 1367 if (create && direct && nimaps && in __xfs_get_blocks() 1390 if (!create || offset < i_size_read(VFS_I(ip))) { in __xfs_get_blocks() 1399 if (create && in __xfs_get_blocks() 1430 if (IS_DAX(inode) && create) { in __xfs_get_blocks() 1445 (create || !ISUNWRITTEN(&imap))) { in __xfs_get_blocks() 1450 if (create) { in __xfs_get_blocks() [all …]
|
/fs/nfs/ |
D | nfs3proc.c | 271 struct nfs3_createargs create; member 333 data->arg.create.fh = NFS_FH(dir); in nfs3_proc_create() 334 data->arg.create.name = dentry->d_name.name; in nfs3_proc_create() 335 data->arg.create.len = dentry->d_name.len; in nfs3_proc_create() 336 data->arg.create.sattr = sattr; in nfs3_proc_create() 338 data->arg.create.createmode = NFS3_CREATE_UNCHECKED; in nfs3_proc_create() 340 data->arg.create.createmode = NFS3_CREATE_EXCLUSIVE; in nfs3_proc_create() 341 data->arg.create.verifier[0] = cpu_to_be32(jiffies); in nfs3_proc_create() 342 data->arg.create.verifier[1] = cpu_to_be32(current->pid); in nfs3_proc_create() 356 switch (data->arg.create.createmode) { in nfs3_proc_create() [all …]
|
/fs/orangefs/ |
D | namei.c | 35 new_op->upcall.req.create.parent_refn = parent->refn; in orangefs_create() 37 fill_default_sys_attrs(new_op->upcall.req.create.attributes, in orangefs_create() 40 strncpy(new_op->upcall.req.create.d_name, in orangefs_create() 49 &new_op->downcall.resp.create.refn.khandle, in orangefs_create() 50 new_op->downcall.resp.create.refn.fs_id, in orangefs_create() 58 &new_op->downcall.resp.create.refn); in orangefs_create() 459 .create = orangefs_create,
|
/fs/jfs/ |
D | inode.c | 199 struct buffer_head *bh_result, int create) in jfs_get_block() argument 211 if (create) in jfs_get_block() 220 if (!create) in jfs_get_block() 248 if (!create) in jfs_get_block() 277 if (create) in jfs_get_block()
|
/fs/gfs2/ |
D | bmap.c | 384 static inline void bmap_lock(struct gfs2_inode *ip, int create) in bmap_lock() argument 386 if (create) in bmap_lock() 392 static inline void bmap_unlock(struct gfs2_inode *ip, int create) in bmap_unlock() argument 394 if (create) in bmap_unlock() 605 struct buffer_head *bh_map, int create) in gfs2_block_map() argument 624 bmap_lock(ip, create); in gfs2_block_map() 628 trace_gfs2_bmap(ip, bh_map, lblock, create, 1); in gfs2_block_map() 663 trace_gfs2_bmap(ip, bh_map, lblock, create, ret); in gfs2_block_map() 664 bmap_unlock(ip, create); in gfs2_block_map() 669 if (!create) { in gfs2_block_map() [all …]
|
D | trace_gfs2.h | 436 sector_t lblock, int create, int errno), 438 TP_ARGS(ip, bh, lblock, create, errno), 447 __field( int, create ) 458 __entry->create = create; 468 __entry->state, __entry->create ? "create " : "nocreate",
|
/fs/nilfs2/ |
D | alloc.c | 206 int create, in nilfs_palloc_get_block() argument 225 ret = nilfs_mdt_get_block(inode, blkoff, create, init_block, bhp); in nilfs_palloc_get_block() 270 int create, struct buffer_head **bhp) in nilfs_palloc_get_desc_block() argument 276 create, nilfs_palloc_desc_block_init, in nilfs_palloc_get_desc_block() 289 int create, struct buffer_head **bhp) in nilfs_palloc_get_bitmap_block() argument 295 create, NULL, bhp, in nilfs_palloc_get_bitmap_block() 323 int create, struct buffer_head **bhp) in nilfs_palloc_get_entry_block() argument 329 create, NULL, bhp, in nilfs_palloc_get_entry_block()
|
D | sufile.c | 99 int create, struct buffer_head **bhp) in nilfs_sufile_get_segment_usage_block() argument 103 create, NULL, bhp); in nilfs_sufile_get_segment_usage_block() 166 int create, size_t *ndone, in nilfs_sufile_updatev() argument 200 ret = nilfs_mdt_get_block(sufile, blkoff, create, NULL, &bh); in nilfs_sufile_updatev() 216 ret = nilfs_mdt_get_block(sufile, blkoff, create, NULL, &bh); in nilfs_sufile_updatev() 233 int nilfs_sufile_update(struct inode *sufile, __u64 segnum, int create, in nilfs_sufile_update() argument 253 ret = nilfs_sufile_get_segment_usage_block(sufile, segnum, create, &bh); in nilfs_sufile_update()
|
D | cpfile.c | 145 int create, in nilfs_cpfile_get_checkpoint_block() argument 150 create, nilfs_cpfile_block_init, bhp); in nilfs_cpfile_get_checkpoint_block() 225 int create, in nilfs_cpfile_get_checkpoint() argument 236 (cno < nilfs_mdt_cno(cpfile) && create))) in nilfs_cpfile_get_checkpoint() 244 ret = nilfs_cpfile_get_checkpoint_block(cpfile, cno, create, &cp_bh); in nilfs_cpfile_get_checkpoint() 250 if (!create) { in nilfs_cpfile_get_checkpoint()
|
D | mdt.c | 250 int nilfs_mdt_get_block(struct inode *inode, unsigned long blkoff, int create, in nilfs_mdt_get_block() argument 259 ret = nilfs_mdt_read_block(inode, blkoff, !create, out_bh); in nilfs_mdt_get_block() 260 if (!create || ret != -ENOENT) in nilfs_mdt_get_block()
|
/fs/efs/ |
D | file.c | 13 struct buffer_head *bh_result, int create) in efs_get_block() argument 18 if (create) in efs_get_block()
|
/fs/minix/ |
D | itree_v1.c | 53 struct buffer_head *bh_result, int create) in V1_minix_get_block() argument 55 return get_block(inode, block, bh_result, create); in V1_minix_get_block()
|
D | itree_v2.c | 62 struct buffer_head *bh_result, int create) in V2_minix_get_block() argument 64 return get_block(inode, block, bh_result, create); in V2_minix_get_block()
|
/fs/fat/ |
D | cache.c | 328 sector_t *last_block, int create) in is_exceed_eof() argument 336 if (!create) in is_exceed_eof() 353 unsigned long *mapped_blocks, int create, bool from_bmap) in fat_bmap() argument 369 if (is_exceed_eof(inode, sector, &last_block, create)) in fat_bmap()
|
D | inode.c | 113 struct buffer_head *bh_result, int create) in __fat_get_block() argument 121 err = fat_bmap(inode, iblock, &phys, &mapped_blocks, create, false); in __fat_get_block() 129 if (!create) in __fat_get_block() 157 err = fat_bmap(inode, iblock, &phys, &mapped_blocks, create, false); in __fat_get_block() 170 struct buffer_head *bh_result, int create) in fat_get_block() argument 176 err = __fat_get_block(inode, iblock, &max_blocks, bh_result, create); in fat_get_block() 283 struct buffer_head *bh_result, int create) in fat_get_block_bmap() argument 291 BUG_ON(create != 0); in fat_get_block_bmap() 293 err = fat_bmap(inode, iblock, &bmap, &mapped_blocks, create, true); in fat_get_block_bmap()
|
/fs/hfsplus/ |
D | extents.c | 221 struct buffer_head *bh_result, int create) in hfsplus_get_block() argument 235 if (iblock > hip->fs_blocks || !create) in hfsplus_get_block() 243 create = 0; in hfsplus_get_block() 279 if (create) { in hfsplus_get_block() 285 if (create || was_dirty) in hfsplus_get_block()
|
/fs/f2fs/ |
D | data.c | 983 int create, int flag) in f2fs_map_blocks() argument 988 int mode = create ? ALLOC_NODE : LOOKUP_NODE; in f2fs_map_blocks() 1007 if (!create && f2fs_lookup_extent_cache(inode, pgofs, &ei)) { in f2fs_map_blocks() 1017 if (create) in f2fs_map_blocks() 1047 if (create) { in f2fs_map_blocks() 1148 if (create) { in f2fs_map_blocks() 1168 if (create) { in f2fs_map_blocks() 1203 struct buffer_head *bh, int create, int flag, in __get_data_block() argument 1215 err = f2fs_map_blocks(inode, &map, create, flag); in __get_data_block() 1225 struct buffer_head *bh_result, int create, int flag, in get_data_block() argument [all …]
|
/fs/hfs/ |
D | extent.c | 333 struct buffer_head *bh_result, int create) in hfs_get_block() argument 344 if (block > HFS_I(inode)->fs_blocks || !create) in hfs_get_block() 352 create = 0; in hfs_get_block() 375 if (create) { in hfs_get_block()
|
/fs/affs/ |
D | file.c | 294 affs_get_block(struct inode *inode, sector_t block, struct buffer_head *bh_result, int create) in affs_get_block() argument 306 if (block > AFFS_I(inode)->i_blkcnt || !create) in affs_get_block() 309 create = 0; in affs_get_block() 321 if (create) { in affs_get_block() 445 affs_bread_ino(struct inode *inode, int block, int create) in affs_bread_ino() argument 451 err = affs_get_block(inode, block, &tmp_bh, create); in affs_bread_ino()
|
/fs/hpfs/ |
D | file.c | 76 …int hpfs_get_block(struct inode *inode, sector_t iblock, struct buffer_head *bh_result, int create) in hpfs_get_block() argument 95 if (!create) goto ret_0; in hpfs_get_block()
|