/fs/ocfs2/dlm/ |
D | dlmlock.c | 289 struct dlm_create_lock create; in dlm_send_remote_lock_request() local 293 memset(&create, 0, sizeof(create)); in dlm_send_remote_lock_request() 294 create.node_idx = dlm->node_num; in dlm_send_remote_lock_request() 295 create.requested_type = lock->ml.type; in dlm_send_remote_lock_request() 296 create.cookie = lock->ml.cookie; in dlm_send_remote_lock_request() 297 create.namelen = res->lockname.len; in dlm_send_remote_lock_request() 298 create.flags = cpu_to_be32(flags); in dlm_send_remote_lock_request() 299 memcpy(create.name, res->lockname.name, create.namelen); in dlm_send_remote_lock_request() 301 tmpret = o2net_send_message(DLM_CREATE_LOCK_MSG, dlm->key, &create, in dlm_send_remote_lock_request() 302 sizeof(create), res->owner, &status); in dlm_send_remote_lock_request() [all …]
|
/fs/bfs/ |
D | file.c | 65 struct buffer_head *bh_result, int create) in bfs_get_block() argument 74 if (!create) { in bfs_get_block() 77 create, (unsigned long)block, phys); in bfs_get_block() 89 create, (unsigned long)block, phys); in bfs_get_block() 108 create, (unsigned long)block, phys); in bfs_get_block() 136 create, (unsigned long)block, phys); in bfs_get_block()
|
/fs/nfsd/ |
D | nfs4proc.c | 593 struct nfsd4_create *create = &u->create; in nfsd4_create() local 604 status = check_attr_support(rqstp, cstate, create->cr_bmval, in nfsd4_create() 609 current->fs->umask = create->cr_umask; in nfsd4_create() 610 switch (create->cr_type) { in nfsd4_create() 613 create->cr_name, create->cr_namelen, in nfsd4_create() 614 create->cr_data, &resfh); in nfsd4_create() 619 rdev = MKDEV(create->cr_specdata1, create->cr_specdata2); in nfsd4_create() 620 if (MAJOR(rdev) != create->cr_specdata1 || in nfsd4_create() 621 MINOR(rdev) != create->cr_specdata2) in nfsd4_create() 624 create->cr_name, create->cr_namelen, in nfsd4_create() [all …]
|
D | nfs4xdr.c | 655 nfsd4_decode_create(struct nfsd4_compoundargs *argp, struct nfsd4_create *create) in nfsd4_decode_create() argument 660 create->cr_type = be32_to_cpup(p++); in nfsd4_decode_create() 661 switch (create->cr_type) { in nfsd4_decode_create() 664 create->cr_datalen = be32_to_cpup(p++); in nfsd4_decode_create() 665 READ_BUF(create->cr_datalen); in nfsd4_decode_create() 666 create->cr_data = svcxdr_dupstr(argp, p, create->cr_datalen); in nfsd4_decode_create() 667 if (!create->cr_data) in nfsd4_decode_create() 673 create->cr_specdata1 = be32_to_cpup(p++); in nfsd4_decode_create() 674 create->cr_specdata2 = be32_to_cpup(p++); in nfsd4_decode_create() 684 create->cr_namelen = be32_to_cpup(p++); in nfsd4_decode_create() [all …]
|
/fs/nfs/ |
D | nfs3proc.c | 254 struct nfs3_createargs create; member 319 data->arg.create.fh = NFS_FH(dir); in nfs3_proc_create() 320 data->arg.create.name = dentry->d_name.name; in nfs3_proc_create() 321 data->arg.create.len = dentry->d_name.len; in nfs3_proc_create() 322 data->arg.create.sattr = sattr; in nfs3_proc_create() 324 data->arg.create.createmode = NFS3_CREATE_UNCHECKED; in nfs3_proc_create() 326 data->arg.create.createmode = NFS3_CREATE_EXCLUSIVE; in nfs3_proc_create() 327 data->arg.create.verifier[0] = cpu_to_be32(jiffies); in nfs3_proc_create() 328 data->arg.create.verifier[1] = cpu_to_be32(current->pid); in nfs3_proc_create() 343 switch (data->arg.create.createmode) { in nfs3_proc_create() [all …]
|
/fs/orangefs/ |
D | namei.c | 38 new_op->upcall.req.create.parent_refn = parent->refn; in orangefs_create() 40 fill_default_sys_attrs(new_op->upcall.req.create.attributes, in orangefs_create() 43 strncpy(new_op->upcall.req.create.d_name, in orangefs_create() 52 &new_op->downcall.resp.create.refn.khandle, in orangefs_create() 53 new_op->downcall.resp.create.refn.fs_id, in orangefs_create() 60 ref = new_op->downcall.resp.create.refn; in orangefs_create() 431 .create = orangefs_create,
|
/fs/jfs/ |
D | inode.c | 198 struct buffer_head *bh_result, int create) in jfs_get_block() argument 210 if (create) in jfs_get_block() 219 if (!create) in jfs_get_block() 247 if (!create) in jfs_get_block() 276 if (create) in jfs_get_block()
|
/fs/nilfs2/ |
D | alloc.c | 197 int create, in nilfs_palloc_get_block() argument 216 ret = nilfs_mdt_get_block(inode, blkoff, create, init_block, bhp); in nilfs_palloc_get_block() 261 int create, struct buffer_head **bhp) in nilfs_palloc_get_desc_block() argument 267 create, nilfs_palloc_desc_block_init, in nilfs_palloc_get_desc_block() 280 int create, struct buffer_head **bhp) in nilfs_palloc_get_bitmap_block() argument 286 create, NULL, bhp, in nilfs_palloc_get_bitmap_block() 314 int create, struct buffer_head **bhp) in nilfs_palloc_get_entry_block() argument 320 create, NULL, bhp, in nilfs_palloc_get_entry_block()
|
D | sufile.c | 90 int create, struct buffer_head **bhp) in nilfs_sufile_get_segment_usage_block() argument 94 create, NULL, bhp); in nilfs_sufile_get_segment_usage_block() 157 int create, size_t *ndone, in nilfs_sufile_updatev() argument 191 ret = nilfs_mdt_get_block(sufile, blkoff, create, NULL, &bh); in nilfs_sufile_updatev() 207 ret = nilfs_mdt_get_block(sufile, blkoff, create, NULL, &bh); in nilfs_sufile_updatev() 224 int nilfs_sufile_update(struct inode *sufile, __u64 segnum, int create, in nilfs_sufile_update() argument 244 ret = nilfs_sufile_get_segment_usage_block(sufile, segnum, create, &bh); in nilfs_sufile_update()
|
D | cpfile.c | 136 int create, in nilfs_cpfile_get_checkpoint_block() argument 141 create, nilfs_cpfile_block_init, bhp); in nilfs_cpfile_get_checkpoint_block() 216 int create, in nilfs_cpfile_get_checkpoint() argument 227 (cno < nilfs_mdt_cno(cpfile) && create))) in nilfs_cpfile_get_checkpoint() 235 ret = nilfs_cpfile_get_checkpoint_block(cpfile, cno, create, &cp_bh); in nilfs_cpfile_get_checkpoint() 241 if (!create) { in nilfs_cpfile_get_checkpoint()
|
D | mdt.c | 241 int nilfs_mdt_get_block(struct inode *inode, unsigned long blkoff, int create, in nilfs_mdt_get_block() argument 250 ret = nilfs_mdt_read_block(inode, blkoff, !create, out_bh); in nilfs_mdt_get_block() 251 if (!create || ret != -ENOENT) in nilfs_mdt_get_block()
|
/fs/efs/ |
D | file.c | 14 struct buffer_head *bh_result, int create) in efs_get_block() argument 19 if (create) in efs_get_block()
|
/fs/minix/ |
D | itree_v1.c | 54 struct buffer_head *bh_result, int create) in V1_minix_get_block() argument 56 return get_block(inode, block, bh_result, create); in V1_minix_get_block()
|
D | itree_v2.c | 63 struct buffer_head *bh_result, int create) in V2_minix_get_block() argument 65 return get_block(inode, block, bh_result, create); in V2_minix_get_block()
|
/fs/fat/ |
D | cache.c | 334 sector_t *last_block, int create) in is_exceed_eof() argument 342 if (!create) in is_exceed_eof() 359 unsigned long *mapped_blocks, int create, bool from_bmap) in fat_bmap() argument 375 if (is_exceed_eof(inode, sector, &last_block, create)) in fat_bmap()
|
D | inode.c | 120 struct buffer_head *bh_result, int create) in __fat_get_block() argument 128 err = fat_bmap(inode, iblock, &phys, &mapped_blocks, create, false); in __fat_get_block() 136 if (!create) in __fat_get_block() 164 err = fat_bmap(inode, iblock, &phys, &mapped_blocks, create, false); in __fat_get_block() 183 struct buffer_head *bh_result, int create) in fat_get_block() argument 189 err = __fat_get_block(inode, iblock, &max_blocks, bh_result, create); in fat_get_block() 296 struct buffer_head *bh_result, int create) in fat_get_block_bmap() argument 304 BUG_ON(create != 0); in fat_get_block_bmap() 306 err = fat_bmap(inode, iblock, &bmap, &mapped_blocks, create, true); in fat_get_block_bmap()
|
/fs/gfs2/ |
D | trace_gfs2.h | 441 sector_t lblock, int create, int errno), 443 TP_ARGS(ip, bh, lblock, create, errno), 452 __field( int, create ) 463 __entry->create = create; 473 __entry->state, __entry->create ? "create " : "nocreate",
|
/fs/affs/ |
D | file.c | 295 affs_get_block(struct inode *inode, sector_t block, struct buffer_head *bh_result, int create) in affs_get_block() argument 307 if (block > AFFS_I(inode)->i_blkcnt || !create) in affs_get_block() 310 create = 0; in affs_get_block() 322 if (create) { in affs_get_block() 446 affs_bread_ino(struct inode *inode, int block, int create) in affs_bread_ino() argument 452 err = affs_get_block(inode, block, &tmp_bh, create); in affs_bread_ino() 503 affs_do_readpage_ofs(struct page *page, unsigned to, int create) in affs_do_readpage_ofs() argument 522 bh = affs_bread_ino(inode, bidx, create); in affs_do_readpage_ofs()
|
/fs/hfsplus/ |
D | extents.c | 226 struct buffer_head *bh_result, int create) in hfsplus_get_block() argument 240 if (!create) in hfsplus_get_block() 250 create = 0; in hfsplus_get_block() 286 if (create) { in hfsplus_get_block() 292 if (create || was_dirty) in hfsplus_get_block()
|
/fs/ocfs2/ |
D | aops.c | 44 struct buffer_head *bh_result, int create) in ocfs2_symlink_get_block() argument 56 (unsigned long long)iblock, bh_result, create); in ocfs2_symlink_get_block() 125 struct buffer_head *bh_result, int create) in ocfs2_lock_get_block() argument 131 ret = ocfs2_get_block(inode, iblock, bh_result, create); in ocfs2_lock_get_block() 138 struct buffer_head *bh_result, int create) in ocfs2_get_block() argument 147 (unsigned long long)iblock, bh_result, create); in ocfs2_get_block() 155 err = ocfs2_symlink_get_block(inode, iblock, bh_result, create); in ocfs2_get_block() 182 if (create && p_blkno == 0 && ocfs2_sparse_alloc(osb)) { in ocfs2_get_block() 212 if (create && (iblock >= past_eof)) in ocfs2_get_block() 2141 struct buffer_head *bh_result, int create) in ocfs2_dio_wr_get_block() argument [all …]
|
/fs/hfs/ |
D | extent.c | 337 struct buffer_head *bh_result, int create) in hfs_get_block() argument 348 if (!create) in hfs_get_block() 358 create = 0; in hfs_get_block() 381 if (create) { in hfs_get_block()
|
/fs/hpfs/ |
D | file.c | 77 …int hpfs_get_block(struct inode *inode, sector_t iblock, struct buffer_head *bh_result, int create) in hpfs_get_block() argument 96 if (!create) goto ret_0; in hpfs_get_block()
|
/fs/f2fs/ |
D | data.c | 1309 int create, int flag) in f2fs_map_blocks() argument 1333 if (!create && f2fs_lookup_extent_cache(inode, pgofs, &ei)) { in f2fs_map_blocks() 1398 if (create) { in f2fs_map_blocks() 1563 struct buffer_head *bh, int create, int flag, in __get_data_block() argument 1576 err = f2fs_map_blocks(inode, &map, create, flag); in __get_data_block() 1586 struct buffer_head *bh_result, int create, int flag, in get_data_block() argument 1589 return __get_data_block(inode, iblock, bh_result, create, in get_data_block() 1591 NO_CHECK_TYPE, create); in get_data_block() 1595 struct buffer_head *bh_result, int create) in get_data_block_dio_write() argument 1597 return __get_data_block(inode, iblock, bh_result, create, in get_data_block_dio_write() [all …]
|
/fs/adfs/ |
D | inode.c | 17 int create) in adfs_get_block() argument 19 if (!create) { in adfs_get_block()
|
/fs/freevxfs/ |
D | vxfs_subr.c | 130 struct buffer_head *bp, int create) in vxfs_getblk() argument
|