Home
last modified time | relevance | path

Searched defs:fn (Results 1 – 25 of 559) sorted by relevance

12345678910>>...23

/linux/rust/kernel/
H A Dioctl.rs13 const fn _IOC(dir: u32, ty: u32, nr: u32, size: usize) -> u32 { in _IOC() constant
27 pub const fn _IO(ty: u32, nr: u32) -> u32 { in _IO() constant
33 pub const fn _IOR<T>(ty: u32, nr: u32) -> u32 { in _IOR() constant
39 pub const fn _IOW<T>(ty: u32, nr: u32) -> u32 { in _IOW() constant
45 pub const fn _IOWR<T>(ty: u32, nr: u32) -> u32 { in _IOWR() constant
55 pub const fn _IOC_DIR(nr: u32) -> u32 { in _IOC_DIR() constant
60 pub const fn _IOC_TYPE(nr: u32) -> u32 { in _IOC_TYPE() constant
65 pub const fn _IOC_NR(nr: u32) -> u32 { in _IOC_NR() constant
70 pub const fn _IOC_SIZE(nr: u32) -> usize { in _IOC_SIZE() constant
H A Dfirmware.rs234 pub const fn new(module_name: &'static CStr) -> Self { new() constant
242 const fn push_internal(mut self, bytes: &[u8]) -> Self { push_internal() constant
280 pub const fn push(self, s: &str) -> Self { push() constant
289 const fn push_module_name(self) -> Self { push_module_name() constant
313 pub const fn new_entry(self) -> Self { new_entry() constant
320 pub const fn build(self) -> [u8; N] { build() constant
334 pub const fn build_length(self) -> usize { build_length() constant
[all...]
H A Dclk.rs38 pub const fn from_khz(khz: c_ulong) -> Self { in from_khz() constant
43 pub const fn from_mhz(mhz: c_ulong) -> Self { in from_mhz() constant
48 pub const fn from_ghz(ghz: c_ulong) -> Self { in from_ghz() constant
53 pub const fn as_hz(&self) -> c_ulong { in as_hz() constant
58 pub const fn as_khz(&self) -> c_ulong { in as_khz() constant
63 pub const fn as_mhz(&self) -> c_ulong { in as_mhz() constant
68 pub const fn as_ghz(&self) -> c_ulong { in as_ghz() constant
[all...]
H A Dtypes.rs334 pub const fn new(value: T) -> Self { new() constant
342 pub const fn uninit() -> Self { uninit() constant
350 pub const fn zeroed() -> Self { zeroed() constant
395 pub const fn get(&self) -> *mut T { get() constant
403 pub const fn cast_into(this: *const Self) -> *mut T { cast_into() constant
408 pub const fn cast_from(this: *const T) -> *const Self { cast_from() constant
[all...]
H A Dstr.rs18 pub const fn len(&self) -> usize { in len() constant
24 pub const fn is_empty(&self) -> bool { in is_empty() constant
30 pub const fn from_bytes(bytes: &[u8]) -> &Self { in from_bytes() constant
183 pub const fn as_char_ptr_in_const_context(c_str: &CStr) -> *const c_char { as_char_ptr_in_const_context() constant
214 pub const fn len(&self) -> usize { len() constant
220 pub const fn len_with_nul(&self) -> usize { len_with_nul() constant
232 pub const fn is_empty(&self) -> bool { is_empty() constant
259 pub const fn from_bytes_with_nul(bytes: &[u8]) -> Result<&Self, CStrConvertError> { from_bytes_with_nul() constant
311 pub const fn as_char_ptr(&self) -> *const c_char { as_char_ptr() constant
332 pub const fn to_bytes_with_nul(&self) -> &[u8] { to_bytes_with_nul() constant
341 pub const fn as_bytes_with_nul(&self) -> &[u8] { as_bytes_with_nul() constant
[all...]
H A Ddevice_id.rs64 pub const fn size(&self) -> usize { in size() constant
135 pub const fn new_without_index(ids: [(T, U); N]) -> Self { in new_without_index() constant
142 pub const fn raw_ids(&self) -> &RawIdArray<T, N> { in raw_ids() constant
151 pub const fn new(ids: [(T, U); N]) -> Self { in new() constant
[all...]
H A Dtime.rs237 pub const fn from_micros(micros: i64) -> Self { from_micros() constant
249 pub const fn from_millis(millis: i64) -> Self { from_millis() constant
261 pub const fn from_secs(secs: i64) -> Self { from_secs() constant
281 pub const fn as_nanos(self) -> i64 { as_nanos() constant
[all...]
/linux/drivers/misc/ocxl/
H A Dcore.c6 static struct ocxl_fn *ocxl_fn_get(struct ocxl_fn *fn) in ocxl_fn_get() argument
11 static void ocxl_fn_put(struct ocxl_fn *fn) in ocxl_fn_put() argument
16 static struct ocxl_afu *alloc_afu(struct ocxl_fn *fn) in alloc_afu() argument
56 struct ocxl_fn *fn = afu->fn; assign_afu_actag() local
84 struct ocxl_fn *fn = afu->fn; reclaim_afu_actag() local
94 struct ocxl_fn *fn = afu->fn; assign_afu_pasid() local
123 struct ocxl_fn *fn = afu->fn; reclaim_afu_pasid() local
131 reserve_fn_bar(struct ocxl_fn * fn,int bar) reserve_fn_bar() argument
148 release_fn_bar(struct ocxl_fn * fn,int bar) release_fn_bar() argument
263 init_afu(struct pci_dev * dev,struct ocxl_fn * fn,u8 afu_idx) init_afu() argument
301 struct ocxl_fn *fn; alloc_function() local
314 free_function(struct ocxl_fn * fn) free_function() argument
323 struct ocxl_fn *fn = container_of(dev, struct ocxl_fn, dev); free_function_dev() local
328 set_function_device(struct ocxl_fn * fn,struct pci_dev * dev) set_function_device() argument
335 assign_function_actag(struct ocxl_fn * fn) assign_function_actag() argument
356 set_function_pasid(struct ocxl_fn * fn) set_function_pasid() argument
382 configure_function(struct ocxl_fn * fn,struct pci_dev * dev) configure_function() argument
441 deconfigure_function(struct ocxl_fn * fn) deconfigure_function() argument
451 struct ocxl_fn *fn; init_function() local
479 struct ocxl_fn *fn; ocxl_function_open() local
510 ocxl_function_afu_list(struct ocxl_fn * fn) ocxl_function_afu_list() argument
516 ocxl_function_fetch_afu(struct ocxl_fn * fn,u8 afu_idx) ocxl_function_fetch_afu() argument
529 ocxl_function_config(struct ocxl_fn * fn) ocxl_function_config() argument
535 ocxl_function_close(struct ocxl_fn * fn) ocxl_function_close() argument
[all...]
H A Dconfig.c77 static void read_pasid(struct pci_dev *dev, struct ocxl_fn_config *fn) in read_pasid() argument
100 static int read_dvsec_tl(struct pci_dev *dev, struct ocxl_fn_config *fn) in read_dvsec_tl() argument
117 static int read_dvsec_function(struct pci_dev *dev, struct ocxl_fn_config *fn) in read_dvsec_function() argument
144 read_dvsec_afu_info(struct pci_dev * dev,struct ocxl_fn_config * fn) read_dvsec_afu_info() argument
267 validate_function(struct pci_dev * dev,struct ocxl_fn_config * fn) validate_function() argument
284 ocxl_config_read_function(struct pci_dev * dev,struct ocxl_fn_config * fn) ocxl_config_read_function() argument
324 read_afu_info(struct pci_dev * dev,struct ocxl_fn_config * fn,int offset,u32 * data) read_afu_info() argument
362 read_template_version(struct pci_dev * dev,struct ocxl_fn_config * fn,u16 * len,u16 * version) read_template_version() argument
381 ocxl_config_check_afu_index(struct pci_dev * dev,struct ocxl_fn_config * fn,int afu_idx) ocxl_config_check_afu_index() argument
422 read_afu_name(struct pci_dev * dev,struct ocxl_fn_config * fn,struct ocxl_afu_config * afu) read_afu_name() argument
440 read_afu_mmio(struct pci_dev * dev,struct ocxl_fn_config * fn,struct ocxl_afu_config * afu) read_afu_mmio() argument
565 read_afu_lpc_memory_info(struct pci_dev * dev,struct ocxl_fn_config * fn,struct ocxl_afu_config * afu) read_afu_lpc_memory_info() argument
652 ocxl_config_read_afu(struct pci_dev * dev,struct ocxl_fn_config * fn,struct ocxl_afu_config * afu,u8 afu_idx) ocxl_config_read_afu() argument
[all...]
/linux/rust/kernel/drm/
H A Dioctl.rs14 pub const fn IO(nr: u32) -> u32 { in IO() constant
21 pub const fn IOR<T>(nr: u32) -> u32 { in IOR() constant
28 pub const fn IOW<T>(nr: u32) -> u32 { in IOW() constant
35 pub const fn IOWR<T>(nr: u32) -> u32 { in IOWR() constant
/linux/rust/kernel/alloc/
H A Dlayout.rs33 pub const fn empty() -> Self { in empty() constant
65 pub const fn new(len: usize) -> Result<Self, LayoutError> { in new() constant
93 pub const fn len(&self) -> usize { in len() constant
98 pub const fn is_empty(&self) -> bool { in is_empty() constant
/linux/arch/um/include/shared/
H A Dinit.h71 #define __uml_exitcall(fn) \ argument
76 #define __uml_postsetup(fn) \ argument
86 #define __uml_setup(str, fn, help...) \ argument
92 __uml_setup(str,fn,help...) global() argument
96 __uml_help(fn,help...) global() argument
112 __define_initcall(level,fn) global() argument
119 __initcall(fn) global() argument
121 __exitcall(fn) global() argument
[all...]
/linux/tools/testing/selftests/vDSO/
H A Dvdso_call.h12 #define LOADARGS_1(fn, __arg1) do { \ argument
17 #define LOADARGS_2(fn, __arg1, __arg2) do { \ argument
23 #define LOADARGS_3(fn, __arg1, __arg2, __arg3) do { \ argument
30 #define LOADARGS_5(fn, __arg1, __arg2, __arg3, __arg4, __arg5) do { \ argument
39 #define VDSO_CALL(fn, nr, args...) ({ \ argument
67 VDSO_CALL(fn,nr,args...) global() argument
[all...]
/linux/arch/powerpc/include/asm/
H A Dmachdep.h247 #define __define_machine_initcall(mach, fn, id) \ argument
254 #define machine_early_initcall(mach, fn) __define_machine_initcall(mach, fn, early) argument
255 #define machine_core_initcall(mach, fn) __define_machine_initcall(mach, fn, 1) argument
256 #define machine_core_initcall_sync(mach, fn) __define_machine_initcall(mach, fn, argument
257 machine_postcore_initcall(mach,fn) global() argument
258 machine_postcore_initcall_sync(mach,fn) global() argument
259 machine_arch_initcall(mach,fn) global() argument
260 machine_arch_initcall_sync(mach,fn) global() argument
261 machine_subsys_initcall(mach,fn) global() argument
262 machine_subsys_initcall_sync(mach,fn) global() argument
263 machine_fs_initcall(mach,fn) global() argument
264 machine_fs_initcall_sync(mach,fn) global() argument
265 machine_rootfs_initcall(mach,fn) global() argument
266 machine_device_initcall(mach,fn) global() argument
267 machine_device_initcall_sync(mach,fn) global() argument
268 machine_late_initcall(mach,fn) global() argument
269 machine_late_initcall_sync(mach,fn) global() argument
[all...]
H A Dkasan.h6 #define _GLOBAL_KASAN(fn) _GLOBAL(__##fn) argument
7 #define _GLOBAL_TOC_KASAN(fn) _GLOBAL_TOC(__##fn) argument
8 #define EXPORT_SYMBOL_KASAN(fn) EXPORT_SYMBOL(__##fn) argument
10 #define _GLOBAL_KASAN(fn) _GLOBAL(fn) argument
11 #define _GLOBAL_TOC_KASAN(fn) _GLOBAL_TOC(fn) argument
12 EXPORT_SYMBOL_KASAN(fn) global() argument
[all...]
/linux/drivers/input/rmi4/
H A Drmi_f03.c29 struct rmi_function *fn; member
40 int rmi_f03_overwrite_button(struct rmi_function *fn, unsigned int button, in rmi_f03_overwrite_button() argument
59 void rmi_f03_commit_buttons(struct rmi_function *fn) in rmi_f03_commit_buttons() argument
96 struct rmi_function *fn in rmi_f03_initialize() local
142 struct rmi_function *fn = f03->fn; rmi_f03_pt_open() local
165 struct rmi_function *fn = f03->fn; rmi_f03_pt_close() local
198 rmi_f03_probe(struct rmi_function * fn) rmi_f03_probe() argument
222 rmi_f03_config(struct rmi_function * fn) rmi_f03_config() argument
246 struct rmi_function *fn = ctx; rmi_f03_attention() local
307 rmi_f03_remove(struct rmi_function * fn) rmi_f03_remove() argument
[all...]
H A Drmi_bus.c132 struct rmi_function *fn = to_rmi_function(dev); in rmi_release_function() local
150 struct rmi_function *fn = to_rmi_function(dev); in rmi_function_match() local
156 static void rmi_function_of_probe(struct rmi_function *fn) in rmi_function_of_probe() argument
166 static inline void rmi_function_of_probe(struct rmi_function *fn) in rmi_function_of_probe() argument
174 static int rmi_create_function_irq(struct rmi_function *fn, in rmi_create_function_irq() argument
205 struct rmi_function *fn = to_rmi_function(dev); rmi_function_probe() local
229 struct rmi_function *fn = to_rmi_function(dev); rmi_function_remove() local
239 rmi_register_function(struct rmi_function * fn) rmi_register_function() argument
271 rmi_unregister_function(struct rmi_function * fn) rmi_unregister_function() argument
[all...]
H A Drmi_f34.c19 struct rmi_function *fn = f34->fn; in rmi_f34_write_bootloader_id() local
49 struct rmi_function *fn = f34->fn; in rmi_f34_command() local
103 struct rmi_function *fn = ctx; rmi_f34_attention() local
134 struct rmi_function *fn = f34->fn; rmi_f34_write_blocks() local
198 struct rmi_function *fn = f34->fn; rmi_f34_flash_firmware() local
298 struct rmi_function *fn; rmi_driver_bootloader_id_show() local
326 struct rmi_function *fn = data->f34_container; rmi_driver_configuration_id_show() local
520 struct rmi_function *fn = f34->fn; rmi_f34v5_probe() local
577 rmi_f34_probe(struct rmi_function * fn) rmi_f34_probe() argument
[all...]
H A Drmi_f1a.c17 static int rmi_f1a_parse_device_properties(struct rmi_function *fn, struct f1a_data *f1a) in rmi_f1a_parse_device_properties() argument
57 struct rmi_function *fn = ctx; in rmi_f1a_attention() local
78 static int rmi_f1a_config(struct rmi_function *fn) in rmi_f1a_config() argument
89 rmi_f1a_initialize(struct rmi_function * fn,struct f1a_data * f1a) rmi_f1a_initialize() argument
108 rmi_f1a_probe(struct rmi_function * fn) rmi_f1a_probe() argument
[all...]
/linux/include/linux/
H A Dstop_machine.h26 cpu_stop_fn_t fn; member
48 cpu_stop_fn_t fn; member
52 static inline int stop_one_cpu(unsigned int cpu, cpu_stop_fn_t fn, void *arg) in stop_one_cpu() argument
72 cpu_stop_fn_t fn, void *arg, in stop_one_cpu_nowait() argument
165 stop_machine_cpuslocked(cpu_stop_fn_t fn,void * data,const struct cpumask * cpus) stop_machine_cpuslocked() argument
177 stop_machine(cpu_stop_fn_t fn,void * data,const struct cpumask * cpus) stop_machine() argument
183 stop_machine_from_inactive_cpu(cpu_stop_fn_t fn,void * data,const struct cpumask * cpus) stop_machine_from_inactive_cpu() argument
[all...]
H A Dirqchip.h23 #define typecheck_irq_init_cb(fn) \ argument
36 #define IRQCHIP_DECLARE(name, compat, fn) \ argument
44 #define IRQCHIP_MATCH(compat, fn) { .compatible = compat, \ argument
77 IRQCHIP_ACPI_DECLARE(name,subtable,validate,data,fn) global() argument
[all...]
/linux/rust/kernel/net/
H A Dphy.rs497 pub const fn create_phy_driver<T: Driver>() -> DriverVTable { create_phy_driver() constant
692 pub const fn new_with_exact_mask(id: u32) -> Self { new_with_exact_mask() constant
700 pub const fn new_with_model_mask(id: u32) -> Self { new_with_model_mask() constant
708 pub const fn new_with_vendor_mask(id: u32) -> Self { new_with_vendor_mask() constant
716 pub const fn new_with_custom_mask(id: u32, mask: u32) -> Self { new_with_custom_mask() constant
724 pub const fn new_with_driver<T: Driver>() -> Self { new_with_driver() constant
729 pub const fn id(&self) -> u32 { id() constant
734 pub const fn mask_as_int(&self) -> u32 { mask_as_int() constant
740 pub const fn mdio_device_id(&self) -> bindings::mdio_device_id { mdio_device_id() constant
763 const fn as_int(&self) -> u32 { as_int() constant
[all...]
/linux/kernel/
H A Dstop_machine.c46 cpu_stop_fn_t fn; member
137 stop_one_cpu(unsigned int cpu,cpu_stop_fn_t fn,void * arg) stop_one_cpu() argument
169 cpu_stop_fn_t fn; global() member
335 stop_two_cpus(unsigned int cpu1,unsigned int cpu2,cpu_stop_fn_t fn,void * arg) stop_two_cpus() argument
385 stop_one_cpu_nowait(unsigned int cpu,cpu_stop_fn_t fn,void * arg,struct cpu_stop_work * work_buf) stop_one_cpu_nowait() argument
393 queue_stop_cpus_work(const struct cpumask * cpumask,cpu_stop_fn_t fn,void * arg,struct cpu_stop_done * done) queue_stop_cpus_work() argument
425 __stop_cpus(const struct cpumask * cpumask,cpu_stop_fn_t fn,void * arg) __stop_cpus() argument
464 stop_cpus(const struct cpumask * cpumask,cpu_stop_fn_t fn,void * arg) stop_cpus() argument
503 cpu_stop_fn_t fn = work->fn; cpu_stopper_thread() local
587 stop_machine_cpuslocked(cpu_stop_fn_t fn,void * data,const struct cpumask * cpus) stop_machine_cpuslocked() argument
623 stop_machine(cpu_stop_fn_t fn,void * data,const struct cpumask * cpus) stop_machine() argument
636 stop_core_cpuslocked(unsigned int cpu,cpu_stop_fn_t fn,void * data) stop_core_cpuslocked() argument
678 stop_machine_from_inactive_cpu(cpu_stop_fn_t fn,void * data,const struct cpumask * cpus) stop_machine_from_inactive_cpu() argument
[all...]
/linux/drivers/pci/controller/cadence/
H A Dpcie-cadence-ep.c22 static u8 cdns_pcie_get_fn_from_vfn(struct cdns_pcie *pcie, u8 fn, u8 vfn) in cdns_pcie_get_fn_from_vfn() argument
37 static int cdns_pcie_ep_write_header(struct pci_epc *epc, u8 fn, u8 vfn, in cdns_pcie_ep_write_header() argument
79 cdns_pcie_ep_set_bar(struct pci_epc * epc,u8 fn,u8 vfn,struct pci_epf_bar * epf_bar) cdns_pcie_ep_set_bar() argument
150 cdns_pcie_ep_clear_bar(struct pci_epc * epc,u8 fn,u8 vfn,struct pci_epf_bar * epf_bar) cdns_pcie_ep_clear_bar() argument
183 cdns_pcie_ep_map_addr(struct pci_epc * epc,u8 fn,u8 vfn,phys_addr_t addr,u64 pci_addr,size_t size) cdns_pcie_ep_map_addr() argument
205 cdns_pcie_ep_unmap_addr(struct pci_epc * epc,u8 fn,u8 vfn,phys_addr_t addr) cdns_pcie_ep_unmap_addr() argument
225 cdns_pcie_ep_set_msi(struct pci_epc * epc,u8 fn,u8 vfn,u8 nr_irqs) cdns_pcie_ep_set_msi() argument
248 cdns_pcie_ep_get_msi(struct pci_epc * epc,u8 fn,u8 vfn) cdns_pcie_ep_get_msi() argument
290 cdns_pcie_ep_set_msix(struct pci_epc * epc,u8 fn,u8 vfn,u16 nr_irqs,enum pci_barno bir,u32 offset) cdns_pcie_ep_set_msix() argument
319 cdns_pcie_ep_assert_intx(struct cdns_pcie_ep * ep,u8 fn,u8 intx,bool is_asserted) cdns_pcie_ep_assert_intx() argument
361 cdns_pcie_ep_send_intx_irq(struct cdns_pcie_ep * ep,u8 fn,u8 vfn,u8 intx) cdns_pcie_ep_send_intx_irq() argument
379 cdns_pcie_ep_send_msi_irq(struct cdns_pcie_ep * ep,u8 fn,u8 vfn,u8 interrupt_num) cdns_pcie_ep_send_msi_irq() argument
429 cdns_pcie_ep_map_msi_irq(struct pci_epc * epc,u8 fn,u8 vfn,phys_addr_t addr,u8 interrupt_num,u32 entry_size,u32 * msi_data,u32 * msi_addr_offset) cdns_pcie_ep_map_msi_irq() argument
482 cdns_pcie_ep_send_msix_irq(struct cdns_pcie_ep * ep,u8 fn,u8 vfn,u16 interrupt_num) cdns_pcie_ep_send_msix_irq() argument
532 cdns_pcie_ep_raise_irq(struct pci_epc * epc,u8 fn,u8 vfn,unsigned int type,u16 interrupt_num) cdns_pcie_ep_raise_irq() argument
[all...]
/linux/tools/testing/selftests/mm/
H A Dcow.c180 child_fn fn, bool xfail) in do_test_cow_in_parent() argument
773 static void do_run_with_base_page(test_fn fn, bool swapout) in do_run_with_base_page() argument
811 static void run_with_base_page(test_fn fn, const char *desc) in run_with_base_page() argument
817 static void run_with_base_page_swap(test_fn fn, const char *desc) in run_with_base_page_swap() argument
834 static void do_run_with_thp(test_fn fn, enum thp_run thp_run, size_t thpsize) in do_run_with_thp() argument
989 run_with_thp(test_fn fn,const char * desc,size_t size) run_with_thp() argument
996 run_with_thp_swap(test_fn fn,const char * desc,size_t size) run_with_thp_swap() argument
1003 run_with_pte_mapped_thp(test_fn fn,const char * desc,size_t size) run_with_pte_mapped_thp() argument
1010 run_with_pte_mapped_thp_swap(test_fn fn,const char * desc,size_t size) run_with_pte_mapped_thp_swap() argument
1017 run_with_single_pte_of_thp(test_fn fn,const char * desc,size_t size) run_with_single_pte_of_thp() argument
1024 run_with_single_pte_of_thp_swap(test_fn fn,const char * desc,size_t size) run_with_single_pte_of_thp_swap() argument
1031 run_with_partial_mremap_thp(test_fn fn,const char * desc,size_t size) run_with_partial_mremap_thp() argument
1038 run_with_partial_shared_thp(test_fn fn,const char * desc,size_t size) run_with_partial_shared_thp() argument
1045 run_with_hugetlb(test_fn fn,const char * desc,size_t hugetlbsize) run_with_hugetlb() argument
1084 test_fn fn; global() member
1535 run_with_zeropage(non_anon_test_fn fn,const char * desc) run_with_zeropage() argument
1567 run_with_huge_zeropage(non_anon_test_fn fn,const char * desc) run_with_huge_zeropage() argument
1635 run_with_memfd(non_anon_test_fn fn,const char * desc) run_with_memfd() argument
1683 run_with_tmpfile(non_anon_test_fn fn,const char * desc) run_with_tmpfile() argument
1739 run_with_memfd_hugetlb(non_anon_test_fn fn,const char * desc,size_t hugetlbsize) run_with_memfd_hugetlb() argument
1795 non_anon_test_fn fn; global() member
[all...]

12345678910>>...23