/openbmc/linux/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->vs_nproc); in svc_seq_show() 108 for (j = 0; j < vers->vs_nproc; j++) { 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]->vs_xdrsize; in __svc_create() 1091 const struct svc_version *vers = progp->pg_vers[version]; in svc_generic_rpcbind_set() local 1094 if (vers == NULL) in svc_generic_rpcbind_set() [all …]
|
/openbmc/linux/fs/nfsd/ |
H A D | nfssvc.c | 146 nfsd_support_version(int vers) in nfsd_support_version() argument 148 if (vers >= NFSD_MINVERS && vers < NFSD_NRVERS) in nfsd_support_version() 149 return nfsd_version[vers] != NULL; in nfsd_support_version() 156 bool *vers = kmalloc_array(NFSD_NRVERS, sizeof(bool), GFP_KERNEL); in nfsd_alloc_versions() local 159 if (vers) { in nfsd_alloc_versions() 162 vers[i] = nfsd_support_version(i); in nfsd_alloc_versions() 164 return vers; in nfsd_alloc_versions() 170 bool *vers = kmalloc_array(NFSD_SUPPORTED_MINOR_VERSION + 1, in nfsd_alloc_minorversions() local 174 if (vers) { in nfsd_alloc_minorversions() 177 vers[i] = nfsd_support_version(4); in nfsd_alloc_minorversions() [all …]
|
H A D | nfsctl.c | 507 const char *sep, unsigned vers, int minor) in nfsd_print_version_support() argument 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, &minorp, 0); in __write_versions() [all …]
|
H A D | nfsfh.h | 142 static inline void mk_fsid(int vers, u32 *fsidv, dev_t dev, ino_t ino, in mk_fsid() argument 146 switch(vers) { in mk_fsid()
|
/openbmc/qemu/hw/mips/ |
H A D | loongson3_bootp.h | 26 uint16_t vers; /* version of efi_memory_map */ member 60 uint16_t vers; /* version of efi_cpuinfo_loongson */ member 94 uint16_t vers; /* version of system_loongson */ member 112 uint16_t vers; member 132 uint16_t vers; /* version of the specificition */ member 158 uint16_t vers; /* version of this special */ member 176 uint16_t vers; /* version of smbios */ member
|
/openbmc/linux/arch/mips/include/asm/mach-loongson64/ |
H A D | boot_param.h | 25 u16 vers; /* version of efi_memory_map */ member 61 u16 vers; /* version of efi_cpuinfo_loongson */ member 94 u16 vers; /* version of system_loongson */ member 111 u16 vers; member 131 u16 vers; /* version of the specificition */ member 157 u16 vers; /* version of this special */ member 175 u16 vers; /* version of smbios */ member
|
/openbmc/linux/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()
|
/openbmc/u-boot/disk/ |
H A D | part_iso.h | 16 unsigned char vers; /* Version */ member 26 unsigned char vers; /* Version */ member 64 unsigned char vers; /* Version */ member 102 unsigned char vers; /* Version */ member
|
/openbmc/u-boot/drivers/tee/ |
H A D | tee-uclass.c | 27 void tee_get_version(struct udevice *dev, struct tee_version_data *vers) in tee_get_version() argument 29 tee_get_ops(dev)->get_version(dev, vers); in tee_get_version() 149 int (*match)(struct tee_version_data *vers, in tee_find_device() argument 152 struct tee_version_data *vers) in tee_find_device() 156 struct tee_version_data *v = vers ? vers : &lv; in tee_find_device()
|
/openbmc/u-boot/test/dm/ |
H A D | tee.c | 47 static int match(struct tee_version_data *vers, const void *data) in match() argument 49 return vers->gen_caps & TEE_GEN_CAP_GP; in match() 59 struct tee_version_data vers; in test_tee() local 66 dev = tee_find_device(NULL, match, NULL, &vers); in test_tee()
|
/openbmc/u-boot/include/ |
H A D | tee.h | 185 void (*get_version)(struct udevice *dev, struct tee_version_data *vers); 306 int (*match)(struct tee_version_data *vers, 309 struct tee_version_data *vers); 316 void tee_get_version(struct udevice *dev, struct tee_version_data *vers);
|
/openbmc/linux/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() 1096 return match_data->match(match_data->vers, match_data->data); in match_dev() [all …]
|
/openbmc/linux/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()
|
/openbmc/linux/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()
|
/openbmc/linux/include/linux/ |
H A D | tee_drv.h | 96 struct tee_ioctl_version_data *vers); 389 const void *data, struct tee_ioctl_version_data *vers); 406 struct tee_ioctl_version_data *vers);
|
/openbmc/linux/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()
|
/openbmc/linux/drivers/md/ |
H A D | dm-ioctl.c | 58 struct dm_target_versions *vers, *old_vers; member 686 if ((char *)info->vers + sizeof(tt->version) + strlen(tt->name) + 1 > info->end) { in list_version_get_info() 692 info->old_vers->next = (uint32_t) ((void *)info->vers - (void *)info->old_vers); in list_version_get_info() 694 info->vers->version[0] = tt->version[0]; in list_version_get_info() 695 info->vers->version[1] = tt->version[1]; in list_version_get_info() 696 info->vers->version[2] = tt->version[2]; in list_version_get_info() 697 info->vers->next = 0; in list_version_get_info() 698 strcpy(info->vers->name, tt->name); in list_version_get_info() 700 info->old_vers = info->vers; in list_version_get_info() 701 info->vers = align_ptr((void *)(info->vers + 1) + strlen(tt->name) + 1); in list_version_get_info() [all …]
|
/openbmc/openbmc/poky/meta/lib/oe/ |
H A D | buildhistory_analysis.py | 498 vers = [] 503 vers.append(ver.replace('.', '')) 504 maxlen = max(len(vers[0]), len(vers[1])) 507 vers = [int(ver.ljust(maxlen, '0')) for ver in vers] 512 if abs(vers[0] - vers[1]) == 1:
|
/openbmc/linux/drivers/macintosh/ |
H A D | therm_adt746x.c | 475 int i, rc, vers, offset = 0; in probe_thermostat() local 482 vers = be32_to_cpup(prop); in probe_thermostat() 484 vers, vers == 1 ? "" : "un"); in probe_thermostat() 485 if (vers != 1) in probe_thermostat()
|
/openbmc/linux/fs/crypto/ |
H A D | policy.c | 856 int vers; in fscrypt_show_test_dummy_encryption() local 861 vers = policy->version; in fscrypt_show_test_dummy_encryption() 862 if (vers == FSCRYPT_POLICY_V1) /* Handle numbering quirk */ in fscrypt_show_test_dummy_encryption() 863 vers = 1; in fscrypt_show_test_dummy_encryption() 865 seq_printf(seq, "%ctest_dummy_encryption=v%d", sep, vers); in fscrypt_show_test_dummy_encryption()
|
/openbmc/u-boot/drivers/ata/ |
H A D | ahci.c | 365 u32 vers, cap, cap2, impl, speed; in ahci_print_info() local 369 vers = readl(mmio + HOST_VERSION); in ahci_print_info() 403 (vers >> 24) & 0xff, in ahci_print_info() 404 (vers >> 16) & 0xff, in ahci_print_info() 405 (vers >> 8) & 0xff, in ahci_print_info() 406 vers & 0xff, in ahci_print_info()
|
H A D | dwc_ahsata.c | 272 u32 vers, cap, impl, speed; in ahci_print_info() local 276 vers = readl(&host_mmio->vs); in ahci_print_info() 293 (vers >> 24) & 0xff, in ahci_print_info() 294 (vers >> 16) & 0xff, in ahci_print_info() 295 (vers >> 8) & 0xff, in ahci_print_info() 296 vers & 0xff, in ahci_print_info()
|
/openbmc/u-boot/net/ |
H A D | nfs.h | 66 uint32_t vers; member
|
/openbmc/linux/fs/nfs/flexfilelayout/ |
H A D | flexfilelayout.c | 1200 int vers = clp->cl_nfs_mod->rpc_vers->number; in ff_layout_async_handle_error() local 1211 switch (vers) { in ff_layout_async_handle_error() 1771 int vers; in ff_layout_read_pagelist() local 1792 vers = nfs4_ff_layout_ds_version(mirror); in ff_layout_read_pagelist() 1795 ds->ds_remotestr, refcount_read(&ds->ds_clp->cl_count), vers); in ff_layout_read_pagelist() 1815 vers == 3 ? &ff_layout_read_call_ops_v3 : in ff_layout_read_pagelist() 1840 int vers; in ff_layout_write_pagelist() local 1858 vers = nfs4_ff_layout_ds_version(mirror); in ff_layout_write_pagelist() 1863 vers); in ff_layout_write_pagelist() 1883 vers == 3 ? &ff_layout_write_call_ops_v3 : in ff_layout_write_pagelist() [all …]
|