Home
last modified time | relevance | path

Searched refs:vers (Results 1 – 25 of 68) sorted by relevance

123

/Linux-v6.1/net/sunrpc/
Dstats.c55 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->vs_nproc); in svc_seq_show()
107 for (j = 0; j < vers->vs_nproc; j++) in svc_seq_show()
[all …]
Dsvc.c460 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()
1028 const struct svc_version *vers = progp->pg_vers[version]; in svc_generic_rpcbind_set() local
1031 if (vers == NULL) in svc_generic_rpcbind_set()
[all …]
/Linux-v6.1/fs/nfsd/
Dnfssvc.c145 nfsd_support_version(int vers) in nfsd_support_version() argument
147 if (vers >= NFSD_MINVERS && vers < NFSD_NRVERS) in nfsd_support_version()
148 return nfsd_version[vers] != NULL; in nfsd_support_version()
155 bool *vers = kmalloc_array(NFSD_NRVERS, sizeof(bool), GFP_KERNEL); in nfsd_alloc_versions() local
158 if (vers) { in nfsd_alloc_versions()
161 vers[i] = nfsd_support_version(i); in nfsd_alloc_versions()
163 return vers; in nfsd_alloc_versions()
169 bool *vers = kmalloc_array(NFSD_SUPPORTED_MINOR_VERSION + 1, in nfsd_alloc_minorversions() local
173 if (vers) { in nfsd_alloc_minorversions()
176 vers[i] = nfsd_support_version(4); in nfsd_alloc_minorversions()
[all …]
Dnfsctl.c525 const char *sep, unsigned vers, int minor) in nfsd_print_version_support() argument
528 bool supported = !!nfsd_vers(nn, vers, NFSD_TEST); in nfsd_print_version_support()
530 if (vers == 4 && minor >= 0 && in nfsd_print_version_support()
541 supported ? '+' : '-', vers, minor); in nfsd_print_version_support()
547 char *vers, *minorp, sign; in __write_versions() local
564 vers = mesg; in __write_versions()
565 len = qword_get(&mesg, vers, size); in __write_versions()
570 sign = *vers; in __write_versions()
572 num = simple_strtol((vers+1), &minorp, 0); in __write_versions()
574 num = simple_strtol(vers, &minorp, 0); in __write_versions()
[all …]
Dnfsfh.h142 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()
/Linux-v6.1/arch/mips/include/asm/mach-loongson64/
Dboot_param.h21 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
/Linux-v6.1/drivers/input/joystick/
Dqwiic-joystick.c65 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()
/Linux-v6.1/arch/arm/kernel/
Dpj4-cp0.c111 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()
/Linux-v6.1/drivers/tee/
Dtee_core.c273 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 …]
/Linux-v6.1/arch/powerpc/kernel/
Dmodule_64.c224 static void dedotify_versions(struct modversion_info *vers, in dedotify_versions() argument
229 for (end = (void *)vers + size; vers < end; vers++) in dedotify_versions()
230 if (vers->name[0] == '.') { in dedotify_versions()
231 memmove(vers->name, vers->name+1, strlen(vers->name)); in dedotify_versions()
/Linux-v6.1/drivers/media/pci/cx18/
Dcx18-firmware.c134 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()
/Linux-v6.1/drivers/media/cec/usb/pulse8/
Dpulse8-cec.c177 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()
815 if (pulse8->vers < 2) in pulse8_ping_eeprom_work_handler()
/Linux-v6.1/include/linux/
Dtee_drv.h96 struct tee_ioctl_version_data *vers);
389 const void *data, struct tee_ioctl_version_data *vers);
406 struct tee_ioctl_version_data *vers);
/Linux-v6.1/drivers/md/
Ddm-ioctl.c55 struct dm_target_versions *vers, *old_vers; member
667 if ((char *)info->vers + sizeof(tt->version) + strlen(tt->name) + 1 > in list_version_get_info()
675 info->old_vers->next = (uint32_t) ((void *)info->vers - in list_version_get_info()
677 info->vers->version[0] = tt->version[0]; in list_version_get_info()
678 info->vers->version[1] = tt->version[1]; in list_version_get_info()
679 info->vers->version[2] = tt->version[2]; in list_version_get_info()
680 info->vers->next = 0; in list_version_get_info()
681 strcpy(info->vers->name, tt->name); in list_version_get_info()
683 info->old_vers = info->vers; in list_version_get_info()
684 info->vers = align_ptr(((void *) ++info->vers) + strlen(tt->name) + 1); in list_version_get_info()
[all …]
/Linux-v6.1/fs/crypto/
Dpolicy.c845 int vers; in fscrypt_show_test_dummy_encryption() local
850 vers = policy->version; in fscrypt_show_test_dummy_encryption()
851 if (vers == FSCRYPT_POLICY_V1) /* Handle numbering quirk */ in fscrypt_show_test_dummy_encryption()
852 vers = 1; in fscrypt_show_test_dummy_encryption()
854 seq_printf(seq, "%ctest_dummy_encryption=v%d", sep, vers); in fscrypt_show_test_dummy_encryption()
/Linux-v6.1/drivers/macintosh/
Dtherm_adt746x.c473 int i, rc, vers, offset = 0; in probe_thermostat() local
480 vers = be32_to_cpup(prop); in probe_thermostat()
482 vers, vers == 1 ? "" : "un"); in probe_thermostat()
483 if (vers != 1) in probe_thermostat()
/Linux-v6.1/fs/nfs/flexfilelayout/
Dflexfilelayout.c1200 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()
1770 int vers; in ff_layout_read_pagelist() local
1791 vers = nfs4_ff_layout_ds_version(mirror); in ff_layout_read_pagelist()
1794 ds->ds_remotestr, refcount_read(&ds->ds_clp->cl_count), vers); in ff_layout_read_pagelist()
1814 vers == 3 ? &ff_layout_read_call_ops_v3 : in ff_layout_read_pagelist()
1839 int vers; in ff_layout_write_pagelist() local
1857 vers = nfs4_ff_layout_ds_version(mirror); in ff_layout_write_pagelist()
1862 vers); in ff_layout_write_pagelist()
1882 vers == 3 ? &ff_layout_write_call_ops_v3 : in ff_layout_write_pagelist()
[all …]
/Linux-v6.1/drivers/char/
Dapplicom.h80 unsigned char vers; member
/Linux-v6.1/arch/sparc/mm/
Diommu.c60 unsigned int impl, vers; in sbus_iommu_init() local
81 vers = (control & IOMMU_CTRL_VERS) >> 24; in sbus_iommu_init()
128 impl, vers, iommu->page_table, in sbus_iommu_init()
/Linux-v6.1/fs/lockd/
Dmon.c42 u32 vers; member
99 .vers = 3, in nsm_mon_unmon()
454 *p++ = cpu_to_be32(argp->vers); in encode_my_id()
/Linux-v6.1/drivers/ata/
Dlibahci.c449 u32 cap, cap2, vers; in ahci_save_initial_config() local
471 vers = readl(mmio + HOST_VERSION); in ahci_save_initial_config()
472 if ((vers >> 16) > 1 || in ahci_save_initial_config()
473 ((vers >> 16) == 1 && (vers & 0xFFFF) >= 0x200)) in ahci_save_initial_config()
569 if (!port_map && vers < 0x10300) { in ahci_save_initial_config()
594 hpriv->version = vers; in ahci_save_initial_config()
2493 u32 vers, cap, cap2, impl, speed; in ahci_print_info() local
2496 vers = hpriv->version; in ahci_print_info()
2516 (vers >> 24) & 0xff, in ahci_print_info()
2517 (vers >> 16) & 0xff, in ahci_print_info()
[all …]
/Linux-v6.1/kernel/module/
Dversion.c19 unsigned int versindex = info->index.vers; in check_version()
/Linux-v6.1/drivers/media/dvb-frontends/
Dcx24116.c556 unsigned char vers[4]; in cx24116_load_firmware() local
664 vers[i] = cx24116_readreg(state, CX24116_REG_MAILBOX); in cx24116_load_firmware()
667 vers[0], vers[1], vers[2], vers[3]); in cx24116_load_firmware()
/Linux-v6.1/security/selinux/ss/
Davtab.c407 u32 items, items2, val, vers = pol->policyvers; in avtab_read_item() local
418 if (vers < POLICYDB_VERSION_AVTAB) { in avtab_read_item()
520 if ((vers < POLICYDB_VERSION_XPERMS_IOCTL) && in avtab_read_item()
524 "was specified\n", vers); in avtab_read_item()
/Linux-v6.1/include/uapi/linux/
Dfanotify.h132 __u8 vers; member

123