Home
last modified time | relevance | path

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

12345

/Linux-v4.19/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-v4.19/fs/ocfs2/
Dreservations.c415 unsigned int wanted, in ocfs2_resmap_find_free_bits() argument
426 wanted, resmap->m_bitmap_len); in ocfs2_resmap_find_free_bits()
452 if (found >= wanted) in ocfs2_resmap_find_free_bits()
459 if (best_len >= wanted) in ocfs2_resmap_find_free_bits()
460 best_len = wanted; in ocfs2_resmap_find_free_bits()
472 unsigned int goal, unsigned int wanted) in __ocfs2_resv_find_window() argument
490 goal, wanted, RB_EMPTY_ROOT(root)); in __ocfs2_resv_find_window()
499 clen = ocfs2_resmap_find_free_bits(resmap, wanted, goal, in __ocfs2_resv_find_window()
552 clen = ocfs2_resmap_find_free_bits(resmap, wanted, goal, in __ocfs2_resv_find_window()
558 if (best_len == wanted) in __ocfs2_resv_find_window()
[all …]
/Linux-v4.19/drivers/media/pci/bt8xx/
Dbttv-gpio.c46 int len = strlen(sub->wanted); in bttv_sub_bus_match()
48 if (0 == strncmp(dev_name(dev), sub->wanted, len)) in bttv_sub_bus_match()
123 int bttv_sub_register(struct bttv_sub_driver *sub, char *wanted) in bttv_sub_register() argument
126 snprintf(sub->wanted,sizeof(sub->wanted),"%s",wanted); in bttv_sub_register()
Dbttv.h341 char wanted[20]; member
347 int bttv_sub_register(struct bttv_sub_driver *drv, char *wanted);
/Linux-v4.19/Documentation/
Dnumastat.txt10 numa_hit A process wanted to allocate memory from this node,
13 numa_miss A process wanted to allocate memory from another node,
16 numa_foreign A process wanted to allocate on this node,
23 interleave_hit Interleaving wanted to allocate from this node
/Linux-v4.19/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 …]
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.c304 unsigned long wanted; in dw_mci_hi3660_set_ios() local
311 wanted = ios->clock * (GENCLK_DIV + 1); in dw_mci_hi3660_set_ios()
312 ret = clk_set_rate(host->ciu_clk, wanted); in dw_mci_hi3660_set_ios()
314 dev_err(host->dev, "failed to set rate %luHz\n", wanted); in dw_mci_hi3660_set_ios()
Dsdricoh_cs.c141 static int sdricoh_query_status(struct sdricoh_host *host, unsigned int wanted, in sdricoh_query_status() argument
149 if (status & wanted) in sdricoh_query_status()
154 dev_err(dev, "query_status: timeout waiting for %x\n", wanted); in sdricoh_query_status()
160 dev_err(dev, "waiting for status bit %x failed\n", wanted); in sdricoh_query_status()
/Linux-v4.19/drivers/pcmcia/
Dsa1111_badge4.c65 int given, int wanted) in complain_about_jumpering() argument
71 wanted / 10, wanted % 10, in complain_about_jumpering()
/Linux-v4.19/drivers/gpu/drm/amd/amdkfd/
Dkfd_interrupt.c159 unsigned int wanted = 0; in interrupt_is_wanted() local
161 wanted |= dev->device_info->event_interrupt_class->interrupt_isr(dev, in interrupt_is_wanted()
164 return wanted != 0; in interrupt_is_wanted()
/Linux-v4.19/drivers/devfreq/
Dgovernor_userspace.c50 unsigned long wanted; in store_freq() local
56 sscanf(buf, "%lu", &wanted); in store_freq()
57 data->user_frequency = wanted; in store_freq()
/Linux-v4.19/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()
1055 if (dev->wanted) { in __ppa_attach()
Dimm.c45 unsigned wanted:1; /* Parport sharing busy flag */ member
79 if (dev->wanted) { in imm_wakeup()
82 dev->wanted = 0; in imm_wakeup()
97 dev->wanted = res; in imm_pb_claim()
105 int wanted; in imm_pb_dismiss() local
107 wanted = dev->wanted; in imm_pb_dismiss()
108 dev->wanted = 0; in imm_pb_dismiss()
110 if (!wanted) in imm_pb_dismiss()
1191 if (dev->wanted) { in __imm_attach()
/Linux-v4.19/fs/ceph/
Dfile.c286 int err, flags, wanted; in ceph_renew_caps() local
289 wanted = __ceph_caps_file_wanted(ci); in ceph_renew_caps()
291 (!(wanted & CEPH_CAP_ANY_WR) || ci->i_auth_cap)) { in ceph_renew_caps()
295 inode, ceph_cap_string(wanted), ceph_cap_string(issued)); in ceph_renew_caps()
302 if ((wanted & CEPH_CAP_FILE_RD) && (wanted & CEPH_CAP_FILE_WR)) in ceph_renew_caps()
304 else if (wanted & CEPH_CAP_FILE_RD) in ceph_renew_caps()
306 else if (wanted & CEPH_CAP_FILE_WR) in ceph_renew_caps()
309 if (wanted & CEPH_CAP_FILE_LAZYIO) in ceph_renew_caps()
345 int flags, fmode, wanted; in ceph_open() local
360 wanted = ceph_caps_for_mode(fmode); in ceph_open()
[all …]
Dcaps.c617 int fmode, unsigned issued, unsigned wanted, in ceph_add_cap() argument
635 wanted |= ceph_caps_for_mode(fmode); in ceph_add_cap()
718 if ((wanted & ~actual_wanted) || in ceph_add_cap()
721 ceph_cap_string(issued), ceph_cap_string(wanted), in ceph_add_cap()
730 cap->mds_wanted = wanted; in ceph_add_cap()
743 cap->mds_wanted = wanted; in ceph_add_cap()
745 cap->mds_wanted |= wanted; in ceph_add_cap()
1115 int op, caps, wanted, dirty; member
1142 ceph_cap_string(arg->wanted), ceph_cap_string(arg->dirty), in send_cap_msg()
1168 fc->wanted = cpu_to_le32(arg->wanted); in send_cap_msg()
[all …]
/Linux-v4.19/drivers/net/wireless/st/cw1200/
Dtxrx.c199 static inline bool tx_policy_is_equal(const struct tx_policy *wanted, in tx_policy_is_equal() argument
202 size_t count = wanted->defined >> 1; in tx_policy_is_equal()
203 if (wanted->defined > cached->defined) in tx_policy_is_equal()
206 if (memcmp(wanted->raw, cached->raw, count)) in tx_policy_is_equal()
209 if (wanted->defined & 1) { in tx_policy_is_equal()
210 if ((wanted->raw[count] & 0x0F) != (cached->raw[count] & 0x0F)) in tx_policy_is_equal()
217 const struct tx_policy *wanted) in tx_policy_find() argument
226 if (tx_policy_is_equal(wanted, &it->policy)) in tx_policy_find()
231 if (tx_policy_is_equal(wanted, &it->policy)) in tx_policy_find()
305 struct tx_policy wanted; in tx_policy_get() local
[all …]
/Linux-v4.19/lib/
Diov_iter.c14 size_t wanted = n; \
37 n = wanted - n; \
41 size_t wanted = n; \
60 n = wanted; \
154 size_t skip, copy, left, wanted; in copy_page_to_iter_iovec() local
166 wanted = bytes; in copy_page_to_iter_iovec()
228 i->count -= wanted - bytes; in copy_page_to_iter_iovec()
232 return wanted - bytes; in copy_page_to_iter_iovec()
238 size_t skip, copy, left, wanted; in copy_page_from_iter_iovec() local
250 wanted = bytes; in copy_page_from_iter_iovec()
[all …]
/Linux-v4.19/include/linux/ceph/
Dceph_fs.h460 __le32 caps, wanted; /* new issued, wanted */ member
489 __le32 caps, wanted; /* caps issued, wanted */ member
689 __le32 caps, wanted, dirty; /* latest issued/wanted/dirty */ member
752 __le32 wanted; member
762 __le32 wanted; member
/Linux-v4.19/drivers/xen/
Dpvcalls-back.c104 RING_IDX cons, prod, size, wanted, array_size, masked_prod, masked_cons; in pvcalls_conn_back_read() local
132 wanted = array_size - size; in pvcalls_conn_back_read()
139 vec[0].iov_len = wanted; in pvcalls_conn_back_read()
140 iov_iter_kvec(&msg.msg_iter, ITER_KVEC|WRITE, vec, 1, wanted); in pvcalls_conn_back_read()
145 vec[1].iov_len = wanted - vec[0].iov_len; in pvcalls_conn_back_read()
146 iov_iter_kvec(&msg.msg_iter, ITER_KVEC|WRITE, vec, 2, wanted); in pvcalls_conn_back_read()
150 ret = inet_recvmsg(map->sock, &msg, wanted, MSG_DONTWAIT); in pvcalls_conn_back_read()
151 WARN_ON(ret > wanted); in pvcalls_conn_back_read()
/Linux-v4.19/drivers/memory/
Dti-aemif.c142 static int aemif_calc_rate(struct platform_device *pdev, int wanted, in aemif_calc_rate() argument
147 result = DIV_ROUND_UP((wanted * clk), NSEC_PER_MSEC) - 1; in aemif_calc_rate()
150 clk, wanted); in aemif_calc_rate()
/Linux-v4.19/sound/core/oss/
Dcopy.c48 if (dst_channels->wanted) in copy_transfer()
Dmulaw.c182 if (dst_channels[channel].wanted) in mulaw_decode()
228 if (dst_channels[channel].wanted) in mulaw_encode()
Droute.c32 if (dvp->wanted) in zero_areas()
/Linux-v4.19/net/rds/
Dib_send.c359 u32 wanted, u32 *adv_credits, int need_posted, int max_posted) in rds_ib_send_grab_credits() argument
366 return wanted; in rds_ib_send_grab_credits()
375 wanted, avail, posted); in rds_ib_send_grab_credits()
381 if (avail < wanted) { in rds_ib_send_grab_credits()
389 got = wanted; in rds_ib_send_grab_credits()

12345