section 9 · Kernel routines 🧠
87928 pages · page 57 of 440
C (continued)
- cpuidle_coupled_prevent_idle(9)prevent cpus from entering a coupled state✨
- cpuidle_coupled_register_device(9)register a coupled cpuidle device✨
- cpuidle_coupled_set_done(9)mark this cpu as leaving the ready loop✨
- cpuidle_coupled_set_not_ready(9)mark a cpu as not ready✨
- cpuidle_coupled_set_not_waiting(9)mark this cpu as leaving the wait loop✨
- cpuidle_coupled_set_ready(9)mark a cpu as ready✨
- cpuidle_coupled_set_waiting(9)mark this cpu as in the wait loop✨
- cpuidle_coupled_state_verify(9)check if the coupled states are correctly set.✨
- cpuidle_coupled_unregister_device(9)unregister a coupled cpuidle device✨
- cpuidle_disable_device(9)disables idle PM for a CPU✨
- cpuidle_driver_state_disabled(9)Disable or enable an idle state✨
- cpuidle_enable_device(9)enables idle PM for a CPU✨
- cpuidle_enter(9)enter into the specified idle state✨
- cpuidle_enter_s2idle(9)Enter an idle state suitable for suspend-to-idle.✨
- cpuidle_enter_state(9)enter the state and update stats✨
- cpuidle_enter_state_coupled(9)attempt to enter a state with coupled cpus✨
- cpuidle_find_deepest_state(9)Find the deepest available idle state.✨
- cpuidle_find_governor(9)finds a governor of the specified name✨
- cpuidle_get_cpu_driver(9)return the driver registered for a CPU.✨
- cpuidle_get_driver(9)return the driver tied to the current CPU.✨
- cpuidle_governor_latency_req(9)Compute a latency constraint for CPU✨
- cpuidle_idle_call(9)the main idle function✨
- cpuidle_init(9)core initializer✨
- cpuidle_install_idle_handler(9)installs the cpuidle idle loop handler✨
- cpuidle_pause_and_lock(9)temporarily disables CPUIDLE✨
- cpuidle_play_dead(9)cpu off-lining✨
- cpuidle_poll_time(9)return amount of time to poll for, governors can override dev->poll_limit_ns if necessary✨
- cpuidle_reflect(9)tell the underlying governor what was the state we were in✨
- cpuidle_register(9)registers the driver and the cpu devices with the coupled_cpus passed as parameter. This function is used for all common initialization pattern there are in the arch specific drivers. The devices…✨
- cpuidle_register_device(9)registers a CPU's idle PM feature✨
- cpuidle_register_driver(9)registers a driver✨
- cpuidle_register_governor(9)registers a governor✨
- cpuidle_remove_device_sysfs(9)removes device specific sysfs attributes✨
- cpuidle_remove_driver_sysfs(9)removes the driver name sysfs attribute✨
- cpuidle_remove_interface(9)remove CPU global sysfs attributes✨
- cpuidle_remove_state_sysfs(9)removes the cpuidle states sysfs attributes✨
- cpuidle_remove_sysfs(9)deletes a sysfs instance on the target device✨
- cpuidle_resume_and_unlock(9)resumes CPUIDLE operation✨
- cpuidle_select(9)ask the cpuidle framework to choose an idle state✨
- cpuidle_setup_broadcast_timer(9)enable/disable the broadcast timer on a cpu✨
- cpuidle_state_is_coupled(9)check if a state is part of a coupled set✨
- cpuidle_switch_governor(9)changes the governor✨
- cpuidle_uninstall_idle_handler(9)uninstalls the cpuidle idle loop handler✨
- cpuidle_unregister(9)unregister a driver and the devices. This function can be used only if the driver has been previously registered through the cpuidle_register function.✨
- cpuidle_unregister_device(9)unregisters a CPU's idle PM feature✨
- cpuidle_unregister_driver(9)unregisters a driver✨
- cpuidle_use_deepest_state(9)Set/unset governor override mode.✨
- cpulist_parse(9)extract a cpumask from a user string of ranges✨
- cpumap_print_bitmask_to_buf(9)copies the cpumask into the buffer as hex values of cpumask✨
- cpumap_print_list_to_buf(9)copies the cpumask into the buffer as comma- separated list of cpus✨
- cpumask_and(9)*dstp = *src1p & *src2p✨
- cpumask_andnot(9)*dstp = *src1p & ~*src2p✨
- cpumask_any(9)pick an arbitrary cpu from *srcp✨
- cpumask_any_and(9)pick an arbitrary cpu from *mask1 & *mask2✨
- cpumask_any_and_but(9)pick an arbitrary cpu from *mask1 & *mask2, but not this one.✨
- cpumask_any_and_distribute(9)Return an arbitrary cpu within src1p & src2p.✨
- cpumask_any_andnot_but(9)pick an arbitrary cpu from *mask1 & ~*mask2, but not this one.✨
- cpumask_any_but(9)return an arbitrary cpu in a cpumask, but not this one.✨
- cpumask_any_distribute(9)Return an arbitrary cpu from srcp✨
- cpumask_any_housekeeping(9)Choose any CPU in @mask, preferring those that aren't marked nohz_full✨
- cpumask_bits(9)get the bits in a cpumask✨
- cpumask_clear(9)clear all cpus (< nr_cpu_ids) in a cpumask✨
- cpumask_clear_cpu(9)clear a cpu in a cpumask✨
- cpumask_clear_cpus(9)clear cpus in a cpumask✨
- cpumask_copy(9)*dstp = *srcp✨
- cpumask_empty(9)*srcp == 0✨
- cpumask_equal(9)*src1p == *src2p✨
- cpumask_first(9)get the first cpu in a cpumask✨
- cpumask_first_and(9)return the first cpu from *srcp1 & *srcp2✨
- cpumask_first_and_and(9)return the first cpu from *srcp1 & *srcp2 & *srcp3✨
- cpumask_first_andnot(9)return the first cpu from *srcp1 & ~*srcp2✨
- cpumask_first_zero(9)get the first unset cpu in a cpumask✨
- cpumask_full(9)*srcp == 0xFFFFFFFF...✨
- cpumask_intersects(9)(*src1p & *src2p) != 0✨
- cpumask_last(9)get the last CPU in a cpumask✨
- cpumask_local_spread(9)select the i'th cpu based on NUMA distances✨
- cpumask_next(9)get the next cpu in a cpumask✨
- cpumask_next_and(9)get the next cpu in *src1p & *src2p✨
- cpumask_next_and_wrap(9)get the next cpu in *src1p & *src2p, starting from @n+1. If nothing found, wrap around and start from the beginning✨
- cpumask_next_andnot(9)get the next cpu in *src1p & ~*src2p✨
- cpumask_next_wrap(9)get the next cpu in *src, starting from @n+1. If nothing found, wrap around and start from the beginning✨
- cpumask_next_zero(9)get the next unset cpu in a cpumask✨
- cpumask_nth(9)get the Nth cpu in a cpumask✨
- cpumask_nth_and(9)get the Nth cpu in 2 cpumasks✨
- cpumask_nth_and_andnot(9)get the Nth cpu set in 1st and 2nd cpumask, and clear in 3rd.✨
- cpumask_of(9)the cpumask containing just a given cpu✨
- cpumask_or(9)*dstp = *src1p | *src2p✨
- cpumask_or_equal(9)*src1p | *src2p == *src3p✨
- cpumask_parse(9)extract a cpumask from a string✨
- cpumask_parse_user(9)extract a cpumask from a user string✨
- cpumask_parselist_user(9)extract a cpumask from a user string✨
- cpumask_pr_args(9)printf args to output a cpumask✨
- cpumask_random(9)get random cpu in *src.✨
- cpumask_set_cpu(9)set a cpu in a cpumask✨
- cpumask_setall(9)set all cpus (< nr_cpu_ids) in a cpumask✨
- cpumask_shift_left(9)*dstp = *srcp << n✨
- cpumask_shift_right(9)*dstp = *srcp >> n✨
- cpumask_size(9)calculate size to allocate for a 'struct cpumask' in bytes✨
- cpumask_subset(9)(*src1p & ~*src2p) == 0✨
- cpumask_test_and_clear_cpu(9)atomically test and clear a cpu in a cpumask✨
- cpumask_test_and_set_cpu(9)atomically test and set a cpu in a cpumask✨
- cpumask_test_cpu(9)test for a cpu in a cpumask✨
- cpumask_weight(9)Count of bits in *srcp✨
- cpumask_weight_and(9)Count of bits in (*srcp1 & *srcp2)✨
- cpumask_weight_andnot(9)Count of bits in (*srcp1 & ~*srcp2)✨
- cpumask_weighted_or(9)*dstp = *src1p | *src2p and return the weight of the result✨
- cpumask_xor(9)*dstp = *src1p ^ *src2p✨
- cpumem_get(9)per CPU memory allocations✨
- cpupri_cleanup(9)clean up the cpupri structure✨
- cpupri_find_fitness(9)find the best (lowest-pri) CPU in the system✨
- cpupri_init(9)initialize the cpupri structure✨
- cpupri_set(9)update the CPU priority setting✨
- cpus_excl_conflict(9)Check if two cpusets have exclusive CPU conflicts✨
- cpus_peek_for_pending_ipi(9)Check for pending IPI for CPUs✨
- cpuset(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…✨
- cpuset(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…✨
- cpuset1_update_tasks_flags(9)update the page spread flag of cpuset tasks✨
- cpuset_cpus_allowed(9)return cpus_allowed mask from a task's cpuset.✨
- cpuset_cpus_allowed_fallback(9)final fallback before complete catastrophe.✨
- cpuset_cpus_allowed_locked(9)return cpus_allowed mask from a task's cpuset.✨
- cpuset_css_alloc(9)Allocate a cpuset css✨
- cpuset_for_each_child(9)traverse online children of a cpuset✨
- cpuset_for_each_descendant_pre(9)pre-order walk of a cpuset's descendants✨
- CPUSET_FSET(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…✨
- CPUSET_FSET(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…✨
- cpuset_full_lock(9)Acquire full protection for cpuset modification✨
- cpuset_handle_hotplug(9)handle CPU/memory hot{,un}plug for a cpuset✨
- cpuset_hotplug_update_tasks(9)update tasks in a cpuset for hotunplug✨
- cpuset_init(9)initialize cpusets at system boot✨
- cpuset_init_smp(9)initialize cpus_allowed✨
- cpuset_lock(9)Acquire the global cpuset mutex✨
- cpuset_mem_spread_node(9)On which node to begin search for a file page✨
- cpuset_mems_allowed(9)return mems_allowed mask from a tasks cpuset.✨
- cpuset_mems_allowed_intersects(9)Does @tsk1's mems_allowed intersect @tsk2's?✨
- cpuset_nodemask_valid_mems_allowed(9)check nodemask vs. current mems_allowed✨
- cpuset_nodes_allowed(9)return effective_mems mask from a cgroup cpuset.✨
- cpuset_print_current_mems_allowed(9)prints current's cpuset and mems_allowed✨
- cpuset_spread_node(9)On which node to begin search for a page✨
- CPUSET_T_INITIALIZER(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…✨
- CPUSET_T_INITIALIZER(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…✨
- cpuset_update_tasks_cpumask(9)Update the cpumasks of tasks in the cpuset.✨
- cpuset_update_tasks_nodemask(9)Update the nodemasks of tasks in the cpuset.✨
- cqhci_crypto_init(9)initialize CQHCI crypto support✨
- cqm_setup_limbo_handler(9)Schedule the limbo handler to run for this domain.✨
- cqp_compl_worker(9)Handle cqp completions✨
- cqp_sds_wqe_fill(9)fill cqp wqe doe sd✨
- cr_bsd_visible(9)determine if subjects may see entities according to BSD security policies✨
- cr_cansee(9)determine visibility of objects given their user credentials✨
- cr_cansee(9freebsd)determine visibility of objects given their user credentials✨
- cr_canseejailproc(9)determine if subjects may see entities in sub-jails✨
- cr_canseeothergids(9)determine if subjects may see entities in a disjoint group set✨
- cr_canseeotheruids(9)determine if subjects may see entities with differing user ID✨
- cr_seeothergids(9freebsd)determine visibility of objects given their group memberships✨
- cr_seeotheruids(9freebsd)determine visibility of objects given their user credentials✨
- crash_exclude_mem_range(9)exclude a mem range for existing ranges✨
- crash_setup_regs(9)save registers for the panic kernel✨
- crashme(9)in-kernel testing of crash handling✨
- CRC ABI(9)✨
- crc16(9)compute the CRC-16 for the data buffer✨
- crc32_be(9)Compute most-significant-bit-first IEEE CRC-32✨
- crc32_be_vgfm_16(9)Compute CRC-32 (BE variant) with vector registers✨
- crc32_le(9)Compute least-significant-bit-first IEEE CRC-32✨
- crc32_le_vgfm_generic(9)Compute CRC-32 (LE variant) with vector registers✨
- crc32_posix_end(9)Finalize POSIX CRC32 working state✨
- crc32c(9)Compute CRC-32C✨
- crc32init_be(9)allocate and initialize BE table data✨
- crc4(9)calculate the 4-bit crc of a value.✨
- crc64_be(9)Calculate bitwise big-endian ECMA-182 CRC64✨
- crc64_nvme(9)Calculate CRC64-NVME✨
- crc7_be(9)update the CRC7 for the data buffer✨
- crc8(9)calculate a crc8 over the given input data.✨
- crc8_populate_lsb(9)fill crc table for given polynomial in regular bit order.✨
- crc8_populate_msb(9)fill crc table for given polynomial in reverse bit order.✨
- crc_ccitt(9)recompute the CRC (CRC-CCITT variant) for the data buffer✨
- crc_itu_t(9)Compute the CRC-ITU-T for the data buffer✨
- crcopy(9)functions related to user credentials✨
- crcopy(9freebsd)functions related to user credentials✨
- crcopysafe(9)functions related to user credentials✨
- crcopysafe(9freebsd)functions related to user credentials✨
- crdte(9)Compare and Replace DAT Table Entry✨
- crdup(9)functions related to user credentials✨
- crdup(9freebsd)functions related to user credentials✨
- create_aapl_rsp_buf(9)build AAPL kAAPL_SERVER_QUERY response✨
- create_and_get_cgroup(9)Create a cgroup, relative to workdir, and get the FD✨
- create_attributes_level_sysfs_files(9)Creates reset_bios and pending_reboot attributes✨
- create_basic_memory_bitmaps(9)Create bitmaps to hold basic page information.✨
- create_bbt(9)[GENERIC] Create a bad block table by scanning the device✨
- create_cipher_wr(9)form the WR for cipher operations✨
- create_debugfs(9)create a blob debugfs entry✨
- create_default_filesystem(9)format empty UBI volume.✨
- create_dmamap_sg_bo(9)Creates a amdgpu_bo object to reflect information about USERPTR or DOOREBELL or MMIO BO.✨
- create_durable_rsp_buf(9)create durable handle context✨
- create_durable_v2_rsp_buf(9)create durable handle v2 context✨
- create_empty_lvol(9)create empty layout volume.✨
- create_field_var_hist(9)Automatically create a histogram and var for a field✨
- create_filter(9)create a filter for a trace_event_call✨
- create_hash_wr(9)Create hash work request✨
- create_hdev(9)create habanalabs device instance✨
- create_hdr_descs(9)create header and header extension descriptors✨
- create_hyp_exec_mappings(9)Map an executable range into HYP✨
💅
getting it ready, bestie…