Home
last modified time | relevance | path

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

12345

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/fs/ocfs2/
Dreservations.c404 unsigned int wanted, in ocfs2_resmap_find_free_bits() argument
415 wanted, resmap->m_bitmap_len); in ocfs2_resmap_find_free_bits()
441 if (found >= wanted) in ocfs2_resmap_find_free_bits()
448 if (best_len >= wanted) in ocfs2_resmap_find_free_bits()
449 best_len = wanted; in ocfs2_resmap_find_free_bits()
461 unsigned int goal, unsigned int wanted) in __ocfs2_resv_find_window() argument
479 goal, wanted, RB_EMPTY_ROOT(root)); in __ocfs2_resv_find_window()
488 clen = ocfs2_resmap_find_free_bits(resmap, wanted, goal, in __ocfs2_resv_find_window()
541 clen = ocfs2_resmap_find_free_bits(resmap, wanted, goal, in __ocfs2_resv_find_window()
547 if (best_len == wanted) in __ocfs2_resv_find_window()
[all …]
/kernel/linux/linux-5.10/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()
111 int bttv_sub_register(struct bttv_sub_driver *sub, char *wanted) in bttv_sub_register() argument
114 snprintf(sub->wanted,sizeof(sub->wanted),"%s",wanted); in bttv_sub_register()
/kernel/linux/linux-5.10/drivers/mmc/host/
Ddw_mmc-exynos.c264 static void dw_mci_exynos_adjust_clock(struct dw_mci *host, unsigned int wanted) in dw_mci_exynos_adjust_clock() argument
274 if (!wanted || IS_ERR(host->ciu_clk)) in dw_mci_exynos_adjust_clock()
278 if (wanted < EXYNOS_CCLKIN_MIN) in dw_mci_exynos_adjust_clock()
279 wanted = EXYNOS_CCLKIN_MIN; in dw_mci_exynos_adjust_clock()
281 if (wanted == priv->cur_speed) in dw_mci_exynos_adjust_clock()
285 ret = clk_set_rate(host->ciu_clk, wanted * div); in dw_mci_exynos_adjust_clock()
289 wanted * div, ret); in dw_mci_exynos_adjust_clock()
292 priv->cur_speed = wanted; in dw_mci_exynos_adjust_clock()
299 unsigned int wanted = ios->clock; in dw_mci_exynos_set_ios() local
307 wanted <<= 1; in dw_mci_exynos_set_ios()
[all …]
Dsdricoh_cs.c128 unsigned int wanted) in sdricoh_status_ok() argument
131 return status & wanted; in sdricoh_status_ok()
134 static int sdricoh_query_status(struct sdricoh_host *host, unsigned int wanted) in sdricoh_query_status() argument
141 sdricoh_status_ok(host, status, wanted), in sdricoh_query_status()
145 dev_err(dev, "query_status: timeout waiting for %x\n", wanted); in sdricoh_query_status()
151 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()
/kernel/linux/linux-5.10/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()
158 const unsigned long *wanted, in features_send_reply() argument
169 ret = ethnl_bitset_size(wanted, wanted_mask, NETDEV_FEATURE_COUNT, in features_send_reply()
187 ret = ethnl_put_bitset(rskb, ETHTOOL_A_FEATURES_WANTED, wanted, in features_send_reply()
/kernel/linux/linux-5.10/drivers/pcmcia/
Dsa1111_badge4.c61 int given, int wanted) in complain_about_jumpering() argument
67 wanted / 10, wanted % 10, in complain_about_jumpering()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdkfd/
Dkfd_interrupt.c164 unsigned int wanted = 0; in interrupt_is_wanted() local
166 wanted |= dev->device_info->event_interrupt_class->interrupt_isr(dev, in interrupt_is_wanted()
169 return wanted != 0; in interrupt_is_wanted()
/kernel/linux/linux-5.10/drivers/devfreq/
Dgovernor_userspace.c39 unsigned long wanted; in store_freq() local
45 sscanf(buf, "%lu", &wanted); in store_freq()
46 data->user_frequency = wanted; in store_freq()
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/drivers/scsi/
Dppa.c39 unsigned wanted:1; /* Parport sharing busy flag */ member
70 if (dev->wanted) { in ppa_wakeup()
73 dev->wanted = 0; in ppa_wakeup()
88 dev->wanted = res; in ppa_pb_claim()
96 int wanted; in ppa_pb_dismiss() local
98 wanted = dev->wanted; in ppa_pb_dismiss()
99 dev->wanted = 0; in ppa_pb_dismiss()
101 if (!wanted) in ppa_pb_dismiss()
1052 if (dev->wanted) { in __ppa_attach()
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()
/kernel/linux/linux-5.10/drivers/staging/wfx/
Ddata_tx.c75 struct tx_policy *wanted) in wfx_tx_policy_find() argument
80 if (tx_policy_is_equal(wanted, it)) in wfx_tx_policy_find()
83 if (tx_policy_is_equal(wanted, it)) in wfx_tx_policy_find()
110 struct tx_policy wanted; in wfx_tx_policy_get() local
112 wfx_tx_policy_build(wvif, &wanted, rates); in wfx_tx_policy_get()
120 idx = wfx_tx_policy_find(cache, &wanted); in wfx_tx_policy_get()
130 memcpy(entry->rates, wanted.rates, sizeof(entry->rates)); in wfx_tx_policy_get()
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/fs/ceph/
Dfile.c287 int err, flags, wanted; in ceph_renew_caps() local
291 wanted = __ceph_caps_file_wanted(ci); in ceph_renew_caps()
293 (!(wanted & CEPH_CAP_ANY_WR) || ci->i_auth_cap)) { in ceph_renew_caps()
297 inode, ceph_cap_string(wanted), ceph_cap_string(issued)); in ceph_renew_caps()
304 if ((wanted & CEPH_CAP_FILE_RD) && (wanted & CEPH_CAP_FILE_WR)) in ceph_renew_caps()
306 else if (wanted & CEPH_CAP_FILE_RD) in ceph_renew_caps()
308 else if (wanted & CEPH_CAP_FILE_WR) in ceph_renew_caps()
311 if (wanted & CEPH_CAP_FILE_LAZYIO) in ceph_renew_caps()
346 int flags, fmode, wanted; in ceph_open() local
361 wanted = ceph_caps_for_mode(fmode); in ceph_open()
[all …]
Dcaps.c632 unsigned issued, unsigned wanted, in ceph_add_cap() argument
741 if ((wanted & ~actual_wanted) || in ceph_add_cap()
744 ceph_cap_string(issued), ceph_cap_string(wanted), in ceph_add_cap()
756 cap->mds_wanted = wanted; in ceph_add_cap()
769 cap->mds_wanted = wanted; in ceph_add_cap()
771 cap->mds_wanted |= wanted; in ceph_add_cap()
1221 int op, caps, wanted, dirty; member
1247 ceph_cap_string(arg->caps), ceph_cap_string(arg->wanted), in encode_cap_msg()
1265 fc->wanted = cpu_to_le32(arg->wanted); in encode_cap_msg()
1419 arg->wanted = want; in __prep_cap()
[all …]
/kernel/linux/linux-5.10/scripts/
DMakefile.headersinst54 wanted-dirs := $(sort $(dir $(all-headers)))
55 new-dirs := $(filter-out $(existing-dirs), $(wanted-dirs))
/kernel/linux/linux-5.10/include/linux/ceph/
Dceph_fs.h469 __le32 caps, wanted; /* new issued, wanted */ member
498 __le32 caps, wanted; /* caps issued, wanted */ member
711 __le32 caps, wanted, dirty; /* latest issued/wanted/dirty */ member
774 __le32 wanted; member
784 __le32 wanted; member
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/lib/
Diov_iter.c20 size_t wanted = n; \
43 n = wanted - n; \
47 size_t wanted = n; \
66 n = wanted; \
167 size_t skip, copy, left, wanted; in copy_page_to_iter_iovec() local
179 wanted = bytes; in copy_page_to_iter_iovec()
241 i->count -= wanted - bytes; in copy_page_to_iter_iovec()
245 return wanted - bytes; in copy_page_to_iter_iovec()
251 size_t skip, copy, left, wanted; in copy_page_from_iter_iovec() local
263 wanted = bytes; in copy_page_from_iter_iovec()
[all …]
/kernel/linux/linux-5.10/tools/perf/util/
Ds390-sample-raw.c140 int rc, event_nr, wanted = get_counterset_start(set) + nr; in get_counter_name() local
149 if (rc == 1 && event_nr == wanted) in get_counter_name()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/xen/
Dpvcalls-back.c96 RING_IDX cons, prod, size, wanted, array_size, masked_prod, masked_cons; in pvcalls_conn_back_read() local
124 wanted = array_size - size; in pvcalls_conn_back_read()
131 vec[0].iov_len = wanted; in pvcalls_conn_back_read()
132 iov_iter_kvec(&msg.msg_iter, READ, vec, 1, wanted); in pvcalls_conn_back_read()
137 vec[1].iov_len = wanted - vec[0].iov_len; in pvcalls_conn_back_read()
138 iov_iter_kvec(&msg.msg_iter, READ, vec, 2, wanted); in pvcalls_conn_back_read()
142 ret = inet_recvmsg(map->sock, &msg, wanted, MSG_DONTWAIT); in pvcalls_conn_back_read()
143 WARN_ON(ret > wanted); in pvcalls_conn_back_read()

12345