uid 29 arch/alpha/kernel/asm-offsets.c DEFINE(CRED_UID, offsetof(struct cred, uid)); uid 284 arch/alpha/kernel/osf_sys.c tmp.st_uid = from_kuid_munged(current_user_ns(), lstat->uid); uid 125 arch/arm/kernel/sys_oabi-compat.c tmp.st_uid = from_kuid_munged(current_user_ns(), stat->uid); uid 111 arch/arm/mach-lpc32xx/common.c u32 uid[4]; uid 113 arch/arm/mach-lpc32xx/common.c lpc32xx_get_uid(uid); uid 116 arch/arm/mach-lpc32xx/common.c uid[3], uid[2], uid[1], uid[0]); uid 119 arch/arm/mach-lpc32xx/common.c system_serial_low = uid[0]; uid 120 arch/arm/mach-lpc32xx/common.c system_serial_high = uid[1]; uid 110 arch/arm64/include/asm/acpi.h return acpi_cpu_get_madt_gicc(cpu)->uid; uid 144 arch/arm64/include/asm/compat.h __compat_uid32_t uid; uid 37 arch/arm64/kernel/acpi_numa.c static inline int get_cpu_for_acpi_id(u32 uid) uid 42 arch/arm64/kernel/acpi_numa.c if (uid == get_acpi_id_for_cpu(cpu)) uid 2314 arch/ia64/kernel/perfmon.c kuid_t uid = current_uid(); uid 2323 arch/ia64/kernel/perfmon.c from_kuid(&init_user_ns, uid), uid 2327 arch/ia64/kernel/perfmon.c from_kuid(&init_user_ns, tcred->uid), uid 2331 arch/ia64/kernel/perfmon.c ret = ((!uid_eq(uid, tcred->euid)) uid 2332 arch/ia64/kernel/perfmon.c || (!uid_eq(uid, tcred->suid)) uid 2333 arch/ia64/kernel/perfmon.c || (!uid_eq(uid, tcred->uid)) uid 131 arch/mips/include/asm/compat.h __compat_uid32_t uid; uid 224 arch/mips/include/asm/octeon/cvmx-pko-defs.h uint64_t uid:3; uid 236 arch/mips/include/asm/octeon/cvmx-pko-defs.h uint64_t uid:3; uid 427 arch/mips/include/asm/octeon/cvmx-pko-defs.h uint64_t uid:3; uid 457 arch/mips/include/asm/octeon/cvmx-pko-defs.h uint64_t uid:3; uid 470 arch/mips/include/asm/octeon/cvmx-pko-defs.h uint64_t uid:2; uid 486 arch/mips/include/asm/octeon/cvmx-pko-defs.h uint64_t uid:2; uid 512 arch/mips/include/asm/octeon/cvmx-pko-defs.h uint64_t uid:1; uid 540 arch/mips/include/asm/octeon/cvmx-pko-defs.h uint64_t uid:1; uid 57 arch/mips/kernel/mips-mt-fpaff.c uid_eq(cred->euid, pcred->uid)); uid 112 arch/parisc/include/asm/compat.h __compat_uid_t uid; uid 18 arch/parisc/include/uapi/asm/ipcbuf.h __kernel_uid_t uid; uid 138 arch/powerpc/include/asm/compat.h __compat_uid_t uid; uid 24 arch/powerpc/include/uapi/asm/ipcbuf.h __kernel_uid_t uid; uid 579 arch/powerpc/platforms/cell/spufs/inode.c kuid_t uid; uid 624 arch/powerpc/platforms/cell/spufs/inode.c kuid_t uid; uid 634 arch/powerpc/platforms/cell/spufs/inode.c uid = make_kuid(current_user_ns(), result.uint_32); uid 635 arch/powerpc/platforms/cell/spufs/inode.c if (!uid_valid(uid)) uid 637 arch/powerpc/platforms/cell/spufs/inode.c ctx->uid = uid; uid 699 arch/powerpc/platforms/cell/spufs/inode.c inode->i_uid = ctx->uid; uid 760 arch/powerpc/platforms/cell/spufs/inode.c ctx->uid = current_uid(); uid 36 arch/s390/hypfs/inode.c kuid_t uid; /* uid used for files and dirs */ uid 102 arch/s390/hypfs/inode.c ret->i_uid = hypfs_info->uid; uid 227 arch/s390/hypfs/inode.c kuid_t uid; uid 237 arch/s390/hypfs/inode.c uid = make_kuid(current_user_ns(), result.uint_32); uid 238 arch/s390/hypfs/inode.c if (!uid_valid(uid)) uid 240 arch/s390/hypfs/inode.c hypfs_info->uid = uid; uid 256 arch/s390/hypfs/inode.c seq_printf(s, ",uid=%u", from_kuid_munged(&init_user_ns, hypfs_info->uid)); uid 321 arch/s390/hypfs/inode.c sbi->uid = current_uid(); uid 207 arch/s390/include/asm/compat.h __compat_uid32_t uid; uid 102 arch/s390/include/asm/debug.h int buf_size, umode_t mode, uid_t uid, uid 114 arch/s390/include/asm/pci.h u32 uid; /* user defined id */ uid 111 arch/s390/include/asm/pci_clp.h u32 uid; /* user defined id */ uid 18 arch/s390/include/uapi/asm/ipcbuf.h __kernel_uid32_t uid; uid 137 arch/s390/kernel/compat_linux.c tmp.st_uid = from_kuid_munged(current_user_ns(), stat->uid); uid 97 arch/s390/kernel/compat_linux.h long compat_sys_s390_setuid16(u16 uid); uid 102 arch/s390/kernel/compat_linux.h long compat_sys_s390_setfsuid16(u16 uid); uid 670 arch/s390/kernel/debug.c uid_t uid, gid_t gid) uid 676 arch/s390/kernel/debug.c if ((uid != 0) || (gid != 0)) uid 655 arch/s390/pci/pci.c zdev->domain = (u16) zdev->uid; uid 158 arch/s390/pci/pci_clp.c zdev->uid = response->uid; uid 36 arch/s390/pci/pci_sysfs.c zpci_attr(uid, "0x%x\n", uid); uid 166 arch/sparc/include/asm/compat.h __compat_uid32_t uid; uid 19 arch/sparc/include/uapi/asm/ipcbuf.h __kernel_uid32_t uid; uid 74 arch/sparc/kernel/sys_sparc32.c err |= put_user(from_kuid_munged(current_user_ns(), stat->uid), &statbuf->st_uid); uid 74 arch/x86/ia32/sys_ia32.c typeof(ubuf->st_uid) uid = 0; uid 76 arch/x86/ia32/sys_ia32.c SET_UID(uid, from_kuid_munged(current_user_ns(), stat->uid)); uid 84 arch/x86/ia32/sys_ia32.c __put_user(uid, &ubuf->st_uid) || uid 108 arch/x86/include/asm/compat.h __compat_uid32_t uid; uid 219 arch/x86/kernel/acpi/boot.c acpi_register_lapic(apic_id, processor->uid, enabled); uid 796 arch/x86/kernel/acpi/boot.c unsigned long long uid; uid 800 arch/x86/kernel/acpi/boot.c NULL, &uid); uid 805 arch/x86/kernel/acpi/boot.c ioapic_id = (int)uid; uid 629 arch/x86/kernel/cpu/resctrl/rdtgroup.c !uid_eq(cred->euid, tcred->uid) && uid 28 arch/xtensa/include/uapi/asm/ipcbuf.h __kernel_uid32_t uid; uid 1341 block/genhd.c kuid_t *uid, kgid_t *gid) uid 44 block/ioprio.c if (!uid_eq(tcred->uid, cred->euid) && uid 45 block/ioprio.c !uid_eq(tcred->uid, cred->uid) && !capable(CAP_SYS_NICE)) { uid 99 block/ioprio.c kuid_t uid; uid 129 block/ioprio.c uid = make_kuid(current_user_ns(), who); uid 130 block/ioprio.c if (!uid_valid(uid)) uid 135 block/ioprio.c user = find_user(uid); uid 141 block/ioprio.c if (!uid_eq(task_uid(p), uid) || uid 191 block/ioprio.c kuid_t uid; uid 221 block/ioprio.c uid = make_kuid(current_user_ns(), who); uid 225 block/ioprio.c user = find_user(uid); uid 231 block/ioprio.c if (!uid_eq(task_uid(p), user->uid) || uid 1024 block/sed-opal.c static int cmd_start(struct opal_dev *dev, const u8 *uid, const u8 *method) uid 1032 block/sed-opal.c add_token_bytestring(&err, dev, uid, OPAL_UID_LENGTH); uid 1145 block/sed-opal.c u8 uid[OPAL_UID_LENGTH]; uid 1154 block/sed-opal.c memcpy(uid, opaluid[OPAL_TABLE_TABLE], half); uid 1155 block/sed-opal.c memcpy(uid+half, opaluid[table], half); uid 1157 block/sed-opal.c return generic_get_column(dev, uid, column); uid 1162 block/sed-opal.c u8 uid[OPAL_UID_LENGTH]; uid 1165 block/sed-opal.c memcpy(uid, dev->prev_data, min(sizeof(uid), dev->prev_d_len)); uid 1169 block/sed-opal.c err = cmd_start(dev, uid, opalmethod[OPAL_GENKEY]); uid 1209 block/sed-opal.c u8 uid[OPAL_UID_LENGTH]; uid 1213 block/sed-opal.c err = build_locking_range(uid, sizeof(uid), *lr); uid 1217 block/sed-opal.c err = generic_get_column(dev, uid, OPAL_ACTIVEKEY); uid 1225 block/sed-opal.c u8 *uid, bool rle, bool wle, uid 1230 block/sed-opal.c err = cmd_start(dev, uid, opalmethod[OPAL_SET]); uid 1262 block/sed-opal.c static inline int enable_global_lr(struct opal_dev *dev, u8 *uid, uid 1267 block/sed-opal.c err = generic_lr_enable_disable(dev, uid, !!setup->RLE, !!setup->WLE, uid 1277 block/sed-opal.c u8 uid[OPAL_UID_LENGTH]; uid 1283 block/sed-opal.c err = build_locking_range(uid, sizeof(uid), lr); uid 1288 block/sed-opal.c err = enable_global_lr(dev, uid, setup); uid 1290 block/sed-opal.c err = cmd_start(dev, uid, opalmethod[OPAL_SET]); uid 1487 block/sed-opal.c u8 uid[OPAL_UID_LENGTH]; uid 1490 block/sed-opal.c memcpy(uid, opaluid[OPAL_USER1_UID], OPAL_UID_LENGTH); uid 1491 block/sed-opal.c uid[7] = session->who; uid 1493 block/sed-opal.c err = cmd_start(dev, uid, opalmethod[OPAL_SET]); uid 1515 block/sed-opal.c u8 uid[OPAL_UID_LENGTH]; uid 1518 block/sed-opal.c if (build_locking_range(uid, sizeof(uid), session->opal_key.lr) < 0) uid 1521 block/sed-opal.c err = cmd_start(dev, uid, opalmethod[OPAL_ERASE]); uid 185 drivers/acpi/acpi_lpss.c long uid = 0; uid 189 drivers/acpi/acpi_lpss.c uid = simple_strtol(uid_str, NULL, 10); uid 193 drivers/acpi/acpi_lpss.c if (ACPI_SUCCESS(status) && shared_host && uid) uid 194 drivers/acpi/acpi_lpss.c pmc_atom_d3_mask &= ~(BIT_LPSS2_F1_I2C1 << (uid - 1)); uid 531 drivers/acpi/acpi_lpss.c const char *uid; uid 542 drivers/acpi/acpi_lpss.c return hid_uid_match(adev, id->hid, id->uid); uid 545 drivers/acpi/acpi_lpss.c static struct device *acpi_lpss_find_device(const char *hid, const char *uid) uid 551 drivers/acpi/acpi_lpss.c .uid = uid, uid 641 drivers/acpi/acpi_processor.c unsigned long long uid; uid 654 drivers/acpi/acpi_processor.c uid = object.processor.proc_id; uid 658 drivers/acpi/acpi_processor.c status = acpi_evaluate_integer(handle, "_UID", NULL, &uid); uid 666 drivers/acpi/acpi_processor.c processor_validated_ids_update(uid); uid 233 drivers/acpi/acpica/nsxfname.c struct acpi_pnp_device_id *uid = NULL; uid 296 drivers/acpi/acpica/nsxfname.c status = acpi_ut_execute_UID(node, &uid); uid 298 drivers/acpi/acpica/nsxfname.c info_size += uid->length; uid 404 drivers/acpi/acpica/nsxfname.c if (uid) { uid 406 drivers/acpi/acpica/nsxfname.c uid, next_id_string); uid 447 drivers/acpi/acpica/nsxfname.c if (uid) { uid 448 drivers/acpi/acpica/nsxfname.c ACPI_FREE(uid); uid 117 drivers/acpi/acpica/utids.c struct acpi_pnp_device_id *uid; uid 140 drivers/acpi/acpica/utids.c uid = uid 143 drivers/acpi/acpica/utids.c if (!uid) { uid 150 drivers/acpi/acpica/utids.c uid->string = uid 151 drivers/acpi/acpica/utids.c ACPI_ADD_PTR(char, uid, sizeof(struct acpi_pnp_device_id)); uid 156 drivers/acpi/acpica/utids.c acpi_ex_integer_to_string(uid->string, obj_desc->integer.value); uid 158 drivers/acpi/acpica/utids.c strcpy(uid->string, obj_desc->string.pointer); uid 161 drivers/acpi/acpica/utids.c uid->length = length; uid 162 drivers/acpi/acpica/utids.c *return_id = uid; uid 416 drivers/acpi/device_sysfs.c static DEVICE_ATTR(uid, 0444, acpi_device_uid_show, NULL); uid 546 drivers/acpi/dock.c static DEVICE_ATTR(uid, S_IRUGO, show_dock_uid, NULL); uid 60 drivers/acpi/processor_core.c if (device_declaration && (apic->uid == acpi_id)) { uid 78 drivers/acpi/processor_core.c if ((entry->length < 16) || (lsapic->uid != acpi_id)) uid 104 drivers/acpi/processor_core.c if (device_declaration && (gicc->uid == acpi_id)) { uid 723 drivers/acpi/sleep.c int uid; uid 817 drivers/acpi/sleep.c dev_info.uid = obj->integer.value; uid 823 drivers/acpi/sleep.c dev_info.uid, uid 77 drivers/acpi/tables.c p->local_apic_id, p->uid, uid 140 drivers/acpi/tables.c p->uid, uid 193 drivers/acpi/tables.c p->uid, p->base_address, uid 729 drivers/acpi/utils.c const char *uid; uid 743 drivers/acpi/utils.c if (match->uid && (!adev->pnp.unique_id || uid 744 drivers/acpi/utils.c strcmp(adev->pnp.unique_id, match->uid))) uid 777 drivers/acpi/utils.c bool acpi_dev_present(const char *hid, const char *uid, s64 hrv) uid 783 drivers/acpi/utils.c match.uid = uid; uid 806 drivers/acpi/utils.c acpi_dev_get_first_match_dev(const char *hid, const char *uid, s64 hrv) uid 812 drivers/acpi/utils.c match.uid = uid; uid 37 drivers/acpi/x86/utils.c const char *uid; uid 42 drivers/acpi/x86/utils.c #define ENTRY(hid, uid, cpu_models, dmi...) { \ uid 46 drivers/acpi/x86/utils.c uid, \ uid 122 drivers/acpi/x86/utils.c strcmp(adev->pnp.unique_id, always_present_ids[i].uid)) uid 1119 drivers/base/core.c static void device_get_ownership(struct kobject *kobj, kuid_t *uid, kgid_t *gid) uid 1124 drivers/base/core.c dev->class->get_ownership(dev, uid, gid); uid 1171 drivers/base/core.c kuid_t uid = GLOBAL_ROOT_UID; uid 1176 drivers/base/core.c name = device_get_devnode(dev, &mode, &uid, &gid, &tmp); uid 1181 drivers/base/core.c if (!uid_eq(uid, GLOBAL_ROOT_UID)) uid 1182 drivers/base/core.c add_uevent_var(env, "DEVUID=%u", from_kuid(&init_user_ns, uid)); uid 2453 drivers/base/core.c umode_t *mode, kuid_t *uid, kgid_t *gid, uid 2462 drivers/base/core.c *tmp = dev->type->devnode(dev, mode, uid, gid); uid 47 drivers/base/devtmpfs.c kuid_t uid; uid 105 drivers/base/devtmpfs.c req.uid = GLOBAL_ROOT_UID; uid 107 drivers/base/devtmpfs.c req.name = device_get_devnode(dev, &req.mode, &req.uid, &req.gid, &tmp); uid 209 drivers/base/devtmpfs.c static int handle_create(const char *nodename, umode_t mode, kuid_t uid, uid 229 drivers/base/devtmpfs.c newattrs.ia_uid = uid; uid 382 drivers/base/devtmpfs.c static int handle(const char *name, umode_t mode, kuid_t uid, kgid_t gid, uid 386 drivers/base/devtmpfs.c return handle_create(name, mode, uid, gid, dev); uid 412 drivers/base/devtmpfs.c req->uid, req->gid, req->dev); uid 1262 drivers/block/loop.c kuid_t uid = current_uid(); uid 1270 drivers/block/loop.c !uid_eq(lo->lo_key_owner, uid) && uid 1354 drivers/block/loop.c lo->lo_key_owner = uid; uid 135 drivers/connector/cn_proc.c ev->event_data.id.r.ruid = from_kuid_munged(&init_user_ns, cred->uid); uid 41 drivers/dma/sprd-dma.c #define SPRD_DMA_GLB_REQ_UID(uid) (0x4 * ((uid) - 1)) uid 17 drivers/firmware/efi/dev-path-parser.c char uid[11]; /* UINT_MAX + null byte */ uid 29 drivers/firmware/efi/dev-path-parser.c return !strcmp(adev->pnp.unique_id, hid_uid.uid); uid 31 drivers/firmware/efi/dev-path-parser.c return !strcmp("0", hid_uid.uid); uid 48 drivers/firmware/efi/dev-path-parser.c sprintf(hid_uid.uid, "%u", node->acpi.uid); uid 893 drivers/fsi/fsi-core.c kuid_t *uid, kgid_t *gid) uid 911 drivers/fsi/fsi-core.c kuid_t *uid, kgid_t *gid) uid 78 drivers/gpu/drm/drm_debugfs.c kuid_t uid; uid 97 drivers/gpu/drm/drm_debugfs.c uid = task ? __task_cred(task)->euid : GLOBAL_ROOT_UID; uid 104 drivers/gpu/drm/drm_debugfs.c from_kuid_munged(seq_user_ns(m), uid), uid 252 drivers/gpu/drm/drm_ioc32.c u32 uid; /* User ID */ uid 277 drivers/gpu/drm/drm_ioc32.c c32.uid = client.uid; uid 201 drivers/gpu/drm/drm_ioctl.c client->uid = overflowuid; uid 189 drivers/hwtracing/intel_th/core.c kuid_t *uid, kgid_t *gid) uid 248 drivers/i2c/busses/i2c-amd-mp2-plat.c const char *uid; uid 276 drivers/i2c/busses/i2c-amd-mp2-plat.c uid = adev->pnp.unique_id; uid 277 drivers/i2c/busses/i2c-amd-mp2-plat.c if (!uid) { uid 280 drivers/i2c/busses/i2c-amd-mp2-plat.c } else if (strcmp(uid, "0") == 0) { uid 282 drivers/i2c/busses/i2c-amd-mp2-plat.c } else if (strcmp(uid, "1") == 0) { uid 285 drivers/i2c/busses/i2c-amd-mp2-plat.c dev_err(&pdev->dev, "incorrect UID/bus id \"%s\"!\n", uid); uid 95 drivers/infiniband/core/ucma.c u64 uid; uid 113 drivers/infiniband/core/ucma.c u64 uid; uid 292 drivers/infiniband/core/ucma.c uevent->resp.uid = uevent->mc->uid; uid 296 drivers/infiniband/core/ucma.c uevent->resp.uid = ctx->uid; uid 370 drivers/infiniband/core/ucma.c } else if (!ctx->uid || ctx->cm_id != cm_id) { uid 502 drivers/infiniband/core/ucma.c ctx->uid = cmd.uid; uid 1141 drivers/infiniband/core/ucma.c ctx->uid = cmd.uid; uid 1453 drivers/infiniband/core/ucma.c mc->uid = cmd->uid; uid 1499 drivers/infiniband/core/ucma.c join_cmd.uid = cmd.uid; uid 1541 drivers/infiniband/hw/hfi1/hfi.h static inline u16 generate_jkey(kuid_t uid) uid 1543 drivers/infiniband/hw/hfi1/hfi.h u16 jkey = from_kuid(current_user_ns(), uid) & HFI1_JKEY_MASK; uid 201 drivers/infiniband/hw/mlx5/cmd.c void mlx5_cmd_destroy_tir(struct mlx5_core_dev *dev, u32 tirn, u16 uid) uid 208 drivers/infiniband/hw/mlx5/cmd.c MLX5_SET(destroy_tir_in, in, uid, uid); uid 212 drivers/infiniband/hw/mlx5/cmd.c void mlx5_cmd_destroy_tis(struct mlx5_core_dev *dev, u32 tisn, u16 uid) uid 219 drivers/infiniband/hw/mlx5/cmd.c MLX5_SET(destroy_tis_in, in, uid, uid); uid 223 drivers/infiniband/hw/mlx5/cmd.c void mlx5_cmd_destroy_rqt(struct mlx5_core_dev *dev, u32 rqtn, u16 uid) uid 230 drivers/infiniband/hw/mlx5/cmd.c MLX5_SET(destroy_rqt_in, in, uid, uid); uid 235 drivers/infiniband/hw/mlx5/cmd.c u16 uid) uid 243 drivers/infiniband/hw/mlx5/cmd.c MLX5_SET(alloc_transport_domain_in, in, uid, uid); uid 254 drivers/infiniband/hw/mlx5/cmd.c u16 uid) uid 261 drivers/infiniband/hw/mlx5/cmd.c MLX5_SET(dealloc_transport_domain_in, in, uid, uid); uid 266 drivers/infiniband/hw/mlx5/cmd.c void mlx5_cmd_dealloc_pd(struct mlx5_core_dev *dev, u32 pdn, u16 uid) uid 273 drivers/infiniband/hw/mlx5/cmd.c MLX5_SET(dealloc_pd_in, in, uid, uid); uid 278 drivers/infiniband/hw/mlx5/cmd.c u32 qpn, u16 uid) uid 286 drivers/infiniband/hw/mlx5/cmd.c MLX5_SET(attach_to_mcg_in, in, uid, uid); uid 293 drivers/infiniband/hw/mlx5/cmd.c u32 qpn, u16 uid) uid 301 drivers/infiniband/hw/mlx5/cmd.c MLX5_SET(detach_from_mcg_in, in, uid, uid); uid 307 drivers/infiniband/hw/mlx5/cmd.c int mlx5_cmd_xrcd_alloc(struct mlx5_core_dev *dev, u32 *xrcdn, u16 uid) uid 314 drivers/infiniband/hw/mlx5/cmd.c MLX5_SET(alloc_xrcd_in, in, uid, uid); uid 321 drivers/infiniband/hw/mlx5/cmd.c int mlx5_cmd_xrcd_dealloc(struct mlx5_core_dev *dev, u32 xrcdn, u16 uid) uid 328 drivers/infiniband/hw/mlx5/cmd.c MLX5_SET(dealloc_xrcd_in, in, uid, uid); uid 333 drivers/infiniband/hw/mlx5/cmd.c u16 uid) uid 340 drivers/infiniband/hw/mlx5/cmd.c MLX5_SET(alloc_q_counter_in, in, uid, uid); uid 50 drivers/infiniband/hw/mlx5/cmd.h void mlx5_cmd_dealloc_pd(struct mlx5_core_dev *dev, u32 pdn, u16 uid); uid 51 drivers/infiniband/hw/mlx5/cmd.h void mlx5_cmd_destroy_tir(struct mlx5_core_dev *dev, u32 tirn, u16 uid); uid 52 drivers/infiniband/hw/mlx5/cmd.h void mlx5_cmd_destroy_tis(struct mlx5_core_dev *dev, u32 tisn, u16 uid); uid 53 drivers/infiniband/hw/mlx5/cmd.h void mlx5_cmd_destroy_rqt(struct mlx5_core_dev *dev, u32 rqtn, u16 uid); uid 55 drivers/infiniband/hw/mlx5/cmd.h u16 uid); uid 57 drivers/infiniband/hw/mlx5/cmd.h u16 uid); uid 59 drivers/infiniband/hw/mlx5/cmd.h u32 qpn, u16 uid); uid 61 drivers/infiniband/hw/mlx5/cmd.h u32 qpn, u16 uid); uid 62 drivers/infiniband/hw/mlx5/cmd.h int mlx5_cmd_xrcd_alloc(struct mlx5_core_dev *dev, u32 *xrcdn, u16 uid); uid 63 drivers/infiniband/hw/mlx5/cmd.h int mlx5_cmd_xrcd_dealloc(struct mlx5_core_dev *dev, u32 xrcdn, u16 uid); uid 65 drivers/infiniband/hw/mlx5/cmd.h u16 uid); uid 808 drivers/infiniband/hw/mlx5/cq.c MLX5_SET(create_cq_in, *cqb, uid, context->devx_uid); uid 135 drivers/infiniband/hw/mlx5/devx.c u16 uid; uid 158 drivers/infiniband/hw/mlx5/devx.c uid = MLX5_GET(general_obj_out_cmd_hdr, out, obj_id); uid 159 drivers/infiniband/hw/mlx5/devx.c return uid; uid 162 drivers/infiniband/hw/mlx5/devx.c void mlx5_ib_devx_destroy(struct mlx5_ib_dev *dev, u16 uid) uid 168 drivers/infiniband/hw/mlx5/devx.c MLX5_SET(destroy_uctx_in, in, uid, uid); uid 1037 drivers/infiniband/hw/mlx5/devx.c int uid; uid 1044 drivers/infiniband/hw/mlx5/devx.c uid = devx_get_uid(c, cmd_in); uid 1045 drivers/infiniband/hw/mlx5/devx.c if (uid < 0) uid 1046 drivers/infiniband/hw/mlx5/devx.c return uid; uid 1056 drivers/infiniband/hw/mlx5/devx.c MLX5_SET(general_obj_in_cmd_hdr, cmd_in, uid, uid); uid 1072 drivers/infiniband/hw/mlx5/devx.c u16 uid = MLX5_GET(general_obj_in_cmd_hdr, in, uid); uid 1078 drivers/infiniband/hw/mlx5/devx.c MLX5_SET(general_obj_in_cmd_hdr, din, uid, uid); uid 1415 drivers/infiniband/hw/mlx5/devx.c int uid; uid 1422 drivers/infiniband/hw/mlx5/devx.c uid = devx_get_uid(c, cmd_in); uid 1423 drivers/infiniband/hw/mlx5/devx.c if (uid < 0) uid 1424 drivers/infiniband/hw/mlx5/devx.c return uid; uid 1437 drivers/infiniband/hw/mlx5/devx.c MLX5_SET(general_obj_in_cmd_hdr, cmd_in, uid, uid); uid 1514 drivers/infiniband/hw/mlx5/devx.c int uid; uid 1519 drivers/infiniband/hw/mlx5/devx.c uid = devx_get_uid(c, cmd_in); uid 1520 drivers/infiniband/hw/mlx5/devx.c if (uid < 0) uid 1521 drivers/infiniband/hw/mlx5/devx.c return uid; uid 1533 drivers/infiniband/hw/mlx5/devx.c MLX5_SET(general_obj_in_cmd_hdr, cmd_in, uid, uid); uid 1558 drivers/infiniband/hw/mlx5/devx.c int uid; uid 1564 drivers/infiniband/hw/mlx5/devx.c uid = devx_get_uid(c, cmd_in); uid 1565 drivers/infiniband/hw/mlx5/devx.c if (uid < 0) uid 1566 drivers/infiniband/hw/mlx5/devx.c return uid; uid 1578 drivers/infiniband/hw/mlx5/devx.c MLX5_SET(general_obj_in_cmd_hdr, cmd_in, uid, uid); uid 1696 drivers/infiniband/hw/mlx5/devx.c int uid; uid 1704 drivers/infiniband/hw/mlx5/devx.c uid = devx_get_uid(c, cmd_in); uid 1705 drivers/infiniband/hw/mlx5/devx.c if (uid < 0) uid 1706 drivers/infiniband/hw/mlx5/devx.c return uid; uid 1750 drivers/infiniband/hw/mlx5/devx.c MLX5_SET(general_obj_in_cmd_hdr, cmd_in, uid, uid); uid 2203 drivers/infiniband/hw/mlx5/devx.c MLX5_SET(create_umem_in, cmd.in, uid, c->devx_uid); uid 1730 drivers/infiniband/hw/mlx5/main.c u16 uid) uid 1737 drivers/infiniband/hw/mlx5/main.c err = mlx5_cmd_alloc_transport_domain(dev->mdev, tdn, uid); uid 1750 drivers/infiniband/hw/mlx5/main.c u16 uid) uid 1755 drivers/infiniband/hw/mlx5/main.c mlx5_cmd_dealloc_transport_domain(dev->mdev, tdn, uid); uid 2475 drivers/infiniband/hw/mlx5/main.c u16 uid = 0; uid 2479 drivers/infiniband/hw/mlx5/main.c uid = context ? context->devx_uid : 0; uid 2481 drivers/infiniband/hw/mlx5/main.c MLX5_SET(alloc_pd_in, in, uid, uid); uid 2488 drivers/infiniband/hw/mlx5/main.c pd->uid = uid; uid 2492 drivers/infiniband/hw/mlx5/main.c mlx5_cmd_dealloc_pd(to_mdev(ibdev)->mdev, pd->pdn, uid); uid 2505 drivers/infiniband/hw/mlx5/main.c mlx5_cmd_dealloc_pd(mdev->mdev, mpd->pdn, mpd->uid); uid 4345 drivers/infiniband/hw/mlx5/main.c u16 uid; uid 4347 drivers/infiniband/hw/mlx5/main.c uid = ibqp->pd ? uid 4348 drivers/infiniband/hw/mlx5/main.c to_mpd(ibqp->pd)->uid : 0; uid 4355 drivers/infiniband/hw/mlx5/main.c err = mlx5_cmd_attach_mcg(dev->mdev, gid, ibqp->qp_num, uid); uid 4367 drivers/infiniband/hw/mlx5/main.c u16 uid; uid 4369 drivers/infiniband/hw/mlx5/main.c uid = ibqp->pd ? uid 4370 drivers/infiniband/hw/mlx5/main.c to_mpd(ibqp->pd)->uid : 0; uid 4371 drivers/infiniband/hw/mlx5/main.c err = mlx5_cmd_detach_mcg(dev->mdev, gid, ibqp->qp_num, uid); uid 6691 drivers/infiniband/hw/mlx5/main.c int uid; uid 6693 drivers/infiniband/hw/mlx5/main.c uid = mlx5_ib_devx_create(dev, false); uid 6694 drivers/infiniband/hw/mlx5/main.c if (uid > 0) { uid 6695 drivers/infiniband/hw/mlx5/main.c dev->devx_whitelist_uid = uid; uid 152 drivers/infiniband/hw/mlx5/mlx5_ib.h u16 uid; uid 337 drivers/infiniband/hw/mlx5/mlx5_ib.h u16 uid; uid 1341 drivers/infiniband/hw/mlx5/mlx5_ib.h void mlx5_ib_devx_destroy(struct mlx5_ib_dev *dev, u16 uid); uid 1360 drivers/infiniband/hw/mlx5/mlx5_ib.h static inline void mlx5_ib_devx_destroy(struct mlx5_ib_dev *dev, u16 uid) {} uid 874 drivers/infiniband/hw/mlx5/qp.c u16 uid; uid 936 drivers/infiniband/hw/mlx5/qp.c uid = (attr->qp_type != IB_QPT_XRC_TGT && uid 937 drivers/infiniband/hw/mlx5/qp.c attr->qp_type != IB_QPT_XRC_INI) ? to_mpd(pd)->uid : 0; uid 938 drivers/infiniband/hw/mlx5/qp.c MLX5_SET(create_qp_in, *in, uid, uid); uid 1198 drivers/infiniband/hw/mlx5/qp.c MLX5_SET(create_tis_in, in, uid, to_mpd(pd)->uid); uid 1209 drivers/infiniband/hw/mlx5/qp.c mlx5_cmd_destroy_tis(dev->mdev, sq->tisn, to_mpd(pd)->uid); uid 1250 drivers/infiniband/hw/mlx5/qp.c MLX5_SET(create_sq_in, in, uid, to_mpd(pd)->uid); uid 1339 drivers/infiniband/hw/mlx5/qp.c MLX5_SET(create_rq_in, in, uid, to_mpd(pd)->uid); uid 1395 drivers/infiniband/hw/mlx5/qp.c mlx5_cmd_destroy_tir(dev->mdev, rq->tirn, to_mpd(pd)->uid); uid 1415 drivers/infiniband/hw/mlx5/qp.c MLX5_SET(create_tir_in, in, uid, to_mpd(pd)->uid); uid 1463 drivers/infiniband/hw/mlx5/qp.c u16 uid = to_mpd(pd)->uid; uid 1475 drivers/infiniband/hw/mlx5/qp.c if (uid) { uid 1503 drivers/infiniband/hw/mlx5/qp.c if (uid) { uid 1583 drivers/infiniband/hw/mlx5/qp.c to_mpd(qp->ibqp.pd)->uid); uid 1684 drivers/infiniband/hw/mlx5/qp.c MLX5_SET(create_tir_in, in, uid, to_mpd(pd)->uid); uid 1802 drivers/infiniband/hw/mlx5/qp.c to_mpd(pd)->uid); uid 2569 drivers/infiniband/hw/mlx5/qp.c MLX5_SET(create_dct_in, qp->dct.in, uid, to_mpd(pd)->uid); uid 2868 drivers/infiniband/hw/mlx5/qp.c MLX5_SET(modify_tis_in, in, uid, to_mpd(pd)->uid); uid 2895 drivers/infiniband/hw/mlx5/qp.c MLX5_SET(modify_tis_in, in, uid, to_mpd(pd)->uid); uid 3164 drivers/infiniband/hw/mlx5/qp.c MLX5_SET(modify_rq_in, in, uid, to_mpd(pd)->uid); uid 3210 drivers/infiniband/hw/mlx5/qp.c MLX5_SET(modify_sq_in, in, uid, to_mpd(pd)->uid); uid 5937 drivers/infiniband/hw/mlx5/qp.c MLX5_SET(create_rq_in, in, uid, to_mpd(pd)->uid); uid 6244 drivers/infiniband/hw/mlx5/qp.c rwq_ind_tbl->uid = to_mpd(init_attr->ind_tbl[0]->pd)->uid; uid 6245 drivers/infiniband/hw/mlx5/qp.c MLX5_SET(create_rqt_in, in, uid, rwq_ind_tbl->uid); uid 6265 drivers/infiniband/hw/mlx5/qp.c mlx5_cmd_destroy_rqt(dev->mdev, rwq_ind_tbl->rqtn, rwq_ind_tbl->uid); uid 6276 drivers/infiniband/hw/mlx5/qp.c mlx5_cmd_destroy_rqt(dev->mdev, rwq_ind_tbl->rqtn, rwq_ind_tbl->uid); uid 6327 drivers/infiniband/hw/mlx5/qp.c MLX5_SET(modify_rq_in, in, uid, to_mpd(wq->pd)->uid); uid 115 drivers/infiniband/hw/mlx5/srq.c in->uid = (in->type != IB_SRQT_XRC) ? to_mpd(pd)->uid : 0; uid 35 drivers/infiniband/hw/mlx5/srq.h u16 uid; uid 49 drivers/infiniband/hw/mlx5/srq.h u16 uid; uid 112 drivers/infiniband/hw/mlx5/srq_cmd.c MLX5_SET(create_srq_in, create_in, uid, in->uid); uid 127 drivers/infiniband/hw/mlx5/srq_cmd.c srq->uid = in->uid; uid 141 drivers/infiniband/hw/mlx5/srq_cmd.c MLX5_SET(destroy_srq_in, srq_in, uid, srq->uid); uid 157 drivers/infiniband/hw/mlx5/srq_cmd.c MLX5_SET(arm_rq_in, srq_in, uid, srq->uid); uid 210 drivers/infiniband/hw/mlx5/srq_cmd.c MLX5_SET(create_xrc_srq_in, create_in, uid, in->uid); uid 228 drivers/infiniband/hw/mlx5/srq_cmd.c srq->uid = in->uid; uid 243 drivers/infiniband/hw/mlx5/srq_cmd.c MLX5_SET(destroy_xrc_srq_in, xrcsrq_in, uid, srq->uid); uid 259 drivers/infiniband/hw/mlx5/srq_cmd.c MLX5_SET(arm_xrc_srq_in, xrcsrq_in, uid, srq->uid); uid 325 drivers/infiniband/hw/mlx5/srq_cmd.c MLX5_SET(create_rmp_in, create_in, uid, in->uid); uid 333 drivers/infiniband/hw/mlx5/srq_cmd.c srq->uid = in->uid; uid 349 drivers/infiniband/hw/mlx5/srq_cmd.c MLX5_SET(destroy_rmp_in, in, uid, srq->uid); uid 381 drivers/infiniband/hw/mlx5/srq_cmd.c MLX5_SET(modify_rmp_in, in, uid, srq->uid); uid 466 drivers/infiniband/hw/mlx5/srq_cmd.c MLX5_SET(create_xrq_in, create_in, uid, in->uid); uid 472 drivers/infiniband/hw/mlx5/srq_cmd.c srq->uid = in->uid; uid 485 drivers/infiniband/hw/mlx5/srq_cmd.c MLX5_SET(destroy_xrq_in, in, uid, srq->uid); uid 501 drivers/infiniband/hw/mlx5/srq_cmd.c MLX5_SET(arm_rq_in, in, uid, srq->uid); uid 60 drivers/input/touchscreen/cyttsp_core.h u8 uid[8]; uid 131 drivers/iommu/amd_iommu.c const char *hid, *uid; uid 137 drivers/iommu/amd_iommu.c uid = acpi_device_uid(adev); uid 142 drivers/iommu/amd_iommu.c if (!uid || !(*uid)) uid 145 drivers/iommu/amd_iommu.c if (!(*entry->uid)) uid 148 drivers/iommu/amd_iommu.c return (strcmp(hid, entry->hid) || strcmp(uid, entry->uid)); uid 128 drivers/iommu/amd_iommu_init.c u8 uid; uid 1043 drivers/iommu/amd_iommu_init.c static int __init add_acpi_hid_device(u8 *hid, u8 *uid, u16 *devid, uid 1051 drivers/iommu/amd_iommu_init.c (*uid && *entry->uid && strcmp(entry->uid, uid)) || uid 1056 drivers/iommu/amd_iommu_init.c hid, uid); uid 1065 drivers/iommu/amd_iommu_init.c memcpy(entry->uid, uid, strlen(uid)); uid 1073 drivers/iommu/amd_iommu_init.c entry->hid, entry->uid, entry->root_devid); uid 1103 drivers/iommu/amd_iommu_init.c early_acpihid_map[i].uid, uid 1335 drivers/iommu/amd_iommu_init.c u8 uid[ACPIHID_UID_LEN]; uid 1352 drivers/iommu/amd_iommu_init.c uid[0] = '\0'; uid 1362 drivers/iommu/amd_iommu_init.c sprintf(uid, "%d", e->uid); uid 1367 drivers/iommu/amd_iommu_init.c memcpy(uid, &e->uid, e->uidl); uid 1368 drivers/iommu/amd_iommu_init.c uid[e->uidl] = '\0'; uid 1377 drivers/iommu/amd_iommu_init.c hid, uid, uid 1384 drivers/iommu/amd_iommu_init.c ret = add_acpi_hid_device(hid, uid, &devid, false); uid 3038 drivers/iommu/amd_iommu_init.c char *hid, *uid, *p; uid 3050 drivers/iommu/amd_iommu_init.c uid = p; uid 3052 drivers/iommu/amd_iommu_init.c if (!hid || !(*hid) || !uid) { uid 3059 drivers/iommu/amd_iommu_init.c memcpy(early_acpihid_map[i].uid, uid, strlen(uid)); uid 617 drivers/iommu/amd_iommu_types.h u8 uid[ACPIHID_UID_LEN]; uid 89 drivers/misc/ad525x_dpot.c unsigned int uid; uid 135 drivers/misc/ad525x_dpot.c if (dpot->uid == DPOT_UID(AD5291_ID) || uid 136 drivers/misc/ad525x_dpot.c dpot->uid == DPOT_UID(AD5292_ID) || uid 137 drivers/misc/ad525x_dpot.c dpot->uid == DPOT_UID(AD5293_ID)) { uid 142 drivers/misc/ad525x_dpot.c if (dpot->uid == DPOT_UID(AD5291_ID)) uid 146 drivers/misc/ad525x_dpot.c } else if (dpot->uid == DPOT_UID(AD5270_ID) || uid 147 drivers/misc/ad525x_dpot.c dpot->uid == DPOT_UID(AD5271_ID)) { uid 155 drivers/misc/ad525x_dpot.c if (dpot->uid == DPOT_UID(AD5271_ID)) uid 179 drivers/misc/ad525x_dpot.c switch (dpot->uid) { uid 216 drivers/misc/ad525x_dpot.c if (dpot->uid == DPOT_UID(AD5274_ID)) uid 259 drivers/misc/ad525x_dpot.c if (dpot->uid == DPOT_UID(AD5291_ID) || uid 260 drivers/misc/ad525x_dpot.c dpot->uid == DPOT_UID(AD5292_ID) || uid 261 drivers/misc/ad525x_dpot.c dpot->uid == DPOT_UID(AD5293_ID)) { uid 266 drivers/misc/ad525x_dpot.c if (dpot->uid == DPOT_UID(AD5291_ID)) uid 272 drivers/misc/ad525x_dpot.c } else if (dpot->uid == DPOT_UID(AD5270_ID) || uid 273 drivers/misc/ad525x_dpot.c dpot->uid == DPOT_UID(AD5271_ID)) { uid 278 drivers/misc/ad525x_dpot.c if (dpot->uid == DPOT_UID(AD5271_ID)) uid 305 drivers/misc/ad525x_dpot.c if (dpot->uid == DPOT_UID(AD5291_ID) || uid 306 drivers/misc/ad525x_dpot.c dpot->uid == DPOT_UID(AD5292_ID)) { uid 309 drivers/misc/ad525x_dpot.c } else if (dpot->uid == DPOT_UID(AD5270_ID) || uid 310 drivers/misc/ad525x_dpot.c dpot->uid == DPOT_UID(AD5271_ID)) { uid 330 drivers/misc/ad525x_dpot.c switch (dpot->uid) { uid 382 drivers/misc/ad525x_dpot.c if (dpot->uid == DPOT_UID(AD5274_ID)) uid 702 drivers/misc/ad525x_dpot.c data->uid = DPOT_UID(devid); uid 13 drivers/misc/ad525x_dpot.h #define DPOT_CONF(features, wipers, max_pos, uid) \ uid 15 drivers/misc/ad525x_dpot.h ((max_pos & 0xF) << 6) | (uid & 0x3F)) uid 631 drivers/misc/genwqe/card_base.c u64 mask, fir, fec, uid, gfir, gfir_masked, sfir, sfec; uid 661 drivers/misc/genwqe/card_base.c for (uid = 0; uid < GENWQE_MAX_UNITS; uid++) { /* 0..2 in zEDC */ uid 664 drivers/misc/genwqe/card_base.c fir_addr = (uid << 24) + 0x08; uid 674 drivers/misc/genwqe/card_base.c fec_addr = (uid << 24) + 0x18; uid 687 drivers/misc/genwqe/card_base.c sfir_addr = (uid << 24) + 0x100 + 0x08 * j; uid 695 drivers/misc/genwqe/card_base.c sfec_addr = (uid << 24) + 0x300 + 0x08 * j; uid 718 drivers/misc/genwqe/card_base.c sfir_addr = (uid << 24) + 0x100 + 0x08 * j; uid 735 drivers/misc/genwqe/card_base.c fir_clr_addr = (uid << 24) + 0x10; uid 43 drivers/misc/genwqe/card_debugfs.c static int curr_dbg_uidn_show(struct seq_file *s, void *unused, int uid) uid 49 drivers/misc/genwqe/card_debugfs.c entries = genwqe_ffdc_buff_size(cd, uid); uid 61 drivers/misc/genwqe/card_debugfs.c genwqe_ffdc_buff_read(cd, uid, regs, entries); uid 90 drivers/misc/genwqe/card_debugfs.c static int prev_dbg_uidn_show(struct seq_file *s, void *unused, int uid) uid 94 drivers/misc/genwqe/card_debugfs.c dbg_uidn_show(s, cd->ffdc[uid].regs, cd->ffdc[uid].entries); uid 577 drivers/misc/genwqe/card_dev.c req->__asiv[24] = load->uid; uid 589 drivers/misc/genwqe/card_dev.c *(__be32 *)&req->asiv[24] = cpu_to_be32(load->uid<<24); uid 703 drivers/misc/genwqe/card_dev.c cmd->__asiv[24] = load->uid; uid 711 drivers/misc/genwqe/card_dev.c *(__be32 *)&cmd->asiv[24] = cpu_to_be32(load->uid<<24); uid 846 drivers/misc/genwqe/card_utils.c int genwqe_ffdc_buff_size(struct genwqe_dev *cd, int uid) uid 852 drivers/misc/genwqe/card_utils.c eevptr_addr = GENWQE_UID_OFFS(uid) | IO_EXTENDED_ERROR_POINTER; uid 856 drivers/misc/genwqe/card_utils.c l_addr = GENWQE_UID_OFFS(uid) | eevptr; uid 881 drivers/misc/genwqe/card_utils.c addr = GENWQE_UID_OFFS(uid) | IO_EXTENDED_DIAG_MAP(ring); uid 899 drivers/misc/genwqe/card_utils.c int genwqe_ffdc_buff_read(struct genwqe_dev *cd, int uid, uid 907 drivers/misc/genwqe/card_utils.c eevptr_addr = GENWQE_UID_OFFS(uid) | IO_EXTENDED_ERROR_POINTER; uid 911 drivers/misc/genwqe/card_utils.c l_addr = GENWQE_UID_OFFS(uid) | eevptr; uid 920 drivers/misc/genwqe/card_utils.c d_addr |= GENWQE_UID_OFFS(uid); uid 946 drivers/misc/genwqe/card_utils.c addr = GENWQE_UID_OFFS(uid) | IO_EXTENDED_DIAG_MAP(ring); uid 963 drivers/misc/genwqe/card_utils.c addr = (GENWQE_UID_OFFS(uid) | uid 970 drivers/misc/genwqe/card_utils.c addr = (GENWQE_UID_OFFS(uid) | uid 1202 drivers/misc/vmw_vmci/vmci_context.c bool vmci_is_context_owner(u32 context_id, kuid_t uid) uid 1210 drivers/misc/vmw_vmci/vmci_context.c is_owner = uid_eq(context->cred->uid, uid); uid 329 drivers/mmc/host/sdhci-acpi.c const char *uid) uid 333 drivers/mmc/host/sdhci-acpi.c !strcmp(uid, "2") && uid 349 drivers/mmc/host/sdhci-acpi.c const char *uid) uid 379 drivers/mmc/host/sdhci-acpi.c const char *uid) uid 385 drivers/mmc/host/sdhci-acpi.c if (hid && uid && !strcmp(hid, "80860F14") && !strcmp(uid, "1") && uid 477 drivers/mmc/host/sdhci-acpi.c const char *uid) uid 586 drivers/mmc/host/sdhci-acpi.c const char *hid, const char *uid) uid 616 drivers/mmc/host/sdhci-acpi.c const char *uid; uid 660 drivers/mmc/host/sdhci-acpi.c const char *uid) uid 667 drivers/mmc/host/sdhci-acpi.c if (!u->uid) uid 669 drivers/mmc/host/sdhci-acpi.c if (uid && !strcmp(u->uid, uid)) uid 686 drivers/mmc/host/sdhci-acpi.c const char *uid; uid 694 drivers/mmc/host/sdhci-acpi.c uid = acpi_device_uid(device); uid 696 drivers/mmc/host/sdhci-acpi.c slot = sdhci_acpi_get_slot(hid, uid); uid 700 drivers/mmc/host/sdhci-acpi.c if (!sdhci_acpi_no_fixup_child_power(hid, uid)) { uid 750 drivers/mmc/host/sdhci-acpi.c err = c->slot->probe_slot(pdev, hid, uid); uid 1694 drivers/net/ethernet/calxeda/xgmac.c u32 uid; uid 1729 drivers/net/ethernet/calxeda/xgmac.c uid = readl(priv->base + XGMAC_VERSION); uid 1730 drivers/net/ethernet/calxeda/xgmac.c netdev_info(ndev, "h/w version is 0x%x\n", uid); uid 215 drivers/net/ethernet/mellanox/mlx4/alloc.c u32 uid; uid 263 drivers/net/ethernet/mellanox/mlx4/alloc.c zone->uid = zone_alloc->last_uid++; uid 279 drivers/net/ethernet/mellanox/mlx4/alloc.c *puid = zone->uid; uid 339 drivers/net/ethernet/mellanox/mlx4/alloc.c u32 uid = 0; uid 349 drivers/net/ethernet/mellanox/mlx4/alloc.c uid = zone->uid; uid 366 drivers/net/ethernet/mellanox/mlx4/alloc.c uid = it->uid; uid 386 drivers/net/ethernet/mellanox/mlx4/alloc.c uid = it->uid; uid 405 drivers/net/ethernet/mellanox/mlx4/alloc.c uid = curr_node->uid; uid 413 drivers/net/ethernet/mellanox/mlx4/alloc.c *puid = uid; uid 426 drivers/net/ethernet/mellanox/mlx4/alloc.c struct mlx4_zone_allocator *zones, u32 uid) uid 431 drivers/net/ethernet/mellanox/mlx4/alloc.c if (zone->uid == uid) uid 438 drivers/net/ethernet/mellanox/mlx4/alloc.c struct mlx4_bitmap *mlx4_zone_get_bitmap(struct mlx4_zone_allocator *zones, u32 uid) uid 445 drivers/net/ethernet/mellanox/mlx4/alloc.c zone = __mlx4_find_zone_by_uid(zones, uid); uid 454 drivers/net/ethernet/mellanox/mlx4/alloc.c int mlx4_zone_remove_one(struct mlx4_zone_allocator *zones, u32 uid) uid 461 drivers/net/ethernet/mellanox/mlx4/alloc.c zone = __mlx4_find_zone_by_uid(zones, uid); uid 508 drivers/net/ethernet/mellanox/mlx4/alloc.c u32 mlx4_zone_alloc_entries(struct mlx4_zone_allocator *zones, u32 uid, int count, uid 516 drivers/net/ethernet/mellanox/mlx4/alloc.c zone = __mlx4_find_zone_by_uid(zones, uid); uid 529 drivers/net/ethernet/mellanox/mlx4/alloc.c u32 mlx4_zone_free_entries(struct mlx4_zone_allocator *zones, u32 uid, u32 obj, u32 count) uid 536 drivers/net/ethernet/mellanox/mlx4/alloc.c zone = __mlx4_find_zone_by_uid(zones, uid); uid 1455 drivers/net/ethernet/mellanox/mlx4/mlx4.h int mlx4_zone_remove_one(struct mlx4_zone_allocator *zone_alloc, u32 uid); uid 1467 drivers/net/ethernet/mellanox/mlx4/mlx4.h u32 mlx4_zone_alloc_entries(struct mlx4_zone_allocator *zones, u32 uid, int count, uid 1474 drivers/net/ethernet/mellanox/mlx4/mlx4.h u32 uid, u32 obj, u32 count); uid 1483 drivers/net/ethernet/mellanox/mlx4/mlx4.h struct mlx4_bitmap *mlx4_zone_get_bitmap(struct mlx4_zone_allocator *zones, u32 uid); uid 222 drivers/net/ethernet/mellanox/mlx4/qp.c u32 uid; uid 231 drivers/net/ethernet/mellanox/mlx4/qp.c uid = MLX4_QP_TABLE_ZONE_GENERAL; uid 234 drivers/net/ethernet/mellanox/mlx4/qp.c uid = MLX4_QP_TABLE_ZONE_RAW_ETH; uid 236 drivers/net/ethernet/mellanox/mlx4/qp.c uid = MLX4_QP_TABLE_ZONE_RSS; uid 239 drivers/net/ethernet/mellanox/mlx4/qp.c *base = mlx4_zone_alloc_entries(qp_table->zones, uid, cnt, align, uid 722 drivers/net/ethernet/mellanox/mlx5/core/cmd.c u8 uid[0x10]; uid 742 drivers/net/ethernet/mellanox/mlx5/core/cmd.c u16 uid; uid 750 drivers/net/ethernet/mellanox/mlx5/core/cmd.c uid = MLX5_GET(mbox_in, in, uid); uid 752 drivers/net/ethernet/mellanox/mlx5/core/cmd.c if (!uid && opcode != MLX5_CMD_OP_DESTROY_MKEY) uid 113 drivers/net/ethernet/mellanox/mlx5/core/cq.c cq->uid = MLX5_GET(create_cq_in, in, uid); uid 149 drivers/net/ethernet/mellanox/mlx5/core/cq.c MLX5_SET(destroy_cq_in, din, uid, cq->uid); uid 166 drivers/net/ethernet/mellanox/mlx5/core/cq.c MLX5_SET(destroy_cq_in, in, uid, cq->uid); uid 198 drivers/net/ethernet/mellanox/mlx5/core/cq.c MLX5_SET(modify_cq_in, in, uid, cq->uid); uid 284 drivers/net/ethernet/mellanox/mlx5/core/eq.c MLX5_SET(create_eq_in, in, uid, MLX5_SHARED_RESOURCE_UID); uid 93 drivers/net/ethernet/mellanox/mlx5/core/lib/dm.c u64 length, u16 uid, phys_addr_t *addr, u32 *obj_id) uid 117 drivers/net/ethernet/mellanox/mlx5/core/lib/dm.c MLX5_SET(general_obj_in_cmd_hdr, in, uid, uid); uid 178 drivers/net/ethernet/mellanox/mlx5/core/lib/dm.c u64 length, u16 uid, phys_addr_t addr, u32 obj_id) uid 209 drivers/net/ethernet/mellanox/mlx5/core/lib/dm.c MLX5_SET(general_obj_in_cmd_hdr, in, uid, uid); uid 258 drivers/net/ethernet/mellanox/mlx5/core/qp.c MLX5_SET(destroy_dct_in, in, uid, qp->uid); uid 282 drivers/net/ethernet/mellanox/mlx5/core/qp.c qp->uid = MLX5_GET(create_dct_in, in, uid); uid 309 drivers/net/ethernet/mellanox/mlx5/core/qp.c qp->uid = MLX5_GET(create_qp_in, in, uid); uid 331 drivers/net/ethernet/mellanox/mlx5/core/qp.c MLX5_SET(destroy_qp_in, din, uid, qp->uid); uid 346 drivers/net/ethernet/mellanox/mlx5/core/qp.c MLX5_SET(drain_dct_in, in, uid, qp->uid); uid 371 drivers/net/ethernet/mellanox/mlx5/core/qp.c MLX5_SET(destroy_qp_in, in, uid, qp->uid); uid 425 drivers/net/ethernet/mellanox/mlx5/core/qp.c struct mbox_info *mbox, u16 uid) uid 437 drivers/net/ethernet/mellanox/mlx5/core/qp.c MLX5_SET(typ##_in, in, uid, _uid); \ uid 453 drivers/net/ethernet/mellanox/mlx5/core/qp.c MOD_QP_IN_SET(qp_2rst, mbox->in, opcode, qpn, uid); uid 458 drivers/net/ethernet/mellanox/mlx5/core/qp.c MOD_QP_IN_SET(qp_2err, mbox->in, opcode, qpn, uid); uid 466 drivers/net/ethernet/mellanox/mlx5/core/qp.c opt_param_mask, qpc, uid); uid 472 drivers/net/ethernet/mellanox/mlx5/core/qp.c opt_param_mask, qpc, uid); uid 478 drivers/net/ethernet/mellanox/mlx5/core/qp.c opt_param_mask, qpc, uid); uid 484 drivers/net/ethernet/mellanox/mlx5/core/qp.c opt_param_mask, qpc, uid); uid 490 drivers/net/ethernet/mellanox/mlx5/core/qp.c opt_param_mask, qpc, uid); uid 496 drivers/net/ethernet/mellanox/mlx5/core/qp.c opt_param_mask, qpc, uid); uid 514 drivers/net/ethernet/mellanox/mlx5/core/qp.c opt_param_mask, qpc, &mbox, qp->uid); uid 595 drivers/net/ethernet/mellanox/mlx5/core/qp.c static void destroy_rq_tracked(struct mlx5_core_dev *dev, u32 rqn, u16 uid) uid 602 drivers/net/ethernet/mellanox/mlx5/core/qp.c MLX5_SET(destroy_rq_in, in, uid, uid); uid 616 drivers/net/ethernet/mellanox/mlx5/core/qp.c rq->uid = MLX5_GET(create_rq_in, in, uid); uid 625 drivers/net/ethernet/mellanox/mlx5/core/qp.c destroy_rq_tracked(dev, rq->qpn, rq->uid); uid 635 drivers/net/ethernet/mellanox/mlx5/core/qp.c destroy_rq_tracked(dev, rq->qpn, rq->uid); uid 639 drivers/net/ethernet/mellanox/mlx5/core/qp.c static void destroy_sq_tracked(struct mlx5_core_dev *dev, u32 sqn, u16 uid) uid 646 drivers/net/ethernet/mellanox/mlx5/core/qp.c MLX5_SET(destroy_sq_in, in, uid, uid); uid 660 drivers/net/ethernet/mellanox/mlx5/core/qp.c sq->uid = MLX5_GET(create_sq_in, in, uid); uid 669 drivers/net/ethernet/mellanox/mlx5/core/qp.c destroy_sq_tracked(dev, sq->qpn, sq->uid); uid 679 drivers/net/ethernet/mellanox/mlx5/core/qp.c destroy_sq_tracked(dev, sq->qpn, sq->uid); uid 138 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c u16 uid, seq; uid 154 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c uid = hi & 0xffff; uid 157 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c if (!pch_ptp_match(skb, htons(uid), htonl(lo), htons(seq))) uid 286 drivers/net/ethernet/xscale/ixp4xx_eth.c u16 uid, seq; uid 303 drivers/net/ethernet/xscale/ixp4xx_eth.c uid = hi & 0xffff; uid 306 drivers/net/ethernet/xscale/ixp4xx_eth.c if (!ixp_ptp_match(skb, htons(uid), htonl(lo), htons(seq))) uid 753 drivers/net/wireless/intel/iwlwifi/fw/api/scan.h __le32 uid; uid 839 drivers/net/wireless/intel/iwlwifi/fw/api/scan.h __le32 uid; uid 854 drivers/net/wireless/intel/iwlwifi/fw/api/scan.h __le32 uid; uid 967 drivers/net/wireless/intel/iwlwifi/fw/api/scan.h __le32 uid; uid 3578 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c te_data->uid = le32_to_cpu(resp->event_unique_id); uid 3580 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c te_data->uid); uid 167 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h u32 uid; uid 1533 drivers/net/wireless/intel/iwlwifi/mvm/scan.c int uid, i; uid 1546 drivers/net/wireless/intel/iwlwifi/mvm/scan.c uid = iwl_mvm_scan_uid_by_status(mvm, 0); uid 1547 drivers/net/wireless/intel/iwlwifi/mvm/scan.c if (uid < 0) uid 1548 drivers/net/wireless/intel/iwlwifi/mvm/scan.c return uid; uid 1554 drivers/net/wireless/intel/iwlwifi/mvm/scan.c mvm->scan_uid_status[uid] = type; uid 1556 drivers/net/wireless/intel/iwlwifi/mvm/scan.c cmd->uid = cpu_to_le32(uid); uid 1926 drivers/net/wireless/intel/iwlwifi/mvm/scan.c u32 uid = __le32_to_cpu(notif->uid); uid 1929 drivers/net/wireless/intel/iwlwifi/mvm/scan.c if (WARN_ON(!(mvm->scan_uid_status[uid] & mvm->scan_status))) uid 1933 drivers/net/wireless/intel/iwlwifi/mvm/scan.c if (mvm->scan_uid_status[uid] == IWL_MVM_SCAN_REGULAR) { uid 1944 drivers/net/wireless/intel/iwlwifi/mvm/scan.c } else if (mvm->scan_uid_status[uid] == IWL_MVM_SCAN_SCHED) { uid 1949 drivers/net/wireless/intel/iwlwifi/mvm/scan.c mvm->scan_status &= ~mvm->scan_uid_status[uid]; uid 1952 drivers/net/wireless/intel/iwlwifi/mvm/scan.c uid, mvm->scan_uid_status[uid], uid 1965 drivers/net/wireless/intel/iwlwifi/mvm/scan.c mvm->scan_uid_status[uid] = 0; uid 1994 drivers/net/wireless/intel/iwlwifi/mvm/scan.c int uid, ret; uid 2002 drivers/net/wireless/intel/iwlwifi/mvm/scan.c uid = iwl_mvm_scan_uid_by_status(mvm, type); uid 2003 drivers/net/wireless/intel/iwlwifi/mvm/scan.c if (WARN_ON_ONCE(uid < 0)) uid 2004 drivers/net/wireless/intel/iwlwifi/mvm/scan.c return uid; uid 2006 drivers/net/wireless/intel/iwlwifi/mvm/scan.c cmd.uid = cpu_to_le32(uid); uid 2008 drivers/net/wireless/intel/iwlwifi/mvm/scan.c IWL_DEBUG_SCAN(mvm, "Sending scan abort, uid %u\n", uid); uid 2015 drivers/net/wireless/intel/iwlwifi/mvm/scan.c mvm->scan_uid_status[uid] = type << IWL_MVM_SCAN_STOPPING_SHIFT; uid 2087 drivers/net/wireless/intel/iwlwifi/mvm/scan.c int uid, i; uid 2089 drivers/net/wireless/intel/iwlwifi/mvm/scan.c uid = iwl_mvm_scan_uid_by_status(mvm, IWL_MVM_SCAN_REGULAR); uid 2090 drivers/net/wireless/intel/iwlwifi/mvm/scan.c if (uid >= 0) { uid 2096 drivers/net/wireless/intel/iwlwifi/mvm/scan.c mvm->scan_uid_status[uid] = 0; uid 2098 drivers/net/wireless/intel/iwlwifi/mvm/scan.c uid = iwl_mvm_scan_uid_by_status(mvm, IWL_MVM_SCAN_SCHED); uid 2099 drivers/net/wireless/intel/iwlwifi/mvm/scan.c if (uid >= 0 && !mvm->fw_restart) { uid 2102 drivers/net/wireless/intel/iwlwifi/mvm/scan.c mvm->scan_uid_status[uid] = 0; uid 93 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c te_data->uid = 0; uid 377 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c if (le32_to_cpu(notif->unique_id) == te_data->uid) { uid 400 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c te_data->uid = 0; uid 436 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c if (le32_to_cpu(notif->unique_id) == te_data->uid) uid 463 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c if (le32_to_cpu(resp->unique_id) != te_data->uid) uid 467 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c te_data->uid); uid 498 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c te_data->uid = le32_to_cpu(resp->unique_id); uid 500 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c te_data->uid); uid 587 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c te_data->uid, uid 643 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c u32 *uid) uid 654 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c *uid = te_data->uid; uid 669 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c IWL_DEBUG_TE(mvm, "TE 0x%x has already ended\n", *uid); uid 689 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c u32 uid; uid 692 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c if (!__iwl_mvm_remove_time_event(mvm, te_data, &uid)) uid 695 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c aux_cmd.event_unique_id = cpu_to_le32(uid); uid 718 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c u32 uid; uid 721 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c if (!__iwl_mvm_remove_time_event(mvm, te_data, &uid)) uid 725 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c time_cmd.id = cpu_to_le32(uid); uid 843 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c u32 uid; uid 847 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c __iwl_mvm_remove_time_event(mvm, te_data, &uid); uid 242 drivers/net/wireless/intel/iwlwifi/mvm/time-event.h return !!te_data->uid; uid 623 drivers/nfc/pn544/pn544.c u8 uid[MIFARE_UID_LEN]; uid 626 drivers/nfc/pn544/pn544.c memcpy(uid, data + MIFARE_KEY_LEN, uid 630 drivers/nfc/pn544/pn544.c memcpy(data, uid, MIFARE_UID_LEN); uid 546 drivers/nfc/st21nfca/core.c static int st21nfca_get_iso14443_3_uid(struct nfc_hci_dev *hdev, u8 *uid, uid 562 drivers/nfc/st21nfca/core.c memcpy(uid, uid_skb->data, uid_skb->len); uid 623 drivers/nfc/st21nfca/core.c u8 uid[NFC_NFCID1_MAXSIZE]; uid 642 drivers/nfc/st21nfca/core.c r = st21nfca_get_iso14443_3_uid(hdev, uid, &len); uid 653 drivers/nfc/st21nfca/core.c memcpy(target->nfcid1, uid, len); uid 65 drivers/pci/pci-acpi.c unsigned long long uid; uid 68 drivers/pci/pci-acpi.c status = acpi_evaluate_integer(handle, "_UID", NULL, &uid); uid 69 drivers/pci/pci-acpi.c if (ACPI_FAILURE(status) || uid != *segment) uid 371 drivers/pinctrl/intel/pinctrl-baytrail.c .uid = BYT_SCORE_ACPI_UID, uid 484 drivers/pinctrl/intel/pinctrl-baytrail.c .uid = BYT_SUS_ACPI_UID, uid 537 drivers/pinctrl/intel/pinctrl-baytrail.c .uid = BYT_NCORE_ACPI_UID, uid 735 drivers/pinctrl/intel/pinctrl-baytrail.c if (!strcmp(vg->soc_data->uid, BYT_SCORE_ACPI_UID) && uid 740 drivers/pinctrl/intel/pinctrl-baytrail.c if (!strcmp(vg->soc_data->uid, BYT_SUS_ACPI_UID) && uid 1618 drivers/pinctrl/intel/pinctrl-baytrail.c if (!strcmp(acpi_dev->pnp.unique_id, soc_table[i]->uid)) { uid 179 drivers/pinctrl/intel/pinctrl-broxton.c .uid = "1", uid 296 drivers/pinctrl/intel/pinctrl-broxton.c .uid = "2", uid 403 drivers/pinctrl/intel/pinctrl-broxton.c .uid = "3", uid 479 drivers/pinctrl/intel/pinctrl-broxton.c .uid = "4", uid 518 drivers/pinctrl/intel/pinctrl-broxton.c .uid = "5", uid 657 drivers/pinctrl/intel/pinctrl-broxton.c .uid = "1", uid 777 drivers/pinctrl/intel/pinctrl-broxton.c .uid = "2", uid 887 drivers/pinctrl/intel/pinctrl-broxton.c .uid = "3", uid 979 drivers/pinctrl/intel/pinctrl-broxton.c .uid = "4", uid 126 drivers/pinctrl/intel/pinctrl-cherryview.c const char *uid; uid 372 drivers/pinctrl/intel/pinctrl-cherryview.c .uid = "1", uid 465 drivers/pinctrl/intel/pinctrl-cherryview.c .uid = "2", uid 513 drivers/pinctrl/intel/pinctrl-cherryview.c .uid = "3", uid 635 drivers/pinctrl/intel/pinctrl-cherryview.c .uid = "4", uid 1692 drivers/pinctrl/intel/pinctrl-cherryview.c if (!strcmp(adev->pnp.unique_id, chv_communities[i]->uid)) { uid 180 drivers/pinctrl/intel/pinctrl-geminilake.c .uid = "1", uid 313 drivers/pinctrl/intel/pinctrl-geminilake.c .uid = "2", uid 352 drivers/pinctrl/intel/pinctrl-geminilake.c .uid = "3", uid 434 drivers/pinctrl/intel/pinctrl-geminilake.c .uid = "4", uid 1479 drivers/pinctrl/intel/pinctrl-intel.c if (!strcmp(adev->pnp.unique_id, table[i]->uid)) { uid 166 drivers/pinctrl/intel/pinctrl-intel.h const char *uid; uid 687 drivers/rtc/rtc-abx80x.c unsigned int uid; uid 703 drivers/rtc/rtc-abx80x.c uid = ((buf[4] & 0x7f) << 8) | buf[5]; uid 706 drivers/rtc/rtc-abx80x.c partnumber, majrev, minrev, lot, wafer, uid); uid 53 drivers/s390/block/dasd_alias.c static struct alias_server *_find_server(struct dasd_uid *uid) uid 57 drivers/s390/block/dasd_alias.c if (!strncmp(pos->uid.vendor, uid->vendor, uid 58 drivers/s390/block/dasd_alias.c sizeof(uid->vendor)) uid 59 drivers/s390/block/dasd_alias.c && !strncmp(pos->uid.serial, uid->serial, uid 60 drivers/s390/block/dasd_alias.c sizeof(uid->serial))) uid 67 drivers/s390/block/dasd_alias.c struct dasd_uid *uid) uid 71 drivers/s390/block/dasd_alias.c if (pos->uid.ssid == uid->ssid) uid 78 drivers/s390/block/dasd_alias.c struct dasd_uid *uid) uid 93 drivers/s390/block/dasd_alias.c if (uid->type == UA_BASE_DEVICE) uid 94 drivers/s390/block/dasd_alias.c search_unit_addr = uid->real_unit_addr; uid 96 drivers/s390/block/dasd_alias.c search_unit_addr = uid->base_unit_addr; uid 98 drivers/s390/block/dasd_alias.c if (pos->uid.base_unit_addr == search_unit_addr && uid 99 drivers/s390/block/dasd_alias.c !strncmp(pos->uid.vduit, uid->vduit, sizeof(uid->vduit))) uid 105 drivers/s390/block/dasd_alias.c static struct alias_server *_allocate_server(struct dasd_uid *uid) uid 112 drivers/s390/block/dasd_alias.c memcpy(server->uid.vendor, uid->vendor, sizeof(uid->vendor)); uid 113 drivers/s390/block/dasd_alias.c memcpy(server->uid.serial, uid->serial, sizeof(uid->serial)); uid 124 drivers/s390/block/dasd_alias.c static struct alias_lcu *_allocate_lcu(struct dasd_uid *uid) uid 145 drivers/s390/block/dasd_alias.c memcpy(lcu->uid.vendor, uid->vendor, sizeof(uid->vendor)); uid 146 drivers/s390/block/dasd_alias.c memcpy(lcu->uid.serial, uid->serial, sizeof(uid->serial)); uid 147 drivers/s390/block/dasd_alias.c lcu->uid.ssid = uid->ssid; uid 193 drivers/s390/block/dasd_alias.c struct dasd_uid uid; uid 195 drivers/s390/block/dasd_alias.c device->discipline->get_uid(device, &uid); uid 197 drivers/s390/block/dasd_alias.c server = _find_server(&uid); uid 200 drivers/s390/block/dasd_alias.c newserver = _allocate_server(&uid); uid 204 drivers/s390/block/dasd_alias.c server = _find_server(&uid); uid 214 drivers/s390/block/dasd_alias.c lcu = _find_lcu(server, &uid); uid 217 drivers/s390/block/dasd_alias.c newlcu = _allocate_lcu(&uid); uid 221 drivers/s390/block/dasd_alias.c lcu = _find_lcu(server, &uid); uid 251 drivers/s390/block/dasd_alias.c struct dasd_uid uid; uid 257 drivers/s390/block/dasd_alias.c device->discipline->get_uid(device, &uid); uid 298 drivers/s390/block/dasd_alias.c server = _find_server(&uid); uid 319 drivers/s390/block/dasd_alias.c struct dasd_uid uid; uid 322 drivers/s390/block/dasd_alias.c private->uid.type = lcu->uac->unit[private->uid.real_unit_addr].ua_type; uid 323 drivers/s390/block/dasd_alias.c private->uid.base_unit_addr = uid 324 drivers/s390/block/dasd_alias.c lcu->uac->unit[private->uid.real_unit_addr].base_ua; uid 325 drivers/s390/block/dasd_alias.c uid = private->uid; uid 332 drivers/s390/block/dasd_alias.c group = _find_group(lcu, &uid); uid 337 drivers/s390/block/dasd_alias.c memcpy(group->uid.vendor, uid.vendor, sizeof(uid.vendor)); uid 338 drivers/s390/block/dasd_alias.c memcpy(group->uid.serial, uid.serial, sizeof(uid.serial)); uid 339 drivers/s390/block/dasd_alias.c group->uid.ssid = uid.ssid; uid 340 drivers/s390/block/dasd_alias.c if (uid.type == UA_BASE_DEVICE) uid 341 drivers/s390/block/dasd_alias.c group->uid.base_unit_addr = uid.real_unit_addr; uid 343 drivers/s390/block/dasd_alias.c group->uid.base_unit_addr = uid.base_unit_addr; uid 344 drivers/s390/block/dasd_alias.c memcpy(group->uid.vduit, uid.vduit, sizeof(uid.vduit)); uid 350 drivers/s390/block/dasd_alias.c if (uid.type == UA_BASE_DEVICE) uid 605 drivers/s390/block/dasd_alias.c __u8 uaddr = private->uid.real_unit_addr; uid 616 drivers/s390/block/dasd_alias.c if (private->uid.type != lcu->uac->unit[uaddr].ua_type) { uid 752 drivers/s390/block/dasd_alias.c if (private->uid.type != UA_BASE_DEVICE) uid 759 drivers/s390/block/dasd_alias.c if (private->uid.type != UA_BASE_DEVICE) uid 795 drivers/s390/block/dasd_alias.c if (private->uid.type == UA_BASE_DEVICE) uid 1084 drivers/s390/block/dasd_devmap.c struct dasd_uid uid; uid 1091 drivers/s390/block/dasd_devmap.c !device->discipline->get_uid(device, &uid)) { uid 1092 drivers/s390/block/dasd_devmap.c if (uid.type == UA_BASE_PAV_ALIAS || uid 1093 drivers/s390/block/dasd_devmap.c uid.type == UA_HYPER_PAV_ALIAS) { uid 1109 drivers/s390/block/dasd_devmap.c struct dasd_uid uid; uid 1118 drivers/s390/block/dasd_devmap.c !device->discipline->get_uid(device, &uid)) uid 1119 drivers/s390/block/dasd_devmap.c vendor = uid.vendor; uid 1136 drivers/s390/block/dasd_devmap.c struct dasd_uid uid; uid 1146 drivers/s390/block/dasd_devmap.c !device->discipline->get_uid(device, &uid)) { uid 1147 drivers/s390/block/dasd_devmap.c switch (uid.type) { uid 1150 drivers/s390/block/dasd_devmap.c uid.real_unit_addr); uid 1154 drivers/s390/block/dasd_devmap.c uid.base_unit_addr); uid 1162 drivers/s390/block/dasd_devmap.c uid.real_unit_addr); uid 1166 drivers/s390/block/dasd_devmap.c if (strlen(uid.vduit) > 0) uid 1169 drivers/s390/block/dasd_devmap.c uid.vendor, uid.serial, uid.ssid, ua_string, uid 1170 drivers/s390/block/dasd_devmap.c uid.vduit); uid 1174 drivers/s390/block/dasd_devmap.c uid.vendor, uid.serial, uid.ssid, ua_string); uid 1180 drivers/s390/block/dasd_devmap.c static DEVICE_ATTR(uid, 0444, dasd_uid_show, NULL); uid 567 drivers/s390/block/dasd_eckd.c if (startpriv->uid.type == UA_BASE_PAV_ALIAS) uid 570 drivers/s390/block/dasd_eckd.c if (startpriv->uid.type == UA_HYPER_PAV_ALIAS) { uid 741 drivers/s390/block/dasd_eckd.c struct dasd_uid *uid; uid 743 drivers/s390/block/dasd_eckd.c uid = &private->uid; uid 744 drivers/s390/block/dasd_eckd.c memset(uid, 0, sizeof(struct dasd_uid)); uid 745 drivers/s390/block/dasd_eckd.c memcpy(uid->vendor, private->ned->HDA_manufacturer, uid 746 drivers/s390/block/dasd_eckd.c sizeof(uid->vendor) - 1); uid 747 drivers/s390/block/dasd_eckd.c EBCASC(uid->vendor, sizeof(uid->vendor) - 1); uid 748 drivers/s390/block/dasd_eckd.c memcpy(uid->serial, private->ned->HDA_location, uid 749 drivers/s390/block/dasd_eckd.c sizeof(uid->serial) - 1); uid 750 drivers/s390/block/dasd_eckd.c EBCASC(uid->serial, sizeof(uid->serial) - 1); uid 751 drivers/s390/block/dasd_eckd.c uid->ssid = private->gneq->subsystemID; uid 752 drivers/s390/block/dasd_eckd.c uid->real_unit_addr = private->ned->unit_addr; uid 754 drivers/s390/block/dasd_eckd.c uid->type = private->sneq->sua_flags; uid 755 drivers/s390/block/dasd_eckd.c if (uid->type == UA_BASE_PAV_ALIAS) uid 756 drivers/s390/block/dasd_eckd.c uid->base_unit_addr = private->sneq->base_unit_addr; uid 758 drivers/s390/block/dasd_eckd.c uid->type = UA_BASE_DEVICE; uid 762 drivers/s390/block/dasd_eckd.c sprintf(uid->vduit+2*count, "%02x", uid 786 drivers/s390/block/dasd_eckd.c static int dasd_eckd_get_uid(struct dasd_device *device, struct dasd_uid *uid) uid 793 drivers/s390/block/dasd_eckd.c *uid = private->uid; uid 812 drivers/s390/block/dasd_eckd.c return memcmp(&device_uid, &private->uid, sizeof(struct dasd_uid)); uid 1027 drivers/s390/block/dasd_eckd.c struct dasd_uid *uid; uid 1096 drivers/s390/block/dasd_eckd.c uid = &path_private.uid; uid 1097 drivers/s390/block/dasd_eckd.c if (strlen(uid->vduit) > 0) uid 1101 drivers/s390/block/dasd_eckd.c uid->vendor, uid->serial, uid 1102 drivers/s390/block/dasd_eckd.c uid->ssid, uid->real_unit_addr, uid 1103 drivers/s390/block/dasd_eckd.c uid->vduit); uid 1108 drivers/s390/block/dasd_eckd.c uid->vendor, uid->serial, uid 1109 drivers/s390/block/dasd_eckd.c uid->ssid, uid 1110 drivers/s390/block/dasd_eckd.c uid->real_unit_addr); uid 1111 drivers/s390/block/dasd_eckd.c uid = &private->uid; uid 1112 drivers/s390/block/dasd_eckd.c if (strlen(uid->vduit) > 0) uid 1116 drivers/s390/block/dasd_eckd.c uid->vendor, uid->serial, uid 1117 drivers/s390/block/dasd_eckd.c uid->ssid, uid->real_unit_addr, uid 1118 drivers/s390/block/dasd_eckd.c uid->vduit); uid 1123 drivers/s390/block/dasd_eckd.c uid->vendor, uid->serial, uid 1124 drivers/s390/block/dasd_eckd.c uid->ssid, uid 1125 drivers/s390/block/dasd_eckd.c uid->real_unit_addr); uid 1265 drivers/s390/block/dasd_eckd.c struct dasd_uid *uid; uid 1374 drivers/s390/block/dasd_eckd.c uid = &path_private.uid; uid 1375 drivers/s390/block/dasd_eckd.c if (strlen(uid->vduit) > 0) uid 1378 drivers/s390/block/dasd_eckd.c uid->vendor, uid->serial, uid 1379 drivers/s390/block/dasd_eckd.c uid->ssid, uid->real_unit_addr, uid 1380 drivers/s390/block/dasd_eckd.c uid->vduit); uid 1384 drivers/s390/block/dasd_eckd.c uid->vendor, uid->serial, uid 1385 drivers/s390/block/dasd_eckd.c uid->ssid, uid 1386 drivers/s390/block/dasd_eckd.c uid->real_unit_addr); uid 1539 drivers/s390/block/dasd_eckd.c if (private->uid.type == UA_BASE_PAV_ALIAS || uid 1540 drivers/s390/block/dasd_eckd.c private->uid.type == UA_HYPER_PAV_ALIAS) uid 1733 drivers/s390/block/dasd_eckd.c if (private->uid.type == UA_BASE_PAV_ALIAS || uid 1734 drivers/s390/block/dasd_eckd.c private->uid.type == UA_HYPER_PAV_ALIAS) uid 1916 drivers/s390/block/dasd_eckd.c if (private->uid.type == UA_BASE_PAV_ALIAS || uid 1917 drivers/s390/block/dasd_eckd.c private->uid.type == UA_HYPER_PAV_ALIAS) uid 1928 drivers/s390/block/dasd_eckd.c "returned rc=%d", private->uid.ssid, rc); uid 4232 drivers/s390/block/dasd_eckd.c if (startpriv->uid.type == UA_BASE_PAV_ALIAS) uid 4235 drivers/s390/block/dasd_eckd.c if (startpriv->uid.type == UA_HYPER_PAV_ALIAS) { uid 5753 drivers/s390/block/dasd_eckd.c if (memcmp(&private->uid, &temp_uid, sizeof(struct dasd_uid)) != 0) uid 5813 drivers/s390/block/dasd_eckd.c struct dasd_uid uid; uid 5823 drivers/s390/block/dasd_eckd.c old_base = private->uid.base_unit_addr; uid 5840 drivers/s390/block/dasd_eckd.c dasd_eckd_get_uid(device, &uid); uid 5842 drivers/s390/block/dasd_eckd.c if (old_base != uid.base_unit_addr) { uid 5843 drivers/s390/block/dasd_eckd.c if (strlen(uid.vduit) > 0) uid 5845 drivers/s390/block/dasd_eckd.c "%s.%s.%04x.%02x.%s", uid.vendor, uid.serial, uid 5846 drivers/s390/block/dasd_eckd.c uid.ssid, uid.base_unit_addr, uid.vduit); uid 5849 drivers/s390/block/dasd_eckd.c "%s.%s.%04x.%02x", uid.vendor, uid.serial, uid 5850 drivers/s390/block/dasd_eckd.c uid.ssid, uid.base_unit_addr); uid 613 drivers/s390/block/dasd_eckd.h struct dasd_uid uid; uid 630 drivers/s390/block/dasd_eckd.h struct dasd_uid uid; uid 646 drivers/s390/block/dasd_eckd.h struct dasd_uid uid; uid 680 drivers/s390/block/dasd_eckd.h struct dasd_uid uid; uid 112 drivers/s390/char/tape_3590.h unsigned int uid:16; uid 1040 drivers/scsi/aacraid/aachba.c (u8)((get_serial_reply->uid >> ((7 - i) * 4)) & 0xF); uid 1062 drivers/scsi/aacraid/aachba.c get_serial_reply->uid; uid 1085 drivers/scsi/aacraid/aachba.c le32_to_cpu(get_serial_reply->uid)); uid 2299 drivers/scsi/aacraid/aacraid.h __le32 uid; uid 4438 drivers/scsi/megaraid.c mcontroller[i].uid = (pci_bus << 8) | pci_dev_func; uid 518 drivers/scsi/megaraid.h u32 uid; uid 222 drivers/scsi/megaraid/megaraid_ioctl.h uint32_t uid; uid 894 drivers/scsi/megaraid/megaraid_mm.c cinfo->uid = hinfo->unique_id; uid 37 drivers/soc/qcom/llcc-sdm845.c #define SCT_ENTRY(uid, sid, mc, p, fs, bway, rway, cmod, ptw, dca, rp, a) \ uid 39 drivers/soc/qcom/llcc-sdm845.c .usecase_id = uid, \ uid 65 drivers/soc/qcom/llcc-slice.c struct llcc_slice_desc *llcc_slice_getd(u32 uid) uid 78 drivers/soc/qcom/llcc-slice.c if (cfg->usecase_id == uid) uid 162 drivers/soc/ux500/ux500-soc-id.c void __iomem *uid; uid 168 drivers/soc/ux500/ux500-soc-id.c uid = base + 0x1fc0; uid 171 drivers/soc/ux500/ux500-soc-id.c add_device_randomness(uid, 0x14); uid 173 drivers/soc/ux500/ux500-soc-id.c readl((u32 *)uid+0), uid 174 drivers/soc/ux500/ux500-soc-id.c readl((u32 *)uid+1), readl((u32 *)uid+2), uid 175 drivers/soc/ux500/ux500-soc-id.c readl((u32 *)uid+3), readl((u32 *)uid+4)); uid 18 drivers/staging/greybus/Documentation/firmware/authenticate.c struct cap_ioc_get_endpoint_uid uid; uid 54 drivers/staging/greybus/Documentation/firmware/authenticate.c ret = ioctl(fd, CAP_IOC_GET_ENDPOINT_UID, &uid); uid 61 drivers/staging/greybus/Documentation/firmware/authenticate.c printf("UID received: 0x%llx\n", *(unsigned long long int *)(uid.uid)); uid 78 drivers/staging/greybus/Documentation/firmware/authenticate.c memcpy(authenticate.uid, uid.uid, 8); uid 97 drivers/staging/greybus/authentication.c memcpy(euid, response.uid, sizeof(response.uid)); uid 140 drivers/staging/greybus/authentication.c static int cap_authenticate(struct gb_cap *cap, u32 auth_type, u8 *uid, uid 160 drivers/staging/greybus/authentication.c memcpy(request->uid, uid, sizeof(request->uid)); uid 214 drivers/staging/greybus/authentication.c ret = cap_get_endpoint_uid(cap, endpoint_uid.uid); uid 245 drivers/staging/greybus/authentication.c authenticate->uid, uid 47 drivers/staging/greybus/greybus_authentication.h __u8 uid[8]; uid 61 drivers/staging/greybus/greybus_authentication.h __u8 uid[8]; uid 182 drivers/thunderbolt/eeprom.c u64 uid; uid 277 drivers/thunderbolt/eeprom.c int tb_drom_read_uid_only(struct tb_switch *sw, u64 *uid) uid 301 drivers/thunderbolt/eeprom.c *uid = *(u64 *)(data+1); uid 478 drivers/thunderbolt/eeprom.c tb_drom_read_uid_only(sw, &sw->uid); uid 516 drivers/thunderbolt/eeprom.c tb_drom_read_uid_only(sw, &sw->uid); uid 561 drivers/thunderbolt/eeprom.c crc = tb_crc8((u8 *) &header->uid, 8); uid 568 drivers/thunderbolt/eeprom.c if (!sw->uid) uid 569 drivers/thunderbolt/eeprom.c sw->uid = header->uid; uid 1699 drivers/thunderbolt/switch.c uuid[0] = sw->uid & 0xffffffff; uid 1700 drivers/thunderbolt/switch.c uuid[1] = (sw->uid >> 32) & 0xffffffff; uid 1825 drivers/thunderbolt/switch.c tb_sw_dbg(sw, "uid: %#llx\n", sw->uid); uid 1944 drivers/thunderbolt/switch.c u64 uid; uid 1957 drivers/thunderbolt/switch.c err = tb_drom_read_uid_only(sw, &uid); uid 1962 drivers/thunderbolt/switch.c if (sw->uid != uid) { uid 1965 drivers/thunderbolt/switch.c sw->uid, uid); uid 94 drivers/thunderbolt/tb.h u64 uid; uid 631 drivers/thunderbolt/tb.h int tb_drom_read_uid_only(struct tb_switch *sw, u64 *uid); uid 65 drivers/tty/tty_audit.c uid_t uid = from_kuid(&init_user_ns, task_uid(current)); uid 74 drivers/tty/tty_audit.c " minor=%d comm=", description, pid, uid, uid 511 drivers/usb/core/usb.c umode_t *mode, kuid_t *uid, kgid_t *gid) uid 1405 drivers/usb/gadget/function/f_fs.c inode->i_uid = perms->uid; uid 1546 drivers/usb/gadget/function/f_fs.c data->perms.uid = make_kuid(current_user_ns(), result.uint_32); uid 1547 drivers/usb/gadget/function/f_fs.c if (!uid_valid(data->perms.uid)) uid 1632 drivers/usb/gadget/function/f_fs.c ctx->perms.uid = GLOBAL_ROOT_UID; uid 274 drivers/usb/gadget/function/u_fs.h kuid_t uid; uid 38 drivers/virt/vboxguest/vboxguest_linux.c if (from_kuid(current_user_ns(), current->cred->uid) == 0) uid 49 fs/9p/fid.c static struct p9_fid *v9fs_fid_find(struct dentry *dentry, kuid_t uid, int any) uid 54 fs/9p/fid.c dentry, dentry, from_kuid(&init_user_ns, uid), uid 62 fs/9p/fid.c if (any || uid_eq(fid->uid, uid)) { uid 102 fs/9p/fid.c kuid_t uid, int any) uid 112 fs/9p/fid.c fid = v9fs_fid_find(dentry, uid, any); uid 122 fs/9p/fid.c fid = v9fs_fid_find(ds, uid, any); uid 131 fs/9p/fid.c fid = v9fs_fid_find(dentry->d_sb->s_root, uid, any); uid 142 fs/9p/fid.c fid = p9_client_attach(v9ses->clnt, NULL, uname, uid, uid 218 fs/9p/fid.c kuid_t uid; uid 228 fs/9p/fid.c uid = current_fsuid(); uid 233 fs/9p/fid.c uid = v9ses->uid; uid 238 fs/9p/fid.c uid = INVALID_UID; uid 242 fs/9p/fid.c return v9fs_fid_lookup_with_uid(dentry, uid, any); uid 145 fs/9p/v9fs.c from_kuid_munged(&init_user_ns, v9ses->uid)); uid 322 fs/9p/v9fs.c uid_t uid; uid 324 fs/9p/v9fs.c uid = simple_strtoul(s, &e, 10); uid 332 fs/9p/v9fs.c v9ses->uid = make_kuid(current_user_ns(), uid); uid 333 fs/9p/v9fs.c if (!uid_valid(v9ses->uid)) { uid 402 fs/9p/v9fs.c v9ses->uid = INVALID_UID; uid 444 fs/9p/v9fs.c v9ses->uid = INVALID_UID; uid 464 fs/9p/v9fs.c fid->uid = v9ses->uid; uid 466 fs/9p/v9fs.c fid->uid = INVALID_UID; uid 100 fs/9p/v9fs.h kuid_t uid; /* if ACCESS_SINGLE, the uid that has access */ uid 210 fs/9p/vfs_inode.c wstat->uid = NULL; uid 555 fs/9p/vfs_inode_dotl.c p9attr.uid = iattr->ia_uid; uid 88 fs/affs/amigaffs.h __be16 uid; uid 76 fs/affs/inode.c id = be16_to_cpu(tail->uid); uid 175 fs/affs/inode.c uid_t uid; uid 197 fs/affs/inode.c uid = i_uid_read(inode); uid 200 fs/affs/inode.c if (uid == 0 || uid == 0xFFFF) uid 201 fs/affs/inode.c uid = uid ^ ~0; uid 206 fs/affs/inode.c tail->uid = cpu_to_be16(uid); uid 190 fs/affs/super.c parse_options(char *options, kuid_t *uid, kgid_t *gid, int *mode, int *reserved, s32 *root, uid 198 fs/affs/super.c *uid = current_uid(); uid 267 fs/affs/super.c *uid = make_kuid(current_user_ns(), option); uid 268 fs/affs/super.c if (!uid_valid(*uid)) uid 344 fs/affs/super.c kuid_t uid; uid 373 fs/affs/super.c if (!parse_options(data,&uid,&gid,&i,&reserved,&root_block, uid 383 fs/affs/super.c sbi->s_uid = uid; uid 557 fs/affs/super.c kuid_t uid; uid 573 fs/affs/super.c if (!parse_options(data, &uid, &gid, &mode, &reserved, &root_block, uid 584 fs/affs/super.c sbi->s_uid = uid; uid 21 fs/attr.c static bool chown_ok(const struct inode *inode, kuid_t uid) uid 24 fs/attr.c uid_eq(uid, inode->i_uid)) uid 68 fs/autofs/autofs_i.h kuid_t uid; uid 92 fs/autofs/autofs_i.h kuid_t uid; uid 431 fs/autofs/dev-ioctl.c param->requester.uid = param->requester.gid = -1; uid 442 fs/autofs/dev-ioctl.c param->requester.uid = uid 443 fs/autofs/dev-ioctl.c from_kuid_munged(current_user_ns(), ino->uid); uid 29 fs/autofs/inode.c ino->uid = GLOBAL_ROOT_UID; uid 139 fs/autofs/inode.c kuid_t uid; uid 169 fs/autofs/inode.c uid = make_kuid(current_user_ns(), option); uid 170 fs/autofs/inode.c if (!uid_valid(uid)) uid 172 fs/autofs/inode.c root->i_uid = uid; uid 147 fs/autofs/waitq.c packet->uid = from_kuid_munged(user_ns, wq->uid); uid 435 fs/autofs/waitq.c wq->uid = current_uid(); uid 507 fs/autofs/waitq.c ino->uid = wq->uid; uid 25 fs/befs/befs.h kuid_t uid; uid 179 fs/befs/befs_fs_types.h fs32 uid; uid 86 fs/befs/debug.c befs_debug(sb, " uid %u", fs32_to_cpu(sb, inode->uid)); uid 346 fs/befs/linuxvfs.c befs_sb->mount_opts.uid : uid 347 fs/befs/linuxvfs.c make_kuid(&init_user_ns, fs32_to_cpu(sb, raw_inode->uid)); uid 697 fs/befs/linuxvfs.c kuid_t uid; uid 701 fs/befs/linuxvfs.c opts->uid = GLOBAL_ROOT_UID; uid 722 fs/befs/linuxvfs.c uid = INVALID_UID; uid 724 fs/befs/linuxvfs.c uid = make_kuid(current_user_ns(), option); uid 725 fs/befs/linuxvfs.c if (!uid_valid(uid)) { uid 730 fs/befs/linuxvfs.c opts->uid = uid; uid 773 fs/befs/linuxvfs.c if (!uid_eq(opts->uid, GLOBAL_ROOT_UID)) uid 775 fs/befs/linuxvfs.c from_kuid_munged(&init_user_ns, opts->uid)); uid 255 fs/binfmt_elf.c NEW_AUX_ENT(AT_UID, from_kuid_munged(cred->user_ns, cred->uid)); uid 1541 fs/binfmt_elf.c SET_UID(psinfo->pr_uid, from_kuid_munged(cred->user_ns, cred->uid)); uid 652 fs/binfmt_elf_fdpic.c NEW_AUX_ENT(AT_UID, (elf_addr_t) from_kuid_munged(cred->user_ns, cred->uid)); uid 1413 fs/binfmt_elf_fdpic.c SET_UID(psinfo->pr_uid, from_kuid_munged(cred->user_ns, cred->uid)); uid 1558 fs/btrfs/ctree.h BTRFS_SETGET_FUNCS(inode_uid, struct btrfs_inode_item, uid, 32); uid 1575 fs/btrfs/ctree.h BTRFS_SETGET_STACK_FUNCS(stack_inode_uid, struct btrfs_inode_item, uid, 32); uid 825 fs/btrfs/send.c u64 ino, u64 *size, u64 *gen, u64 *mode, u64 *uid, uid 850 fs/btrfs/send.c if (uid) uid 851 fs/btrfs/send.c *uid = btrfs_inode_uid(path->nodes[0], ii); uid 862 fs/btrfs/send.c u64 *mode, u64 *uid, u64 *gid, uid 871 fs/btrfs/send.c ret = __get_inode_info(root, path, ino, size, gen, mode, uid, gid, uid 2491 fs/btrfs/send.c static int send_chown(struct send_ctx *sctx, u64 ino, u64 gen, u64 uid, u64 gid) uid 2498 fs/btrfs/send.c ino, uid, gid); uid 2512 fs/btrfs/send.c TLV_PUT_U64(sctx, BTRFS_SEND_A_UID, uid); uid 1124 fs/ceph/caps.c kuid_t uid; uid 1185 fs/ceph/caps.c fc->uid = cpu_to_le32(from_kuid(&init_user_ns, arg->uid)); uid 1364 fs/ceph/caps.c arg.uid = inode->i_uid; uid 1434 fs/ceph/caps.c arg.uid = capsnap->uid; uid 3169 fs/ceph/caps.c inode->i_uid = make_kuid(&init_user_ns, le32_to_cpu(grant->uid)); uid 818 fs/ceph/inode.c inode->i_uid = make_kuid(&init_user_ns, le32_to_cpu(info->uid)); uid 2040 fs/ceph/inode.c req->r_args.setattr.uid = cpu_to_le32( uid 541 fs/ceph/snap.c capsnap->uid = inode->i_uid; uid 200 fs/ceph/super.h kuid_t uid; uid 178 fs/cifs/cifs_debug.c from_kuid(&init_user_ns, cfile->uid), uid 387 fs/cifs/cifsacl.c kuid_t uid; uid 391 fs/cifs/cifsacl.c uid = make_kuid(&init_user_ns, id); uid 392 fs/cifs/cifsacl.c if (uid_valid(uid)) { uid 393 fs/cifs/cifsacl.c fuid = uid; uid 429 fs/cifs/cifsacl.c kuid_t uid; uid 432 fs/cifs/cifsacl.c uid = make_kuid(&init_user_ns, id); uid 433 fs/cifs/cifsacl.c if (uid_valid(uid)) uid 434 fs/cifs/cifsacl.c fuid = uid; uid 951 fs/cifs/cifsacl.c __u32 secdesclen, __u64 nmode, kuid_t uid, kgid_t gid, uid 984 fs/cifs/cifsacl.c if (uid_valid(uid)) { /* chown */ uid 992 fs/cifs/cifsacl.c id = from_kuid(&init_user_ns, uid); uid 1217 fs/cifs/cifsacl.c kuid_t uid, kgid_t gid) uid 1270 fs/cifs/cifsacl.c rc = build_sec_desc(pntsd, pnntsd, secdesclen, nmode, uid, gid, uid 166 fs/cifs/cifsglob.h int uid; uid 1253 fs/cifs/cifsglob.h kuid_t uid; /* allows finding which FileInfo structure */ uid 361 fs/cifs/cifsproto.h kuid_t uid; uid 6011 fs/cifs/cifssmb.c u64 uid = NO_CHANGE_64, gid = NO_CHANGE_64; uid 6014 fs/cifs/cifssmb.c if (uid_valid(args->uid)) uid 6015 fs/cifs/cifssmb.c uid = from_kuid(&init_user_ns, args->uid); uid 6031 fs/cifs/cifssmb.c data_offset->Uid = cpu_to_le64(uid); uid 1374 fs/cifs/connect.c kuid_t uid; uid 1381 fs/cifs/connect.c uid = make_kuid(current_user_ns(), value); uid 1382 fs/cifs/connect.c if (!uid_valid(uid)) uid 1385 fs/cifs/connect.c *result = uid; uid 5335 fs/cifs/connect.c tlink_rb_search(struct rb_root *root, kuid_t uid) uid 5343 fs/cifs/connect.c if (uid_gt(tlink->tl_uid, uid)) uid 5345 fs/cifs/connect.c else if (uid_lt(tlink->tl_uid, uid)) uid 392 fs/cifs/dir.c args.uid = current_fsuid(); uid 398 fs/cifs/dir.c args.uid = INVALID_UID; /* no change */ uid 321 fs/cifs/file.c cfile->uid = current_fsuid(); uid 624 fs/cifs/file.c .uid = INVALID_UID, /* no change */ uid 1899 fs/cifs/file.c if (fsuid_only && !uid_eq(open_file->uid, current_fsuid())) uid 1959 fs/cifs/file.c if (fsuid_only && !uid_eq(open_file->uid, current_fsuid())) uid 295 fs/cifs/inode.c kuid_t uid = make_kuid(&init_user_ns, id); uid 296 fs/cifs/inode.c if (uid_valid(uid)) uid 297 fs/cifs/inode.c fattr->cf_uid = uid; uid 1483 fs/cifs/inode.c args.uid = current_fsuid(); uid 1489 fs/cifs/inode.c args.uid = INVALID_UID; /* no change */ uid 2128 fs/cifs/inode.c stat->uid = current_fsuid(); uid 2348 fs/cifs/inode.c args->uid = attrs->ia_uid; uid 2350 fs/cifs/inode.c args->uid = INVALID_UID; /* no change */ uid 2422 fs/cifs/inode.c kuid_t uid = INVALID_UID; uid 2497 fs/cifs/inode.c uid = attrs->ia_uid; uid 2504 fs/cifs/inode.c if (uid_valid(uid) || gid_valid(gid)) { uid 2506 fs/cifs/inode.c uid, gid); uid 1057 fs/cifs/smb1ops.c args.uid = current_fsuid(); uid 1060 fs/cifs/smb1ops.c args.uid = INVALID_UID; /* no change */ uid 56 fs/coda/coda_psdev.h kuid_t uid); uid 56 fs/coda/upcall.c inp->ih.uid = from_kuid(&init_user_ns, current_fsuid()); uid 161 fs/coda/upcall.c kuid_t uid) uid 170 fs/coda/upcall.c inp->ih.uid = from_kuid(&init_user_ns, uid); uid 272 fs/coredump.c cred->uid)); uid 126 fs/cramfs/inode.c i_uid_write(inode, cramfs_inode->uid); uid 77 fs/debugfs/inode.c kuid_t uid; uid 105 fs/debugfs/inode.c kuid_t uid; uid 120 fs/debugfs/inode.c uid = make_kuid(current_user_ns(), option); uid 121 fs/debugfs/inode.c if (!uid_valid(uid)) uid 123 fs/debugfs/inode.c opts->uid = uid; uid 157 fs/debugfs/inode.c inode->i_uid = opts->uid; uid 184 fs/debugfs/inode.c if (!uid_eq(opts->uid, GLOBAL_ROOT_UID)) uid 186 fs/debugfs/inode.c from_kuid_munged(&init_user_ns, opts->uid)); uid 96 fs/devpts/inode.c kuid_t uid; uid 249 fs/devpts/inode.c kuid_t uid; uid 254 fs/devpts/inode.c opts->uid = GLOBAL_ROOT_UID; uid 280 fs/devpts/inode.c uid = make_kuid(current_user_ns(), option); uid 281 fs/devpts/inode.c if (!uid_valid(uid)) uid 283 fs/devpts/inode.c opts->uid = uid; uid 410 fs/devpts/inode.c from_kuid_munged(&init_user_ns, opts->uid)); uid 579 fs/devpts/inode.c inode->i_uid = opts->setuid ? opts->uid : current_fsuid(); uid 22 fs/ecryptfs/messaging.c #define ecryptfs_current_euid_hash(uid) \ uid 1520 fs/exec.c kuid_t uid; uid 1548 fs/exec.c uid = inode->i_uid; uid 1553 fs/exec.c if (!kuid_has_mapping(bprm->cred->user_ns, uid) || uid 1559 fs/exec.c bprm->cred->euid = uid; uid 1540 fs/ext2/inode.c uid_t uid = i_uid_read(inode); uid 1557 fs/ext2/inode.c raw_inode->i_uid_low = cpu_to_le16(low_16_bits(uid)); uid 1564 fs/ext2/inode.c raw_inode->i_uid_high = cpu_to_le16(high_16_bits(uid)); uid 1571 fs/ext2/inode.c raw_inode->i_uid_low = cpu_to_le16(fs_high2lowuid(uid)); uid 481 fs/ext2/super.c kuid_t uid; uid 509 fs/ext2/super.c uid = make_kuid(current_user_ns(), option); uid 510 fs/ext2/super.c if (!uid_valid(uid)) { uid 515 fs/ext2/super.c opts->s_resuid = uid; uid 1808 fs/ext4/super.c kuid_t uid; uid 1931 fs/ext4/super.c uid = make_kuid(current_user_ns(), arg); uid 1932 fs/ext4/super.c if (!uid_valid(uid)) { uid 1936 fs/ext4/super.c sbi->s_resuid = uid; uid 396 fs/f2fs/super.c kuid_t uid; uid 567 fs/f2fs/super.c uid = make_kuid(current_user_ns(), arg); uid 568 fs/f2fs/super.c if (!uid_valid(uid)) { uid 572 fs/f2fs/super.c F2FS_OPTION(sbi).s_resuid = uid; uid 98 fs/fcntl.c filp->f_owner.uid = cred->uid; uid 245 fs/fcntl.c src[0] = from_kuid(user_ns, filp->f_owner.uid); uid 717 fs/fcntl.c uid_eq(fown->euid, cred->suid) || uid_eq(fown->euid, cred->uid) || uid 718 fs/fcntl.c uid_eq(fown->uid, cred->suid) || uid_eq(fown->uid, cred->uid)) && uid 136 fs/fuse/dev.c req->in.h.uid = from_kuid(fc->user_ns, current_fsuid()); uid 144 fs/fuse/dev.c if (unlikely(req->in.h.uid == ((uid_t)-1) || uid 462 fs/fuse/dev.c req->in.h.uid = from_kuid_munged(fc->user_ns, current_fsuid()); uid 903 fs/fuse/dir.c stat->uid = make_kuid(fc->user_ns, attr->uid); uid 1094 fs/fuse/dir.c uid_eq(cred->uid, fc->user_id) && uid 1368 fs/fuse/dir.c arg->valid |= FATTR_UID, arg->uid = from_kuid(fc->user_ns, iattr->ia_uid); uid 160 fs/fuse/inode.c inode->i_uid = make_kuid(fc->user_ns, attr->uid); uid 560 fs/gfs2/quota.c int gfs2_quota_hold(struct gfs2_inode *ip, kuid_t uid, kgid_t gid) uid 593 fs/gfs2/quota.c if (!uid_eq(uid, NO_UID_QUOTA_CHANGE) && uid 594 fs/gfs2/quota.c !uid_eq(uid, ip->i_inode.i_uid)) { uid 595 fs/gfs2/quota.c error = qdsb_get(sdp, make_kqid_uid(uid), qd); uid 1036 fs/gfs2/quota.c int gfs2_quota_lock(struct gfs2_inode *ip, kuid_t uid, kgid_t gid) uid 1046 fs/gfs2/quota.c error = gfs2_quota_hold(ip, uid, gid); uid 1188 fs/gfs2/quota.c int gfs2_quota_check(struct gfs2_inode *ip, kuid_t uid, kgid_t gid, uid 1207 fs/gfs2/quota.c if (!(qid_eq(qd->qd_id, make_kqid_uid(uid)) || uid 1249 fs/gfs2/quota.c kuid_t uid, kgid_t gid) uid 1264 fs/gfs2/quota.c if (qid_eq(qd->qd_id, make_kqid_uid(uid)) || uid 20 fs/gfs2/quota.h extern int gfs2_quota_hold(struct gfs2_inode *ip, kuid_t uid, kgid_t gid); uid 23 fs/gfs2/quota.h extern int gfs2_quota_lock(struct gfs2_inode *ip, kuid_t uid, kgid_t gid); uid 26 fs/gfs2/quota.h extern int gfs2_quota_check(struct gfs2_inode *ip, kuid_t uid, kgid_t gid, uid 29 fs/gfs2/quota.h kuid_t uid, kgid_t gid); uid 184 fs/hfsplus/hfsplus_fs.h kuid_t uid; uid 191 fs/hfsplus/inode.c inode->i_uid = sbi->uid; uid 57 fs/hfsplus/options.c opts->uid = current_uid(); uid 139 fs/hfsplus/options.c sbi->uid = make_kuid(current_user_ns(), (uid_t)tmp); uid 140 fs/hfsplus/options.c if (!uid_valid(sbi->uid)) { uid 226 fs/hfsplus/options.c from_kuid_munged(&init_user_ns, sbi->uid), uid 56 fs/hostfs/hostfs.h unsigned int uid; uid 550 fs/hostfs/hostfs_kern.c i_uid_write(ino, st.uid); uid 26 fs/hostfs/hostfs_user.c p->uid = buf->st_uid; uid 314 fs/hpfs/super.c static int parse_opts(char *opts, kuid_t *uid, kgid_t *gid, umode_t *umask, uid 339 fs/hpfs/super.c *uid = make_kuid(current_user_ns(), option); uid 340 fs/hpfs/super.c if (!uid_valid(*uid)) uid 445 fs/hpfs/super.c kuid_t uid; uid 457 fs/hpfs/super.c uid = sbi->sb_uid; gid = sbi->sb_gid; uid 463 fs/hpfs/super.c if (!(o = parse_opts(data, &uid, &gid, &umask, &lowercase, uid 479 fs/hpfs/super.c sbi->sb_uid = uid; sbi->sb_gid = gid; uid 547 fs/hpfs/super.c kuid_t uid; uid 567 fs/hpfs/super.c uid = current_uid(); uid 577 fs/hpfs/super.c if (!(o = parse_opts(options, &uid, &gid, &umask, &lowercase, uid 626 fs/hpfs/super.c sbi->sb_uid = uid; uid 59 fs/hugetlbfs/inode.c kuid_t uid; uid 737 fs/hugetlbfs/inode.c inode->i_uid = ctx->uid; uid 932 fs/hugetlbfs/inode.c if (!uid_eq(sbinfo->uid, GLOBAL_ROOT_UID)) uid 934 fs/hugetlbfs/inode.c from_kuid_munged(&init_user_ns, sbinfo->uid)); uid 1160 fs/hugetlbfs/inode.c ctx->uid = make_kuid(current_user_ns(), result.uint_32); uid 1161 fs/hugetlbfs/inode.c if (!uid_valid(ctx->uid)) uid 1265 fs/hugetlbfs/inode.c sbinfo->uid = ctx->uid; uid 1326 fs/hugetlbfs/inode.c ctx->uid = current_fsuid(); uid 165 fs/isofs/inode.c kuid_t uid; uid 356 fs/isofs/inode.c popt->uid = GLOBAL_ROOT_UID; uid 439 fs/isofs/inode.c popt->uid = make_kuid(current_user_ns(), option); uid 440 fs/isofs/inode.c if (!uid_valid(popt->uid)) uid 889 fs/isofs/inode.c sbi->s_uid = opt.uid; uid 388 fs/isofs/rock.c i_uid_write(inode, isonum_733(rr->u.PX.uid)); uid 35 fs/isofs/rock.h __u8 uid[8]; uid 817 fs/jffs2/debug.c printk(JFFS2_DBG "uid:\t%#04x\n", je16_to_cpu(node.i.uid)); uid 175 fs/jffs2/file.c ri.uid = cpu_to_je16(i_uid_read(inode)); uid 283 fs/jffs2/file.c ri->uid = cpu_to_je16(i_uid_read(inode)); uid 104 fs/jffs2/fs.c ri->uid = cpu_to_je16((ivalid & ATTR_UID)? uid 154 fs/jffs2/fs.c i_uid_write(inode, je16_to_cpu(ri->uid)); uid 281 fs/jffs2/fs.c i_uid_write(inode, je16_to_cpu(latest_node.uid)); uid 446 fs/jffs2/fs.c ri->uid = cpu_to_je16(from_kuid(&init_user_ns, current_fsuid())); uid 476 fs/jffs2/fs.c i_uid_write(inode, je16_to_cpu(ri->uid)); uid 821 fs/jffs2/gc.c ri.uid = cpu_to_je16(JFFS2_F_I_UID(f)); uid 1092 fs/jffs2/gc.c ri.uid = cpu_to_je16(JFFS2_F_I_UID(f)); uid 1370 fs/jffs2/gc.c ri.uid = cpu_to_je16(JFFS2_F_I_UID(f)); uid 1199 fs/jffs2/readinode.c latest_node->uid = cpu_to_je16(0); uid 3051 fs/jfs/jfs_imap.c if (!uid_valid(sbi->uid)) uid 3054 fs/jfs/jfs_imap.c ip->i_uid = sbi->uid; uid 3122 fs/jfs/jfs_imap.c if (!uid_valid(sbi->uid)) uid 188 fs/jfs/jfs_incore.h kuid_t uid; /* uid to override on-disk uid */ uid 335 fs/jfs/super.c char *uid = args[0].from; uid 337 fs/jfs/super.c int rc = kstrtouint(uid, 0, &val); uid 341 fs/jfs/super.c sbi->uid = make_kuid(current_user_ns(), val); uid 342 fs/jfs/super.c if (!uid_valid(sbi->uid)) uid 509 fs/jfs/super.c sbi->uid = INVALID_UID; uid 701 fs/jfs/super.c if (uid_valid(sbi->uid)) uid 702 fs/jfs/super.c seq_printf(seq, ",uid=%d", from_kuid(&init_user_ns, sbi->uid)); uid 620 fs/kernfs/dir.c kuid_t uid, kgid_t gid, uid 661 fs/kernfs/dir.c if (!uid_eq(uid, GLOBAL_ROOT_UID) || !gid_eq(gid, GLOBAL_ROOT_GID)) { uid 664 fs/kernfs/dir.c .ia_uid = uid, uid 692 fs/kernfs/dir.c kuid_t uid, kgid_t gid, uid 698 fs/kernfs/dir.c name, mode, uid, gid, flags); uid 1015 fs/kernfs/dir.c kuid_t uid, kgid_t gid, uid 1023 fs/kernfs/dir.c uid, gid, KERNFS_DIR); uid 989 fs/kernfs/file.c umode_t mode, kuid_t uid, kgid_t gid, uid 1002 fs/kernfs/file.c uid, gid, flags); uid 110 fs/kernfs/kernfs-internal.h kuid_t uid, kgid_t gid, uid 31 fs/kernfs/symlink.c kuid_t uid = GLOBAL_ROOT_UID; uid 35 fs/kernfs/symlink.c uid = target->iattr->ia_uid; uid 39 fs/kernfs/symlink.c kn = kernfs_new_node(parent, name, S_IFLNK|S_IRWXUGO, uid, gid, uid 418 fs/nfs/flexfilelayout/flexfilelayout.c kuid_t uid; uid 487 fs/nfs/flexfilelayout/flexfilelayout.c uid = make_kuid(&init_user_ns, id); uid 506 fs/nfs/flexfilelayout/flexfilelayout.c kcred->fsuid = uid; uid 531 fs/nfs/flexfilelayout/flexfilelayout.c from_kuid(&init_user_ns, uid), uid 531 fs/nfs/inode.c inode->i_uid = fattr->uid; uid 1450 fs/nfs/inode.c if ((fattr->valid & NFS_ATTR_FATTR_OWNER) && !uid_eq(inode->i_uid, fattr->uid)) uid 1974 fs/nfs/inode.c if (!uid_eq(inode->i_uid, fattr->uid)) { uid 1977 fs/nfs/inode.c inode->i_uid = fattr->uid; uid 281 fs/nfs/nfs2xdr.c fattr->uid = make_kuid(userns, be32_to_cpup(p++)); uid 282 fs/nfs/nfs2xdr.c if (!uid_valid(fattr->uid)) uid 638 fs/nfs/nfs3xdr.c fattr->uid = make_kuid(userns, be32_to_cpup(p++)); uid 639 fs/nfs/nfs3xdr.c if (!uid_valid(fattr->uid)) uid 111 fs/nfs/nfs4idmap.c kuid_t uid; uid 115 fs/nfs/nfs4idmap.c if (nfs_map_name_to_uid(server, owner->data, owner->len, &uid) == 0) { uid 116 fs/nfs/nfs4idmap.c fattr->uid = uid; uid 742 fs/nfs/nfs4idmap.c int nfs_map_name_to_uid(const struct nfs_server *server, const char *name, size_t namelen, kuid_t *uid) uid 751 fs/nfs/nfs4idmap.c *uid = make_kuid(idmap_userns(idmap), id); uid 752 fs/nfs/nfs4idmap.c if (!uid_valid(*uid)) uid 776 fs/nfs/nfs4idmap.c int nfs_map_uid_to_name(const struct nfs_server *server, kuid_t uid, char *buf, size_t buflen) uid 782 fs/nfs/nfs4idmap.c id = from_kuid_munged(idmap_userns(idmap), uid); uid 3895 fs/nfs/nfs4xdr.c const struct nfs_server *server, kuid_t *uid, uid 3901 fs/nfs/nfs4xdr.c *uid = make_kuid(&init_user_ns, -2); uid 3917 fs/nfs/nfs4xdr.c if (len <= 0 || nfs_map_name_to_uid(server, p, len, uid) != 0) uid 3919 fs/nfs/nfs4xdr.c dprintk("%s: uid=%d\n", __func__, (int)from_kuid(&init_user_ns, *uid)); uid 4615 fs/nfs/nfs4xdr.c status = decode_attr_owner(xdr, bitmap, server, &fattr->uid, fattr->owner_name); uid 39 fs/nfs_common/nfsacl.c kuid_t uid; uid 61 fs/nfs_common/nfsacl.c *p++ = htonl(from_kuid(&init_user_ns, nfsacl_desc->uid)); uid 104 fs/nfs_common/nfsacl.c .uid = inode->i_uid, uid 54 fs/nfsd/flexfilelayout.c fl->uid = make_kuid(&init_user_ns, u); uid 56 fs/nfsd/flexfilelayout.c fl->uid = inode->i_uid; uid 30 fs/nfsd/flexfilelayoutxdr.c struct ff_idmap uid; uid 35 fs/nfsd/flexfilelayoutxdr.c uid.len = sprintf(uid.buf, "%u", from_kuid(&init_user_ns, fl->uid)); uid 40 fs/nfsd/flexfilelayoutxdr.c 8 + uid.len + 8 + gid.len; uid 69 fs/nfsd/flexfilelayoutxdr.c p = xdr_encode_opaque(p, uid.buf, uid.len); uid 38 fs/nfsd/flexfilelayoutxdr.h kuid_t uid; uid 174 fs/nfsd/nfs3xdr.c *p++ = htonl((u32) from_kuid_munged(userns, stat->uid)); uid 428 fs/nfsd/nfs4acl.c kuid_t uid; uid 528 fs/nfsd/nfs4acl.c pace->e_uid = state->users->aces[i].uid; uid 571 fs/nfsd/nfs4acl.c static int find_uid(struct posix_acl_state *state, kuid_t uid) uid 577 fs/nfsd/nfs4acl.c if (uid_eq(a->aces[i].uid, uid)) uid 581 fs/nfsd/nfs4acl.c a->aces[i].uid = uid; uid 843 fs/nfsd/nfs4callback.c kcred->uid = ses->se_cb_sec.uid; uid 628 fs/nfsd/nfs4idmap.c kuid_t *uid) uid 637 fs/nfsd/nfs4idmap.c *uid = make_kuid(nfsd_user_namespace(rqstp), id); uid 638 fs/nfsd/nfs4idmap.c if (!uid_valid(*uid)) uid 661 fs/nfsd/nfs4idmap.c kuid_t uid) uid 663 fs/nfsd/nfs4idmap.c u32 id = from_kuid_munged(nfsd_user_namespace(rqstp), uid); uid 529 fs/nfsd/nfs4xdr.c u32 dummy, uid, gid; uid 563 fs/nfsd/nfs4xdr.c uid = be32_to_cpup(p++); uid 571 fs/nfsd/nfs4xdr.c kuid_t kuid = make_kuid(userns, uid); uid 574 fs/nfsd/nfs4xdr.c cbs->uid = kuid; uid 2777 fs/nfsd/nfs4xdr.c status = nfsd4_encode_user(xdr, rqstp, stat.uid); uid 143 fs/nfsd/nfsxdr.c *p++ = htonl((u32) from_kuid_munged(userns, stat->uid)); uid 199 fs/nfsd/state.h kuid_t uid; uid 44 fs/notify/inotify/inotify.h return inc_ucount(ucounts->ns, ucounts->uid, UCOUNT_INOTIFY_WATCHES); uid 192 fs/nsfs.c uid_t uid; uid 208 fs/nsfs.c uid = from_kuid_munged(current_user_ns(), user_ns->owner); uid 209 fs/nsfs.c return put_user(uid, argp); uid 537 fs/ntfs/inode.c vi->i_uid = vol->uid; uid 2285 fs/ntfs/inode.c seq_printf(sf, ",uid=%i", from_kuid_munged(&init_user_ns, vol->uid)); uid 2640 fs/ntfs/mft.c vi->i_uid = vol->uid; uid 92 fs/ntfs/super.c kuid_t uid = INVALID_UID; uid 179 fs/ntfs/super.c NTFS_GETOPT_UID("uid", uid) uid 297 fs/ntfs/super.c if (uid_valid(uid)) uid 298 fs/ntfs/super.c vol->uid = uid; uid 36 fs/ntfs/volume.h kuid_t uid; /* uid that files will be mounted as. */ uid 364 fs/open.c override_cred->fsuid = override_cred->uid; uid 370 fs/open.c if (!uid_eq(override_cred->uid, root_uid)) uid 626 fs/open.c kuid_t uid; uid 629 fs/open.c uid = make_kuid(current_user_ns(), user); uid 635 fs/open.c if (!uid_valid(uid)) uid 638 fs/open.c newattrs.ia_uid = uid; uid 650 fs/open.c error = security_path_chown(path, uid, gid); uid 90 fs/orangefs/file.c new_op->upcall.uid = from_kuid(&init_user_ns, wr->uid); uid 86 fs/orangefs/inode.c kuid_t uid; uid 126 fs/orangefs/inode.c wr.uid = ow->uid; uid 181 fs/orangefs/inode.c ow->uid = wr->uid; uid 187 fs/orangefs/inode.c if (!uid_eq(ow->uid, wr->uid) || !gid_eq(ow->gid, wr->gid)) { uid 420 fs/orangefs/inode.c uid_eq(wr->uid, current_fsuid()) && uid 437 fs/orangefs/inode.c wr->uid = current_fsuid(); uid 512 fs/orangefs/inode.c wr->uid = current_fsuid(); uid 523 fs/orangefs/inode.c wr->uid = current_fsuid(); uid 749 fs/orangefs/inode.c if (uid_eq(wr->uid, current_fsuid()) && uid 768 fs/orangefs/inode.c wr->uid = current_fsuid(); uid 142 fs/orangefs/orangefs-cache.c new_op->upcall.uid = from_kuid(&init_user_ns, uid 238 fs/orangefs/orangefs-kernel.h kuid_t uid; uid 428 fs/orangefs/orangefs-utils.c new_op->upcall.uid = from_kuid(&init_user_ns, orangefs_inode->attr_uid); uid 222 fs/orangefs/upcall.h __u32 uid; uid 216 fs/overlayfs/copy_up.c .ia_uid = stat->uid, uid 673 fs/posix_acl.c kuid_t uid; uid 692 fs/posix_acl.c uid = make_kuid(from, le32_to_cpu(entry->e_id)); uid 693 fs/posix_acl.c entry->e_id = cpu_to_le32(from_kuid(to, uid)); uid 193 fs/proc/array.c seq_put_decimal_ull(m, "\nUid:\t", from_kuid_munged(user_ns, cred->uid)); uid 1695 fs/proc/base.c kuid_t uid; uid 1707 fs/proc/base.c uid = cred->euid; uid 1728 fs/proc/base.c uid = make_kuid(user_ns, 0); uid 1729 fs/proc/base.c if (!uid_valid(uid)) uid 1730 fs/proc/base.c uid = GLOBAL_ROOT_UID; uid 1737 fs/proc/base.c uid = GLOBAL_ROOT_UID; uid 1742 fs/proc/base.c *ruid = uid; uid 1792 fs/proc/base.c stat->uid = GLOBAL_ROOT_UID; uid 1805 fs/proc/base.c task_dump_owner(task, inode->i_mode, &stat->uid, &stat->gid); uid 431 fs/proc/generic.c proc_set_user(ent, (*parent)->uid, (*parent)->gid); uid 637 fs/proc/generic.c void proc_set_user(struct proc_dir_entry *de, kuid_t uid, kgid_t gid) uid 639 fs/proc/generic.c de->uid = uid; uid 464 fs/proc/inode.c inode->i_uid = de->uid; uid 53 fs/proc/internal.h kuid_t uid; uid 335 fs/proc/proc_net.c kuid_t uid; uid 352 fs/proc/proc_net.c uid = make_kuid(net->user_ns, 0); uid 353 fs/proc/proc_net.c if (!uid_valid(uid)) uid 354 fs/proc/proc_net.c uid = netd->uid; uid 360 fs/proc/proc_net.c proc_set_user(netd, uid, gid); uid 1172 fs/quota/dquot.c return uid_eq(current_fsuid(), warn->w_dq_id.uid); uid 19 fs/quota/kqid.c return uid_eq(left.uid, right.uid); uid 45 fs/quota/kqid.c return uid_lt(left.uid, right.uid); uid 72 fs/quota/kqid.c return from_kuid(targ, kqid.uid); uid 105 fs/quota/kqid.c return from_kuid_munged(targ, kqid.uid); uid 124 fs/quota/kqid.c return uid_valid(qid.uid); uid 89 fs/quota/quota_v1.c if (((type == USRQUOTA) && uid_eq(dquot->dq_id.uid, GLOBAL_ROOT_UID)) || uid 51 fs/squashfs/inode.c err = squashfs_get_id(sb, le16_to_cpu(sqsh_ino->uid), &i_uid); uid 271 fs/squashfs/squashfs_fs.h __le16 uid; uid 280 fs/squashfs/squashfs_fs.h __le16 uid; uid 290 fs/squashfs/squashfs_fs.h __le16 uid; uid 301 fs/squashfs/squashfs_fs.h __le16 uid; uid 312 fs/squashfs/squashfs_fs.h __le16 uid; uid 324 fs/squashfs/squashfs_fs.h __le16 uid; uid 336 fs/squashfs/squashfs_fs.h __le16 uid; uid 350 fs/squashfs/squashfs_fs.h __le16 uid; uid 367 fs/squashfs/squashfs_fs.h __le16 uid; uid 381 fs/squashfs/squashfs_fs.h __le16 uid; uid 39 fs/stat.c stat->uid = inode->i_uid; uid 232 fs/stat.c SET_UID(tmp.st_uid, from_kuid_munged(current_user_ns(), stat->uid)); uid 320 fs/stat.c SET_UID(tmp.st_uid, from_kuid_munged(current_user_ns(), stat->uid)); uid 464 fs/stat.c tmp.st_uid = from_kuid_munged(current_user_ns(), stat->uid); uid 537 fs/stat.c tmp.stx_uid = from_kuid_munged(current_user_ns(), stat->uid); uid 608 fs/stat.c SET_UID(tmp.st_uid, from_kuid_munged(current_user_ns(), stat->uid)); uid 43 fs/sysfs/dir.c kuid_t uid; uid 57 fs/sysfs/dir.c kobject_get_ownership(kobj, &uid, &gid); uid 60 fs/sysfs/dir.c S_IRWXU | S_IRUGO | S_IXUGO, uid, gid, uid 247 fs/sysfs/file.c umode_t mode, kuid_t uid, kgid_t gid, const void *ns) uid 305 fs/sysfs/file.c kn = __kernfs_create_file(parent, attr->name, mode & 0777, uid, gid, uid 324 fs/sysfs/file.c kuid_t uid; uid 330 fs/sysfs/file.c kobject_get_ownership(kobj, &uid, &gid); uid 332 fs/sysfs/file.c uid, gid, ns); uid 361 fs/sysfs/file.c kuid_t uid; uid 375 fs/sysfs/file.c kobject_get_ownership(kobj, &uid, &gid); uid 377 fs/sysfs/file.c attr->mode, uid, gid, NULL); uid 538 fs/sysfs/file.c kuid_t uid; uid 544 fs/sysfs/file.c kobject_get_ownership(kobj, &uid, &gid); uid 546 fs/sysfs/file.c attr->attr.mode, uid, gid, NULL); uid 34 fs/sysfs/group.c kuid_t uid, kgid_t gid, uid 64 fs/sysfs/group.c mode, uid, gid, NULL); uid 95 fs/sysfs/group.c uid, gid, NULL); uid 111 fs/sysfs/group.c kuid_t uid; uid 126 fs/sysfs/group.c kobject_get_ownership(kobj, &uid, &gid); uid 138 fs/sysfs/group.c uid, gid, kobj, NULL); uid 148 fs/sysfs/group.c error = create_files(kn, kobj, uid, gid, grp, update); uid 329 fs/sysfs/group.c kuid_t uid; uid 339 fs/sysfs/group.c kobject_get_ownership(kobj, &uid, &gid); uid 343 fs/sysfs/group.c (*attr)->mode, uid, gid, NULL); uid 32 fs/sysfs/sysfs.h umode_t amode, kuid_t uid, kgid_t gid, uid 139 fs/tracefs/inode.c kuid_t uid; uid 167 fs/tracefs/inode.c kuid_t uid; uid 182 fs/tracefs/inode.c uid = make_kuid(current_user_ns(), option); uid 183 fs/tracefs/inode.c if (!uid_valid(uid)) uid 185 fs/tracefs/inode.c opts->uid = uid; uid 219 fs/tracefs/inode.c inode->i_uid = opts->uid; uid 246 fs/tracefs/inode.c if (!uid_eq(opts->uid, GLOBAL_ROOT_UID)) uid 248 fs/tracefs/inode.c from_kuid_munged(&init_user_ns, opts->uid)); uid 429 fs/ubifs/debug.c pr_err("\tuid %u\n", le32_to_cpu(ino->uid)); uid 461 fs/ubifs/journal.c ino->uid = cpu_to_le32(i_uid_read(inode)); uid 125 fs/ubifs/super.c i_uid_write(inode, le32_to_cpu(ino->uid)); uid 527 fs/ubifs/ubifs-media.h __le32 uid; uid 560 fs/udf/ecma_167.h __le32 uid; uid 784 fs/udf/ecma_167.h __le32 uid; uid 1313 fs/udf/inode.c uint32_t uid, gid; uid 1445 fs/udf/inode.c uid = le32_to_cpu(fe->uid); uid 1446 fs/udf/inode.c if (uid == UDF_INVALID_ID || uid 1450 fs/udf/inode.c i_uid_write(inode, uid); uid 1719 fs/udf/inode.c fe->uid = cpu_to_le32(UDF_INVALID_ID); uid 1721 fs/udf/inode.c fe->uid = cpu_to_le32(i_uid_read(inode)); uid 220 fs/udf/super.c kuid_t uid; uid 521 fs/udf/super.c uopt->uid = make_kuid(current_user_ns(), option); uid 522 fs/udf/super.c if (!uid_valid(uopt->uid)) uid 615 fs/udf/super.c uopt.uid = sbi->s_uid; uid 627 fs/udf/super.c sbi->s_uid = uopt.uid; uid 2118 fs/udf/super.c uopt.uid = make_kuid(current_user_ns(), overflowuid); uid 2155 fs/udf/super.c sbi->s_uid = uopt.uid; uid 507 fs/xfs/xfs_iops.c stat->uid = inode->i_uid; uid 627 fs/xfs/xfs_iops.c kuid_t uid = GLOBAL_ROOT_UID, iuid = GLOBAL_ROOT_UID; uid 646 fs/xfs/xfs_iops.c uid = iattr->ia_uid; uid 649 fs/xfs/xfs_iops.c uid = inode->i_uid; uid 665 fs/xfs/xfs_iops.c error = xfs_qm_vop_dqalloc(ip, xfs_kuid_to_uid(uid), uid 693 fs/xfs/xfs_iops.c uid = (mask & ATTR_UID) ? iattr->ia_uid : iuid; uid 700 fs/xfs/xfs_iops.c ((XFS_IS_UQUOTA_ON(mp) && !uid_eq(iuid, uid)) || uid 729 fs/xfs/xfs_iops.c if (!uid_eq(iuid, uid)) { uid 736 fs/xfs/xfs_iops.c ip->i_d.di_uid = xfs_kuid_to_uid(uid); uid 737 fs/xfs/xfs_iops.c inode->i_uid = uid; uid 172 fs/xfs/xfs_linux.h static inline uint32_t xfs_kuid_to_uid(kuid_t uid) uid 174 fs/xfs/xfs_linux.h return from_kuid(&init_user_ns, uid); uid 177 fs/xfs/xfs_linux.h static inline kuid_t xfs_uid_to_kuid(uint32_t uid) uid 179 fs/xfs/xfs_linux.h return make_kuid(&init_user_ns, uid); uid 1611 fs/xfs/xfs_qm.c xfs_dqid_t uid, uid 1648 fs/xfs/xfs_qm.c if (ip->i_d.di_uid != uid) { uid 1659 fs/xfs/xfs_qm.c error = xfs_qm_dqget(mp, uid, XFS_DQ_USER, true, &uq); uid 112 fs/xfs/xfs_quota.h xfs_qm_vop_dqalloc(struct xfs_inode *ip, xfs_dqid_t uid, xfs_dqid_t gid, uid 79 include/acpi/acpi_bus.h bool acpi_dev_present(const char *hid, const char *uid, s64 hrv); uid 684 include/acpi/acpi_bus.h acpi_dev_get_first_match_dev(const char *hid, const char *uid, s64 hrv); uid 378 include/acpi/actbl1.h u32 uid; uid 678 include/acpi/actbl1.h u32 uid; /* Unique ID - must be same as the EC _UID method */ uid 585 include/acpi/actbl2.h u32 uid; /* Numeric UID - ACPI 3.0 */ uid 613 include/acpi/actbl2.h u32 uid; /* ACPI processor UID */ uid 621 include/acpi/actbl2.h u32 uid; /* ACPI processor UID */ uid 632 include/acpi/actbl2.h u32 uid; uid 681 include/linux/acpi.h static inline bool acpi_dev_present(const char *hid, const char *uid, s64 hrv) uid 687 include/linux/acpi.h acpi_dev_get_first_match_dev(const char *hid, const char *uid, s64 hrv) uid 20 include/linux/audit.h uid_t uid; uid 64 include/linux/audit.h kuid_t uid; uid 363 include/linux/audit.h extern void __audit_ipc_set_perm(unsigned long qbytes, uid_t uid, gid_t gid, umode_t mode); uid 392 include/linux/audit.h static inline void audit_ipc_set_perm(unsigned long qbytes, uid_t uid, gid_t gid, umode_t mode) uid 395 include/linux/audit.h __audit_ipc_set_perm(qbytes, uid, gid, mode); uid 578 include/linux/audit.h static inline void audit_ipc_set_perm(unsigned long qbytes, uid_t uid, uid 393 include/linux/ceph/ceph_fs.h __le32 uid; uid 518 include/linux/ceph/ceph_fs.h __le32 mode, uid, gid; uid 701 include/linux/ceph/ceph_fs.h __le32 uid, gid, mode; uid 120 include/linux/cred.h kuid_t uid; /* real UID of the task */ uid 371 include/linux/cred.h #define task_uid(task) (task_cred_xxx((task), uid)) uid 379 include/linux/cred.h #define current_uid() (current_cred_xxx(uid)) uid 405 include/linux/cred.h *(_uid) = __cred->uid; \ uid 592 include/linux/device.h void (*get_ownership)(struct device *dev, kuid_t *uid, kgid_t *gid); uid 798 include/linux/device.h kuid_t *uid, kgid_t *gid); uid 1514 include/linux/device.h umode_t *mode, kuid_t *uid, kgid_t *gid, uid 1314 include/linux/efi.h u32 uid; uid 909 include/linux/fs.h kuid_t uid, euid; /* uid/euid of process setting the owner */ uid 1569 include/linux/fs.h static inline void i_uid_write(struct inode *inode, uid_t uid) uid 1571 include/linux/fs.h inode->i_uid = make_kuid(inode->i_sb->s_user_ns, uid); uid 337 include/linux/greybus/greybus_protocols.h __u8 uid[8]; uid 354 include/linux/greybus/greybus_protocols.h __u8 uid[8]; uid 47 include/linux/highuid.h #define high2lowuid(uid) ((uid) & ~0xFFFF ? (old_uid_t)overflowuid : (old_uid_t)(uid)) uid 53 include/linux/highuid.h #define low2highuid(uid) ((uid) == (old_uid_t)-1 ? (uid_t)-1 : (uid_t)(uid)) uid 56 include/linux/highuid.h #define __convert_uid(size, uid) \ uid 57 include/linux/highuid.h (size >= sizeof(uid) ? (uid) : high2lowuid(uid)) uid 64 include/linux/highuid.h #define __convert_uid(size, uid) (uid) uid 70 include/linux/highuid.h #define SET_UID(var, uid) do { (var) = __convert_uid(sizeof(var), (uid)); } while (0) uid 92 include/linux/highuid.h #define fs_high2lowuid(uid) ((uid) & ~0xFFFF ? (uid16_t)fs_overflowuid : (uid16_t)(uid)) uid 266 include/linux/hugetlb.h kuid_t uid; uid 17 include/linux/ipc.h kuid_t uid; uid 346 include/linux/kernfs.h kuid_t uid, kgid_t gid, uid 352 include/linux/kernfs.h kuid_t uid, kgid_t gid, uid 443 include/linux/kernfs.h umode_t mode, kuid_t uid, kgid_t gid, uid 449 include/linux/kernfs.h umode_t mode, kuid_t uid, kgid_t gid, uid 543 include/linux/kernfs.h umode_t mode, kuid_t uid, kgid_t gid, uid 552 include/linux/kernfs.h return __kernfs_create_file(parent, name, mode, uid, gid, uid 187 include/linux/key.h kuid_t uid; uid 259 include/linux/key.h kuid_t uid, kgid_t gid, uid 385 include/linux/key.h extern struct key *keyring_alloc(const char *description, kuid_t uid, kgid_t gid, uid 119 include/linux/kobject.h kuid_t *uid, kgid_t *gid); uid 146 include/linux/kobject.h void (*get_ownership)(struct kobject *kobj, kuid_t *uid, kgid_t *gid); uid 1543 include/linux/lsm_hooks.h int (*path_chown)(const struct path *path, kuid_t uid, kgid_t gid); uid 64 include/linux/mlx5/cq.h u16 uid; uid 1093 include/linux/mlx5/driver.h u64 length, u16 uid, phys_addr_t *addr, u32 *obj_id); uid 1095 include/linux/mlx5/driver.h u64 length, u16 uid, phys_addr_t addr, u32 obj_id); uid 907 include/linux/mlx5/mlx5_ifc.h u8 uid[0x10]; uid 3793 include/linux/mlx5/mlx5_ifc.h u8 uid[0x10]; uid 3823 include/linux/mlx5/mlx5_ifc.h u8 uid[0x10]; uid 4028 include/linux/mlx5/mlx5_ifc.h u8 uid[0x10]; uid 4058 include/linux/mlx5/mlx5_ifc.h u8 uid[0x10]; uid 4088 include/linux/mlx5/mlx5_ifc.h u8 uid[0x10]; uid 4184 include/linux/mlx5/mlx5_ifc.h u8 uid[0x10]; uid 4237 include/linux/mlx5/mlx5_ifc.h u8 uid[0x10]; uid 5758 include/linux/mlx5/mlx5_ifc.h u8 uid[0x10]; uid 5780 include/linux/mlx5/mlx5_ifc.h u8 uid[0x10]; uid 5880 include/linux/mlx5/mlx5_ifc.h u8 uid[0x10]; uid 5919 include/linux/mlx5/mlx5_ifc.h u8 uid[0x10]; uid 5947 include/linux/mlx5/mlx5_ifc.h u8 uid[0x10]; uid 6020 include/linux/mlx5/mlx5_ifc.h u8 uid[0x10]; uid 6054 include/linux/mlx5/mlx5_ifc.h u8 uid[0x10]; uid 6090 include/linux/mlx5/mlx5_ifc.h u8 uid[0x10]; uid 6195 include/linux/mlx5/mlx5_ifc.h u8 uid[0x10]; uid 6361 include/linux/mlx5/mlx5_ifc.h u8 uid[0x10]; uid 6391 include/linux/mlx5/mlx5_ifc.h u8 uid[0x10]; uid 6491 include/linux/mlx5/mlx5_ifc.h u8 uid[0x10]; uid 6536 include/linux/mlx5/mlx5_ifc.h u8 uid[0x10]; uid 6560 include/linux/mlx5/mlx5_ifc.h u8 uid[0x10]; uid 6582 include/linux/mlx5/mlx5_ifc.h u8 uid[0x10]; uid 6604 include/linux/mlx5/mlx5_ifc.h u8 uid[0x10]; uid 6626 include/linux/mlx5/mlx5_ifc.h u8 uid[0x10]; uid 6648 include/linux/mlx5/mlx5_ifc.h u8 uid[0x10]; uid 6670 include/linux/mlx5/mlx5_ifc.h u8 uid[0x10]; uid 6716 include/linux/mlx5/mlx5_ifc.h u8 uid[0x10]; uid 6738 include/linux/mlx5/mlx5_ifc.h u8 uid[0x10]; uid 6782 include/linux/mlx5/mlx5_ifc.h u8 uid[0x10]; uid 6804 include/linux/mlx5/mlx5_ifc.h u8 uid[0x10]; uid 6956 include/linux/mlx5/mlx5_ifc.h u8 uid[0x10]; uid 6978 include/linux/mlx5/mlx5_ifc.h u8 uid[0x10]; uid 7081 include/linux/mlx5/mlx5_ifc.h u8 uid[0x10]; uid 7125 include/linux/mlx5/mlx5_ifc.h u8 uid[0x10]; uid 7169 include/linux/mlx5/mlx5_ifc.h u8 uid[0x10]; uid 7215 include/linux/mlx5/mlx5_ifc.h u8 uid[0x10]; uid 7239 include/linux/mlx5/mlx5_ifc.h u8 uid[0x10]; uid 7272 include/linux/mlx5/mlx5_ifc.h u8 uid[0x10]; uid 7296 include/linux/mlx5/mlx5_ifc.h u8 uid[0x10]; uid 7320 include/linux/mlx5/mlx5_ifc.h u8 uid[0x10]; uid 7348 include/linux/mlx5/mlx5_ifc.h u8 uid[0x10]; uid 7402 include/linux/mlx5/mlx5_ifc.h u8 uid[0x10]; uid 7426 include/linux/mlx5/mlx5_ifc.h u8 uid[0x10]; uid 7450 include/linux/mlx5/mlx5_ifc.h u8 uid[0x10]; uid 7474 include/linux/mlx5/mlx5_ifc.h u8 uid[0x10]; uid 7681 include/linux/mlx5/mlx5_ifc.h u8 uid[0x10]; uid 7713 include/linux/mlx5/mlx5_ifc.h u8 uid[0x10]; uid 7739 include/linux/mlx5/mlx5_ifc.h u8 uid[0x10]; uid 7799 include/linux/mlx5/mlx5_ifc.h u8 uid[0x10]; uid 7850 include/linux/mlx5/mlx5_ifc.h u8 uid[0x10]; uid 7878 include/linux/mlx5/mlx5_ifc.h u8 uid[0x10]; uid 7926 include/linux/mlx5/mlx5_ifc.h u8 uid[0x10]; uid 7970 include/linux/mlx5/mlx5_ifc.h u8 uid[0x10]; uid 7992 include/linux/mlx5/mlx5_ifc.h u8 uid[0x10]; uid 8014 include/linux/mlx5/mlx5_ifc.h u8 uid[0x10]; uid 9920 include/linux/mlx5/mlx5_ifc.h u8 uid[0x10]; uid 9989 include/linux/mlx5/mlx5_ifc.h u8 uid[0x10]; uid 10019 include/linux/mlx5/mlx5_ifc.h u8 uid[0x10]; uid 482 include/linux/mlx5/qp.h u16 uid; uid 49 include/linux/nfs_xdr.h kuid_t uid; uid 115 include/linux/proc_fs.h static inline void proc_set_user(struct proc_dir_entry *de, kuid_t uid, kgid_t gid) {} uid 70 include/linux/quota.h kuid_t uid; uid 105 include/linux/quota.h kqid.uid = make_kuid(from, qid); uid 132 include/linux/quota.h kqid.uid = INVALID_UID; uid 150 include/linux/quota.h static inline struct kqid make_kqid_uid(kuid_t uid) uid 154 include/linux/quota.h kqid.uid = uid; uid 33 include/linux/sched/user.h kuid_t uid; uid 1672 include/linux/security.h int security_path_chown(const struct path *path, kuid_t uid, kgid_t gid); uid 1729 include/linux/security.h static inline int security_path_chown(const struct path *path, kuid_t uid, kgid_t gid) uid 36 include/linux/shmem_fs.h kuid_t uid; /* Mount uid for root directory */ uid 125 include/linux/soc/qcom/llcc-qcom.h struct llcc_slice_desc *llcc_slice_getd(u32 uid); uid 172 include/linux/soc/qcom/llcc-qcom.h static inline struct llcc_slice_desc *llcc_slice_getd(u32 uid) uid 157 include/linux/socket.h __u32 uid; uid 41 include/linux/stat.h kuid_t uid; uid 707 include/linux/syscalls.h asmlinkage long sys_setuid(uid_t uid); uid 712 include/linux/syscalls.h asmlinkage long sys_setfsuid(uid_t uid); uid 1164 include/linux/syscalls.h asmlinkage long sys_setuid16(old_uid_t uid); uid 1171 include/linux/syscalls.h asmlinkage long sys_setfsuid16(old_uid_t uid); uid 179 include/linux/sysctl.h kuid_t *uid, kgid_t *gid); uid 34 include/linux/uidgid.h static inline uid_t __kuid_val(kuid_t uid) uid 36 include/linux/uidgid.h return uid.val; uid 44 include/linux/uidgid.h static inline uid_t __kuid_val(kuid_t uid) uid 111 include/linux/uidgid.h static inline bool uid_valid(kuid_t uid) uid 113 include/linux/uidgid.h return __kuid_val(uid) != (uid_t) -1; uid 123 include/linux/uidgid.h extern kuid_t make_kuid(struct user_namespace *from, uid_t uid); uid 126 include/linux/uidgid.h extern uid_t from_kuid(struct user_namespace *to, kuid_t uid); uid 128 include/linux/uidgid.h extern uid_t from_kuid_munged(struct user_namespace *to, kuid_t uid); uid 131 include/linux/uidgid.h static inline bool kuid_has_mapping(struct user_namespace *ns, kuid_t uid) uid 133 include/linux/uidgid.h return from_kuid(ns, uid) != (uid_t) -1; uid 143 include/linux/uidgid.h static inline kuid_t make_kuid(struct user_namespace *from, uid_t uid) uid 145 include/linux/uidgid.h return KUIDT_INIT(uid); uid 165 include/linux/uidgid.h uid_t uid = from_kuid(to, kuid); uid 166 include/linux/uidgid.h if (uid == (uid_t)-1) uid 167 include/linux/uidgid.h uid = overflowuid; uid 168 include/linux/uidgid.h return uid; uid 179 include/linux/uidgid.h static inline bool kuid_has_mapping(struct user_namespace *ns, kuid_t uid) uid 181 include/linux/uidgid.h return uid_valid(uid); uid 94 include/linux/user_namespace.h kuid_t uid; uid 103 include/linux/user_namespace.h struct ucounts *inc_ucount(struct user_namespace *ns, kuid_t uid, enum ucount_type type); uid 39 include/linux/vmw_vmci_api.h bool vmci_is_context_owner(u32 context_id, kuid_t uid); uid 394 include/net/9p/9p.h const char *uid; uid 462 include/net/9p/9p.h kuid_t uid; uid 152 include/net/9p/client.h kuid_t uid; uid 35 include/net/af_unix.h kuid_t uid; uid 164 include/net/ax25.h kuid_t uid; uid 103 include/net/flow.h kuid_t uid) uid 114 include/net/flow.h fl4->flowi4_uid = uid; uid 269 include/net/ip.h kuid_t uid; uid 184 include/net/ip6_route.h u32 mark, kuid_t uid); uid 187 include/net/ip6_route.h kuid_t uid); uid 323 include/net/ipv6.h kuid_t uid; uid 195 include/net/net_namespace.h void net_ns_get_ownership(const struct net *net, kuid_t *uid, kgid_t *gid); uid 210 include/net/net_namespace.h kuid_t *uid, kgid_t *gid) uid 212 include/net/net_namespace.h *uid = GLOBAL_ROOT_UID; uid 417 include/net/nfc/nci.h __u8 uid[NFC_ISO15693_UID_MAXSIZE]; /* 8 Bytes */ uid 20 include/net/scm.h kuid_t uid; uid 57 include/net/scm.h struct pid *pid, kuid_t uid, kgid_t gid) uid 61 include/net/scm.h scm->creds.uid = uid; uid 82 include/net/scm.h scm->creds.uid = INVALID_UID; uid 127 include/net/scm.h .uid = from_kuid_munged(current_ns, scm->creds.uid), uid 88 include/trace/events/ext4.h __field( uid_t, uid ) uid 97 include/trace/events/ext4.h __entry->uid = i_uid_read(inode); uid 106 include/trace/events/ext4.h __entry->uid, __entry->gid) uid 117 include/trace/events/ext4.h __field( uid_t, uid ) uid 126 include/trace/events/ext4.h __entry->uid = i_uid_read(inode); uid 135 include/trace/events/ext4.h __entry->uid, __entry->gid, __entry->blocks) uid 267 include/trace/events/rpcgss.h u32 uid, uid 271 include/trace/events/rpcgss.h TP_ARGS(uid, result), uid 274 include/trace/events/rpcgss.h __field(u32, uid) uid 280 include/trace/events/rpcgss.h __entry->uid = uid; uid 284 include/trace/events/rpcgss.h TP_printk("for uid %u, result=%d", __entry->uid, __entry->result) uid 22 include/uapi/asm-generic/ipcbuf.h __kernel_uid32_t uid; uid 241 include/uapi/drm/drm.h unsigned long uid; /**< User ID */ uid 58 include/uapi/linux/auto_dev-ioctl.h __u32 uid; uid 196 include/uapi/linux/auto_fs.h __u32 uid; uid 287 include/uapi/linux/batadv_packet.h __u8 uid; uid 310 include/uapi/linux/batadv_packet.h __u8 uid; uid 339 include/uapi/linux/batadv_packet.h __u8 uid; uid 378 include/uapi/linux/batadv_packet.h __u8 uid; uid 568 include/uapi/linux/btrfs_tree.h __le32 uid; uid 300 include/uapi/linux/coda.h vuid_t uid; uid 575 include/uapi/linux/coda.h vuid_t uid; uid 31 include/uapi/linux/cramfs_fs.h __u32 mode:CRAMFS_MODE_WIDTH, uid:CRAMFS_UID_WIDTH; uid 230 include/uapi/linux/fuse.h uint32_t uid; uid 574 include/uapi/linux/fuse.h uint32_t uid; uid 791 include/uapi/linux/fuse.h uint32_t uid; uid 42 include/uapi/linux/genwqe/genwqe_card.h #define GENWQE_UID_OFFS(uid) ((uid) << 24) uid 343 include/uapi/linux/genwqe/genwqe_card.h __u32 uid; /* 1=host/x=dram */ uid 13 include/uapi/linux/ipc.h __kernel_uid_t uid; uid 144 include/uapi/linux/jffs2.h jint16_t uid; /* The file's owner. */ uid 91 include/uapi/rdma/rdma_user_cm.h __aligned_u64 uid; uid 221 include/uapi/rdma/rdma_user_cm.h __aligned_u64 uid; uid 251 include/uapi/rdma/rdma_user_cm.h __aligned_u64 uid; uid 265 include/uapi/rdma/rdma_user_cm.h __aligned_u64 uid; uid 277 include/uapi/rdma/rdma_user_cm.h __aligned_u64 uid; uid 150 init/initramfs.c static __initdata uid_t uid; uid 167 init/initramfs.c uid = parsed[2]; uid 338 init/initramfs.c ksys_fchown(wfd, uid, gid); uid 348 init/initramfs.c ksys_chown(collected, uid, gid); uid 355 init/initramfs.c ksys_chown(collected, uid, gid); uid 388 init/initramfs.c ksys_lchown(collected, uid, gid); uid 44 ipc/compat.c to->uid = v.uid; uid 56 ipc/compat.c to->uid = v.uid; uid 65 ipc/compat.c to->uid = from->uid; uid 76 ipc/compat.c SET_UID(to->uid, from->uid); uid 358 ipc/msg.c out->msg_perm.uid = tbuf_old.msg_perm.uid; uid 1304 ipc/msg.c from_kuid_munged(user_ns, msq->q_perm.uid), uid 1567 ipc/sem.c out->sem_perm.uid = tbuf_old.sem_perm.uid; uid 2435 ipc/sem.c from_kuid_munged(user_ns, sma->sem_perm.uid), uid 791 ipc/shm.c out->shm_perm.uid = tbuf_old.shm_perm.uid; uid 1093 ipc/shm.c if (!uid_eq(euid, shp->shm_perm.uid) && uid 1767 ipc/shm.c from_kuid_munged(user_ns, shp->shm_perm.uid), uid 299 ipc/util.c new->cuid = new->uid = euid; uid 528 ipc/util.c uid_eq(euid, ipcp->uid)) uid 556 ipc/util.c out->uid = from_kuid_munged(current_user_ns(), in->uid); uid 575 ipc/util.c SET_UID(out->uid, in->uid); uid 655 ipc/util.c kuid_t uid = make_kuid(current_user_ns(), in->uid); uid 657 ipc/util.c if (!uid_valid(uid) || !gid_valid(gid)) uid 660 ipc/util.c out->uid = uid; uid 704 ipc/util.c audit_ipc_set_perm(extra_perm, perm->uid, uid 708 ipc/util.c if (uid_eq(euid, ipcp->cuid) || uid_eq(euid, ipcp->uid) || uid 259 ipc/util.h __compat_uid_t uid; uid 495 kernel/acct.c ac.ac_uid = from_kuid_munged(file->f_cred->user_ns, orig_cred->uid); uid 1046 kernel/audit.c uid_t uid = from_kuid(&init_user_ns, current_uid()); uid 1057 kernel/audit.c audit_log_format(*ab, "pid=%d uid=%u ", pid, uid); uid 1435 kernel/audit.c sig_data->uid = from_kuid(&init_user_ns, audit_sig_uid); uid 2144 kernel/audit.c from_kuid(&init_user_ns, cred->uid), uid 2209 kernel/audit.c uid_t uid, oldloginuid, loginuid; uid 2219 kernel/audit.c uid = from_kuid(&init_user_ns, task_uid(current)); uid 2224 kernel/audit.c audit_log_format(ab, "pid=%d uid=%u", task_tgid_nr(current), uid); uid 2278 kernel/audit.c kuid_t uid = current_uid(), auid; uid 2288 kernel/audit.c audit_sig_uid = uid; uid 77 kernel/audit.h kuid_t uid; uid 128 kernel/audit.h kuid_t uid, euid, suid, fsuid; uid 151 kernel/audit.h kuid_t uid; uid 489 kernel/auditfilter.c f->uid = make_kuid(current_user_ns(), f_val); uid 490 kernel/auditfilter.c if (!uid_valid(f->uid)) uid 753 kernel/auditfilter.c if (!uid_eq(a->fields[i].uid, b->fields[i].uid)) uid 1342 kernel/auditfilter.c result = audit_uid_comparator(current_uid(), f->op, f->uid); uid 1349 kernel/auditfilter.c f->op, f->uid); uid 306 kernel/auditsc.c static int audit_compare_uid(kuid_t uid, uid 315 kernel/auditsc.c rc = audit_uid_comparator(uid, f->op, name->uid); uid 322 kernel/auditsc.c rc = audit_uid_comparator(uid, f->op, n->uid); uid 363 kernel/auditsc.c return audit_compare_uid(cred->uid, name, f, ctx); uid 382 kernel/auditsc.c return audit_uid_comparator(cred->uid, f->op, uid 385 kernel/auditsc.c return audit_uid_comparator(cred->uid, f->op, cred->euid); uid 387 kernel/auditsc.c return audit_uid_comparator(cred->uid, f->op, cred->suid); uid 389 kernel/auditsc.c return audit_uid_comparator(cred->uid, f->op, cred->fsuid); uid 476 kernel/auditsc.c result = audit_uid_comparator(cred->uid, f->op, f->uid); uid 479 kernel/auditsc.c result = audit_uid_comparator(cred->euid, f->op, f->uid); uid 482 kernel/auditsc.c result = audit_uid_comparator(cred->suid, f->op, f->uid); uid 485 kernel/auditsc.c result = audit_uid_comparator(cred->fsuid, f->op, f->uid); uid 581 kernel/auditsc.c result = audit_uid_comparator(name->uid, f->op, f->uid); uid 584 kernel/auditsc.c if (audit_uid_comparator(n->uid, f->op, f->uid)) { uid 621 kernel/auditsc.c f->op, f->uid); uid 956 kernel/auditsc.c kuid_t auid, kuid_t uid, unsigned int sessionid, uid 970 kernel/auditsc.c from_kuid(&init_user_ns, uid), sessionid); uid 1209 kernel/auditsc.c from_kuid(&init_user_ns, context->ipc.uid), uid 1358 kernel/auditsc.c from_kuid(&init_user_ns, n->uid), uid 1927 kernel/auditsc.c name->uid = inode->i_uid; uid 2276 kernel/auditsc.c context->ipc.uid = ipcp->uid; uid 2293 kernel/auditsc.c void __audit_ipc_set_perm(unsigned long qbytes, uid_t uid, gid_t gid, umode_t mode) uid 2298 kernel/auditsc.c context->ipc.perm_uid = uid; uid 2550 kernel/auditsc.c kuid_t auid, uid; uid 2557 kernel/auditsc.c current_uid_gid(&uid, &gid); uid 2561 kernel/auditsc.c from_kuid(&init_user_ns, uid), uid 174 kernel/bpf/helpers.c kuid_t uid; uid 180 kernel/bpf/helpers.c current_uid_gid(&uid, &gid); uid 182 kernel/bpf/helpers.c from_kuid(&init_user_ns, uid); uid 2350 kernel/bpf/syscall.c prog->aux->user->uid); uid 516 kernel/cgroup/cgroup-v1.c !uid_eq(cred->euid, tcred->uid) && uid 47 kernel/cred.c .uid = GLOBAL_ROOT_UID, uid 494 kernel/cred.c if (!uid_eq(new->uid, old->uid) || uid 815 kernel/cred.c from_kuid_munged(&init_user_ns, cred->uid), uid 917 kernel/exit.c uid_t uid; uid 978 kernel/exit.c uid_t uid = from_kuid_munged(current_user_ns(), task_uid(p)); uid 1097 kernel/exit.c infop->uid = uid; uid 1138 kernel/exit.c uid_t uid = 0; /* unneeded, required by compiler */ uid 1164 kernel/exit.c uid = from_kuid_munged(current_user_ns(), task_uid(p)); uid 1194 kernel/exit.c infop->uid = uid; uid 1209 kernel/exit.c uid_t uid; uid 1225 kernel/exit.c uid = from_kuid_munged(current_user_ns(), task_uid(p)); uid 1242 kernel/exit.c infop->uid = uid; uid 1573 kernel/exit.c unsafe_put_user(info.uid, &infop->si_uid, Efault); uid 1700 kernel/exit.c unsafe_put_user(info.uid, &infop->si_uid, Efault); uid 318 kernel/ptrace.c caller_uid = cred->uid; uid 324 kernel/ptrace.c uid_eq(caller_uid, tcred->uid) && uid 4744 kernel/sched/core.c uid_eq(cred->euid, pcred->uid)); uid 817 kernel/signal.c uid_eq(cred->euid, tcred->uid) || uid 818 kernel/signal.c uid_eq(cred->uid, tcred->suid) || uid 819 kernel/signal.c uid_eq(cred->uid, tcred->uid) || uid 1227 kernel/signal.c kuid_t uid = make_kuid(current_user_ns(), info->si_uid); uid 1228 kernel/signal.c info->si_uid = from_kuid_munged(t_user_ns, uid); uid 1475 kernel/signal.c uid_eq(cred->euid, pcred->uid) || uid 1476 kernel/signal.c uid_eq(cred->uid, pcred->suid) || uid 1477 kernel/signal.c uid_eq(cred->uid, pcred->uid); uid 160 kernel/sys.c if (uid_eq(pcred->uid, cred->euid) || uid 203 kernel/sys.c kuid_t uid; uid 236 kernel/sys.c uid = make_kuid(cred->user_ns, who); uid 239 kernel/sys.c uid = cred->uid; uid 240 kernel/sys.c else if (!uid_eq(uid, cred->uid)) { uid 241 kernel/sys.c user = find_user(uid); uid 246 kernel/sys.c if (uid_eq(task_uid(p), uid) && task_pid_vnr(p)) uid 249 kernel/sys.c if (!uid_eq(uid, cred->uid)) uid 273 kernel/sys.c kuid_t uid; uid 304 kernel/sys.c uid = make_kuid(cred->user_ns, who); uid 307 kernel/sys.c uid = cred->uid; uid 308 kernel/sys.c else if (!uid_eq(uid, cred->uid)) { uid 309 kernel/sys.c user = find_user(uid); uid 314 kernel/sys.c if (uid_eq(task_uid(p), uid) && task_pid_vnr(p)) { uid 320 kernel/sys.c if (!uid_eq(uid, cred->uid)) uid 456 kernel/sys.c new_user = alloc_uid(new->uid); uid 516 kernel/sys.c new->uid = kruid; uid 517 kernel/sys.c if (!uid_eq(old->uid, kruid) && uid 525 kernel/sys.c if (!uid_eq(old->uid, keuid) && uid 532 kernel/sys.c if (!uid_eq(new->uid, old->uid)) { uid 538 kernel/sys.c (euid != (uid_t) -1 && !uid_eq(keuid, old->uid))) uid 569 kernel/sys.c long __sys_setuid(uid_t uid) uid 577 kernel/sys.c kuid = make_kuid(ns, uid); uid 588 kernel/sys.c new->suid = new->uid = kuid; uid 589 kernel/sys.c if (!uid_eq(kuid, old->uid)) { uid 594 kernel/sys.c } else if (!uid_eq(kuid, old->uid) && !uid_eq(kuid, new->suid)) { uid 611 kernel/sys.c SYSCALL_DEFINE1(setuid, uid_t, uid) uid 613 kernel/sys.c return __sys_setuid(uid); uid 650 kernel/sys.c if (ruid != (uid_t) -1 && !uid_eq(kruid, old->uid) && uid 653 kernel/sys.c if (euid != (uid_t) -1 && !uid_eq(keuid, old->uid) && uid 656 kernel/sys.c if (suid != (uid_t) -1 && !uid_eq(ksuid, old->uid) && uid 662 kernel/sys.c new->uid = kruid; uid 663 kernel/sys.c if (!uid_eq(kruid, old->uid)) { uid 697 kernel/sys.c ruid = from_kuid_munged(cred->user_ns, cred->uid); uid 797 kernel/sys.c long __sys_setfsuid(uid_t uid) uid 807 kernel/sys.c kuid = make_kuid(old->user_ns, uid); uid 815 kernel/sys.c if (uid_eq(kuid, old->uid) || uid_eq(kuid, old->euid) || uid 833 kernel/sys.c SYSCALL_DEFINE1(setfsuid, uid_t, uid) uid 835 kernel/sys.c return __sys_setfsuid(uid); uid 1594 kernel/sys.c id_match = (uid_eq(cred->uid, tcred->euid) && uid 1595 kernel/sys.c uid_eq(cred->uid, tcred->suid) && uid 1596 kernel/sys.c uid_eq(cred->uid, tcred->uid) && uid 1529 kernel/trace/trace.c max_data->uid = current_uid(); uid 1531 kernel/trace/trace.c max_data->uid = task_uid(tsk); uid 3679 kernel/trace/trace.c from_kuid_munged(seq_user_ns(m), data->uid), data->nice, uid 164 kernel/trace/trace.h kuid_t uid; uid 54 kernel/tsacct.c stats->ac_uid = from_kuid_munged(user_ns, tcred->uid); uid 15 kernel/ucount.c #define ucounts_hashfn(ns, uid) \ uid 16 kernel/ucount.c hash_long((unsigned long)__kuid_val(uid) + (unsigned long)(ns), \ uid 18 kernel/ucount.c #define ucounts_hashentry(ns, uid) \ uid 19 kernel/ucount.c (ucounts_hashtable + ucounts_hashfn(ns, uid)) uid 114 kernel/ucount.c static struct ucounts *find_ucounts(struct user_namespace *ns, kuid_t uid, struct hlist_head *hashent) uid 119 kernel/ucount.c if (uid_eq(ucounts->uid, uid) && (ucounts->ns == ns)) uid 125 kernel/ucount.c static struct ucounts *get_ucounts(struct user_namespace *ns, kuid_t uid) uid 127 kernel/ucount.c struct hlist_head *hashent = ucounts_hashentry(ns, uid); uid 131 kernel/ucount.c ucounts = find_ucounts(ns, uid, hashent); uid 140 kernel/ucount.c new->uid = uid; uid 144 kernel/ucount.c ucounts = find_ucounts(ns, uid, hashent); uid 189 kernel/ucount.c struct ucounts *inc_ucount(struct user_namespace *ns, kuid_t uid, uid 194 kernel/ucount.c ucounts = get_ucounts(ns, uid); uid 53 kernel/uid16.c SYSCALL_DEFINE1(setuid16, old_uid_t, uid) uid 55 kernel/uid16.c return __sys_setuid(low2highuid(uid)); uid 70 kernel/uid16.c ruid = high2lowuid(from_kuid_munged(cred->user_ns, cred->uid)); uid 104 kernel/uid16.c SYSCALL_DEFINE1(setfsuid16, old_uid_t, uid) uid 106 kernel/uid16.c return __sys_setfsuid(low2highuid(uid)); uid 5 kernel/uid16.h long __sys_setuid(uid_t uid); uid 11 kernel/uid16.h long __sys_setfsuid(uid_t uid); uid 81 kernel/user.c #define __uidhashfn(uid) (((uid >> UIDHASH_BITS) + uid) & UIDHASH_MASK) uid 82 kernel/user.c #define uidhashentry(uid) (uidhash_table + __uidhashfn((__kuid_val(uid)))) uid 104 kernel/user.c .uid = GLOBAL_ROOT_UID, uid 121 kernel/user.c static struct user_struct *uid_hash_find(kuid_t uid, struct hlist_head *hashent) uid 126 kernel/user.c if (uid_eq(user->uid, uid)) { uid 153 kernel/user.c struct user_struct *find_user(kuid_t uid) uid 159 kernel/user.c ret = uid_hash_find(uid, uidhashentry(uid)); uid 175 kernel/user.c struct user_struct *alloc_uid(kuid_t uid) uid 177 kernel/user.c struct hlist_head *hashent = uidhashentry(uid); uid 181 kernel/user.c up = uid_hash_find(uid, hashent); uid 189 kernel/user.c new->uid = uid; uid 199 kernel/user.c up = uid_hash_find(uid, hashent); uid 32 kernel/user_namespace.c static struct ucounts *inc_user_namespaces(struct user_namespace *ns, kuid_t uid) uid 34 kernel/user_namespace.c return inc_ucount(ns, uid, UCOUNT_USER_NAMESPACES); uid 386 kernel/user_namespace.c kuid_t make_kuid(struct user_namespace *ns, uid_t uid) uid 389 kernel/user_namespace.c return KUIDT_INIT(map_id_down(&ns->uid_map, uid)); uid 432 kernel/user_namespace.c uid_t uid; uid 433 kernel/user_namespace.c uid = from_kuid(targ, kuid); uid 435 kernel/user_namespace.c if (uid == (uid_t) -1) uid 436 kernel/user_namespace.c uid = overflowuid; uid 437 kernel/user_namespace.c return uid; uid 1096 kernel/user_namespace.c kuid_t uid = make_kuid(ns->parent, id); uid 1097 kernel/user_namespace.c if (uid_eq(uid, cred->euid)) uid 48 lib/kobject.c void kobject_get_ownership(struct kobject *kobj, kuid_t *uid, kgid_t *gid) uid 50 lib/kobject.c *uid = GLOBAL_ROOT_UID; uid 54 lib/kobject.c kobj->ktype->get_ownership(kobj, uid, gid); uid 921 lib/kobject.c static void kset_get_ownership(struct kobject *kobj, kuid_t *uid, kgid_t *gid) uid 924 lib/kobject.c kobject_get_ownership(kobj->parent, uid, gid); uid 300 lib/kobject_uevent.c parms->creds.uid = GLOBAL_ROOT_UID; uid 363 lib/kobject_uevent.c parms->creds.uid = root_uid; uid 815 lib/vsprintf.c !uid_eq(cred->euid, cred->uid) || uid 115 mm/shmem.c kuid_t uid; uid 3454 mm/shmem.c ctx->uid = make_kuid(current_user_ns(), result.uint_32); uid 3455 mm/shmem.c if (!uid_valid(ctx->uid)) uid 3606 mm/shmem.c if (!uid_eq(sbinfo->uid, GLOBAL_ROOT_UID)) uid 3608 mm/shmem.c from_kuid_munged(&init_user_ns, sbinfo->uid)); uid 3669 mm/shmem.c sbinfo->uid = ctx->uid; uid 3699 mm/shmem.c inode->i_uid = sbinfo->uid; uid 3881 mm/shmem.c ctx->uid = current_fsuid(); uid 900 net/9p/client.c fid->uid = current_fsuid(); uid 1132 net/9p/client.c fid->uid = n_uname; uid 1183 net/9p/client.c fid->uid = oldfid->uid; uid 1723 net/9p/client.c ret->name, ret->uid, ret->gid, ret->muid, ret->extension, uid 1810 net/9p/client.c if (wst->uid) uid 1811 net/9p/client.c ret += strlen(wst->uid); uid 1845 net/9p/client.c wst->name, wst->uid, wst->gid, wst->muid, wst->extension, uid 1878 net/9p/client.c from_kuid(&init_user_ns, p9attr->uid), uid 35 net/9p/protocol.c kfree(stbuf->uid); uid 36 net/9p/protocol.c stbuf->uid = NULL; uid 161 net/9p/protocol.c kuid_t *uid = va_arg(ap, kuid_t *); uid 167 net/9p/protocol.c *uid = make_kuid(&init_user_ns, uid 204 net/9p/protocol.c &stbuf->name, &stbuf->uid, uid 397 net/9p/protocol.c kuid_t uid = va_arg(ap, kuid_t); uid 399 net/9p/protocol.c from_kuid(&init_user_ns, uid)); uid 428 net/9p/protocol.c stbuf->name, stbuf->uid, uid 494 net/9p/protocol.c p9attr->uid, uid 50 net/ax25/ax25_uid.c ax25_uid_assoc *ax25_findbyuid(kuid_t uid) uid 56 net/ax25/ax25_uid.c if (uid_eq(ax25_uid->uid, uid)) { uid 81 net/ax25/ax25_uid.c res = from_kuid_munged(current_user_ns(), ax25_uid->uid); uid 108 net/ax25/ax25_uid.c ax25_uid->uid = sax25_kuid; uid 175 net/ax25/ax25_uid.c from_kuid_munged(seq_user_ns(seq), pt->uid), uid 262 net/batman-adv/icmp_socket.c icmp_header->uid = socket_client->index; uid 357 net/batman-adv/icmp_socket.c if (!batadv_socket_client_hash[icmph->uid]) { uid 392 net/batman-adv/icmp_socket.c hash = batadv_socket_client_hash[icmph->uid]; uid 576 net/batman-adv/tp_meter.c int uid, u32 timestamp) uid 598 net/batman-adv/tp_meter.c icmp->uid = uid; uid 684 net/batman-adv/tp_meter.c icmp->session, icmp->uid, uid 724 net/batman-adv/tp_meter.c icmp->uid, uid 1191 net/batman-adv/tp_meter.c icmp->uid = socket_index; uid 1456 net/batman-adv/tp_meter.c icmp->timestamp, icmp->session, icmp->uid); uid 256 net/bridge/br_if.c static void brport_get_ownership(struct kobject *kobj, kuid_t *uid, kgid_t *gid) uid 260 net/bridge/br_if.c net_ns_get_ownership(dev_net(p->dev), uid, gid); uid 113 net/can/gw.c u32 uid; uid 647 net/can/gw.c if (gwj->mod.uid) { uid 648 net/can/gw.c if (nla_put_u32(skb, CGW_MOD_UID, gwj->mod.uid) < 0) uid 951 net/can/gw.c nla_memcpy(&mod->uid, tb[CGW_MOD_UID], sizeof(u32)); uid 1017 net/can/gw.c if (mod.uid) { uid 1022 net/can/gw.c if (gwj->mod.uid != mod.uid) uid 1149 net/can/gw.c if (gwj->mod.uid || mod.uid) { uid 1150 net/can/gw.c if (gwj->mod.uid != mod.uid) uid 7648 net/core/dev.c kuid_t uid; uid 7674 net/core/dev.c current_uid_gid(&uid, &gid); uid 7681 net/core/dev.c from_kuid(&init_user_ns, uid), uid 901 net/core/net-sysfs.c kuid_t *uid, kgid_t *gid) uid 905 net/core/net-sysfs.c net_ns_get_ownership(net, uid, gid); uid 1444 net/core/net-sysfs.c kuid_t *uid, kgid_t *gid) uid 1448 net/core/net-sysfs.c net_ns_get_ownership(net, uid, gid); uid 1654 net/core/net-sysfs.c static void net_get_ownership(struct device *d, kuid_t *uid, kgid_t *gid) uid 1659 net/core/net-sysfs.c net_ns_get_ownership(net, uid, gid); uid 501 net/core/net_namespace.c void net_ns_get_ownership(const struct net *net, kuid_t *uid, kgid_t *gid) uid 508 net/core/net_namespace.c *uid = ns_root_uid; uid 513 net/core/net_namespace.c *uid = GLOBAL_ROOT_UID; uid 48 net/core/scm.c kuid_t uid = make_kuid(cred->user_ns, creds->uid); uid 51 net/core/scm.c if (!uid_valid(uid) || !gid_valid(gid)) uid 56 net/core/scm.c ((uid_eq(uid, cred->uid) || uid_eq(uid, cred->euid) || uid 57 net/core/scm.c uid_eq(uid, cred->suid)) || ns_capable(cred->user_ns, CAP_SETUID)) && uid 165 net/core/scm.c kuid_t uid; uid 186 net/core/scm.c uid = make_kuid(current_user_ns(), creds.uid); uid 188 net/core/scm.c if (!uid_valid(uid) || !gid_valid(gid)) uid 191 net/core/scm.c p->creds.uid = uid; uid 1194 net/core/sock.c ucred->uid = ucred->gid = -1; uid 1198 net/core/sock.c ucred->uid = from_kuid_munged(current_ns, cred->euid); uid 2070 net/core/sock.c kuid_t uid; uid 2073 net/core/sock.c uid = sk->sk_socket ? SOCK_INODE(sk->sk_socket)->i_uid : GLOBAL_ROOT_UID; uid 2075 net/core/sock.c return uid; uid 140 net/ipv4/inet_connection_sock.c kuid_t uid = sock_i_uid((struct sock *)sk); uid 159 net/ipv4/inet_connection_sock.c !uid_eq(uid, sock_i_uid(sk2))))) { uid 257 net/ipv4/inet_connection_sock.c kuid_t uid = sock_i_uid(sk); uid 265 net/ipv4/inet_connection_sock.c if (!uid_eq(tb->fastuid, uid)) uid 299 net/ipv4/inet_connection_sock.c kuid_t uid = sock_i_uid(sk); uid 340 net/ipv4/inet_connection_sock.c tb->fastuid = uid; uid 367 net/ipv4/inet_connection_sock.c tb->fastuid = uid; uid 521 net/ipv4/inet_hashtables.c kuid_t uid = sock_i_uid(sk); uid 529 net/ipv4/inet_hashtables.c sk2->sk_reuseport && uid_eq(uid, sock_i_uid(sk2)) && uid 1696 net/ipv4/ip_output.c arg->uid); uid 3090 net/ipv4/route.c kuid_t uid; uid 3105 net/ipv4/route.c uid = make_kuid(current_user_ns(), nla_get_u32(tb[RTA_UID])); uid 3107 net/ipv4/route.c uid = (iif ? INVALID_UID : current_uid()); uid 3131 net/ipv4/route.c fl4.flowi4_uid = uid; uid 771 net/ipv4/tcp_ipv4.c arg.uid = sock_net_uid(net, sk && sk_fullsock(sk) ? sk : NULL); uid 869 net/ipv4/tcp_ipv4.c arg.uid = sock_net_uid(net, sk_fullsock(sk) ? sk : NULL); uid 134 net/ipv4/udp.c kuid_t uid = sock_i_uid(sk); uid 146 net/ipv4/udp.c uid_eq(uid, sock_i_uid(sk2))) { uid 169 net/ipv4/udp.c kuid_t uid = sock_i_uid(sk); uid 183 net/ipv4/udp.c uid_eq(uid, sock_i_uid(sk2))) { uid 198 net/ipv4/udp.c kuid_t uid = sock_i_uid(sk); uid 208 net/ipv4/udp.c sk2->sk_reuseport && uid_eq(uid, sock_i_uid(sk2)) && uid 446 net/ipv6/ip6_flowlabel.c fl->owner.uid = current_euid(); uid 662 net/ipv6/ip6_flowlabel.c !uid_eq(fl1->owner.uid, fl->owner.uid))) uid 820 net/ipv6/ip6_flowlabel.c from_kuid_munged(seq_user_ns(seq), fl->owner.uid) : uid 2811 net/ipv6/route.c int oif, u32 mark, kuid_t uid) uid 2821 net/ipv6/route.c .flowi6_uid = uid, uid 3026 net/ipv6/route.c kuid_t uid) uid 3037 net/ipv6/route.c .flowi6_uid = uid, uid 734 net/iucv/af_iucv.c char uid[9]; uid 763 net/iucv/af_iucv.c memcpy(uid, sa->siucv_user_id, sizeof(uid)); uid 764 net/iucv/af_iucv.c ASCEBC(uid, 8); uid 767 net/iucv/af_iucv.c if (!memcmp(dev->perm_addr, uid, 8)) { uid 609 net/netfilter/nfnetlink_log.c __be32 uid = htonl(from_kuid_munged(user_ns, cred->fsuid)); uid 612 net/netfilter/nfnetlink_log.c if (nla_put_be32(inst->skb, NFULA_UID, uid) || uid 331 net/netfilter/xt_recent.c kuid_t uid; uid 400 net/netfilter/xt_recent.c uid = make_kuid(&init_user_ns, ip_list_uid); uid 402 net/netfilter/xt_recent.c if (!uid_valid(uid) || !gid_valid(gid)) { uid 414 net/netfilter/xt_recent.c proc_set_user(pde, uid, gid); uid 161 net/nfc/digital_technology.c u64 uid; uid 870 net/nfc/digital_technology.c memcpy(target->iso15693_uid, &res->uid, sizeof(target->iso15693_uid)); uid 156 net/nfc/nci/ntf.c memcpy(nfcv_poll->uid, data, NFC_ISO15693_UID_MAXSIZE); uid 246 net/nfc/nci/ntf.c memcpy(target->iso15693_uid, nfcv_poll->uid, NFC_ISO15693_UID_MAXSIZE); uid 8170 net/sctp/socket.c kuid_t uid = sock_i_uid(sk); uid 8249 net/sctp/socket.c uid_eq(pp->fastuid, uid))) uid 8270 net/sctp/socket.c uid_eq(uid, sock_i_uid(sk2)))) uid 8300 net/sctp/socket.c pp->fastuid = uid; uid 8310 net/sctp/socket.c (!sk->sk_reuseport || !uid_eq(pp->fastuid, uid))) uid 196 net/smc/smc_ism.c u8 uid[SMC_LGR_ID_SIZE]; uid 229 net/smc/smc_ism.c memcpy(ev_info.uid, lgr->id, SMC_LGR_ID_SIZE); uid 272 net/sunrpc/auth_gss/auth_gss.c kuid_t uid; uid 326 net/sunrpc/auth_gss/auth_gss.c __gss_find_upcall(struct rpc_pipe *pipe, kuid_t uid, const struct gss_auth *auth) uid 330 net/sunrpc/auth_gss/auth_gss.c if (!uid_eq(pos->uid, uid)) uid 351 net/sunrpc/auth_gss/auth_gss.c old = __gss_find_upcall(pipe, gss_msg->uid, gss_msg->auth); uid 421 net/sunrpc/auth_gss/auth_gss.c uid_t uid = from_kuid_munged(userns, gss_msg->uid); uid 422 net/sunrpc/auth_gss/auth_gss.c memcpy(gss_msg->databuf, &uid, sizeof(uid)); uid 424 net/sunrpc/auth_gss/auth_gss.c gss_msg->msg.len = sizeof(uid); uid 426 net/sunrpc/auth_gss/auth_gss.c BUILD_BUG_ON(sizeof(uid) > sizeof(gss_msg->databuf)); uid 453 net/sunrpc/auth_gss/auth_gss.c from_kuid_munged(userns, gss_msg->uid)); uid 535 net/sunrpc/auth_gss/auth_gss.c kuid_t uid, const char *service_name) uid 553 net/sunrpc/auth_gss/auth_gss.c gss_msg->uid = uid; uid 578 net/sunrpc/auth_gss/auth_gss.c kuid_t uid = cred->cr_cred->fsuid; uid 580 net/sunrpc/auth_gss/auth_gss.c gss_new = gss_alloc_msg(gss_auth, uid, gss_cred->gc_principal); uid 725 net/sunrpc/auth_gss/auth_gss.c kuid_t uid; uid 746 net/sunrpc/auth_gss/auth_gss.c uid = make_kuid(current_user_ns(), id); uid 747 net/sunrpc/auth_gss/auth_gss.c if (!uid_valid(uid)) { uid 760 net/sunrpc/auth_gss/auth_gss.c gss_msg = __gss_find_upcall(pipe, uid, NULL); uid 421 net/sunrpc/svcauth_unix.c kuid_t uid; uid 426 net/sunrpc/svcauth_unix.c static int unix_gid_hash(kuid_t uid) uid 428 net/sunrpc/svcauth_unix.c return hash_long(from_kuid(&init_user_ns, uid), GID_HASHBITS); uid 445 net/sunrpc/svcauth_unix.c return uid_eq(orig->uid, new->uid); uid 451 net/sunrpc/svcauth_unix.c new->uid = item->uid; uid 477 net/sunrpc/svcauth_unix.c snprintf(tuid, 20, "%u", from_kuid(&init_user_ns, ug->uid)); uid 482 net/sunrpc/svcauth_unix.c static struct unix_gid *unix_gid_lookup(struct cache_detail *cd, kuid_t uid); uid 489 net/sunrpc/svcauth_unix.c kuid_t uid; uid 504 net/sunrpc/svcauth_unix.c uid = make_kuid(current_user_ns(), id); uid 505 net/sunrpc/svcauth_unix.c ug.uid = uid; uid 533 net/sunrpc/svcauth_unix.c ugp = unix_gid_lookup(cd, uid); uid 540 net/sunrpc/svcauth_unix.c unix_gid_hash(uid)); uid 575 net/sunrpc/svcauth_unix.c seq_printf(m, "%u %d:", from_kuid_munged(user_ns, ug->uid), glen); uid 625 net/sunrpc/svcauth_unix.c static struct unix_gid *unix_gid_lookup(struct cache_detail *cd, kuid_t uid) uid 630 net/sunrpc/svcauth_unix.c ug.uid = uid; uid 631 net/sunrpc/svcauth_unix.c ch = sunrpc_cache_lookup_rcu(cd, &ug.h, unix_gid_hash(uid)); uid 638 net/sunrpc/svcauth_unix.c static struct group_info *unix_gid_find(kuid_t uid, struct svc_rqst *rqstp) uid 646 net/sunrpc/svcauth_unix.c ug = unix_gid_lookup(sn->unix_gid_cache, uid); uid 58 net/sysctl_net.c kuid_t *uid, kgid_t *gid) uid 66 net/sysctl_net.c *uid = ns_root_uid; uid 1513 net/unix/af_unix.c UNIXCB(skb).uid = scm->creds.uid; uid 1544 net/unix/af_unix.c current_uid_gid(&UNIXCB(skb).uid, &UNIXCB(skb).gid); uid 1561 net/unix/af_unix.c current_uid_gid(&scm->creds.uid, &scm->creds.gid); uid 1572 net/unix/af_unix.c uid_eq(u->uid, scm->creds.uid) && uid 2107 net/unix/af_unix.c scm_set_cred(&scm, UNIXCB(skb).pid, UNIXCB(skb).uid, UNIXCB(skb).gid); uid 2313 net/unix/af_unix.c scm_set_cred(&scm, UNIXCB(skb).pid, UNIXCB(skb).uid, UNIXCB(skb).gid); uid 118 net/unix/diag.c uid_t uid = from_kuid_munged(sk_user_ns(nlskb->sk), sock_i_uid(sk)); uid 119 net/unix/diag.c return nla_put(nlskb, UNIX_DIAG_UID, sizeof(uid_t), &uid); uid 526 net/vmw_vsock/vmci_transport.c vmci_is_context_owner(peer_cid, vsock->owner->uid); uid 59 samples/bpf/cookie_uid_helper_example.c uint32_t uid; uid 119 samples/bpf/cookie_uid_helper_example.c -32 + (__s16)offsetof(struct stats, uid)), uid 202 samples/bpf/cookie_uid_helper_example.c " Bytes Count: %lu\n", curN, curEntry.uid, uid 260 samples/bpf/cookie_uid_helper_example.c " Bytes Count: %lu\n\n", cookie, dataEntry.uid, uid 14 samples/bpf/sock_flags_kern.c __u32 uid = gid_uid & 0xffffffff; uid 18 samples/bpf/sock_flags_kern.c bpf_trace_printk(fmt2, sizeof(fmt2), uid, gid); uid 734 security/apparmor/domain.c cond->uid, info, error); uid 810 security/apparmor/domain.c NULL, onexec, cond->uid, info, error); uid 179 security/apparmor/file.c NULL, NULL, cond->uid, info, error)); uid 234 security/apparmor/file.c if (uid_eq(current_fsuid(), cond->uid)) { uid 289 security/apparmor/file.c cond->uid, NULL, e); uid 443 security/apparmor/file.c NULL, cond->uid, info, error); uid 515 security/apparmor/file.c .uid = file_inode(file)->i_uid, uid 105 security/apparmor/include/file.h kuid_t uid; uid 264 security/apparmor/lsm.c cond.uid = inode->i_uid; uid 382 security/apparmor/lsm.c static int apparmor_path_chown(const struct path *path, kuid_t uid, kgid_t gid) uid 692 security/commoncap.c static inline bool __is_real(kuid_t uid, struct cred *cred) uid 693 security/commoncap.c { return uid_eq(cred->uid, uid); } uid 695 security/commoncap.c static inline bool __is_eff(kuid_t uid, struct cred *cred) uid 696 security/commoncap.c { return uid_eq(cred->euid, uid); } uid 698 security/commoncap.c static inline bool __is_suid(kuid_t uid, struct cred *cred) uid 699 security/commoncap.c { return !__is_real(uid, cred) && __is_eff(uid, cred); } uid 755 security/commoncap.c { return !uid_eq(new->euid, old->uid); } uid 844 security/commoncap.c new->euid = new->uid; uid 1002 security/commoncap.c if ((uid_eq(old->uid, root_uid) || uid 1005 security/commoncap.c (!uid_eq(new->uid, root_uid) && uid 148 security/integrity/evm/evm_crypto.c uid_t uid; uid 169 security/integrity/evm/evm_crypto.c hmac_misc.uid = from_kuid(&init_user_ns, inode->i_uid); uid 71 security/integrity/ima/ima_policy.c kuid_t uid; uid 120 security/integrity/ima/ima_policy.c .uid = GLOBAL_ROOT_UID, .uid_op = &uid_eq, uid 132 security/integrity/ima/ima_policy.c .uid = GLOBAL_ROOT_UID, .uid_op = &uid_eq, uid 135 security/integrity/ima/ima_policy.c .uid = GLOBAL_ROOT_UID, .uid_op = &uid_eq, uid 398 security/integrity/ima/ima_policy.c if ((rule->flags & IMA_UID) && !rule->uid_op(cred->uid, rule->uid)) uid 402 security/integrity/ima/ima_policy.c if (!rule->uid_op(cred->euid, rule->uid) uid 403 security/integrity/ima/ima_policy.c && !rule->uid_op(cred->suid, rule->uid) uid 404 security/integrity/ima/ima_policy.c && !rule->uid_op(cred->uid, rule->uid)) uid 406 security/integrity/ima/ima_policy.c } else if (!rule->uid_op(cred->euid, rule->uid)) uid 903 security/integrity/ima/ima_policy.c entry->uid = INVALID_UID; uid 1089 security/integrity/ima/ima_policy.c if (uid_valid(entry->uid)) { uid 1096 security/integrity/ima/ima_policy.c entry->uid = make_kuid(current_user_ns(), uid 1098 security/integrity/ima/ima_policy.c if (!uid_valid(entry->uid) || uid 1441 security/integrity/ima/ima_policy.c snprintf(tbuf, sizeof(tbuf), "%d", __kuid_val(entry->uid)); uid 1452 security/integrity/ima/ima_policy.c snprintf(tbuf, sizeof(tbuf), "%d", __kuid_val(entry->uid)); uid 41 security/integrity/integrity_audit.c from_kuid(&init_user_ns, current_cred()->uid), uid 60 security/keys/internal.h kuid_t uid; uid 69 security/keys/internal.h extern struct key_user *key_user_lookup(kuid_t uid); uid 258 security/keys/internal.h static inline long keyctl_get_persistent(uid_t uid, key_serial_t destring) uid 50 security/keys/key.c struct key_user *key_user_lookup(kuid_t uid) uid 65 security/keys/key.c if (uid_lt(uid, user->uid)) uid 67 security/keys/key.c else if (uid_gt(uid, user->uid)) uid 95 security/keys/key.c candidate->uid = uid; uid 225 security/keys/key.c kuid_t uid, kgid_t gid, const struct cred *cred, uid 250 security/keys/key.c user = key_user_lookup(uid); uid 257 security/keys/key.c unsigned maxkeys = uid_eq(uid, GLOBAL_ROOT_UID) ? uid 259 security/keys/key.c unsigned maxbytes = uid_eq(uid, GLOBAL_ROOT_UID) ? uid 293 security/keys/key.c key->uid = uid; uid 378 security/keys/key.c unsigned maxbytes = uid_eq(key->user->uid, GLOBAL_ROOT_UID) ? uid 680 security/keys/keyctl.c from_kuid_munged(current_user_ns(), key->uid), uid 952 security/keys/keyctl.c kuid_t uid; uid 955 security/keys/keyctl.c uid = make_kuid(current_user_ns(), user); uid 958 security/keys/keyctl.c if ((user != (uid_t) -1) && !uid_valid(uid)) uid 982 security/keys/keyctl.c if (user != (uid_t) -1 && !uid_eq(key->uid, uid)) uid 992 security/keys/keyctl.c if (user != (uid_t) -1 && !uid_eq(uid, key->uid)) { uid 994 security/keys/keyctl.c newowner = key_user_lookup(uid); uid 1000 security/keys/keyctl.c unsigned maxkeys = uid_eq(uid, GLOBAL_ROOT_UID) ? uid 1002 security/keys/keyctl.c unsigned maxbytes = uid_eq(uid, GLOBAL_ROOT_UID) ? uid 1032 security/keys/keyctl.c key->uid = uid; uid 1087 security/keys/keyctl.c if (capable(CAP_SYS_ADMIN) || uid_eq(key->uid, current_fsuid())) { uid 1669 security/keys/keyctl.c if (!uid_eq(pcred->uid, mycred->euid) || uid 1679 security/keys/keyctl.c !uid_eq(pcred->session_keyring->uid, mycred->euid)) || uid 1680 security/keys/keyctl.c !uid_eq(mycred->session_keyring->uid, mycred->euid)) uid 517 security/keys/keyring.c struct key *keyring_alloc(const char *description, kuid_t uid, kgid_t gid, uid 527 security/keys/keyring.c uid, gid, cred, perm, flags, restrict_link); uid 1153 security/keys/keyring.c if (!kuid_has_mapping(ns, keyring->user->uid)) uid 36 security/keys/permission.c if (uid_eq(key->uid, cred->fsuid)) { uid 40 security/keys/persistent.c static key_ref_t key_create_persistent(struct user_namespace *ns, kuid_t uid, uid 58 security/keys/persistent.c uid, INVALID_GID, current_cred(), uid 73 security/keys/persistent.c static long key_get_persistent(struct user_namespace *ns, kuid_t uid, uid 86 security/keys/persistent.c index_key.desc_len = sprintf(buf, "_persistent.%u", from_kuid(ns, uid)); uid 103 security/keys/persistent.c persistent_ref = key_create_persistent(ns, uid, &index_key); uid 133 security/keys/persistent.c kuid_t uid; uid 138 security/keys/persistent.c uid = current_uid(); uid 140 security/keys/persistent.c uid = make_kuid(ns, _uid); uid 141 security/keys/persistent.c if (!uid_valid(uid)) uid 147 security/keys/persistent.c if (!uid_eq(uid, current_uid()) && uid 148 security/keys/persistent.c !uid_eq(uid, current_euid()) && uid 162 security/keys/persistent.c ret = key_get_persistent(ns, uid, dest_ref); uid 71 security/keys/proc.c if (kuid_has_mapping(user_ns, key->user->uid)) uid 103 security/keys/proc.c if (kuid_has_mapping(user_ns, minkey->user->uid)) uid 238 security/keys/proc.c from_kuid_munged(seq_user_ns(m), key->uid), uid 256 security/keys/proc.c if (kuid_has_mapping(user_ns, user->uid)) uid 307 security/keys/proc.c unsigned maxkeys = uid_eq(user->uid, GLOBAL_ROOT_UID) ? uid 309 security/keys/proc.c unsigned maxbytes = uid_eq(user->uid, GLOBAL_ROOT_UID) ? uid 313 security/keys/proc.c from_kuid_munged(seq_user_ns(m), user->uid), uid 32 security/keys/process_keys.c .uid = GLOBAL_ROOT_UID, uid 82 security/keys/process_keys.c uid_t uid = from_kuid(user_ns, cred->user->uid); uid 88 security/keys/process_keys.c kenter("%u", uid); uid 101 security/keys/process_keys.c snprintf(buf, sizeof(buf), "_uid.%u", uid); uid 106 security/keys/process_keys.c uid_keyring = keyring_alloc(buf, cred->user->uid, INVALID_GID, uid 123 security/keys/process_keys.c snprintf(buf, sizeof(buf), "_uid_ses.%u", uid); uid 128 security/keys/process_keys.c session_keyring = keyring_alloc(buf, cred->user->uid, INVALID_GID, uid 206 security/keys/process_keys.c cred->user->uid)); uid 228 security/keys/process_keys.c keyring = keyring_alloc("_tid", new->uid, new->gid, new, uid 275 security/keys/process_keys.c keyring = keyring_alloc("_pid", new->uid, new->gid, new, uid 330 security/keys/process_keys.c keyring = keyring_alloc("_ses", cred->uid, cred->gid, cred, uid 382 security/keys/process_keys.c new_cred->thread_keyring->uid = new_cred->fsuid; uid 871 security/keys/process_keys.c name, old->uid, old->gid, old, uid 922 security/keys/process_keys.c new-> uid = old-> uid; uid 84 security/safesetid/lsm.c if (setuid_policy_lookup(cred->uid, INVALID_UID) == SIDPOL_DEFAULT) uid 92 security/safesetid/lsm.c __kuid_val(cred->uid)); uid 105 security/safesetid/lsm.c if (uid_eq(new_uid, old->uid) || uid_eq(new_uid, old->euid) || uid 114 security/safesetid/lsm.c setuid_policy_lookup(old->uid, new_uid) != SIDPOL_CONSTRAINED; uid 117 security/safesetid/lsm.c __kuid_val(old->uid), __kuid_val(old->euid), uid 134 security/safesetid/lsm.c if (setuid_policy_lookup(old->uid, INVALID_UID) == SIDPOL_DEFAULT) uid 137 security/safesetid/lsm.c if (uid_permitted_for_cred(old, new->uid) && uid 1098 security/security.c int security_path_chown(const struct path *path, kuid_t uid, kgid_t gid) uid 1102 security/security.c return call_int_hook(path_chown, 0, path, uid, gid); uid 200 security/tomoyo/audit.c from_kuid(&init_user_ns, stat->uid), uid 209 security/tomoyo/audit.c from_kuid(&init_user_ns, stat->uid), uid 948 security/tomoyo/common.c (!uid_eq(task->cred->uid, GLOBAL_ROOT_UID) || uid 568 security/tomoyo/common.h kuid_t uid; uid 742 security/tomoyo/condition.c stat->uid = inode->i_uid; uid 999 security/tomoyo/condition.c value = from_kuid(&init_user_ns, stat->uid); uid 361 security/tomoyo/tomoyo.c static int tomoyo_path_chown(const struct path *path, kuid_t uid, kgid_t gid) uid 365 security/tomoyo/tomoyo.c if (uid_valid(uid)) uid 367 security/tomoyo/tomoyo.c from_kuid(&init_user_ns, uid)); uid 87 sound/pci/mixart/mixart.c request.uid = (struct mixart_uid){0,0}; uid 109 sound/pci/mixart/mixart.c request.uid = pipe->group_uid; /*(struct mixart_uid){0,0};*/ uid 137 sound/pci/mixart/mixart.c request.uid = (struct mixart_uid){0,0}; uid 194 sound/pci/mixart/mixart.c request.uid = mgr->uid_console_manager; uid 263 sound/pci/mixart/mixart.c request.uid = (struct mixart_uid){0,0}; /* should be StreamManagerUID, but zero is OK if there is only one ! */ uid 361 sound/pci/mixart/mixart.c request.uid = (struct mixart_uid){0,0}; uid 400 sound/pci/mixart/mixart.c request.uid = (struct mixart_uid){0,0}; uid 573 sound/pci/mixart/mixart.c request.uid = (struct mixart_uid){0,0}; uid 79 sound/pci/mixart/mixart_core.c resp->uid.object_id = readl_be(MIXART_MEM(mgr, msg_frame_address + 8)); /* uidDest */ uid 80 sound/pci/mixart/mixart_core.c resp->uid.desc = readl_be(MIXART_MEM(mgr, msg_frame_address + 12)); /* */ uid 173 sound/pci/mixart/mixart_core.c writel_be( msg->uid.object_id, MIXART_MEM(mgr, msg_frame_address + 8) ); /* uidDest */ uid 174 sound/pci/mixart/mixart_core.c writel_be( msg->uid.desc, MIXART_MEM(mgr, msg_frame_address + 12) ); /* */ uid 257 sound/pci/mixart/mixart_core.c resp.uid = (struct mixart_uid){0,0}; uid 374 sound/pci/mixart/mixart_core.c msg, resp.message_id, resp.uid.object_id, resp.uid.desc, resp.size); uid 56 sound/pci/mixart/mixart_core.h struct mixart_uid uid; uid 69 sound/pci/mixart/mixart_core.h struct mixart_uid uid[MIXART_MAX_PHYS_CONNECTORS]; uid 269 sound/pci/mixart/mixart_core.h struct mixart_uid uid; uid 455 sound/pci/mixart/mixart_core.h struct mixart_uid uid[MIXART_MAX_PHYS_IO]; uid 150 sound/pci/mixart/mixart_hwdep.c request.uid = (struct mixart_uid){0,0}; /* board num = 0 */ uid 171 sound/pci/mixart/mixart_hwdep.c pipe->uid_right_connector = connector->uid[k]; /* odd */ uid 173 sound/pci/mixart/mixart_hwdep.c pipe->uid_left_connector = connector->uid[k]; /* even */ uid 180 sound/pci/mixart/mixart_hwdep.c request.uid = connector->uid[k]; uid 194 sound/pci/mixart/mixart_hwdep.c request.uid = (struct mixart_uid){0,0}; /* board num = 0 */ uid 215 sound/pci/mixart/mixart_hwdep.c pipe->uid_right_connector = connector->uid[k]; /* odd */ uid 217 sound/pci/mixart/mixart_hwdep.c pipe->uid_left_connector = connector->uid[k]; /* even */ uid 224 sound/pci/mixart/mixart_hwdep.c request.uid = connector->uid[k]; uid 260 sound/pci/mixart/mixart_hwdep.c request.uid = get_console_mgr; uid 274 sound/pci/mixart/mixart_hwdep.c mgr->uid_console_manager = console_mgr.uid; uid 277 sound/pci/mixart/mixart_hwdep.c request.uid = (struct mixart_uid){0,0}; uid 278 sound/pci/mixart/mixart_hwdep.c request.data = &console_mgr.uid; uid 279 sound/pci/mixart/mixart_hwdep.c request.size = sizeof(console_mgr.uid); uid 294 sound/pci/mixart/mixart_hwdep.c mgr->chip[k]->uid_in_analog_physio = phys_io.uid[k]; uid 295 sound/pci/mixart/mixart_hwdep.c mgr->chip[k]->uid_out_analog_physio = phys_io.uid[phys_io.nb_uid/2 + k]; uid 315 sound/pci/mixart/mixart_hwdep.c request.uid = (struct mixart_uid){0,0}; uid 311 sound/pci/mixart/mixart_mixer.c if(is_capture) request.uid = chip->uid_in_analog_physio; uid 312 sound/pci/mixart/mixart_mixer.c else request.uid = chip->uid_out_analog_physio; uid 748 sound/pci/mixart/mixart_mixer.c request.uid = (struct mixart_uid){0,0}; uid 793 sound/pci/mixart/mixart_mixer.c request.uid = (struct mixart_uid){0,0}; uid 960 sound/pci/mixart/mixart_mixer.c if(!channel) request.uid = chip->pipe_out_ana.uid_left_connector; uid 961 sound/pci/mixart/mixart_mixer.c else request.uid = chip->pipe_out_ana.uid_right_connector; uid 160 sound/soc/soc-topology.c int uid; uid 223 sound/soc/soc-topology.c if (tplg_type == dapm_map[i].uid) uid 241 tools/include/uapi/drm/drm.h unsigned long uid; /**< User ID */ uid 453 tools/perf/builtin-ftrace.c .target = { .uid = UINT_MAX, }, uid 1401 tools/perf/builtin-kvm.c kvm->opts.target.uid = UINT_MAX; uid 2440 tools/perf/builtin-record.c rec->opts.ignore_missing_thread = rec->opts.target.uid != UINT_MAX || rec->opts.target.pid; uid 140 tools/perf/builtin-stat.c .uid = UINT_MAX, uid 4081 tools/perf/builtin-trace.c .uid = UINT_MAX, uid 93 tools/perf/tests/backward-ring-buffer.c .uid = UINT_MAX, uid 115 tools/perf/tests/bpf.c .uid = UINT_MAX, uid 21 tools/perf/tests/event-times.c .uid = UINT_MAX, uid 28 tools/perf/tests/openat-syscall-tp-fields.c .uid = UINT_MAX, uid 47 tools/perf/tests/perf-record.c .uid = UINT_MAX, uid 48 tools/perf/tests/task-exit.c .uid = UINT_MAX, uid 961 tools/perf/util/evlist.c threads = thread_map__new_str(target->pid, target->tid, target->uid, uid 626 tools/perf/util/python.c int pid = -1, tid = -1, uid = UINT_MAX; uid 629 tools/perf/util/python.c kwlist, &pid, &tid, &uid)) uid 632 tools/perf/util/python.c pthreads->threads = thread_map__new(pid, tid, uid); uid 75 tools/perf/util/target.c target->uid = UINT_MAX; uid 87 tools/perf/util/target.c int uid = strtol(str, &endptr, 10); uid 92 tools/perf/util/target.c getpwuid_r(uid, &pwd, buf, sizeof(buf), &result); uid 98 tools/perf/util/target.c target->uid = result->pw_uid; uid 13 tools/perf/util/target.h uid_t uid; uid 74 tools/perf/util/thread_map.c static struct perf_thread_map *__thread_map__new_all_cpus(uid_t uid) uid 102 tools/perf/util/thread_map.c if (uid != UINT_MAX) { uid 105 tools/perf/util/thread_map.c if (stat(path, &st) != 0 || st.st_uid != uid) uid 165 tools/perf/util/thread_map.c struct perf_thread_map *thread_map__new_by_uid(uid_t uid) uid 167 tools/perf/util/thread_map.c return __thread_map__new_all_cpus(uid); uid 170 tools/perf/util/thread_map.c struct perf_thread_map *thread_map__new(pid_t pid, pid_t tid, uid_t uid) uid 175 tools/perf/util/thread_map.c if (tid == -1 && uid != UINT_MAX) uid 176 tools/perf/util/thread_map.c return thread_map__new_by_uid(uid); uid 293 tools/perf/util/thread_map.c uid_t uid, bool all_threads) uid 298 tools/perf/util/thread_map.c if (!tid && uid != UINT_MAX) uid 299 tools/perf/util/thread_map.c return thread_map__new_by_uid(uid); uid 16 tools/perf/util/thread_map.h struct perf_thread_map *thread_map__new_by_uid(uid_t uid); uid 18 tools/perf/util/thread_map.h struct perf_thread_map *thread_map__new(pid_t pid, pid_t tid, uid_t uid); uid 22 tools/perf/util/thread_map.h const char *tid, uid_t uid, bool all_threads); uid 220 tools/testing/selftests/capabilities/test_execve.c static int do_tests(int uid, const char *our_path) uid 222 tools/testing/selftests/capabilities/test_execve.c bool have_outer_privilege = create_and_enter_ns(uid); uid 245 tools/testing/selftests/capabilities/test_execve.c if (chown("validate_cap_suidnonroot", uid + 1, -1) != 0) uid 272 tools/testing/selftests/capabilities/test_execve.c if (uid == 0) { uid 353 tools/testing/selftests/capabilities/test_execve.c if (uid == 0) { uid 367 tools/testing/selftests/capabilities/test_execve.c ksft_print_msg("[RUN]\tUID %d +ia => eipa\n", uid); uid 378 tools/testing/selftests/capabilities/test_execve.c if (uid == 0) { uid 73 tools/testing/selftests/filesystems/binderfs/binderfs_test.c uid_t uid; uid 78 tools/testing/selftests/filesystems/binderfs/binderfs_test.c uid = getuid(); uid 88 tools/testing/selftests/filesystems/binderfs/binderfs_test.c ret = snprintf(idmap, sizeof(idmap), "0 %d 1", uid); uid 156 tools/testing/selftests/mount/unprivileged-remount-test.c uid_t uid; uid 159 tools/testing/selftests/mount/unprivileged-remount-test.c uid = getuid(); uid 168 tools/testing/selftests/mount/unprivileged-remount-test.c write_file("/proc/self/uid_map", "0 %d 1", uid); uid 95 tools/testing/selftests/safesetid/safesetid-test.c static void ensure_user_exists(uid_t uid) uid 102 tools/testing/selftests/safesetid/safesetid-test.c if (getpwuid(uid) == NULL) { uid 109 tools/testing/selftests/safesetid/safesetid-test.c snprintf(name_str, 10, "%d", uid); uid 111 tools/testing/selftests/safesetid/safesetid-test.c p.pw_uid=uid; uid 173 tools/testing/selftests/safesetid/safesetid-test.c uid_t uid; uid 179 tools/testing/selftests/safesetid/safesetid-test.c uid = getuid(); uid 197 tools/testing/selftests/safesetid/safesetid-test.c success = write_file(map_file_name, "0 0 1", uid); uid 104 usr/gen_init_cpio.c unsigned int mode, uid_t uid, gid_t gid) uid 115 usr/gen_init_cpio.c (long) uid, /* uid */ uid 139 usr/gen_init_cpio.c int uid; uid 143 usr/gen_init_cpio.c if (5 != sscanf(line, "%" str(PATH_MAX) "s %" str(PATH_MAX) "s %o %d %d", name, target, &mode, &uid, &gid)) { uid 147 usr/gen_init_cpio.c rc = cpio_mkslink(name, target, mode, uid, gid); uid 153 usr/gen_init_cpio.c uid_t uid, gid_t gid) uid 164 usr/gen_init_cpio.c (long) uid, /* uid */ uid 210 usr/gen_init_cpio.c int uid; uid 214 usr/gen_init_cpio.c if (4 != sscanf(line, "%" str(PATH_MAX) "s %o %d %d", name, &mode, &uid, &gid)) { uid 220 usr/gen_init_cpio.c rc = cpio_mkgeneric(name, mode, uid, gid); uid 241 usr/gen_init_cpio.c uid_t uid, gid_t gid, char dev_type, uid 258 usr/gen_init_cpio.c (long) uid, /* uid */ uid 278 usr/gen_init_cpio.c int uid; uid 286 usr/gen_init_cpio.c name, &mode, &uid, &gid, &dev_type, &maj, &min)) { uid 290 usr/gen_init_cpio.c rc = cpio_mknod(name, mode, uid, gid, dev_type, maj, min); uid 296 usr/gen_init_cpio.c unsigned int mode, uid_t uid, gid_t gid, uid 348 usr/gen_init_cpio.c (long) uid, /* uid */ uid 406 usr/gen_init_cpio.c int uid; uid 414 usr/gen_init_cpio.c name, location, &mode, &uid, &gid, &end)) { uid 446 usr/gen_init_cpio.c mode, uid, gid, nlinks);