Home
last modified time | relevance | path

Searched refs:wanted (Results 1 – 25 of 132) sorted by relevance

123456

/linux-6.6.21/arch/alpha/kernel/
Dgct.c16 gct6_search_struct *wanted; in gct6_find_nodes() local
26 for (wanted = search; in gct6_find_nodes()
27 wanted && (wanted->type | wanted->subtype); in gct6_find_nodes()
28 wanted++) { in gct6_find_nodes()
29 if (node->type != wanted->type) in gct6_find_nodes()
31 if (node->subtype != wanted->subtype) in gct6_find_nodes()
35 if (wanted->callout) in gct6_find_nodes()
36 wanted->callout(node); in gct6_find_nodes()
/linux-6.6.21/lib/
Dtest_sysctl.c142 int wanted; in test_sysctl_calc_match_int_ok() member
144 {.defined = *(int *)SYSCTL_ZERO, .wanted = 0}, in test_sysctl_calc_match_int_ok()
145 {.defined = *(int *)SYSCTL_ONE, .wanted = 1}, in test_sysctl_calc_match_int_ok()
146 {.defined = *(int *)SYSCTL_TWO, .wanted = 2}, in test_sysctl_calc_match_int_ok()
147 {.defined = *(int *)SYSCTL_THREE, .wanted = 3}, in test_sysctl_calc_match_int_ok()
148 {.defined = *(int *)SYSCTL_FOUR, .wanted = 4}, in test_sysctl_calc_match_int_ok()
149 {.defined = *(int *)SYSCTL_ONE_HUNDRED, .wanted = 100}, in test_sysctl_calc_match_int_ok()
150 {.defined = *(int *)SYSCTL_TWO_HUNDRED, .wanted = 200}, in test_sysctl_calc_match_int_ok()
151 {.defined = *(int *)SYSCTL_ONE_THOUSAND, .wanted = 1000}, in test_sysctl_calc_match_int_ok()
152 {.defined = *(int *)SYSCTL_THREE_THOUSAND, .wanted = 3000}, in test_sysctl_calc_match_int_ok()
[all …]
/linux-6.6.21/fs/ocfs2/
Dreservations.c400 unsigned int wanted, in ocfs2_resmap_find_free_bits() argument
411 wanted, resmap->m_bitmap_len); in ocfs2_resmap_find_free_bits()
437 if (found >= wanted) in ocfs2_resmap_find_free_bits()
444 if (best_len >= wanted) in ocfs2_resmap_find_free_bits()
445 best_len = wanted; in ocfs2_resmap_find_free_bits()
457 unsigned int goal, unsigned int wanted) in __ocfs2_resv_find_window() argument
475 goal, wanted, RB_EMPTY_ROOT(root)); in __ocfs2_resv_find_window()
484 clen = ocfs2_resmap_find_free_bits(resmap, wanted, goal, in __ocfs2_resv_find_window()
537 clen = ocfs2_resmap_find_free_bits(resmap, wanted, goal, in __ocfs2_resv_find_window()
543 if (best_len == wanted) in __ocfs2_resv_find_window()
[all …]
/linux-6.6.21/drivers/media/pci/bt8xx/
Dbttv-gpio.c34 int len = strlen(sub->wanted); in bttv_sub_bus_match()
36 if (0 == strncmp(dev_name(dev), sub->wanted, len)) in bttv_sub_bus_match()
110 int bttv_sub_register(struct bttv_sub_driver *sub, char *wanted) in bttv_sub_register() argument
113 snprintf(sub->wanted,sizeof(sub->wanted),"%s",wanted); in bttv_sub_register()
/linux-6.6.21/drivers/mmc/host/
Ddw_mmc-exynos.c279 static void dw_mci_exynos_adjust_clock(struct dw_mci *host, unsigned int wanted) in dw_mci_exynos_adjust_clock() argument
289 if (!wanted || IS_ERR(host->ciu_clk)) in dw_mci_exynos_adjust_clock()
293 if (wanted < EXYNOS_CCLKIN_MIN) in dw_mci_exynos_adjust_clock()
294 wanted = EXYNOS_CCLKIN_MIN; in dw_mci_exynos_adjust_clock()
296 if (wanted == priv->cur_speed) in dw_mci_exynos_adjust_clock()
300 ret = clk_set_rate(host->ciu_clk, wanted * div); in dw_mci_exynos_adjust_clock()
304 wanted * div, ret); in dw_mci_exynos_adjust_clock()
307 priv->cur_speed = wanted; in dw_mci_exynos_adjust_clock()
314 unsigned int wanted = ios->clock; in dw_mci_exynos_set_ios() local
322 wanted <<= 1; in dw_mci_exynos_set_ios()
[all …]
Dsdricoh_cs.c120 unsigned int wanted) in sdricoh_status_ok() argument
123 return status & wanted; in sdricoh_status_ok()
126 static int sdricoh_query_status(struct sdricoh_host *host, unsigned int wanted) in sdricoh_query_status() argument
133 sdricoh_status_ok(host, status, wanted), in sdricoh_query_status()
137 dev_err(dev, "query_status: timeout waiting for %x\n", wanted); in sdricoh_query_status()
143 dev_err(dev, "waiting for status bit %x failed\n", wanted); in sdricoh_query_status()
Dsdhci-s3c.c179 unsigned int wanted) in sdhci_s3c_consider_clock() argument
193 rate = clk_round_rate(clksrc, wanted); in sdhci_s3c_consider_clock()
194 return wanted - rate; in sdhci_s3c_consider_clock()
200 if ((rate >> shift) <= wanted) in sdhci_s3c_consider_clock()
207 src, rate, rate / 256, wanted); in sdhci_s3c_consider_clock()
212 src, rate, wanted, rate >> shift); in sdhci_s3c_consider_clock()
214 return wanted - (rate >> shift); in sdhci_s3c_consider_clock()
Ddw_mmc-k3.c300 unsigned long wanted; in dw_mci_hi3660_set_ios() local
307 wanted = ios->clock * (GENCLK_DIV + 1); in dw_mci_hi3660_set_ios()
308 ret = clk_set_rate(host->ciu_clk, wanted); in dw_mci_hi3660_set_ios()
310 dev_err(host->dev, "failed to set rate %luHz\n", wanted); in dw_mci_hi3660_set_ios()
/linux-6.6.21/net/ethtool/
Dfeatures.c14 u32 wanted[ETHTOOL_DEV_FEATURE_WORDS]; member
45 ethnl_features_to_bitmap32(data->wanted, dev->wanted_features); in features_prepare_data()
67 ret = ethnl_bitset32_size(data->wanted, NULL, NETDEV_FEATURE_COUNT, in features_reply_size()
99 ret = ethnl_put_bitset32(skb, ETHTOOL_A_FEATURES_WANTED, data->wanted, in features_fill_reply()
157 const unsigned long *wanted, in features_send_reply() argument
168 ret = ethnl_bitset_size(wanted, wanted_mask, NETDEV_FEATURE_COUNT, in features_send_reply()
186 ret = ethnl_put_bitset(rskb, ETHTOOL_A_FEATURES_WANTED, wanted, in features_send_reply()
/linux-6.6.21/drivers/gpu/drm/amd/amdkfd/
Dkfd_interrupt.c174 unsigned int wanted = 0; in interrupt_is_wanted() local
176 wanted |= dev->kfd->device_info.event_interrupt_class->interrupt_isr(dev, in interrupt_is_wanted()
179 return wanted != 0; in interrupt_is_wanted()
/linux-6.6.21/drivers/devfreq/
Dgovernor_userspace.c39 unsigned long wanted; in set_freq_store() local
45 sscanf(buf, "%lu", &wanted); in set_freq_store()
46 data->user_frequency = wanted; in set_freq_store()
/linux-6.6.21/Documentation/admin-guide/
Dnumastat.rst25 numa_hit A process wanted to allocate memory from this node,
28 numa_miss A process wanted to allocate memory from another node,
31 numa_foreign A process wanted to allocate on this node,
40 interleave_hit Interleaving wanted to allocate from this node
/linux-6.6.21/drivers/scsi/
Dimm.c46 unsigned wanted:1; /* Parport sharing busy flag */ member
80 if (dev->wanted) { in imm_wakeup()
83 dev->wanted = 0; in imm_wakeup()
98 dev->wanted = res; in imm_pb_claim()
106 int wanted; in imm_pb_dismiss() local
108 wanted = dev->wanted; in imm_pb_dismiss()
109 dev->wanted = 0; in imm_pb_dismiss()
111 if (!wanted) in imm_pb_dismiss()
1189 if (dev->wanted) { in __imm_attach()
Dppa.c39 unsigned wanted:1; /* Parport sharing busy flag */ member
80 if (dev->wanted) { in ppa_wakeup()
83 dev->wanted = 0; in ppa_wakeup()
98 dev->wanted = res; in ppa_pb_claim()
106 int wanted; in ppa_pb_dismiss() local
108 wanted = dev->wanted; in ppa_pb_dismiss()
109 dev->wanted = 0; in ppa_pb_dismiss()
111 if (!wanted) in ppa_pb_dismiss()
1080 if (dev->wanted) { in __ppa_attach()
/linux-6.6.21/drivers/net/wireless/silabs/wfx/
Ddata_tx.c73 static int wfx_tx_policy_find(struct wfx_tx_policy_cache *cache, struct wfx_tx_policy *wanted) in wfx_tx_policy_find() argument
78 if (wfx_tx_policy_is_equal(wanted, it)) in wfx_tx_policy_find()
81 if (wfx_tx_policy_is_equal(wanted, it)) in wfx_tx_policy_find()
105 struct wfx_tx_policy wanted; in wfx_tx_policy_get() local
108 wfx_tx_policy_build(wvif, &wanted, rates); in wfx_tx_policy_get()
116 idx = wfx_tx_policy_find(cache, &wanted); in wfx_tx_policy_get()
123 memcpy(entry->rates, wanted.rates, sizeof(entry->rates)); in wfx_tx_policy_get()
/linux-6.6.21/tools/perf/util/
Ds390-sample-raw.c134 int wanted; member
152 if (rc == 1 && event_nr == data->wanted) { in get_counter_name_callback()
167 .wanted = get_counterset_start(set) + nr, in get_counter_name()
/linux-6.6.21/include/trace/events/
Dio_uring.h632 TP_PROTO(void *ctx, u64 fpos, u64 wanted, u64 got),
634 TP_ARGS(ctx, fpos, wanted, got),
639 __field(u64, wanted)
646 __entry->wanted = wanted;
652 __entry->wanted, __entry->got)
/linux-6.6.21/include/linux/
Dfortify-string.h15 void __read_overflow2_field(size_t avail, size_t wanted) __compiletime_warning("detected read beyon…
17 void __write_overflow_field(size_t avail, size_t wanted) __compiletime_warning("detected write beyo…
379 size_t actual, wanted; in strlcat() local
387 wanted = actual = p_len + copy_len; in strlcat()
391 return wanted; in strlcat()
408 return wanted; in strlcat()
/linux-6.6.21/drivers/net/wireless/st/cw1200/
Dtxrx.c196 static inline bool tx_policy_is_equal(const struct tx_policy *wanted, in tx_policy_is_equal() argument
199 size_t count = wanted->defined >> 1; in tx_policy_is_equal()
200 if (wanted->defined > cached->defined) in tx_policy_is_equal()
203 if (memcmp(wanted->raw, cached->raw, count)) in tx_policy_is_equal()
206 if (wanted->defined & 1) { in tx_policy_is_equal()
207 if ((wanted->raw[count] & 0x0F) != (cached->raw[count] & 0x0F)) in tx_policy_is_equal()
214 const struct tx_policy *wanted) in tx_policy_find() argument
223 if (tx_policy_is_equal(wanted, &it->policy)) in tx_policy_find()
228 if (tx_policy_is_equal(wanted, &it->policy)) in tx_policy_find()
302 struct tx_policy wanted; in tx_policy_get() local
[all …]
/linux-6.6.21/scripts/
DMakefile.headersinst54 wanted-dirs := $(sort $(dir $(all-headers)))
55 new-dirs := $(filter-out $(existing-dirs), $(wanted-dirs))
/linux-6.6.21/fs/
Dkernel_read_file.c90 size_t wanted = min_t(size_t, buf_size - copied, in kernel_read_file() local
93 bytes = kernel_read(file, *buf + copied, wanted, &pos); in kernel_read_file()
/linux-6.6.21/rust/alloc/
DREADME.md19 On one hand, kernel folks wanted to keep `alloc` in-tree to have more
23 On the other hand, Rust folks wanted to keep `alloc` as close as
/linux-6.6.21/include/linux/ceph/
Dceph_fs.h536 __le32 caps, wanted; /* new issued, wanted */ member
565 __le32 caps, wanted; /* caps issued, wanted */ member
778 __le32 caps, wanted, dirty; /* latest issued/wanted/dirty */ member
841 __le32 wanted; member
851 __le32 wanted; member
/linux-6.6.21/fs/ceph/
Dfile.c301 int err, flags, wanted; in ceph_renew_caps() local
305 wanted = __ceph_caps_file_wanted(ci); in ceph_renew_caps()
307 (!(wanted & CEPH_CAP_ANY_WR) || ci->i_auth_cap)) { in ceph_renew_caps()
311 inode, ceph_cap_string(wanted), ceph_cap_string(issued)); in ceph_renew_caps()
318 if ((wanted & CEPH_CAP_FILE_RD) && (wanted & CEPH_CAP_FILE_WR)) in ceph_renew_caps()
320 else if (wanted & CEPH_CAP_FILE_RD) in ceph_renew_caps()
322 else if (wanted & CEPH_CAP_FILE_WR) in ceph_renew_caps()
325 if (wanted & CEPH_CAP_FILE_LAZYIO) in ceph_renew_caps()
360 int flags, fmode, wanted; in ceph_open() local
380 wanted = ceph_caps_for_mode(fmode); in ceph_open()
[all …]
/linux-6.6.21/drivers/memory/
Dti-aemif.c139 static int aemif_calc_rate(struct platform_device *pdev, int wanted, in aemif_calc_rate() argument
144 result = DIV_ROUND_UP((wanted * clk), NSEC_PER_MSEC) - 1; in aemif_calc_rate()
147 clk, wanted); in aemif_calc_rate()

123456