/kernel/linux/linux-6.6/tools/lib/bpf/ |
H A D | bpf.h | 347 * *prog_fd* to a *target* which can represent a file descriptor or netdevice 351 * @param target attach location file descriptor or ifindex 357 LIBBPF_API int bpf_prog_attach_opts(int prog_fd, int target, 363 * *prog_fd* from a *target* which can represent a file descriptor or netdevice 367 * @param target detach location file descriptor or ifindex 373 LIBBPF_API int bpf_prog_detach_opts(int prog_fd, int target, 573 * which are attached to *target* which can represent a file descriptor or 576 * @param target query location file descriptor or ifindex 582 LIBBPF_API int bpf_prog_query_opts(int target, enum bpf_attach_type type,
|
/kernel/linux/linux-5.10/arch/sparc/mm/ |
H A D | init_64.c | 1114 u64 target = mdesc_arc_target(md, arc); in scan_pio_for_cfg_handle() local 1117 val = mdesc_get_property(md, target, in scan_pio_for_cfg_handle() 1132 u64 target = mdesc_arc_target(md, arc); in scan_arcs_for_cfg_handle() local 1133 const char *name = mdesc_node_name(md, target); in scan_arcs_for_cfg_handle() 1139 val = mdesc_get_property(md, target, "latency", NULL); in scan_arcs_for_cfg_handle() 1144 candidate = target; in scan_arcs_for_cfg_handle() 1317 u64 target = mdesc_arc_target(md, arc); in numa_parse_mdesc_group_cpus() local 1318 const char *name = mdesc_node_name(md, target); in numa_parse_mdesc_group_cpus() 1323 id = mdesc_get_property(md, target, "id", NULL); in numa_parse_mdesc_group_cpus() 1372 u64 target in find_numa_latencies_for_group() local 1392 u64 target = mdesc_arc_target(md, arc); numa_attach_mlgroup() local [all...] |
/kernel/linux/linux-5.10/drivers/cpufreq/ |
H A D | intel_pstate.c | 163 * This data is used in Atom platforms, where in addition to target P state, 751 * target CPU before the EPP update and restarted after it, in store_energy_performance_preference() 1915 int target, avg_pstate; in get_target_pstate() local 1925 target = global.no_turbo || global.turbo_disabled ? in get_target_pstate() 1927 target += target >> 2; in get_target_pstate() 1928 target = mul_fp(target, busy_frac); in get_target_pstate() 1929 if (target < cpu->pstate.min_pstate) in get_target_pstate() 1930 target in get_target_pstate() [all...] |
/kernel/linux/linux-6.6/arch/sparc/mm/ |
H A D | init_64.c | 1130 u64 target = mdesc_arc_target(md, arc); in scan_pio_for_cfg_handle() local 1133 val = mdesc_get_property(md, target, in scan_pio_for_cfg_handle() 1148 u64 target = mdesc_arc_target(md, arc); in scan_arcs_for_cfg_handle() local 1149 const char *name = mdesc_node_name(md, target); in scan_arcs_for_cfg_handle() 1155 val = mdesc_get_property(md, target, "latency", NULL); in scan_arcs_for_cfg_handle() 1160 candidate = target; in scan_arcs_for_cfg_handle() 1333 u64 target = mdesc_arc_target(md, arc); in numa_parse_mdesc_group_cpus() local 1334 const char *name = mdesc_node_name(md, target); in numa_parse_mdesc_group_cpus() 1339 id = mdesc_get_property(md, target, "id", NULL); in numa_parse_mdesc_group_cpus() 1388 u64 target in find_numa_latencies_for_group() local 1408 u64 target = mdesc_arc_target(md, arc); numa_attach_mlgroup() local [all...] |
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/ |
H A D | mr.c | 293 static int resize_available_mrs(struct mlx5_cache_ent *ent, unsigned int target, in resize_available_mrs() argument 302 target = ent->limit * 2; in resize_available_mrs() 303 if (target == ent->available_mrs + ent->pending) in resize_available_mrs() 305 if (target > ent->available_mrs + ent->pending) { in resize_available_mrs() 306 u32 todo = target - (ent->available_mrs + ent->pending); in resize_available_mrs() 328 u32 target; in size_write() local 331 err = kstrtou32_from_user(buf, count, 0, &target); in size_write() 337 * cannot free MRs that are in use. Compute the target value for in size_write() 341 if (target < ent->total_mrs - ent->available_mrs) { in size_write() 345 target in size_write() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gem/ |
H A D | i915_gem_execbuffer.c | 138 * all the target addresses in all of its objects match the value in the 193 * by comparing the expected value inside the relocation entry with the target's 978 const struct i915_vma *target) in relocation_target() 980 return gen8_canonical_addr((int)reloc->delta + target->node.start); in relocation_target() 1540 const struct i915_vma *target) in relocate_entry() 1542 u64 target_addr = relocation_target(reloc, target); in relocate_entry() 1572 return target->node.start | UPDATE; in relocate_entry() 1581 struct eb_vma *target; in eb_relocate_entry() local 1585 target = eb_get_vma(eb, reloc->target_handle); in eb_relocate_entry() 1586 if (unlikely(!target)) in eb_relocate_entry() 977 relocation_target(const struct drm_i915_gem_relocation_entry *reloc, const struct i915_vma *target) relocation_target() argument 1537 relocate_entry(struct i915_vma *vma, const struct drm_i915_gem_relocation_entry *reloc, struct i915_execbuffer *eb, const struct i915_vma *target) relocate_entry() argument [all...] |
/kernel/linux/linux-6.6/fs/gfs2/ |
H A D | glock.c | 63 static void do_xmote(struct gfs2_glock *gl, struct gfs2_holder *gh, unsigned int target); 665 * @target: The target lock state 670 unsigned int target) 679 if (target != LM_ST_UNLOCKED && glock_blocked_by_withdraw(gl) && 684 GLOCK_BUG_ON(gl, gl->gl_state == target); 686 if ((target == LM_ST_UNLOCKED || target == LM_ST_DEFERRED) && 698 gl->gl_req = target; 733 glops->go_inval(gl, target [all...] |
/kernel/linux/linux-6.6/drivers/cpufreq/ |
H A D | intel_pstate.c | 158 * This data is used in Atom platforms, where in addition to target P state, 869 * target CPU before the EPP update and restarted after it, in store_energy_performance_preference() 2258 int target, avg_pstate; in get_target_pstate() local 2268 target = global.no_turbo || global.turbo_disabled ? in get_target_pstate() 2270 target += target >> 2; in get_target_pstate() 2271 target = mul_fp(target, busy_frac); in get_target_pstate() 2272 if (target < cpu->pstate.min_pstate) in get_target_pstate() 2273 target in get_target_pstate() [all...] |
/kernel/linux/linux-6.6/drivers/infiniband/hw/mlx5/ |
H A D | mr.c | 395 static int resize_available_mrs(struct mlx5_cache_ent *ent, unsigned int target, 405 target = ent->limit * 2; 406 if (target == ent->reserved) 408 if (target > ent->reserved) { 409 u32 todo = target - ent->reserved; 431 u32 target; in size_write() local 434 err = kstrtou32_from_user(buf, count, 0, &target); in size_write() 440 * cannot free MRs that are in use. Compute the target value for stored in size_write() 444 if (target < ent->in_use) { in size_write() 448 target in size_write() [all...] |
/kernel/linux/linux-5.10/drivers/scsi/ |
H A D | ipr.h | 332 u8 target; member 335 (((res_addr).bus << 16) | ((res_addr).target << 8) | (res_addr).lun) 1298 u32 target; /* AKA id */ member 1306 (((res)->bus << 24) | ((res)->target << 8) | (res)->lun) 1492 * Bitmaps for SIS64 generated target values 1782 #define ipr_res_printk(level, ioa_cfg, bus, target, lun, fmt, ...) \ 1784 bus, target, lun, ##__VA_ARGS__) 1787 ipr_res_printk(KERN_ERR, ioa_cfg, (res)->bus, (res)->target, (res)->lun, fmt, ##__VA_ARGS__) 1791 (ra).bus, (ra).target, (ra).lun, ##__VA_ARGS__) 1803 (res).bus, (res).target, (re [all...] |
H A D | scsi_debug.c | 110 /* With these defaults, this driver will make 1 host with 1 target 282 unsigned int target; member 1062 (devip->target == dp->target)) in clear_luns_changed_on_target() 1120 * on the target, until a REPORT LUNS command is in make_ua() 1260 arr[num++] = 0x94; /* PIV=1, target port, rel port */ in inquiry_vpd_83() 1270 arr[num++] = 0x93; /* piv=1, target port, naa */ in inquiry_vpd_83() 1277 arr[num++] = 0x95; /* piv=1, target port group id */ in inquiry_vpd_83() 1286 arr[num++] = 0xa3; /* piv=1, target device, naa */ in inquiry_vpd_83() 1293 arr[num++] = 0xa8; /* piv=1, target devic in inquiry_vpd_83() 2158 resp_err_recov_pg(unsigned char *p, int pcontrol, int target) resp_err_recov_pg() argument 2169 resp_disconnect_pg(unsigned char *p, int pcontrol, int target) resp_disconnect_pg() argument 2180 resp_format_pg(unsigned char *p, int pcontrol, int target) resp_format_pg() argument 2200 resp_caching_pg(unsigned char *p, int pcontrol, int target) resp_caching_pg() argument 2220 resp_ctrl_m_pg(unsigned char *p, int pcontrol, int target) resp_ctrl_m_pg() argument 2244 resp_iec_m_pg(unsigned char *p, int pcontrol, int target) resp_iec_m_pg() argument 2259 resp_sas_sf_m_pg(unsigned char *p, int pcontrol, int target) resp_sas_sf_m_pg() argument 2271 resp_sas_pcd_m_spg(unsigned char *p, int pcontrol, int target, int target_dev_id) resp_sas_pcd_m_spg() argument 2325 int target = scp->device->id; resp_mode_sense() local [all...] |
/kernel/linux/linux-5.10/drivers/staging/rtl8712/ |
H A D | rtl871x_mlme.c | 333 struct wlan_bssid_ex *target) in update_scanned_network() 351 if (is_same_network(&pnetwork->network, target)) in update_scanned_network() 369 target->Rssi = (pnetwork->network.Rssi + in update_scanned_network() 370 target->Rssi) / 2; in update_scanned_network() 371 memcpy(&pnetwork->network, target, in update_scanned_network() 372 r8712_get_wlan_bssid_ex_sz(target)); in update_scanned_network() 380 bssid_ex_sz = r8712_get_wlan_bssid_ex_sz(target); in update_scanned_network() 381 target->Length = bssid_ex_sz; in update_scanned_network() 382 memcpy(&pnetwork->network, target, bssid_ex_sz); in update_scanned_network() 391 update_network(&pnetwork->network, target, adapte in update_scanned_network() 332 update_scanned_network(struct _adapter *adapter, struct wlan_bssid_ex *target) update_scanned_network() argument [all...] |
/kernel/linux/linux-5.10/security/apparmor/ |
H A D | apparmorfs.c | 101 * @target: buffer to store mangled name, same length as @name (MAYBE NULL) 105 static int mangle_name(const char *name, char *target) in mangle_name() argument 107 char *t = target; in mangle_name() 112 if (target) { in mangle_name() 134 return t - target; in mangle_name() 207 * @link: if symlink, symlink target string 252 * @link: if symlink, symlink target string 1613 char *target; in rawdata_get_link_base() local 1622 target = gen_symlink_name(depth, profile->rawdata->name, name); in rawdata_get_link_base() 1625 if (IS_ERR(target)) in rawdata_get_link_base() [all...] |
/kernel/linux/linux-5.10/net/appletalk/ |
H A D | ddp.c | 424 static struct atalk_route *atrtr_find(struct atalk_addr *target) in atrtr_find() argument 439 if (r->target.s_net == target->s_net) { in atrtr_find() 442 * if this host route is for the target, in atrtr_find() 445 if (r->target.s_node == target->s_node) in atrtr_find() 520 if (ta->sat_addr.s_net == rt->target.s_net) { in atrtr_create() 523 if (ta->sat_addr.s_node == rt->target.s_node) in atrtr_create() 565 rt->target = ta->sat_addr; in atrtr_create() 587 if (tmp->target in atrtr_delete() [all...] |
/kernel/linux/linux-6.6/drivers/staging/rtl8712/ |
H A D | rtl871x_mlme.c | 332 struct wlan_bssid_ex *target) in update_scanned_network() 350 if (is_same_network(&pnetwork->network, target)) in update_scanned_network() 367 target->Rssi = (pnetwork->network.Rssi + in update_scanned_network() 368 target->Rssi) / 2; in update_scanned_network() 369 memcpy(&pnetwork->network, target, in update_scanned_network() 370 r8712_get_wlan_bssid_ex_sz(target)); in update_scanned_network() 378 bssid_ex_sz = r8712_get_wlan_bssid_ex_sz(target); in update_scanned_network() 379 target->Length = bssid_ex_sz; in update_scanned_network() 380 memcpy(&pnetwork->network, target, bssid_ex_sz); in update_scanned_network() 389 update_network(&pnetwork->network, target, adapte in update_scanned_network() 331 update_scanned_network(struct _adapter *adapter, struct wlan_bssid_ex *target) update_scanned_network() argument [all...] |
/kernel/linux/linux-6.6/drivers/nvme/target/ |
H A D | configfs.c | 3 * Configfs interface for the NVMe target. 834 struct config_item *target) in nvmet_port_subsys_allow_link() 841 if (target->ci_type != &nvmet_subsys_type) { in nvmet_port_subsys_allow_link() 845 subsys = to_subsys(target); in nvmet_port_subsys_allow_link() 877 struct config_item *target) in nvmet_port_subsys_drop_link() 880 struct nvmet_subsys *subsys = to_subsys(target); in nvmet_port_subsys_drop_link() 913 struct config_item *target) in nvmet_allowed_hosts_allow_link() 920 if (target->ci_type != &nvmet_host_type) { in nvmet_allowed_hosts_allow_link() 925 host = to_host(target); in nvmet_allowed_hosts_allow_link() 955 struct config_item *target) in nvmet_allowed_hosts_drop_link() 833 nvmet_port_subsys_allow_link(struct config_item *parent, struct config_item *target) nvmet_port_subsys_allow_link() argument 876 nvmet_port_subsys_drop_link(struct config_item *parent, struct config_item *target) nvmet_port_subsys_drop_link() argument 912 nvmet_allowed_hosts_allow_link(struct config_item *parent, struct config_item *target) nvmet_allowed_hosts_allow_link() argument 954 nvmet_allowed_hosts_drop_link(struct config_item *parent, struct config_item *target) nvmet_allowed_hosts_drop_link() argument [all...] |
/kernel/linux/linux-6.6/security/apparmor/ |
H A D | apparmorfs.c | 104 * @target: buffer to store mangled name, same length as @name (MAYBE NULL) 108 static int mangle_name(const char *name, char *target) in mangle_name() argument 110 char *t = target; in mangle_name() 115 if (target) { in mangle_name() 137 return t - target; in mangle_name() 210 * @link: if symlink, symlink target string 255 * @link: if symlink, symlink target string 1632 char *target; in rawdata_get_link_base() local 1641 target = gen_symlink_name(depth, profile->rawdata->name, name); in rawdata_get_link_base() 1644 if (IS_ERR(target)) in rawdata_get_link_base() [all...] |
/kernel/linux/linux-6.6/drivers/scsi/ |
H A D | ipr.h | 329 u8 target; member 332 (((res_addr).bus << 16) | ((res_addr).target << 8) | (res_addr).lun) 1239 u32 target; /* AKA id */ member 1247 (((res)->bus << 24) | ((res)->target << 8) | (res)->lun) 1432 * Bitmaps for SIS64 generated target values 1719 #define ipr_res_printk(level, ioa_cfg, bus, target, lun, fmt, ...) \ 1721 bus, target, lun, ##__VA_ARGS__) 1724 ipr_res_printk(KERN_ERR, ioa_cfg, (res)->bus, (res)->target, (res)->lun, fmt, ##__VA_ARGS__) 1728 (ra).bus, (ra).target, (ra).lun, ##__VA_ARGS__) 1740 (res).bus, (res).target, (re [all...] |
H A D | scsi_debug.c | 111 /* With these defaults, this driver will make 1 host with 1 target 291 unsigned int target; member 1062 (devip->target == dp->target)) { in clear_luns_changed_on_target() 1125 * on the target, until a REPORT LUNS command is in make_ua() 1265 arr[num++] = 0x94; /* PIV=1, target port, rel port */ in inquiry_vpd_83() 1275 arr[num++] = 0x93; /* piv=1, target port, naa */ in inquiry_vpd_83() 1282 arr[num++] = 0x95; /* piv=1, target port group id */ in inquiry_vpd_83() 1291 arr[num++] = 0xa3; /* piv=1, target device, naa */ in inquiry_vpd_83() 1298 arr[num++] = 0xa8; /* piv=1, target devic in inquiry_vpd_83() 2167 resp_err_recov_pg(unsigned char *p, int pcontrol, int target) resp_err_recov_pg() argument 2178 resp_disconnect_pg(unsigned char *p, int pcontrol, int target) resp_disconnect_pg() argument 2189 resp_format_pg(unsigned char *p, int pcontrol, int target) resp_format_pg() argument 2209 resp_caching_pg(unsigned char *p, int pcontrol, int target) resp_caching_pg() argument 2229 resp_ctrl_m_pg(unsigned char *p, int pcontrol, int target) resp_ctrl_m_pg() argument 2253 resp_iec_m_pg(unsigned char *p, int pcontrol, int target) resp_iec_m_pg() argument 2268 resp_sas_sf_m_pg(unsigned char *p, int pcontrol, int target) resp_sas_sf_m_pg() argument 2280 resp_sas_pcd_m_spg(unsigned char *p, int pcontrol, int target, int target_dev_id) resp_sas_pcd_m_spg() argument 2334 int target = scp->device->id; resp_mode_sense() local [all...] |
/kernel/linux/linux-6.6/net/appletalk/ |
H A D | ddp.c | 424 static struct atalk_route *atrtr_find(struct atalk_addr *target) in atrtr_find() argument 439 if (r->target.s_net == target->s_net) { in atrtr_find() 442 * if this host route is for the target, in atrtr_find() 445 if (r->target.s_node == target->s_node) in atrtr_find() 520 if (ta->sat_addr.s_net == rt->target.s_net) { in atrtr_create() 523 if (ta->sat_addr.s_node == rt->target.s_node) in atrtr_create() 565 rt->target = ta->sat_addr; in atrtr_create() 587 if (tmp->target in atrtr_delete() [all...] |
/kernel/linux/linux-5.10/kernel/sched/ |
H A D | fair.c | 1764 * be improved if the source tasks was migrated to the target dst_cpu taking 6202 int target = nr_cpumask_bits; in wake_affine() local 6205 target = wake_affine_idle(this_cpu, prev_cpu, sync); in wake_affine() 6207 if (sched_feat(WA_WEIGHT) && target == nr_cpumask_bits) in wake_affine() 6208 target = wake_affine_weight(sd, p, this_cpu, prev_cpu, sync); in wake_affine() 6211 if (target == nr_cpumask_bits) in wake_affine() 6216 return target; in wake_affine() 6392 static int select_idle_core(struct task_struct *p, struct sched_domain *sd, int target) in select_idle_core() argument 6400 if (!test_idle_cores(target, false)) in select_idle_core() 6408 for_each_cpu_wrap(core, cpus, target) { in select_idle_core() 6434 select_idle_smt(struct task_struct *p, struct sched_domain *sd, int target) select_idle_smt() argument 6456 select_idle_core(struct task_struct *p, struct sched_domain *sd, int target) select_idle_core() argument 6461 select_idle_smt(struct task_struct *p, struct sched_domain *sd, int target) select_idle_smt() argument 6473 select_idle_cpu(struct task_struct *p, struct sched_domain *sd, int target) select_idle_cpu() argument 6529 select_idle_capacity(struct task_struct *p, struct sched_domain *sd, int target) select_idle_capacity() argument 6576 select_idle_sibling(struct task_struct *p, int prev, int target) select_idle_sibling() argument [all...] |
/kernel/linux/linux-5.10/drivers/acpi/acpica/ |
H A D | exconfig.c | 252 * target - Where a handle to the table will be stored 269 union acpi_operand_object *target, in acpi_ex_load_op() 447 status = acpi_ex_store(ddb_handle, target, walk_state); in acpi_ex_load_op() 268 acpi_ex_load_op(union acpi_operand_object *obj_desc, union acpi_operand_object *target, struct acpi_walk_state *walk_state) acpi_ex_load_op() argument
|
H A D | tbfadt.c | 112 struct acpi_generic_address *target; member 713 target, source64->space_id, in acpi_tb_setup_fadt_registers()
|
/kernel/linux/linux-5.10/arch/alpha/include/asm/ |
H A D | core_wildfire.h | 127 wildfire_64 target; member 176 wildfire_64 target; member
|
/kernel/linux/linux-5.10/arch/riscv/kernel/ |
H A D | sbi.c | 363 * @hart_mask: A cpu mask containing all the target harts. 375 * @hart_mask: A cpu mask containing all the target harts. 389 * @hart_mask: A cpu mask containing all the target harts. 408 * @hart_mask: A cpu mask containing all the target harts. 428 * @hart_mask: A cpu mask containing all the target harts. 447 * @hart_mask: A cpu mask containing all the target harts. 467 * @hart_mask: A cpu mask containing all the target harts. 487 * @hart_mask: A cpu mask containing all the target harts. 550 static void sbi_send_cpumask_ipi(const struct cpumask *target) in sbi_send_cpumask_ipi() argument 554 riscv_cpuid_to_hartid_mask(target, in sbi_send_cpumask_ipi() [all...] |