section 9 · Kernel routines 🧠
87928 pages · page 55 of 440
C (continued)
- copy_regset_to_user(9)fetch a thread's user_regset data into user memory✨
- copy_remote_vm_str(9)copy a string from another process's address space.✨
- copy_safe_from_sockptr(9)copy a struct from sockptr✨
- copy_scratchpad(9)Copy the content of scratchpad in device EEPROM✨
- copy_siginfo_to_external32(9)copy a kernel siginfo into a compat user siginfo✨
- copy_splice_read(9)Copy data from a file and splice the copy into a pipe✨
- copy_struct_from_user(9)copy a struct from userspace✨
- copy_struct_to_user(9)copy a struct to userspace✨
- copy_time_ns(9)Create timens_for_children from @old_ns✨
- copy_to_iter_fromio(9)copy data from mmio-space to iov_iter✨
- copy_to_user_fromio(9)copy data from mmio-space to user-space✨
- copy_to_user_nofault(9)safely attempt to write to a user-space location✨
- copy_uabi_to_xstate(9)Copy a UABI format buffer to the kernel xstate✨
- copy_xstate_to_uabi_buf(9)Copy kernel saved xstate to a UABI buffer✨
- copy_znode(9)copy a dirty znode.✨
- copyin(9)heterogeneous address space copy functions✨
- copyin(9freebsd)kernel copy functions✨
- copyin_nofault(9)heterogeneous address space copy functions✨
- copyin_nofault(9freebsd)kernel copy functions✨
- copyinstr(9)heterogeneous address space copy functions✨
- copyinstr(9freebsd)kernel copy functions✨
- copyout(9)heterogeneous address space copy functions✨
- copyout(9freebsd)kernel copy functions✨
- copyout_nofault(9)heterogeneous address space copy functions✨
- copyout_nofault(9freebsd)kernel copy functions✨
- copystr(9)heterogeneous address space copy functions✨
- copystr(9freebsd)kernel copy functions✨
- cordic_calc_iq(9)calculates the i/q coordinate for given angle.✨
- core_param(9)define a historical core kernel parameter.✨
- core_param_cb(9)general callback for a module/cmdline parameter to be evaluated before core initcall level✨
- core_param_unsafe(9)same as core_param but taints kernel✨
- core_tmr_drain_state_list(9)abort SCSI commands associated with a device✨
- coredump_write(9)common coredump write routine✨
- coredumper_register(9)loadable user coredumper support✨
- coredumper_unregister(9)loadable user coredumper support✨
- coresight_blocks_source(9)checks whether the connection matches the source of path if connection is bound to specific source.✨
- coresight_clear_default_sink(9)Remove all default sink references to the supplied sink.✨
- coresight_disable_source_sysfs(9)Drop the reference count by 1 for software sources. Disable the device if there are no users left.✨
- coresight_find_activated_sysfs_sink(9)returns the first sink activated via sysfs using connection based search starting from the source reference.✨
- coresight_find_default_sink(9)Find a sink suitable for use as a default sink.✨
- coresight_find_sink(9)recursive function to walk trace connections from source to find a suitable default sink.✨
- coresight_get_ref(9)Helper function to increase reference count to module and device.✨
- coresight_get_sink_by_id(9)returns the sink that matches the id✨
- coresight_put_ref(9)Helper function to decrease reference count to module and device. Power off the device.✨
- coresight_release_path(9)release a previously built path.✨
- coresight_select_best_sink(9)return the best sink for use as default from the two provided.✨
- coresight_timeout_action(9)loop until a bit has changed to a specific register state, with a callback after every trial.✨
- coresight_timeout_etm(9)loop until a bit has changed to a specific state.✨
- corexy_by_hal(9)CoreXY kinematics✨
- correct_parent_keys(9)correct parent znodes' keys.✨
- cougar_fix_g6_mapping(9)configure the mapping for key G6/Spacebar✨
- could_mpcc_tree_change_for_active_pipes(9)Check if an OPP associated with MPCC might change✨
- count_active_contexts(9)count nr of active tasks✨
- count_all_bios(9)Determine which bio counter to use.✨
- count_data_pages(9)Compute the total number of saveable non-highmem pages.✨
- count_dev(9freebsd)get total number of references to a device✨
- count_fastmap_pebs(9)Counts the PEBs found by fastmap.✨
- count_free_highmem_pages(9)Compute the total number of free highmem pages.✨
- count_highmem_image_pages(9)Compute the number of highmem pages in the image.✨
- count_highmem_pages(9)Compute the total number of saveable highmem pages.✨
- count_immovable_mem_regions(9)Parse SRAT and cache the immovable memory regions into the immovable_mem array.✨
- count_leading_zeros(9)Count the number of zeros from the MSB back✨
- count_memcg_events(9)account VM events in a cgroup✨
- count_parisc_driver(9)count # of devices this driver would match✨
- count_trailing_zeros(9)Count the number of zeros from the LSB forwards✨
- count_valid_references(9)Process a newly loaded refcount array✨
- counter(9)counts input pulses (DEPRECATED)✨
- counter(9freebsd)SMP-friendly kernel counter implementation✨
- counter_add(9)complete registration of a counter✨
- counter_alloc(9)allocate a counter_device✨
- counter_enter(9)SMP-friendly kernel counter implementation✨
- counter_enter(9freebsd)SMP-friendly kernel counter implementation✨
- counter_exit(9)SMP-friendly kernel counter implementation✨
- counter_exit(9freebsd)SMP-friendly kernel counter implementation✨
- counter_priv(9)access counter device private data✨
- counter_push_event(9)queue event for userspace reading✨
- counter_ratecheck(9)SMP-friendly kernel counter implementation✨
- counter_sysfs_add(9)Adds Counter sysfs attributes to the device structure✨
- counter_u64_add(9)SMP-friendly kernel counter implementation✨
- counter_u64_add(9freebsd)SMP-friendly kernel counter implementation✨
- counter_u64_add_protected(9)SMP-friendly kernel counter implementation✨
- counter_u64_add_protected(9freebsd)SMP-friendly kernel counter implementation✨
- counter_u64_alloc(9)SMP-friendly kernel counter implementation✨
- counter_u64_alloc(9freebsd)SMP-friendly kernel counter implementation✨
- counter_u64_fetch(9)SMP-friendly kernel counter implementation✨
- counter_u64_fetch(9freebsd)SMP-friendly kernel counter implementation✨
- counter_u64_free(9)SMP-friendly kernel counter implementation✨
- counter_u64_free(9freebsd)SMP-friendly kernel counter implementation✨
- counter_u64_zero(9)SMP-friendly kernel counter implementation✨
- counter_u64_zero(9freebsd)SMP-friendly kernel counter implementation✨
- counter_unregister(9)unregister Counter from the system✨
- counters_alloc(9)per CPU counters✨
- Coupled cpuidle states(9)✨
- cp_free(9)free resources for channel program.✨
- cp_get_orb(9)get the orb of the channel program✨
- cp_init(9)allocate ccwchains for a channel program.✨
- cp_iova_pinned(9)check if an iova is pinned for a ccw chain.✨
- cp_prefetch(9)translate a guest physical address channel program to a real-device runnable channel program.✨
- cp_update_scsw(9)update scsw for a channel program.✨
- cpacf_kimd(9)executes the KIMD (COMPUTE INTERMEDIATE MESSAGE DIGEST) instruction✨
- cpacf_klmd(9)executes the KLMD (COMPUTE LAST MESSAGE DIGEST) instruction✨
- cpacf_km(9)executes the KM (CIPHER MESSAGE) instruction✨
- cpacf_kma(9)executes the KMA (CIPHER MESSAGE WITH AUTHENTICATION) instruction✨
- cpacf_kmac(9)executes the KMAC (COMPUTE MESSAGE AUTHENTICATION CODE) instruction✨
- cpacf_kmc(9)executes the KMC (CIPHER MESSAGE WITH CHAINING) instruction✨
- cpacf_kmctr(9)executes the KMCTR (CIPHER MESSAGE WITH COUNTER) instruction✨
- cpacf_pcc(9)executes the PCC (PERFORM CRYPTOGRAPHIC COMPUTATION) instruction✨
- cpacf_pckmo(9)executes the PCKMO (PERFORM CRYPTOGRAPHIC KEY MANAGEMENT) instruction✨
- cpacf_prno(9)executes the PRNO (PERFORM RANDOM NUMBER OPERATION) instruction✨
- cpacf_qai(9)Get the query authentication information for a CPACF opcode✨
- cpacf_query(9)Query the function code mask for this CPACF opcode✨
- cpacf_trng(9)executes the TRNG subfunction of the PRNO instruction✨
- cpc_ffh_supported(9)check if FFH reading supported✨
- cpc_read_ffh(9)Read FFH register✨
- cpc_read_ffh_fb_ctrs(9)Read FFH feedback counters together✨
- cpc_supported_by_cpu(9)check if CPPC is supported by CPU✨
- cpc_write_ffh(9)Write FFH register✨
- cpcap_battery_cc_get_avg_current(9)read cpcap coulumb counter✨
- cpcap_battery_cc_raw_div(9)calculate and divide coulomb counter μAms values✨
- cpcap_battery_read_accumulated(9)reads cpcap coulomb counter✨
- cper_bits_to_str(9)return a string for set bits✨
- cper_print_bits(9)print strings for set bits✨
- cpg_div6_register(9)Register a DIV6 clock✨
- cpm_muram_addr(9)turn a muram offset into a virtual address✨
- cpm_muram_dma(9)turn a muram virtual address into a DMA address✨
- cpm_muram_free(9)free a chunk of multi-user ram✨
- cppc_get_auto_act_window(9)Read autonomous activity window register.✨
- cppc_get_auto_sel(9)Read autonomous selection register.✨
- cppc_get_desired_perf(9)Get the desired performance register value.✨
- cppc_get_epp_perf(9)Get the epp register value.✨
- cppc_get_highest_perf(9)Get the highest performance register value.✨
- cppc_get_nominal_perf(9)Get the nominal performance register value.✨
- cppc_get_perf(9)Get a CPU's performance controls.✨
- cppc_get_perf_caps(9)Get a CPU's performance capabilities.✨
- cppc_get_perf_ctrs(9)Read a CPU's performance feedback counters.✨
- cppc_get_perf_limited(9)Get the Performance Limited register value.✨
- cppc_get_transition_latency(9)returns frequency transition latency in ns✨
- cppc_perf_ctrs_in_pcc(9)Check if any perf counters are in a PCC region.✨
- cppc_perf_ctrs_in_pcc_cpu(9)Check if any perf counters of a CPU are in PCC.✨
- cppc_set_auto_act_window(9)Write autonomous activity window register.✨
- cppc_set_auto_sel(9)Write autonomous selection register.✨
- cppc_set_enable(9)Set to enable CPPC on the processor by writing the Continuous Performance Control package EnableRegister field.✨
- cppc_set_epp(9)Write the EPP register.✨
- cppc_set_perf(9)Set a CPU's performance controls.✨
- cppc_set_perf_limited(9)Clear bits in the Performance Limited register.✨
- cppi5_desc_get_errflags(9)get Error Flags from Desc✨
- cppi5_desc_get_pktids(9)get Packet and Flow ids from Desc✨
- cppi5_desc_get_tags_ids(9)get Packet Src/Dst Tags from Desc✨
- cppi5_desc_get_type(9)get descriptor type✨
- cppi5_desc_is_tdcm(9)check if the paddr indicates Teardown Complete Message✨
- cppi5_desc_set_pktids(9)set Packet and Flow ids in Desc✨
- cppi5_desc_set_retpolicy(9)set Packet Return Policy in Desc✨
- cppi5_desc_set_tags_ids(9)set Packet Src/Dst Tags in HDesc✨
- cppi5_hdesc_attach_buf(9)attach buffer to HDesc✨
- cppi5_hdesc_calc_size(9)Calculate Host Packet Descriptor size✨
- cppi5_hdesc_epib_present(9)check if EPIB present✨
- cppi5_hdesc_get_pktlen(9)get Packet Length from HDesc✨
- cppi5_hdesc_get_pkttype(9)get Packet Type from HDesc✨
- cppi5_hdesc_get_psdata(9)Get pointer on PSDATA✨
- cppi5_hdesc_get_psdata_size(9)get PSdata size in bytes✨
- cppi5_hdesc_get_psflags(9)get Protocol Specific Flags from HDesc✨
- cppi5_hdesc_get_swdata(9)Get pointer on swdata✨
- cppi5_hdesc_init(9)Init Host Packet Descriptor size✨
- cppi5_hdesc_link_hbdesc(9)link Host Buffer Descriptor to HDesc✨
- cppi5_hdesc_set_pktlen(9)set Packet Length in HDesc✨
- cppi5_hdesc_set_pkttype(9)set Packet Type in HDesc✨
- cppi5_hdesc_set_psflags(9)set Protocol Specific Flags in HDesc✨
- cppi5_hdesc_update_flags(9)Replace descriptor flags✨
- cppi5_hdesc_update_psdata_size(9)Replace PSdata size✨
- cppi5_tr_csf_set(9)Update the Configuration specific flags✨
- cppi5_tr_init(9)Init TR record✨
- cppi5_tr_set_trigger(9)Configure trigger0/1 and trigger0/1_type✨
- cppi5_trdesc_calc_size(9)Calculate TR Descriptor size✨
- cppi5_trdesc_init(9)Init TR Descriptor✨
- cpqhp_find_slot(9)find the struct slot of given device✨
- cpqhp_hardware_test(9)runs hardware tests✨
- cpqhp_pushbutton_thread(9)handle pushbutton events✨
- cpqhp_resource_sort_and_combine(9)sort nodes by base addresses and clean up✨
- cpqhp_set_attention_status(9)Turns the Amber LED for a slot on or off✨
- cpqhp_slot_create(9)Creates a node and adds it to the proper bus.✨
- cpqhp_slot_find(9)Looks for a node by bus, and device, multiple functions accessed✨
- cprng(9)cryptographic pseudorandom number generators✨
- cps_pm_enter_state(9)enter a PM state✨
- cps_pm_support_state(9)determine whether the system supports a PM state✨
- cpsw_set_mc(9)adds multicast entry to the table if it's not added or deletes if it's not deleted✨
- cpu access(9)✨
- cpu map(9)✨
- cpu__get_cluster_id(9)Returns the cluster id as read from /sys/devices/system/cpu/cpuX/topology/cluster_id for the given CPU✨
- cpu__get_core_id(9)Returns the core id as read from /sys/devices/system/cpu/cpuX/topology/core_id for the given CPU.✨
- cpu__get_die_id(9)Returns the die id as read from /sys/devices/system/cpu/cpuX/topology/die_id for the given CPU.✨
- cpu__get_node(9)Returns the numa node X as read from /sys/devices/system/node/nodeX for the given CPU.✨
- cpu__get_socket_id(9)Returns the socket number as read from /sys/devices/system/cpu/cpuX/topology/physical_package_id for the given CPU.✨
- cpu_aggr_map__empty_new(9)Create a cpu_aggr_map of size nr with every entry being empty.✨
- cpu_aggr_map__new(9)Create a cpu_aggr_map with an aggr_cpu_id for each cpu in cpus. The aggr_cpu_id is created with 'get_id' that may have a data value passed to it. The cpu_aggr_map is sorted with duplicate values…✨
- CPU_AND(9)CPUSET_T_INITIALIZER, CPUSET_FSET, CPU_CLR, CPU_COPY, CPU_ISSET, CPU_SET, CPU_ZERO, CPU_FILL, CPU_SETOF, CPU_EMPTY, CPU_ISFULLSET, CPU_FFS, CPU_COUNT, CPU_SUBSET, CPU_OVERLAP, CPU_CMP, CPU_OR…✨
- CPU_AND(9freebsd)CPUSET_T_INITIALIZER, CPUSET_FSET, CPU_CLR, CPU_COPY, CPU_ISSET, CPU_SET, CPU_ZERO, CPU_FILL, CPU_SETOF, CPU_EMPTY, CPU_ISFULLSET, CPU_FFS, CPU_COUNT, CPU_SUBSET, CPU_OVERLAP, CPU_CMP, CPU_OR…✨
- CPU_AND_ATOMIC(9)CPUSET_T_INITIALIZER, CPUSET_FSET, CPU_CLR, CPU_COPY, CPU_ISSET, CPU_SET, CPU_ZERO, CPU_FILL, CPU_SETOF, CPU_EMPTY, CPU_ISFULLSET, CPU_FFS, CPU_COUNT, CPU_SUBSET, CPU_OVERLAP, CPU_CMP, CPU_OR…✨
- CPU_AND_ATOMIC(9freebsd)CPUSET_T_INITIALIZER, CPUSET_FSET, CPU_CLR, CPU_COPY, CPU_ISSET, CPU_SET, CPU_ZERO, CPU_FILL, CPU_SETOF, CPU_EMPTY, CPU_ISFULLSET, CPU_FFS, CPU_COUNT, CPU_SUBSET, CPU_OVERLAP, CPU_CMP, CPU_OR…✨
- CPU_ANDNOT(9)CPUSET_T_INITIALIZER, CPUSET_FSET, CPU_CLR, CPU_COPY, CPU_ISSET, CPU_SET, CPU_ZERO, CPU_FILL, CPU_SETOF, CPU_EMPTY, CPU_ISFULLSET, CPU_FFS, CPU_COUNT, CPU_SUBSET, CPU_OVERLAP, CPU_CMP, CPU_OR…✨
- cpu_cache_invalidate_memregion(9)drop any CPU cached data for memregion✨
💅
getting it ready, bestie…