Home
last modified time | relevance | path

Searched refs:uid (Results 1 – 25 of 77) sorted by relevance

1234

/drivers/s390/block/
Ddasd_alias.c52 static struct alias_server *_find_server(struct dasd_uid *uid) in _find_server() argument
56 if (!strncmp(pos->uid.vendor, uid->vendor, in _find_server()
57 sizeof(uid->vendor)) in _find_server()
58 && !strncmp(pos->uid.serial, uid->serial, in _find_server()
59 sizeof(uid->serial))) in _find_server()
66 struct dasd_uid *uid) in _find_lcu() argument
70 if (pos->uid.ssid == uid->ssid) in _find_lcu()
77 struct dasd_uid *uid) in _find_group() argument
92 if (uid->type == UA_BASE_DEVICE) in _find_group()
93 search_unit_addr = uid->real_unit_addr; in _find_group()
[all …]
Ddasd_eckd.c521 if (startpriv->uid.type != UA_BASE_DEVICE) { in prefix_LRE()
523 if (startpriv->uid.type == UA_HYPER_PAV_ALIAS) in prefix_LRE()
771 struct dasd_uid *uid; in create_uid() local
773 uid = &private->uid; in create_uid()
774 memset(uid, 0, sizeof(struct dasd_uid)); in create_uid()
775 memcpy(uid->vendor, private->ned->HDA_manufacturer, in create_uid()
776 sizeof(uid->vendor) - 1); in create_uid()
777 EBCASC(uid->vendor, sizeof(uid->vendor) - 1); in create_uid()
778 memcpy(uid->serial, private->ned->HDA_location, in create_uid()
779 sizeof(uid->serial) - 1); in create_uid()
[all …]
Ddasd_devmap.c1056 struct dasd_uid uid; in dasd_alias_show() local
1063 !device->discipline->get_uid(device, &uid)) { in dasd_alias_show()
1064 if (uid.type == UA_BASE_PAV_ALIAS || in dasd_alias_show()
1065 uid.type == UA_HYPER_PAV_ALIAS) { in dasd_alias_show()
1081 struct dasd_uid uid; in dasd_vendor_show() local
1090 !device->discipline->get_uid(device, &uid)) in dasd_vendor_show()
1091 vendor = uid.vendor; in dasd_vendor_show()
1108 struct dasd_uid uid; in dasd_uid_show() local
1118 !device->discipline->get_uid(device, &uid)) { in dasd_uid_show()
1119 switch (uid.type) { in dasd_uid_show()
[all …]
Ddasd_eckd.h455 struct dasd_uid uid; member
472 struct dasd_uid uid; member
488 struct dasd_uid uid; member
513 struct dasd_uid uid; member
/drivers/misc/
Duid_stat.c36 uid_t uid; member
41 static struct uid_stat *find_uid_stat(uid_t uid) { in find_uid_stat() argument
45 if (entry->uid == uid) { in find_uid_stat()
74 static struct uid_stat *create_stat(uid_t uid) { in create_stat() argument
81 new_uid->uid = uid; in create_stat()
94 sprintf(uid_s, "%d", new_uid->uid); in create_stat_proc()
105 static struct uid_stat *find_or_create_uid_stat(uid_t uid) in find_or_create_uid_stat() argument
110 entry = find_uid_stat(uid); in find_or_create_uid_stat()
115 entry = create_stat(uid); in find_or_create_uid_stat()
122 int uid_stat_tcp_snd(uid_t uid, int size) { in uid_stat_tcp_snd() argument
[all …]
Duid_sys_stats.c66 uid_t uid; member
301 static struct uid_entry *find_uid_entry(uid_t uid) in find_uid_entry() argument
304 hash_for_each_possible(hash_table, uid_entry, hash, uid) { in find_uid_entry()
305 if (uid_entry->uid == uid) in find_uid_entry()
311 static struct uid_entry *find_or_register_uid(uid_t uid) in find_or_register_uid() argument
315 uid_entry = find_uid_entry(uid); in find_or_register_uid()
323 uid_entry->uid = uid; in find_or_register_uid()
327 hash_add(hash_table, &uid_entry->hash, uid); in find_or_register_uid()
340 uid_t uid; in uid_cputime_show() local
352 uid = from_kuid_munged(user_ns, task_uid(task)); in uid_cputime_show()
[all …]
Dad525x_dpot.c90 unsigned uid; member
136 if (dpot->uid == DPOT_UID(AD5291_ID) || in dpot_read_spi()
137 dpot->uid == DPOT_UID(AD5292_ID) || in dpot_read_spi()
138 dpot->uid == DPOT_UID(AD5293_ID)) { in dpot_read_spi()
143 if (dpot->uid == DPOT_UID(AD5291_ID)) in dpot_read_spi()
147 } else if (dpot->uid == DPOT_UID(AD5270_ID) || in dpot_read_spi()
148 dpot->uid == DPOT_UID(AD5271_ID)) { in dpot_read_spi()
156 if (dpot->uid == DPOT_UID(AD5271_ID)) in dpot_read_spi()
179 switch (dpot->uid) { in dpot_read_i2c()
218 if (dpot->uid == DPOT_UID(AD5274_ID)) in dpot_read_i2c()
[all …]
/drivers/mmc/host/
Dsdhci-acpi.c128 const char *hid, const char *uid) in sdhci_acpi_emmc_probe_slot() argument
140 if (hid && uid && !strcmp(hid, "80860F14") && !strcmp(uid, "1") && in sdhci_acpi_emmc_probe_slot()
149 const char *hid, const char *uid) in sdhci_acpi_sdio_probe_slot() argument
165 const char *hid, const char *uid) in sdhci_acpi_sd_probe_slot() argument
212 const char *uid; member
240 const char *uid) in sdhci_acpi_get_slot() argument
247 if (!u->uid) in sdhci_acpi_get_slot()
249 if (uid && !strcmp(u->uid, uid)) in sdhci_acpi_get_slot()
265 const char *uid; in sdhci_acpi_probe() local
275 uid = device->pnp.unique_id; in sdhci_acpi_probe()
[all …]
/drivers/acpi/acpica/
Dutids.c218 struct acpi_pnp_device_id *uid; in acpi_ut_execute_UID() local
241 uid = in acpi_ut_execute_UID()
244 if (!uid) { in acpi_ut_execute_UID()
251 uid->string = in acpi_ut_execute_UID()
252 ACPI_ADD_PTR(char, uid, sizeof(struct acpi_pnp_device_id)); in acpi_ut_execute_UID()
257 acpi_ex_integer_to_string(uid->string, obj_desc->integer.value); in acpi_ut_execute_UID()
259 ACPI_STRCPY(uid->string, obj_desc->string.pointer); in acpi_ut_execute_UID()
262 uid->length = length; in acpi_ut_execute_UID()
263 *return_id = uid; in acpi_ut_execute_UID()
Dnsxfname.c277 struct acpi_pnp_device_id *uid = NULL; in acpi_get_object_info() local
340 status = acpi_ut_execute_UID(node, &uid); in acpi_get_object_info()
342 info_size += uid->length; in acpi_get_object_info()
461 if (uid) { in acpi_get_object_info()
463 uid, next_id_string); in acpi_get_object_info()
504 if (uid) { in acpi_get_object_info()
505 ACPI_FREE(uid); in acpi_get_object_info()
/drivers/staging/lustre/lustre/libcfs/
Dkernel_user_comm.c112 int libcfs_kkuc_group_add(struct file *filp, int uid, int group, __u32 data) in libcfs_kkuc_group_add() argument
131 reg->kr_uid = uid; in libcfs_kkuc_group_add()
140 CDEBUG(D_KUC, "Added uid=%d fp=%p to group %d\n", uid, filp, group); in libcfs_kkuc_group_add()
146 int libcfs_kkuc_group_rem(int uid, int group) in libcfs_kkuc_group_rem() argument
153 if (uid == 0) { in libcfs_kkuc_group_rem()
166 if ((uid == 0) || (uid == reg->kr_uid)) { in libcfs_kkuc_group_rem()
/drivers/net/wireless/iwlwifi/mvm/
Dtime-event.c94 te_data->uid = 0; in iwl_mvm_te_clear_data()
279 if (le32_to_cpu(notif->unique_id) == te_data->uid) { in iwl_mvm_aux_roc_te_handle_notif()
307 te_data->uid = 0; in iwl_mvm_aux_roc_te_handle_notif()
344 if (le32_to_cpu(notif->unique_id) == te_data->uid) in iwl_mvm_rx_time_event_notif()
373 if (le32_to_cpu(resp->unique_id) != te_data->uid) in iwl_mvm_te_notif()
377 te_data->uid); in iwl_mvm_te_notif()
408 te_data->uid = le32_to_cpu(resp->unique_id); in iwl_mvm_time_event_response()
410 te_data->uid); in iwl_mvm_time_event_response()
497 te_data->uid, in iwl_mvm_protect_session()
562 u32 id, uid; in iwl_mvm_remove_time_event() local
[all …]
/drivers/base/
Ddevtmpfs.c45 kuid_t uid; member
91 req.uid = GLOBAL_ROOT_UID; in devtmpfs_create_node()
93 req.name = device_get_devnode(dev, &req.mode, &req.uid, &req.gid, &tmp); in devtmpfs_create_node()
195 static int handle_create(const char *nodename, umode_t mode, kuid_t uid, in handle_create() argument
215 newattrs.ia_uid = uid; in handle_create()
367 static int handle(const char *name, umode_t mode, kuid_t uid, kgid_t gid, in handle() argument
371 return handle_create(name, mode, uid, gid, dev); in handle()
398 req->uid, req->gid, req->dev); in devtmpfsd()
/drivers/thunderbolt/
Deeprom.c179 u64 uid; member
269 int tb_drom_read_uid_only(struct tb_switch *sw, u64 *uid) in tb_drom_read_uid_only() argument
290 *uid = *(u64 *)(data+1); in tb_drom_read_uid_only()
380 tb_drom_read_uid_only(sw, &sw->uid); in tb_drom_read()
423 crc = tb_crc8((u8 *) &header->uid, 8); in tb_drom_read()
430 sw->uid = header->uid; in tb_drom_read()
Dswitch.c403 tb_sw_info(sw, "uid: %#llx\n", sw->uid); in tb_switch_alloc()
451 u64 uid; in tb_switch_resume() local
454 err = tb_drom_read_uid_only(sw, &uid); in tb_switch_resume()
459 if (sw->uid != uid) { in tb_switch_resume()
462 sw->uid, uid); in tb_switch_resume()
/drivers/misc/genwqe/
Dcard_utils.c854 int genwqe_ffdc_buff_size(struct genwqe_dev *cd, int uid) in genwqe_ffdc_buff_size() argument
860 eevptr_addr = GENWQE_UID_OFFS(uid) | IO_EXTENDED_ERROR_POINTER; in genwqe_ffdc_buff_size()
864 l_addr = GENWQE_UID_OFFS(uid) | eevptr; in genwqe_ffdc_buff_size()
889 addr = GENWQE_UID_OFFS(uid) | IO_EXTENDED_DIAG_MAP(ring); in genwqe_ffdc_buff_size()
907 int genwqe_ffdc_buff_read(struct genwqe_dev *cd, int uid, in genwqe_ffdc_buff_read() argument
915 eevptr_addr = GENWQE_UID_OFFS(uid) | IO_EXTENDED_ERROR_POINTER; in genwqe_ffdc_buff_read()
919 l_addr = GENWQE_UID_OFFS(uid) | eevptr; in genwqe_ffdc_buff_read()
928 d_addr |= GENWQE_UID_OFFS(uid); in genwqe_ffdc_buff_read()
954 addr = GENWQE_UID_OFFS(uid) | IO_EXTENDED_DIAG_MAP(ring); in genwqe_ffdc_buff_read()
971 addr = (GENWQE_UID_OFFS(uid) | in genwqe_ffdc_buff_read()
[all …]
Dcard_debugfs.c64 static int curr_dbg_uidn_show(struct seq_file *s, void *unused, int uid) in curr_dbg_uidn_show() argument
70 entries = genwqe_ffdc_buff_size(cd, uid); in curr_dbg_uidn_show()
82 genwqe_ffdc_buff_read(cd, uid, regs, entries); in curr_dbg_uidn_show()
111 static int prev_dbg_uidn_show(struct seq_file *s, void *unused, int uid) in prev_dbg_uidn_show() argument
115 dbg_uidn_show(s, cd->ffdc[uid].regs, cd->ffdc[uid].entries); in prev_dbg_uidn_show()
Dcard_base.c641 u64 mask, fir, fec, uid, gfir, gfir_masked, sfir, sfec; in genwqe_fir_checking() local
671 for (uid = 0; uid < GENWQE_MAX_UNITS; uid++) { /* 0..2 in zEDC */ in genwqe_fir_checking()
674 fir_addr = (uid << 24) + 0x08; in genwqe_fir_checking()
684 fec_addr = (uid << 24) + 0x18; in genwqe_fir_checking()
697 sfir_addr = (uid << 24) + 0x100 + 0x08 * j; in genwqe_fir_checking()
705 sfec_addr = (uid << 24) + 0x300 + 0x08 * j; in genwqe_fir_checking()
728 sfir_addr = (uid << 24) + 0x100 + 0x08 * j; in genwqe_fir_checking()
745 fir_clr_addr = (uid << 24) + 0x10; in genwqe_fir_checking()
/drivers/staging/lustre/lustre/llite/
Dremote_perm.c114 static inline int remote_perm_hashfunc(uid_t uid) in remote_perm_hashfunc() argument
116 return uid & (REMOTE_PERM_HASHSIZE - 1); in remote_perm_hashfunc()
171 if (perm->rp_uid != current->uid || in ll_update_remote_perm()
179 perm->rp_fsgid, current->uid, current->gid, in ll_update_remote_perm()
/drivers/staging/lustre/include/linux/libcfs/
Dlibcfs_kernelcomm.h94 int libcfs_kkuc_group_add(struct file *fp, int uid, int group,
96 int libcfs_kkuc_group_rem(int uid, int group);
/drivers/infiniband/core/
Ducma.c88 u64 uid; member
99 u64 uid; member
235 uevent->resp.uid = uevent->mc->uid; in ucma_set_event_context()
239 uevent->resp.uid = ctx->uid; in ucma_set_event_context()
274 } else if (!ctx->uid || ctx->cm_id != cm_id) { in ucma_event_handler()
393 ctx->uid = cmd.uid; in ucma_create_id()
990 ctx->uid = cmd.uid; in ucma_accept()
1252 mc->uid = cmd->uid; in ucma_process_join()
1295 join_cmd.uid = cmd.uid; in ucma_join_ip_multicast()
/drivers/staging/lustre/lustre/osc/
Dosc_quota.c148 u32 uid; in oqi_keycmp() local
151 uid = *((u32 *)key); in oqi_keycmp()
154 return uid == oqi->oqi_id; in oqi_keycmp()
/drivers/video/adf/
Dadf_sysfs.c137 kuid_t *uid, kgid_t *gid) in adf_device_devnode() argument
144 kuid_t *uid, kgid_t *gid) in adf_interface_devnode() argument
154 kuid_t *uid, kgid_t *gid) in adf_overlay_engine_devnode() argument
/drivers/acpi/
Dprocessor_core.c40 if (device_declaration && (apic->uid == acpi_id)) { in map_x2apic_id()
58 if ((entry->length < 16) || (lsapic->uid != acpi_id)) in map_lsapic_id()
/drivers/staging/lustre/lustre/mdc/
Dmdc_internal.h69 const void *data, int datalen, __u32 mode, __u32 uid,
133 const void *data, int datalen, int mode, __u32 uid, __u32 gid,

1234