/openbmc/linux/fs/smb/client/ |
H A D | trace.h | 781 int create_options, 783 TP_ARGS(xid, tid, sesid, full_path, create_options, desired_access), 789 __field(int, create_options) 797 __entry->create_options = create_options; 802 __entry->create_options, __entry->desired_access) 811 int create_options, \ 813 TP_ARGS(xid, tid, sesid, full_path, create_options, desired_access)) 822 int create_options, 825 TP_ARGS(xid, tid, sesid, create_options, desired_access, rc), 830 __field(int, create_options) [all …]
|
H A D | link.c | 266 .create_options = cifs_create_options(cifs_sb, CREATE_NOT_DIR), in cifs_query_mf_symlink() 309 .create_options = cifs_create_options(cifs_sb, CREATE_NOT_DIR), in cifs_create_mf_symlink() 353 .create_options = cifs_create_options(cifs_sb, CREATE_NOT_DIR), in smb3_query_mf_symlink() 421 .create_options = cifs_create_options(cifs_sb, CREATE_NOT_DIR), in smb3_create_mf_symlink()
|
H A D | dir.c | 182 int create_options = CREATE_NOT_DIR; local 312 create_options |= CREATE_OPTION_READONLY; 319 .create_options = cifs_create_options(cifs_sb, create_options),
|
H A D | smb2file.c | 131 oparms->create_options |= OPEN_REPARSE_POINT; in smb2_open_file() 134 oparms->create_options &= ~OPEN_REPARSE_POINT; in smb2_open_file()
|
H A D | smb2inode.c | 909 __u32 create_options = 0; in smb2_query_path_info() local 959 FILE_OPEN, create_options, ACL_NO_MODE); in smb2_query_path_info() 996 FILE_OPEN, create_options | in smb2_query_path_info() 1116 __u32 create_options, __u32 access, in smb2_set_path_attr() argument 1133 create_options, ACL_NO_MODE); in smb2_set_path_attr()
|
H A D | smb1ops.c | 586 .create_options = cifs_create_options(cifs_sb, 0), in cifs_query_path_info() 734 oparms->create_options, in cifs_open_file() 834 .create_options = cifs_create_options(cifs_sb, CREATE_NOT_DIR), in smb_set_file_info()
|
H A D | smb2ops.c | 822 .create_options = cifs_create_options(cifs_sb, 0), in smb3_qfs_tcon() 866 .create_options = cifs_create_options(cifs_sb, 0), in smb2_qfs_tcon() 914 .create_options = cifs_create_options(cifs_sb, 0), in smb2_is_path_accessible() 1208 .create_options = cifs_create_options(cifs_sb, 0), in smb2_set_ea() 1525 int create_options = is_dir ? CREATE_NOT_FILE : CREATE_NOT_DIR; in smb2_ioctl_query_info() local 1575 .create_options = cifs_create_options(cifs_sb, create_options), in smb2_ioctl_query_info() 2223 .create_options = cifs_create_options(cifs_sb, 0), in smb3_notify() 2302 .create_options = cifs_create_options(cifs_sb, 0), in smb2_query_dir_first() 2691 .create_options = cifs_create_options(cifs_sb, 0), in smb2_query_info_compound() 2841 .create_options = cifs_create_options(cifs_sb, 0), in smb311_queryfs() [all …]
|
H A D | reparse.c | 193 oparms.create_options = cifs_create_options(cifs_sb, in detect_directory_symlink_target() 212 oparms.create_options = cifs_create_options(cifs_sb, in detect_directory_symlink_target()
|
H A D | file.c | 348 int create_options = CREATE_NOT_DIR; in cifs_nt_open() local 392 create_options |= CREATE_WRITE_THROUGH; in cifs_nt_open() 395 create_options |= CREATE_NO_BUFFER; in cifs_nt_open() 402 .create_options = cifs_create_options(cifs_sb, create_options), in cifs_nt_open() 969 int create_options = CREATE_NOT_DIR; in cifs_reopen_file() local 1043 create_options |= CREATE_WRITE_THROUGH; in cifs_reopen_file() 1046 create_options |= CREATE_NO_BUFFER; in cifs_reopen_file() 1056 .create_options = cifs_create_options(cifs_sb, create_options), in cifs_reopen_file()
|
H A D | cifssmb.c | 1039 const int access_flags, const int create_options, __u16 *netfid, in SMBLegacyOpen() argument 1081 if (create_options & CREATE_OPTION_SPECIAL) in SMBLegacyOpen() 1086 if (create_options & CREATE_OPTION_READONLY) in SMBLegacyOpen() 1154 int create_options = oparms->create_options; in CIFS_open() local 1197 if (create_options & CREATE_OPTION_SPECIAL) in CIFS_open() 1209 if (create_options & CREATE_OPTION_READONLY) in CIFS_open() 1214 req->CreateOptions = cpu_to_le32(create_options & CREATE_OPTIONS_MASK); in CIFS_open() 2723 .create_options = cifs_create_options(cifs_sb, in cifs_query_reparse_point() 5304 .create_options = cifs_create_options(cifs_sb, 0), in CIFSSMBSetPathInfoFB()
|
H A D | cifsglob.h | 1398 int create_options; member 2316 .create_options = cifs_create_options(_cifs_sb, (_co)), \
|
H A D | smb2pdu.c | 3019 if (oparms->create_options & CREATE_OPTION_READONLY) in SMB2_open_init() 3021 if (oparms->create_options & CREATE_OPTION_SPECIAL) in SMB2_open_init() 3031 req->CreateOptions = cpu_to_le32(oparms->create_options & CREATE_OPTIONS_MASK); in SMB2_open_init() 3078 (oparms->create_options & CREATE_NOT_FILE)) in SMB2_open_init() 3220 oparms->create_options, oparms->desired_access); in SMB2_open() 3239 oparms->create_options, oparms->desired_access, rc); in SMB2_open() 3250 oparms->create_options, oparms->desired_access); in SMB2_open()
|
H A D | cifsacl.c | 1443 .create_options = cifs_create_options(cifs_sb, 0), in get_cifs_acl_by_path() 1515 .create_options = cifs_create_options(cifs_sb, 0), in set_cifs_acl()
|
H A D | cached_dir.c | 257 .create_options = cifs_create_options(cifs_sb, CREATE_NOT_FILE), in open_cached_dir()
|
/openbmc/qemu/block/ |
H A D | vdi.c | 740 vdi_co_do_create(BlockdevCreateOptions *create_options, size_t block_size, in vdi_co_do_create() argument 758 assert(create_options->driver == BLOCKDEV_DRIVER_VDI); in vdi_co_do_create() 759 vdi_opts = &create_options->u.vdi; in vdi_co_do_create() 900 vdi_co_create(BlockdevCreateOptions *create_options, Error **errp) in vdi_co_create() argument 902 return vdi_co_do_create(create_options, DEFAULT_CLUSTER_SIZE, errp); in vdi_co_create() 910 BlockdevCreateOptions *create_options = NULL; in vdi_co_create_opts() local 965 visit_type_BlockdevCreateOptions(v, NULL, &create_options, errp); in vdi_co_create_opts() 967 if (!create_options) { in vdi_co_create_opts() 973 assert(create_options->driver == BLOCKDEV_DRIVER_VDI); in vdi_co_create_opts() 974 create_options->u.vdi.size = ROUND_UP(create_options->u.vdi.size, in vdi_co_create_opts() [all …]
|
H A D | vhdx.c | 2077 BlockdevCreateOptions *create_options = NULL; in vhdx_co_create_opts() local 2121 visit_type_BlockdevCreateOptions(v, NULL, &create_options, errp); in vhdx_co_create_opts() 2123 if (!create_options) { in vhdx_co_create_opts() 2133 assert(create_options->driver == BLOCKDEV_DRIVER_VHDX); in vhdx_co_create_opts() 2134 create_options->u.vhdx.size = in vhdx_co_create_opts() 2135 ROUND_UP(create_options->u.vhdx.size, BDRV_SECTOR_SIZE); in vhdx_co_create_opts() 2137 if (create_options->u.vhdx.has_log_size) { in vhdx_co_create_opts() 2138 create_options->u.vhdx.log_size = in vhdx_co_create_opts() 2139 ROUND_UP(create_options->u.vhdx.log_size, MiB); in vhdx_co_create_opts() 2141 if (create_options->u.vhdx.has_block_size) { in vhdx_co_create_opts() [all …]
|
H A D | vpc.c | 1096 BlockdevCreateOptions *create_options = NULL; in vpc_co_create_opts() local 1138 visit_type_BlockdevCreateOptions(v, NULL, &create_options, errp); in vpc_co_create_opts() 1140 if (!create_options) { in vpc_co_create_opts() 1146 assert(create_options->driver == BLOCKDEV_DRIVER_VPC); in vpc_co_create_opts() 1147 create_options->u.vpc.size = in vpc_co_create_opts() 1148 ROUND_UP(create_options->u.vpc.size, BDRV_SECTOR_SIZE); in vpc_co_create_opts() 1150 if (!create_options->u.vpc.force_size) { in vpc_co_create_opts() 1152 ret = calculate_rounded_image_size(&create_options->u.vpc, NULL, NULL, in vpc_co_create_opts() 1158 create_options->u.vpc.size = total_sectors * BDRV_SECTOR_SIZE; in vpc_co_create_opts() 1163 ret = vpc_co_create(create_options, errp); in vpc_co_create_opts() [all …]
|
H A D | parallels.c | 1099 BlockdevCreateOptions *create_options = NULL; in parallels_co_create_opts() local 1142 visit_type_BlockdevCreateOptions(v, NULL, &create_options, errp); in parallels_co_create_opts() 1144 if (!create_options) { in parallels_co_create_opts() 1150 create_options->u.parallels.size = in parallels_co_create_opts() 1151 ROUND_UP(create_options->u.parallels.size, BDRV_SECTOR_SIZE); in parallels_co_create_opts() 1152 create_options->u.parallels.cluster_size = in parallels_co_create_opts() 1153 ROUND_UP(create_options->u.parallels.cluster_size, BDRV_SECTOR_SIZE); in parallels_co_create_opts() 1156 ret = parallels_co_create(create_options, errp); in parallels_co_create_opts() 1165 qapi_free_BlockdevCreateOptions(create_options); in parallels_co_create_opts()
|
H A D | qcow.c | 935 BlockdevCreateOptions *create_options = NULL; in qcow_co_create_opts() local 1003 visit_type_BlockdevCreateOptions(v, NULL, &create_options, errp); in qcow_co_create_opts() 1005 if (!create_options) { in qcow_co_create_opts() 1011 assert(create_options->driver == BLOCKDEV_DRIVER_QCOW); in qcow_co_create_opts() 1012 create_options->u.qcow.size = in qcow_co_create_opts() 1013 ROUND_UP(create_options->u.qcow.size, BDRV_SECTOR_SIZE); in qcow_co_create_opts() 1016 ret = qcow_co_create(create_options, errp); in qcow_co_create_opts() 1026 qapi_free_BlockdevCreateOptions(create_options); in qcow_co_create_opts()
|
H A D | nfs.c | 669 BlockdevCreateOptions *create_options; in nfs_file_co_create_opts() local 674 create_options = g_new0(BlockdevCreateOptions, 1); in nfs_file_co_create_opts() 675 create_options->driver = BLOCKDEV_DRIVER_NFS; in nfs_file_co_create_opts() 676 nfs_opts = &create_options->u.nfs; in nfs_file_co_create_opts() 694 ret = nfs_file_co_create(create_options, errp); in nfs_file_co_create_opts() 702 qapi_free_BlockdevCreateOptions(create_options); in nfs_file_co_create_opts()
|
H A D | qed.c | 767 BlockdevCreateOptions *create_options = NULL; in bdrv_qed_co_create_opts() local 812 visit_type_BlockdevCreateOptions(v, NULL, &create_options, errp); in bdrv_qed_co_create_opts() 814 if (!create_options) { in bdrv_qed_co_create_opts() 820 assert(create_options->driver == BLOCKDEV_DRIVER_QED); in bdrv_qed_co_create_opts() 821 create_options->u.qed.size = in bdrv_qed_co_create_opts() 822 ROUND_UP(create_options->u.qed.size, BDRV_SECTOR_SIZE); in bdrv_qed_co_create_opts() 825 ret = bdrv_qed_co_create(create_options, errp); in bdrv_qed_co_create_opts() 830 qapi_free_BlockdevCreateOptions(create_options); in bdrv_qed_co_create_opts()
|
H A D | ssh.c | 958 BlockdevCreateOptions *create_options; in ssh_co_create_opts() local 963 create_options = g_new0(BlockdevCreateOptions, 1); in ssh_co_create_opts() 964 create_options->driver = BLOCKDEV_DRIVER_SSH; in ssh_co_create_opts() 965 ssh_opts = &create_options->u.ssh; in ssh_co_create_opts() 984 ret = ssh_co_create(create_options, errp); in ssh_co_create_opts() 988 qapi_free_BlockdevCreateOptions(create_options); in ssh_co_create_opts()
|
H A D | rbd.c | 800 BlockdevCreateOptions *create_options; in qemu_rbd_co_create_opts() local 809 create_options = g_new0(BlockdevCreateOptions, 1); in qemu_rbd_co_create_opts() 810 create_options->driver = BLOCKDEV_DRIVER_RBD; in qemu_rbd_co_create_opts() 811 rbd_opts = &create_options->u.rbd; in qemu_rbd_co_create_opts() 852 ret = qemu_rbd_do_create(create_options, keypairs, password_secret, errp); in qemu_rbd_co_create_opts() 859 qapi_free_BlockdevCreateOptions(create_options); in qemu_rbd_co_create_opts()
|
H A D | crypto.c | 700 block_crypto_co_create_luks(BlockdevCreateOptions *create_options, Error **errp) in block_crypto_co_create_luks() argument 710 assert(create_options->driver == BLOCKDEV_DRIVER_LUKS); in block_crypto_co_create_luks() 711 luks_opts = &create_options->u.luks; in block_crypto_co_create_luks()
|
H A D | qcow2.c | 3498 qcow2_co_create(BlockdevCreateOptions *create_options, Error **errp) in qcow2_co_create() argument 3527 assert(create_options->driver == BLOCKDEV_DRIVER_QCOW2); in qcow2_co_create() 3528 qcow2_opts = &create_options->u.qcow2; in qcow2_co_create() 3899 BlockdevCreateOptions *create_options = NULL; in qcow2_co_create_opts() local 4000 visit_type_BlockdevCreateOptions(v, NULL, &create_options, errp); in qcow2_co_create_opts() 4002 if (!create_options) { in qcow2_co_create_opts() 4008 create_options->u.qcow2.size = ROUND_UP(create_options->u.qcow2.size, in qcow2_co_create_opts() 4012 ret = qcow2_co_create(create_options, errp); in qcow2_co_create_opts() 4026 qapi_free_BlockdevCreateOptions(create_options); in qcow2_co_create_opts()
|