/freebsd/sys/contrib/openzfs/module/os/linux/zfs/ |
H A D | policy.c | 45 priv_policy_ns(const cred_t *cr, int capability, int err, in priv_policy_ns() 62 priv_policy(const cred_t *cr, int capability, int err) in priv_policy() 68 priv_policy_user(const cred_t *cr, int capability, int err) in priv_policy_user() 88 secpolicy_nfs(const cred_t *cr) in secpolicy_nfs() 97 secpolicy_sys_config(const cred_t *cr, boolean_t checkonly) in secpolicy_sys_config() 109 secpolicy_vnode_access2(const cred_t *cr, struct inode *ip, uid_t owner, in secpolicy_vnode_access2() 122 secpolicy_vnode_any_access(const cred_t *cr, struct inode *ip, uid_t owner) in secpolicy_vnode_any_access() 148 secpolicy_vnode_chown(const cred_t *cr, uid_t owner) in secpolicy_vnode_chown() 165 secpolicy_vnode_create_gid(const cred_t *cr) in secpolicy_vnode_create_gid() 175 secpolicy_vnode_remove(const cred_t *cr) in secpolicy_vnode_remove() [all …]
|
H A D | zpl_inode.c | 40 cred_t *cr = CRED(); in zpl_lookup() local 135 zpl_vap_init(vattr_t *vap, struct inode *dir, umode_t mode, cred_t *cr, in zpl_vap_init() 175 cred_t *cr = CRED(); in zpl_create() local 229 cred_t *cr = CRED(); in zpl_mknod() local 295 cred_t *cr = CRED(); in zpl_tmpfile() local 351 cred_t *cr = CRED(); in zpl_unlink() local 385 cred_t *cr = CRED(); in zpl_mkdir() local 430 cred_t *cr = CRED(); in zpl_rmdir() local 530 cred_t *cr = CRED(); in zpl_setattr() local 605 cred_t *cr = CRED(); in zpl_rename2() local [all …]
|
H A D | zpl_ctldir.c | 133 cred_t *cr = CRED(); in zpl_root_lookup() local 216 cred_t *cr = CRED(); in zpl_snapdir_lookup() local 296 cred_t *cr = CRED(); in zpl_snapdir_rename2() local 326 cred_t *cr = CRED(); in zpl_snapdir_rmdir() local 348 cred_t *cr = CRED(); in zpl_snapdir_mkdir() local 473 cred_t *cr = CRED(); in zpl_shares_lookup() local 499 cred_t *cr = CRED(); in zpl_shares_iterate() local
|
H A D | zpl_export.c | 115 cred_t *cr = CRED(); in zpl_get_name() local 138 cred_t *cr = CRED(); in zpl_get_parent() local 159 cred_t *cr = CRED(); in zpl_commit_metadata() local
|
H A D | zpl_file.c | 56 cred_t *cr = CRED(); in zpl_open() local 77 cred_t *cr = CRED(); in zpl_release() local 97 cred_t *cr = CRED(); in zpl_iterate() local 117 cred_t *cr = CRED(); in zpl_fsync() local 222 cred_t *cr = CRED(); in zpl_iter_read() local 266 cred_t *cr = CRED(); in zpl_iter_write() local 587 cred_t *cr = CRED(); in zpl_fallocate_common() local 831 cred_t *cr = CRED(); in zpl_ioctl_setflags() local 871 cred_t *cr = CRED(); in zpl_ioctl_setxattr() local 967 cred_t *cr = CRED(); in zpl_ioctl_setdosflags() local
|
H A D | zfs_acl.c | 652 zfs_fuid_info_t **fuidp, cred_t *cr) in zfs_copy_ace_2_fuid() 712 zfs_copy_fuid_2_ace(zfsvfs_t *zfsvfs, zfs_acl_t *aclp, cred_t *cr, in zfs_copy_fuid_2_ace() 795 zfs_acl_xform(znode_t *zp, zfs_acl_t *aclp, cred_t *cr) in zfs_acl_xform() 1354 zfs_aclset_common(znode_t *zp, zfs_acl_t *aclp, cred_t *cr, dmu_tx_t *tx) in zfs_aclset_common() 1802 zfs_acl_ids_create(znode_t *dzp, int flag, vattr_t *vap, cred_t *cr, in zfs_acl_ids_create() 1967 zfs_getacl(znode_t *zp, vsecattr_t *vsecp, boolean_t skipaclchk, cred_t *cr) in zfs_getacl() 2066 vsecattr_t *vsecp, cred_t *cr, zfs_fuid_info_t **fuidp, zfs_acl_t **zaclp) in zfs_vsec_2_aclp() 2123 zfs_setacl(znode_t *zp, vsecattr_t *vsecp, boolean_t skipaclchk, cred_t *cr) in zfs_setacl() 2287 boolean_t anyaccess, cred_t *cr, zidmap_t *mnt_ns) in zfs_zaccess_aces_check() 2416 zfs_has_access(znode_t *zp, cred_t *cr) in zfs_has_access() [all …]
|
H A D | zfs_vnops_os.c | 179 zfs_open(struct inode *ip, int mode, int flag, cred_t *cr) in zfs_open() 211 zfs_close(struct inode *ip, int flag, cred_t *cr) in zfs_close() 439 zfs_lookup(znode_t *zdp, char *nm, znode_t **zpp, int flags, cred_t *cr, in zfs_lookup() 601 int mode, znode_t **zpp, cred_t *cr, int flag, vsecattr_t *vsecp, in zfs_create() 849 int mode, struct inode **ipp, cred_t *cr, int flag, vsecattr_t *vsecp, in zfs_tmpfile() 987 zfs_remove(znode_t *dzp, char *name, cred_t *cr, int flags) in zfs_remove() 1230 cred_t *cr, int flags, vsecattr_t *vsecp, zidmap_t *mnt_ns) in zfs_mkdir() 1418 zfs_rmdir(znode_t *dzp, char *name, znode_t *cwd, cred_t *cr, in zfs_rmdir() 1550 zfs_readdir(struct inode *ip, struct dir_context *ctx, cred_t *cr) in zfs_readdir() 1913 zfs_setattr(znode_t *zp, vattr_t *vap, int flags, cred_t *cr, zidmap_t *mnt_ns) in zfs_setattr() [all …]
|
H A D | zpl_xattr.c | 186 zpl_xattr_list_dir(xattr_filldir_t *xf, cred_t *cr) in zpl_xattr_list_dir() 245 cred_t *cr = CRED(); in zpl_xattr_list() local 279 size_t size, cred_t *cr) in zpl_xattr_get_dir() 369 cred_t *cr) in __zpl_xattr_get() 396 __zpl_xattr_where(struct inode *ip, const char *name, int *where, cred_t *cr) in __zpl_xattr_where() 435 cred_t *cr = CRED(); in zpl_xattr_get() local 456 size_t size, int flags, cred_t *cr) in zpl_xattr_set_dir() 541 size_t size, int flags, cred_t *cr) in zpl_xattr_set_sa() 604 cred_t *cr = CRED(); in zpl_xattr_set() local
|
/freebsd/sys/contrib/openzfs/module/os/freebsd/spl/ |
H A D | spl_policy.c | 41 secpolicy_nfs(cred_t *cr) in secpolicy_nfs() 48 secpolicy_zfs(cred_t *cr) in secpolicy_zfs() 55 secpolicy_zfs_proc(cred_t *cr, proc_t *proc) in secpolicy_zfs_proc() 62 secpolicy_sys_config(cred_t *cr, int checkonly __unused) in secpolicy_sys_config() 69 secpolicy_zinject(cred_t *cr) in secpolicy_zinject() 76 secpolicy_fs_unmount(cred_t *cr, struct mount *vfsp __unused) in secpolicy_fs_unmount() 83 secpolicy_fs_owner(struct mount *mp, cred_t *cr) in secpolicy_fs_owner() 100 secpolicy_basic_link(vnode_t *vp, cred_t *cr) in secpolicy_basic_link() 111 secpolicy_vnode_stky_modify(cred_t *cr) in secpolicy_vnode_stky_modify() 118 secpolicy_vnode_remove(vnode_t *vp, cred_t *cr) in secpolicy_vnode_remove() [all …]
|
/freebsd/sys/contrib/openzfs/module/os/linux/spl/ |
H A D | spl-cred.c | 56 crhold(cred_t *cr) in crhold() 63 crfree(cred_t *cr) in crfree() 70 crgetngroups(const cred_t *cr) in crgetngroups() 86 crgetgroups(const cred_t *cr) in crgetgroups() 99 groupmember(gid_t gid, const cred_t *cr) in groupmember() 112 crgetuid(const cred_t *cr) in crgetuid() 119 crgetruid(const cred_t *cr) in crgetruid() 126 crgetgid(const cred_t *cr) in crgetgid()
|
/freebsd/sys/contrib/openzfs/include/os/freebsd/spl/sys/ |
H A D | cred.h | 59 #define crgetuid(cr) ((cr)->cr_uid) argument 60 #define crgetruid(cr) ((cr)->cr_ruid) argument 61 #define crgetgid(cr) ((cr)->cr_gid) argument 62 #define crgetgroups(cr) ((cr)->cr_groups) argument 63 #define crgetngroups(cr) ((cr)->cr_ngroups) argument 64 #define crgetzoneid(cr) ((cr)->cr_prison->pr_id) argument
|
/freebsd/sys/dev/ciss/ |
H A D | ciss.c | 1060 struct ciss_request *cr; in ciss_flush_adapter() local 1115 struct ciss_request *cr = NULL; in ciss_soft_reset() local 1157 struct ciss_request *cr; in ciss_init_requests() local 1228 struct ciss_request *cr; in ciss_identify_adapter() local 1356 struct ciss_request *cr; in ciss_report_luns() local 1703 struct ciss_request *cr; in ciss_inquiry_logical() local 1764 struct ciss_request *cr; in ciss_identify_logical() local 1864 struct ciss_request *cr; in ciss_get_ldrive_status() local 1950 struct ciss_request *cr; in ciss_accept_media() local 2005 struct ciss_request *cr; in ciss_free() local [all …]
|
/freebsd/sys/dev/bhnd/cores/chipc/ |
H A D | chipc_subr.c | 320 struct chipc_region *cr; in chipc_alloc_region() local 369 chipc_free_region(struct chipc_softc *sc, struct chipc_region *cr) in chipc_free_region() 395 struct chipc_region *cr; in chipc_find_region() local 422 struct chipc_region *cr; in chipc_find_region_by_rid() local 449 chipc_retain_region(struct chipc_softc *sc, struct chipc_region *cr, int flags) in chipc_retain_region() 521 chipc_release_region(struct chipc_softc *sc, struct chipc_region *cr, in chipc_release_region()
|
H A D | chipc.c | 648 struct chipc_region *cr; in chipc_rman_init_regions() local 733 struct chipc_region *cr, *cr_next; in chipc_free_rman() local 771 struct chipc_region *cr; in chipc_alloc_resource() local 875 struct chipc_region *cr; in chipc_release_resource() local 917 struct chipc_region *cr; in chipc_adjust_resource() local 960 struct chipc_region *cr; in chipc_try_activate_resource() local 1057 struct chipc_region *cr; in chipc_deactivate_resource() local
|
/freebsd/sys/dev/cesa/ |
H A D | cesa.c | 237 struct cesa_request *cr; in cesa_alloc_request() local 250 cesa_free_request(struct cesa_softc *sc, struct cesa_request *cr) in cesa_free_request() 273 cesa_enqueue_request(struct cesa_softc *sc, struct cesa_request *cr) in cesa_enqueue_request() 296 cesa_alloc_sdesc(struct cesa_softc *sc, struct cesa_request *cr) in cesa_alloc_sdesc() 349 cesa_tdma_copyin_sa_data(struct cesa_softc *sc, struct cesa_request *cr) in cesa_tdma_copyin_sa_data() 358 cesa_tdma_copyout_sa_data(struct cesa_softc *sc, struct cesa_request *cr) in cesa_tdma_copyout_sa_data() 374 cesa_append_tdesc(struct cesa_request *cr, struct cesa_tdma_desc *ctd) in cesa_append_tdesc() 388 cesa_append_packet(struct cesa_softc *sc, struct cesa_request *cr, in cesa_append_packet() 553 struct cesa_request *cr; in cesa_create_chain_cb() local 784 const struct crypto_session_params *csp, struct cesa_request *cr) in cesa_create_chain() [all …]
|
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/ |
H A D | zfs_acl.c | 654 zfs_fuid_info_t **fuidp, cred_t *cr) in zfs_copy_ace_2_fuid() 714 zfs_copy_fuid_2_ace(zfsvfs_t *zfsvfs, zfs_acl_t *aclp, cred_t *cr, in zfs_copy_fuid_2_ace() 797 zfs_acl_xform(znode_t *zp, zfs_acl_t *aclp, cred_t *cr) in zfs_acl_xform() 1165 zfs_aclset_common(znode_t *zp, zfs_acl_t *aclp, cred_t *cr, dmu_tx_t *tx) in zfs_aclset_common() 1619 zfs_acl_ids_create(znode_t *dzp, int flag, vattr_t *vap, cred_t *cr, in zfs_acl_ids_create() 1776 zfs_getacl(znode_t *zp, vsecattr_t *vsecp, boolean_t skipaclchk, cred_t *cr) in zfs_getacl() 1876 vsecattr_t *vsecp, cred_t *cr, zfs_fuid_info_t **fuidp, zfs_acl_t **zaclp) in zfs_vsec_2_aclp() 1933 zfs_setacl(znode_t *zp, vsecattr_t *vsecp, boolean_t skipaclchk, cred_t *cr) in zfs_setacl() 2100 boolean_t anyaccess, cred_t *cr) in zfs_zaccess_aces_check() 2224 zfs_has_access(znode_t *zp, cred_t *cr) in zfs_has_access() [all …]
|
/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | zfs_fuid.c | 382 zfs_fuid_map_ids(znode_t *zp, cred_t *cr, uid_t *uidp, uid_t *gidp) in zfs_fuid_map_ids() 393 cred_t *cr, zfs_fuid_type_t type) in zfs_fuid_map_id() 405 cred_t *cr, zfs_fuid_type_t type) in zfs_fuid_map_id() 416 cred_t *cr, zfs_fuid_type_t type) in zfs_fuid_map_id() 516 cred_t *cr, zfs_fuid_info_t **fuidp) in zfs_fuid_create_cred() 572 zfs_fuid_create(zfsvfs_t *zfsvfs, uint64_t id, cred_t *cr, in zfs_fuid_create() 723 zfs_groupmember(zfsvfs_t *zfsvfs, uint64_t id, cred_t *cr) in zfs_groupmember()
|
H A D | zfs_vnops.c | 97 zfs_fsync(znode_t *zp, int syncflag, cred_t *cr) in zfs_fsync() 192 zfs_access(znode_t *zp, int mode, int flag, cred_t *cr) in zfs_access() 308 zfs_read(struct znode *zp, zfs_uio_t *uio, int ioflag, cred_t *cr) in zfs_read() 516 zfs_clear_setid_bits_if_necessary(zfsvfs_t *zfsvfs, znode_t *zp, cred_t *cr, in zfs_clear_setid_bits_if_necessary() 589 zfs_write(znode_t *zp, zfs_uio_t *uio, int ioflag, cred_t *cr) in zfs_write() 1052 zfs_getsecattr(znode_t *zp, vsecattr_t *vsecp, int flag, cred_t *cr) in zfs_getsecattr() 1067 zfs_setsecattr(znode_t *zp, vsecattr_t *vsecp, int flag, cred_t *cr) in zfs_setsecattr() 1331 uint64_t *outoffp, uint64_t *lenp, cred_t *cr) in zfs_clone_range()
|
H A D | dsl_deleg.c | 92 dsl_deleg_can_allow(char *ddname, nvlist_t *nvp, cred_t *cr) in dsl_deleg_can_allow() 125 dsl_deleg_can_unallow(char *ddname, nvlist_t *nvp, cred_t *cr) in dsl_deleg_can_unallow() 438 int checkflag, cred_t *cr) in dsl_check_user_access() 523 char checkflag, cred_t *cr) in dsl_load_user_sets() 553 dsl_deleg_access_impl(dsl_dataset_t *ds, const char *perm, cred_t *cr) in dsl_deleg_access_impl() 657 dsl_deleg_access(const char *dsname, const char *perm, cred_t *cr) in dsl_deleg_access() 729 dsl_deleg_set_create_perms(dsl_dir_t *sdd, dmu_tx_t *tx, cred_t *cr) in dsl_deleg_set_create_perms()
|
H A D | zfs_ioctl.c | 376 zfs_secpolicy_none(zfs_cmd_t *zc, nvlist_t *innvl, cred_t *cr) in zfs_secpolicy_none() 387 zfs_secpolicy_read(zfs_cmd_t *zc, nvlist_t *innvl, cred_t *cr) in zfs_secpolicy_read() 398 zfs_dozonecheck_impl(const char *dataset, uint64_t zoned, cred_t *cr) in zfs_dozonecheck_impl() 432 zfs_dozonecheck(const char *dataset, cred_t *cr) in zfs_dozonecheck() 444 zfs_dozonecheck_ds(const char *dataset, dsl_dataset_t *ds, cred_t *cr) in zfs_dozonecheck_ds() 456 const char *perm, cred_t *cr) in zfs_secpolicy_write_perms_ds() 470 zfs_secpolicy_write_perms(const char *name, const char *perm, cred_t *cr) in zfs_secpolicy_write_perms() 507 zfs_set_slabel_policy(const char *name, const char *strval, cred_t *cr) in zfs_set_slabel_policy() 604 cred_t *cr) in zfs_secpolicy_setprop() 659 zfs_secpolicy_set_fsacl(zfs_cmd_t *zc, nvlist_t *innvl, cred_t *cr) in zfs_secpolicy_set_fsacl() [all …]
|
/freebsd/sys/kern/ |
H A D | kern_prot.c | 1781 securelevel_gt(struct ucred *cr, int level) in securelevel_gt() 1788 securelevel_ge(struct ucred *cr, int level) in securelevel_ge() 2329 crcowget(struct ucred *cr) in crcowget() 2344 struct ucred *cr, *crold; in crunuse() local 2368 crunusebatch(struct ucred *cr, int users, int ref) in crunusebatch() 2395 struct ucred *cr; in crcowfree() local 2430 struct ucred *cr; in credbatch_add() local 2468 struct ucred *cr; in crget() local 2488 crhold(struct ucred *cr) in crhold() 2509 crfree(struct ucred *cr) in crfree() [all …]
|
/freebsd/sys/contrib/ck/src/ |
H A D | ck_epoch.c | 322 struct ck_epoch_record *cr, in ck_epoch_scan() 411 epoch_block(struct ck_epoch *global, struct ck_epoch_record *cr, in epoch_block() 428 struct ck_epoch_record *cr; in ck_epoch_synchronize_wait() local 570 struct ck_epoch_record *cr = NULL; in ck_epoch_poll_deferred() local
|
/freebsd/sys/arm/freescale/imx/ |
H A D | imx_machdep.c | 67 volatile uint16_t cr, *pcr; in imx_wdog_cpu_reset() local
|
/freebsd/tools/test/stress2/misc/ |
H A D | rename12.sh | 177 cr(); function
|
/freebsd/sys/contrib/openzfs/lib/libzpool/ |
H A D | kernel.c | 858 crgetuid(cred_t *cr) in crgetuid() 865 crgetruid(cred_t *cr) in crgetruid() 872 crgetgid(cred_t *cr) in crgetgid() 879 crgetngroups(cred_t *cr) in crgetngroups() 886 crgetgroups(cred_t *cr) in crgetgroups() 893 zfs_secpolicy_snapshot_perms(const char *name, cred_t *cr) in zfs_secpolicy_snapshot_perms() 900 zfs_secpolicy_rename_perms(const char *from, const char *to, cred_t *cr) in zfs_secpolicy_rename_perms() 907 zfs_secpolicy_destroy_perms(const char *name, cred_t *cr) in zfs_secpolicy_destroy_perms() 914 secpolicy_zfs(const cred_t *cr) in secpolicy_zfs() 921 secpolicy_zfs_proc(const cred_t *cr, proc_t *proc) in secpolicy_zfs_proc()
|