/kernel/linux/linux-5.10/net/sunrpc/ |
H A D | stats.c | 55 const struct rpc_version *vers = prog->version[i]; in rpc_proc_show() local 56 if (!vers) in rpc_proc_show() 59 vers->number, vers->nrprocs); in rpc_proc_show() 60 for (j = 0; j < vers->nrprocs; j++) in rpc_proc_show() 61 seq_printf(seq, " %u", vers->counts[j]); in rpc_proc_show() 85 const struct svc_version *vers; in svc_seq_show() local 103 vers = prog->pg_vers[i]; in svc_seq_show() 104 if (!vers) in svc_seq_show() 106 seq_printf(seq, "proc%d %u", i, vers in svc_seq_show() [all...] |
H A D | svc.c | 428 unsigned int vers; in __svc_create() local 446 for (vers=0; vers<prog->pg_nvers ; vers++) in __svc_create() 447 if (prog->pg_vers[vers]) { in __svc_create() 448 prog->pg_hivers = vers; in __svc_create() 449 if (prog->pg_lovers > vers) in __svc_create() 450 prog->pg_lovers = vers; in __svc_create() 451 if (prog->pg_vers[vers]->vs_xdrsize > xdrsize) in __svc_create() 452 xdrsize = prog->pg_vers[vers] in __svc_create() 1020 const struct svc_version *vers = progp->pg_vers[version]; svc_generic_rpcbind_set() local 1283 u32 prog, vers; svc_process_common() local [all...] |
/kernel/linux/linux-6.6/net/sunrpc/ |
H A D | stats.c | 55 const struct rpc_version *vers = prog->version[i]; in rpc_proc_show() local 56 if (!vers) in rpc_proc_show() 59 vers->number, vers->nrprocs); in rpc_proc_show() 60 for (j = 0; j < vers->nrprocs; j++) in rpc_proc_show() 61 seq_printf(seq, " %u", vers->counts[j]); in rpc_proc_show() 85 const struct svc_version *vers; in svc_seq_show() local 104 vers = prog->pg_vers[i]; in svc_seq_show() 105 if (!vers) in svc_seq_show() 107 seq_printf(seq, "proc%d %u", i, vers in svc_seq_show() [all...] |
H A D | svc.c | 460 unsigned int vers; in __svc_create() local 478 for (vers=0; vers<prog->pg_nvers ; vers++) in __svc_create() 479 if (prog->pg_vers[vers]) { in __svc_create() 480 prog->pg_hivers = vers; in __svc_create() 481 if (prog->pg_lovers > vers) in __svc_create() 482 prog->pg_lovers = vers; in __svc_create() 483 if (prog->pg_vers[vers]->vs_xdrsize > xdrsize) in __svc_create() 484 xdrsize = prog->pg_vers[vers] in __svc_create() 1088 const struct svc_version *vers = progp->pg_vers[version]; svc_generic_rpcbind_set() local [all...] |
/kernel/linux/linux-5.10/arch/mips/include/asm/mach-loongson64/ |
H A D | boot_param.h | 21 u16 vers; /* version of efi_memory_map */ member 55 u16 vers; /* version of efi_cpuinfo_loongson */ member 88 u16 vers; /* version of system_loongson */ member 105 u16 vers; member 124 u16 vers; /* version of the specificition */ member 150 u16 vers; /* version of this special */ member 168 u16 vers; /* version of smbios */ member
|
/kernel/linux/linux-6.6/arch/mips/include/asm/mach-loongson64/ |
H A D | boot_param.h | 25 u16 vers; /* version of efi_memory_map */ member 59 u16 vers; /* version of efi_cpuinfo_loongson */ member 92 u16 vers; /* version of system_loongson */ member 109 u16 vers; member 129 u16 vers; /* version of the specificition */ member 155 u16 vers; /* version of this special */ member 173 u16 vers; /* version of smbios */ member
|
/kernel/linux/linux-6.6/drivers/input/joystick/ |
H A D | qwiic-joystick.c | 65 struct qwiic_ver vers; in qwiic_probe() local 69 sizeof(vers), (u8 *)&vers); in qwiic_probe() 72 if (err != sizeof(vers)) in qwiic_probe() 76 vers.major, vers.minor); in qwiic_probe()
|
/kernel/linux/linux-5.10/fs/nfsd/ |
H A D | nfssvc.c | 151 nfsd_support_version(int vers) in nfsd_support_version() argument 153 if (vers >= NFSD_MINVERS && vers < NFSD_NRVERS) in nfsd_support_version() 154 return nfsd_version[vers] != NULL; in nfsd_support_version() 161 bool *vers = kmalloc_array(NFSD_NRVERS, sizeof(bool), GFP_KERNEL); in nfsd_alloc_versions() local 164 if (vers) { in nfsd_alloc_versions() 167 vers[i] = nfsd_support_version(i); in nfsd_alloc_versions() 169 return vers; in nfsd_alloc_versions() 175 bool *vers = kmalloc_array(NFSD_SUPPORTED_MINOR_VERSION + 1, in nfsd_alloc_minorversions() local 179 if (vers) { in nfsd_alloc_minorversions() 207 nfsd_vers(struct nfsd_net *nn, int vers, enum vers_op change) nfsd_vers() argument 822 nfsd_support_acl_version(int vers) nfsd_support_acl_version() argument [all...] |
H A D | nfsctl.c | 545 const char *sep, unsigned vers, int minor) in nfsd_print_version_support() 548 bool supported = !!nfsd_vers(nn, vers, NFSD_TEST); in nfsd_print_version_support() 550 if (vers == 4 && minor >= 0 && in nfsd_print_version_support() 561 supported ? '+' : '-', vers, minor); in nfsd_print_version_support() 567 char *vers, *minorp, sign; in __write_versions() local 584 vers = mesg; in __write_versions() 585 len = qword_get(&mesg, vers, size); in __write_versions() 590 sign = *vers; in __write_versions() 592 num = simple_strtol((vers+1), &minorp, 0); in __write_versions() 594 num = simple_strtol(vers, in __write_versions() 544 nfsd_print_version_support(struct nfsd_net *nn, char *buf, int remaining, const char *sep, unsigned vers, int minor) nfsd_print_version_support() argument [all...] |
/kernel/linux/linux-6.6/fs/nfsd/ |
H A D | nfssvc.c | 151 nfsd_support_version(int vers) in nfsd_support_version() argument 153 if (vers >= NFSD_MINVERS && vers < NFSD_NRVERS) in nfsd_support_version() 154 return nfsd_version[vers] != NULL; in nfsd_support_version() 161 bool *vers = kmalloc_array(NFSD_NRVERS, sizeof(bool), GFP_KERNEL); in nfsd_alloc_versions() local 164 if (vers) { in nfsd_alloc_versions() 167 vers[i] = nfsd_support_version(i); in nfsd_alloc_versions() 169 return vers; in nfsd_alloc_versions() 175 bool *vers = kmalloc_array(NFSD_SUPPORTED_MINOR_VERSION + 1, in nfsd_alloc_minorversions() local 179 if (vers) { in nfsd_alloc_minorversions() 207 nfsd_vers(struct nfsd_net *nn, int vers, enum vers_op change) nfsd_vers() argument 838 nfsd_support_acl_version(int vers) nfsd_support_acl_version() argument [all...] |
H A D | nfsctl.c | 507 const char *sep, unsigned vers, int minor) in nfsd_print_version_support() 510 bool supported = !!nfsd_vers(nn, vers, NFSD_TEST); in nfsd_print_version_support() 512 if (vers == 4 && minor >= 0 && in nfsd_print_version_support() 523 supported ? '+' : '-', vers, minor); in nfsd_print_version_support() 529 char *vers, *minorp, sign; in __write_versions() local 547 vers = mesg; in __write_versions() 548 len = qword_get(&mesg, vers, size); in __write_versions() 553 sign = *vers; in __write_versions() 555 num = simple_strtol((vers+1), &minorp, 0); in __write_versions() 557 num = simple_strtol(vers, in __write_versions() 506 nfsd_print_version_support(struct nfsd_net *nn, char *buf, int remaining, const char *sep, unsigned vers, int minor) nfsd_print_version_support() argument [all...] |
/kernel/linux/linux-5.10/arch/arm/kernel/ |
H A D | pj4-cp0.c | 111 int vers; in pj4_cp0_init() local 116 vers = pj4_get_iwmmxt_version(); in pj4_cp0_init() 117 if (vers < 0) in pj4_cp0_init() 126 pr_info("PJ4 iWMMXt v%d coprocessor enabled.\n", vers); in pj4_cp0_init()
|
/kernel/linux/linux-6.6/arch/arm/kernel/ |
H A D | pj4-cp0.c | 111 int vers; in pj4_cp0_init() local 116 vers = pj4_get_iwmmxt_version(); in pj4_cp0_init() 117 if (vers < 0) in pj4_cp0_init() 126 pr_info("PJ4 iWMMXt v%d coprocessor enabled.\n", vers); in pj4_cp0_init()
|
/kernel/linux/linux-5.10/drivers/tee/ |
H A D | tee_core.c | 273 struct tee_ioctl_version_data vers; in tee_ioctl_version() local 275 ctx->teedev->desc->ops->get_version(ctx->teedev, &vers); in tee_ioctl_version() 278 vers.gen_caps |= TEE_GEN_CAP_PRIVILEGED; in tee_ioctl_version() 280 if (copy_to_user(uvers, &vers, sizeof(vers))) in tee_ioctl_version() 974 struct tee_ioctl_version_data vers; in implementation_id_show() local 976 teedev->desc->ops->get_version(teedev, &vers); in implementation_id_show() 977 return scnprintf(buf, PAGE_SIZE, "%d\n", vers.impl_id); in implementation_id_show() 1090 struct tee_ioctl_version_data *vers; member 1100 teedev->desc->ops->get_version(teedev, match_data->vers); in match_dev() 1105 tee_client_open_context(struct tee_context *start, int (*match)(struct tee_ioctl_version_data *, const void *), const void *data, struct tee_ioctl_version_data *vers) tee_client_open_context() argument 1153 tee_client_get_version(struct tee_context *ctx, struct tee_ioctl_version_data *vers) tee_client_get_version() argument [all...] |
/kernel/linux/linux-6.6/drivers/tee/ |
H A D | tee_core.c | 273 struct tee_ioctl_version_data vers; in tee_ioctl_version() local 275 ctx->teedev->desc->ops->get_version(ctx->teedev, &vers); in tee_ioctl_version() 278 vers.gen_caps |= TEE_GEN_CAP_PRIVILEGED; in tee_ioctl_version() 280 if (copy_to_user(uvers, &vers, sizeof(vers))) in tee_ioctl_version() 969 struct tee_ioctl_version_data vers; in implementation_id_show() local 971 teedev->desc->ops->get_version(teedev, &vers); in implementation_id_show() 972 return scnprintf(buf, PAGE_SIZE, "%d\n", vers.impl_id); in implementation_id_show() 1085 struct tee_ioctl_version_data *vers; member 1095 teedev->desc->ops->get_version(teedev, match_data->vers); in match_dev() 1100 tee_client_open_context(struct tee_context *start, int (*match)(struct tee_ioctl_version_data *, const void *), const void *data, struct tee_ioctl_version_data *vers) tee_client_open_context() argument 1148 tee_client_get_version(struct tee_context *ctx, struct tee_ioctl_version_data *vers) tee_client_get_version() argument [all...] |
/kernel/linux/linux-5.10/arch/powerpc/kernel/ |
H A D | module_64.c | 239 static void dedotify_versions(struct modversion_info *vers, in dedotify_versions() argument 244 for (end = (void *)vers + size; vers < end; vers++) in dedotify_versions() 245 if (vers->name[0] == '.') { in dedotify_versions() 246 memmove(vers->name, vers->name+1, strlen(vers->name)); in dedotify_versions()
|
/kernel/linux/linux-5.10/drivers/media/cec/usb/pulse8/ |
H A D | pulse8-cec.c | 177 unsigned int vers; member 586 if (pulse8->vers < 10) { in pulse8_cec_adap_log_addr() 671 pulse8->vers = 0; in pulse8_setup() 677 pulse8->vers = (data[0] << 8) | data[1]; in pulse8_setup() 678 dev_info(pulse8->dev, "Firmware version %04x\n", pulse8->vers); in pulse8_setup() 679 if (pulse8->vers < 2) { in pulse8_setup() 700 if (pulse8->vers >= 10) { in pulse8_setup() 770 if (pulse8->vers < 10) { in pulse8_setup() 818 if (pulse8->vers < 2) in pulse8_ping_eeprom_work_handler()
|
/kernel/linux/linux-6.6/drivers/media/cec/usb/pulse8/ |
H A D | pulse8-cec.c | 177 unsigned int vers; member 586 if (pulse8->vers < 10) { in pulse8_cec_adap_log_addr() 671 pulse8->vers = 0; in pulse8_setup() 677 pulse8->vers = (data[0] << 8) | data[1]; in pulse8_setup() 678 dev_info(pulse8->dev, "Firmware version %04x\n", pulse8->vers); in pulse8_setup() 679 if (pulse8->vers < 2) { in pulse8_setup() 700 if (pulse8->vers >= 10) { in pulse8_setup() 770 if (pulse8->vers < 10) { in pulse8_setup() 818 if (pulse8->vers < 2) in pulse8_ping_eeprom_work_handler()
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | tee_drv.h | 99 struct tee_ioctl_version_data *vers); 466 * @vers: if not NULL, version data of TEE device of the context returned 478 const void *data, struct tee_ioctl_version_data *vers); 492 * @vers: Pointer to version data 495 struct tee_ioctl_version_data *vers);
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | tee_drv.h | 96 struct tee_ioctl_version_data *vers); 377 * @vers: if not NULL, version data of TEE device of the context returned 389 const void *data, struct tee_ioctl_version_data *vers); 403 * @vers: Pointer to version data 406 struct tee_ioctl_version_data *vers);
|
/kernel/linux/linux-5.10/drivers/media/pci/cx18/ |
H A D | cx18-firmware.c | 134 const u8 *vers; in load_apu_fw_direct() local 148 vers = fw->data + sizeof(seghdr); in load_apu_fw_direct() 151 apu_version = (vers[0] << 24) | (vers[4] << 16) | vers[32]; in load_apu_fw_direct()
|
/kernel/linux/linux-5.10/fs/crypto/ |
H A D | policy.c | 797 int vers; in fscrypt_show_test_dummy_encryption() local 802 vers = policy->version; in fscrypt_show_test_dummy_encryption() 803 if (vers == FSCRYPT_POLICY_V1) /* Handle numbering quirk */ in fscrypt_show_test_dummy_encryption() 804 vers = 1; in fscrypt_show_test_dummy_encryption() 806 seq_printf(seq, "%ctest_dummy_encryption=v%d", sep, vers); in fscrypt_show_test_dummy_encryption()
|
/kernel/linux/linux-6.6/drivers/media/pci/cx18/ |
H A D | cx18-firmware.c | 134 const u8 *vers; in load_apu_fw_direct() local 148 vers = fw->data + sizeof(seghdr); in load_apu_fw_direct() 151 apu_version = (vers[0] << 24) | (vers[4] << 16) | vers[32]; in load_apu_fw_direct()
|
/kernel/linux/linux-6.6/arch/powerpc/kernel/ |
H A D | module_64.c | 347 static void dedotify_versions(struct modversion_info *vers, in dedotify_versions() argument 352 for (end = (void *)vers + size; vers < end; vers++) in dedotify_versions() 353 if (vers->name[0] == '.') { in dedotify_versions() 354 memmove(vers->name, vers->name+1, strlen(vers->name)); in dedotify_versions()
|
/kernel/linux/linux-5.10/drivers/md/ |
H A D | dm-ioctl.c | 51 struct dm_target_versions *vers, *old_vers; member 585 if ((char *)info->vers + sizeof(tt->version) + strlen(tt->name) + 1 > in list_version_get_info() 593 info->old_vers->next = (uint32_t) ((void *)info->vers - in list_version_get_info() 595 info->vers->version[0] = tt->version[0]; in list_version_get_info() 596 info->vers->version[1] = tt->version[1]; in list_version_get_info() 597 info->vers->version[2] = tt->version[2]; in list_version_get_info() 598 info->vers->next = 0; in list_version_get_info() 599 strcpy(info->vers->name, tt->name); in list_version_get_info() 601 info->old_vers = info->vers; in list_version_get_info() 602 info->vers in list_version_get_info() 608 struct dm_target_versions *vers; __list_versions() local [all...] |