Home
last modified time | relevance | path

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

123

/linux-6.6.21/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
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 …]
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()
1088 const struct svc_version *vers = progp->pg_vers[version]; in svc_generic_rpcbind_set() local
1091 if (vers == NULL) in svc_generic_rpcbind_set()
[all …]
/linux-6.6.21/fs/nfsd/
Dnfssvc.c151 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()
182 vers[i] = nfsd_support_version(4); in nfsd_alloc_minorversions()
[all …]
Dnfsctl.c507 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 …]
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-6.6.21/arch/mips/include/asm/mach-loongson64/
Dboot_param.h25 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
/linux-6.6.21/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-6.6.21/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-6.6.21/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-6.6.21/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-6.6.21/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()
818 if (pulse8->vers < 2) in pulse8_ping_eeprom_work_handler()
/linux-6.6.21/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-6.6.21/arch/powerpc/kernel/
Dmodule_64.c347 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()
/linux-6.6.21/drivers/md/
Ddm-ioctl.c58 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 …]
/linux-6.6.21/drivers/macintosh/
Dtherm_adt746x.c475 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()
/linux-6.6.21/fs/crypto/
Dpolicy.c856 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()
/linux-6.6.21/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()
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 …]
/linux-6.6.21/drivers/char/
Dapplicom.h80 unsigned char vers; member
/linux-6.6.21/arch/sparc/mm/
Diommu.c61 unsigned int impl, vers; in sbus_iommu_init() local
82 vers = (control & IOMMU_CTRL_VERS) >> 24; in sbus_iommu_init()
129 impl, vers, iommu->page_table, in sbus_iommu_init()
/linux-6.6.21/fs/lockd/
Dmon.c42 u32 vers; member
99 .vers = 3, in nsm_mon_unmon()
457 *p++ = cpu_to_be32(argp->vers); in encode_my_id()
/linux-6.6.21/drivers/ata/
Dlibahci.c451 u32 cap, cap2, vers; in ahci_save_initial_config() local
473 vers = readl(mmio + HOST_VERSION); in ahci_save_initial_config()
474 if ((vers >> 16) > 1 || in ahci_save_initial_config()
475 ((vers >> 16) == 1 && (vers & 0xFFFF) >= 0x200)) in ahci_save_initial_config()
571 if (!port_map && vers < 0x10300) { in ahci_save_initial_config()
596 hpriv->version = vers; in ahci_save_initial_config()
2611 u32 vers, cap, cap2, impl, speed; in ahci_print_info() local
2614 vers = hpriv->version; in ahci_print_info()
2634 (vers >> 24) & 0xff, in ahci_print_info()
2635 (vers >> 16) & 0xff, in ahci_print_info()
[all …]
/linux-6.6.21/kernel/module/
Dversion.c19 unsigned int versindex = info->index.vers; in check_version()
/linux-6.6.21/security/selinux/ss/
Davtab.c383 unsigned int set, vers = pol->policyvers; in avtab_read_item() local
388 if (vers < POLICYDB_VERSION_AVTAB) { in avtab_read_item()
490 if ((vers < POLICYDB_VERSION_XPERMS_IOCTL) && in avtab_read_item()
494 "was specified\n", vers); in avtab_read_item()
/linux-6.6.21/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-6.6.21/include/uapi/linux/
Dfanotify.h132 __u8 vers; member

123