[go: nahoru, domu]

Searched defs:uid (Results 1 - 25 of 51) sorted by relevance

123

/drivers/acpi/acpica/
H A Dutids.c218 struct acpi_pnp_device_id *uid; local
241 uid =
244 if (!uid) {
251 uid->string =
252 ACPI_ADD_PTR(char, uid, sizeof(struct acpi_pnp_device_id));
257 acpi_ex_integer_to_string(uid->string, obj_desc->integer.value);
259 ACPI_STRCPY(uid->string, obj_desc->string.pointer);
262 uid->length = length;
263 *return_id = uid;
H A Dnsxfname.c277 struct acpi_pnp_device_id *uid = NULL; local
340 status = acpi_ut_execute_UID(node, &uid);
342 info_size += uid->length;
461 if (uid) {
463 uid, next_id_string);
504 if (uid) {
505 ACPI_FREE(uid);
/drivers/misc/
H A Duid_stat.c36 uid_t uid; member in struct:uid_stat
41 static struct uid_stat *find_uid_stat(uid_t uid) { argument
45 if (entry->uid == uid) {
73 /* Create a new entry for tracking the specified uid. */
74 static struct uid_stat *create_stat(uid_t uid) { argument
76 /* Create the uid stat struct and append it to the list. */
81 new_uid->uid = uid;
94 sprintf(uid_s, "%d", new_uid->uid);
105 find_or_create_uid_stat(uid_t uid) argument
122 uid_stat_tcp_snd(uid_t uid, int size) argument
132 uid_stat_tcp_rcv(uid_t uid, int size) argument
[all...]
H A Dad525x_dpot.c90 unsigned uid; member in struct:dpot_data
136 if (dpot->uid == DPOT_UID(AD5291_ID) ||
137 dpot->uid == DPOT_UID(AD5292_ID) ||
138 dpot->uid == DPOT_UID(AD5293_ID)) {
143 if (dpot->uid == DPOT_UID(AD5291_ID))
147 } else if (dpot->uid == DPOT_UID(AD5270_ID) ||
148 dpot->uid == DPOT_UID(AD5271_ID)) {
156 if (dpot->uid == DPOT_UID(AD5271_ID))
179 switch (dpot->uid) {
218 if (dpot->uid
[all...]
H A Duid_cputime.c36 uid_t uid; member in struct:uid_entry
46 static struct uid_entry *find_uid_entry(uid_t uid) argument
49 hash_for_each_possible(hash_table, uid_entry, hash, uid) {
50 if (uid_entry->uid == uid)
56 static struct uid_entry *find_or_register_uid(uid_t uid) argument
60 uid_entry = find_uid_entry(uid);
68 uid_entry->uid = uid;
70 hash_add(hash_table, &uid_entry->hash, uid);
204 uid_t uid; local
[all...]
/drivers/staging/lustre/lustre/libcfs/
H A Dkernel_user_comm.c96 /** A single group registration has a uid and a file pointer */
109 * @param uid identifier for this receiver
112 int libcfs_kkuc_group_add(struct file *filp, int uid, int group, __u32 data) argument
131 reg->kr_uid = uid;
140 CDEBUG(D_KUC, "Added uid=%d fp=%p to group %d\n", uid, filp, group);
146 int libcfs_kkuc_group_rem(int uid, int group) argument
153 if (uid == 0) {
166 if ((uid == 0) || (uid
[all...]
/drivers/staging/lustre/lustre/llite/
H A Dremote_perm.c114 static inline int remote_perm_hashfunc(uid_t uid) argument
116 return uid & (REMOTE_PERM_HASHSIZE - 1);
171 if (perm->rp_uid != current->uid ||
179 perm->rp_fsgid, current->uid, current->gid,
/drivers/thunderbolt/
H A Dswitch.c403 tb_sw_info(sw, "uid: %#llx\n", sw->uid);
451 u64 uid; local
454 err = tb_drom_read_uid_only(sw, &uid);
456 tb_sw_warn(sw, "uid read failed\n");
459 if (sw->uid != uid) {
461 "changed while suspended (uid %#llx -> %#llx)\n",
462 sw->uid, uid);
[all...]
H A Deeprom.c177 u8 uid_crc8; /* checksum for uid */
179 u64 uid; member in struct:tb_drom_header
264 * tb_drom_read_uid_only - read uid directly from drom
269 int tb_drom_read_uid_only(struct tb_switch *sw, u64 *uid) argument
278 /* read uid */
285 tb_sw_warn(sw, "uid crc8 missmatch (expected: %#x, got: %#x)\n",
290 *uid = *(u64 *)(data+1);
380 tb_drom_read_uid_only(sw, &sw->uid);
423 crc = tb_crc8((u8 *) &header->uid, 8);
426 "drom uid crc
[all...]
H A Dtb.h22 u64 uid; member in struct:tb_switch
245 int tb_drom_read_uid_only(struct tb_switch *sw, u64 *uid);
/drivers/tty/
H A Dtty_audit.c69 uid_t uid = from_kuid(&init_user_ns, task_uid(tsk)); local
77 audit_log_format(ab, "%s pid=%u uid=%u auid=%u ses=%u major=%d"
78 " minor=%d comm=", description, pid, uid,
/drivers/base/
H A Ddevtmpfs.c45 kuid_t uid; member in struct:req
91 req.uid = GLOBAL_ROOT_UID;
93 req.name = device_get_devnode(dev, &req.mode, &req.uid, &req.gid, &tmp);
195 static int handle_create(const char *nodename, umode_t mode, kuid_t uid, argument
215 newattrs.ia_uid = uid;
367 static int handle(const char *name, umode_t mode, kuid_t uid, kgid_t gid, argument
371 return handle_create(name, mode, uid, gid, dev);
398 req->uid, req->gid, req->dev);
/drivers/misc/genwqe/
H A Dcard_debugfs.c64 static int curr_dbg_uidn_show(struct seq_file *s, void *unused, int uid) argument
70 entries = genwqe_ffdc_buff_size(cd, uid);
82 genwqe_ffdc_buff_read(cd, uid, regs, entries);
111 static int prev_dbg_uidn_show(struct seq_file *s, void *unused, int uid) argument
115 dbg_uidn_show(s, cd->ffdc[uid].regs, cd->ffdc[uid].entries);
H A Dcard_base.c641 u64 mask, fir, fec, uid, gfir, gfir_masked, sfir, sfec; local
671 for (uid = 0; uid < GENWQE_MAX_UNITS; uid++) { /* 0..2 in zEDC */
674 fir_addr = (uid << 24) + 0x08;
684 fec_addr = (uid << 24) + 0x18;
697 sfir_addr = (uid << 24) + 0x100 + 0x08 * j;
705 sfec_addr = (uid << 24) + 0x300 + 0x08 * j;
728 sfir_addr = (uid << 24) + 0x100 + 0x08 * j;
745 fir_clr_addr = (uid << 2
[all...]
/drivers/mmc/host/
H A Dsdhci-acpi.c128 const char *hid, const char *uid)
140 if (hid && uid && !strcmp(hid, "80860F14") && !strcmp(uid, "1") &&
149 const char *hid, const char *uid)
165 const char *hid, const char *uid)
209 const char *uid; member in struct:sdhci_acpi_uid_slot
237 const char *uid)
244 if (!u->uid)
246 if (uid && !strcmp(u->uid, ui
127 sdhci_acpi_emmc_probe_slot(struct platform_device *pdev, const char *hid, const char *uid) argument
148 sdhci_acpi_sdio_probe_slot(struct platform_device *pdev, const char *hid, const char *uid) argument
164 sdhci_acpi_sd_probe_slot(struct platform_device *pdev, const char *hid, const char *uid) argument
236 sdhci_acpi_get_slot(const char *hid, const char *uid) argument
262 const char *uid; local
[all...]
/drivers/net/wireless/iwlwifi/mvm/
H A Dtime-event.c94 te_data->uid = 0;
279 if (le32_to_cpu(notif->unique_id) == te_data->uid) {
307 te_data->uid = 0;
344 if (le32_to_cpu(notif->unique_id) == te_data->uid)
372 /* te_data->uid is already set in the TIME_EVENT_CMD response */
373 if (le32_to_cpu(resp->unique_id) != te_data->uid)
377 te_data->uid);
408 te_data->uid = le32_to_cpu(resp->unique_id);
410 te_data->uid);
497 te_data->uid,
562 u32 id, uid; local
[all...]
/drivers/staging/lustre/lustre/mdc/
H A Dmdc_reint.c208 const void *data, int datalen, int mode, __u32 uid, __u32 gid,
262 mdc_create_pack(req, op_data, data, datalen, mode, uid,
207 mdc_create(struct obd_export *exp, struct md_op_data *op_data, const void *data, int datalen, int mode, __u32 uid, __u32 gid, cfs_cap_t cap_effective, __u64 rdev, struct ptlrpc_request **request) argument
H A Dmdc_lib.c48 b->uid = from_kuid(&init_user_ns, current_uid());
139 __u32 uid, __u32 gid, cfs_cap_t cap_effective, __u64 rdev)
150 rec->cr_fsuid = uid;
222 /* XXX do something about time, uid, gid */
445 /* XXX do something about time, uid, gid */
137 mdc_create_pack(struct ptlrpc_request *req, struct md_op_data *op_data, const void *data, int datalen, __u32 mode, __u32 uid, __u32 gid, cfs_cap_t cap_effective, __u64 rdev) argument
/drivers/staging/lustre/lustre/osc/
H A Dosc_quota.c136 * Hash operations for uid/gid <-> osc_quota_info
148 u32 uid; local
151 uid = *((u32 *)key);
154 return uid == oqi->oqi_id;
/drivers/staging/lustre/lustre/ptlrpc/
H A Dsec_null.c156 uid_t uid,
155 null_flush_ctx_cache(struct ptlrpc_sec *sec, uid_t uid, int grace, int force) argument
/drivers/video/adf/
H A Dadf_sysfs.c137 kuid_t *uid, kgid_t *gid)
144 kuid_t *uid, kgid_t *gid)
154 kuid_t *uid, kgid_t *gid)
136 adf_device_devnode(struct device *dev, umode_t *mode, kuid_t *uid, kgid_t *gid) argument
143 adf_interface_devnode(struct device *dev, umode_t *mode, kuid_t *uid, kgid_t *gid) argument
153 adf_overlay_engine_devnode(struct device *dev, umode_t *mode, kuid_t *uid, kgid_t *gid) argument
/drivers/input/touchscreen/
H A Dcyttsp_core.h74 u8 uid[8]; member in struct:cyttsp_sysinfo_data
/drivers/s390/block/
H A Ddasd_alias.c52 static struct alias_server *_find_server(struct dasd_uid *uid) argument
56 if (!strncmp(pos->uid.vendor, uid->vendor,
57 sizeof(uid->vendor))
58 && !strncmp(pos->uid.serial, uid->serial,
59 sizeof(uid->serial)))
66 struct dasd_uid *uid)
70 if (pos->uid.ssid == uid
65 _find_lcu(struct alias_server *server, struct dasd_uid *uid) argument
76 _find_group(struct alias_lcu *lcu, struct dasd_uid *uid) argument
104 _allocate_server(struct dasd_uid *uid) argument
123 _allocate_lcu(struct dasd_uid *uid) argument
192 struct dasd_uid uid; local
252 struct dasd_uid uid; local
317 struct dasd_uid uid; local
[all...]
/drivers/misc/vmw_vmci/
H A Dvmci_context.c1195 * @uid: The host user id (real kernel value).
1199 bool vmci_is_context_owner(u32 context_id, kuid_t uid) argument
1207 is_owner = uid_eq(context->cred->uid, uid);
/drivers/s390/char/
H A Dtape_3590.h111 unsigned int uid:16; member in struct:tape_3590_sense::__anon4957::__anon4959

Completed in 4544 milliseconds

123