Home
last modified time | relevance | path

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

12345

/Linux-v5.4/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-v5.4/fs/ocfs2/
Dreservations.c407 unsigned int wanted, in ocfs2_resmap_find_free_bits() argument
418 wanted, resmap->m_bitmap_len); in ocfs2_resmap_find_free_bits()
444 if (found >= wanted) in ocfs2_resmap_find_free_bits()
451 if (best_len >= wanted) in ocfs2_resmap_find_free_bits()
452 best_len = wanted; in ocfs2_resmap_find_free_bits()
464 unsigned int goal, unsigned int wanted) in __ocfs2_resv_find_window() argument
482 goal, wanted, RB_EMPTY_ROOT(root)); in __ocfs2_resv_find_window()
491 clen = ocfs2_resmap_find_free_bits(resmap, wanted, goal, in __ocfs2_resv_find_window()
544 clen = ocfs2_resmap_find_free_bits(resmap, wanted, goal, in __ocfs2_resv_find_window()
550 if (best_len == wanted) in __ocfs2_resv_find_window()
[all …]
/Linux-v5.4/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()
/Linux-v5.4/Documentation/admin-guide/
Dnumastat.rst10 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-v5.4/drivers/mmc/host/
Ddw_mmc-exynos.c262 static void dw_mci_exynos_adjust_clock(struct dw_mci *host, unsigned int wanted) in dw_mci_exynos_adjust_clock() argument
272 if (!wanted || IS_ERR(host->ciu_clk)) in dw_mci_exynos_adjust_clock()
276 if (wanted < EXYNOS_CCLKIN_MIN) in dw_mci_exynos_adjust_clock()
277 wanted = EXYNOS_CCLKIN_MIN; in dw_mci_exynos_adjust_clock()
279 if (wanted == priv->cur_speed) in dw_mci_exynos_adjust_clock()
283 ret = clk_set_rate(host->ciu_clk, wanted * div); in dw_mci_exynos_adjust_clock()
287 wanted * div, ret); in dw_mci_exynos_adjust_clock()
290 priv->cur_speed = wanted; in dw_mci_exynos_adjust_clock()
297 unsigned int wanted = ios->clock; in dw_mci_exynos_set_ios() local
305 wanted <<= 1; in dw_mci_exynos_set_ios()
[all …]
Dsdhci-s3c.c176 unsigned int wanted) in sdhci_s3c_consider_clock() argument
190 rate = clk_round_rate(clksrc, wanted); in sdhci_s3c_consider_clock()
191 return wanted - rate; in sdhci_s3c_consider_clock()
197 if ((rate >> shift) <= wanted) in sdhci_s3c_consider_clock()
204 src, rate, rate / 256, wanted); in sdhci_s3c_consider_clock()
209 src, rate, wanted, rate >> shift); in sdhci_s3c_consider_clock()
211 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()
Dsdricoh_cs.c127 static int sdricoh_query_status(struct sdricoh_host *host, unsigned int wanted, in sdricoh_query_status() argument
135 if (status & wanted) in sdricoh_query_status()
140 dev_err(dev, "query_status: timeout waiting for %x\n", wanted); in sdricoh_query_status()
146 dev_err(dev, "waiting for status bit %x failed\n", wanted); in sdricoh_query_status()
/Linux-v5.4/drivers/pcmcia/
Dsa1111_badge4.c61 int given, int wanted) in complain_about_jumpering() argument
67 wanted / 10, wanted % 10, in complain_about_jumpering()
/Linux-v5.4/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-v5.4/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()
/Linux-v5.4/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.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()
1192 if (dev->wanted) { in __imm_attach()
/Linux-v5.4/fs/ceph/
Dfile.c293 int err, flags, wanted; in ceph_renew_caps() local
296 wanted = __ceph_caps_file_wanted(ci); in ceph_renew_caps()
298 (!(wanted & CEPH_CAP_ANY_WR) || ci->i_auth_cap)) { in ceph_renew_caps()
302 inode, ceph_cap_string(wanted), ceph_cap_string(issued)); in ceph_renew_caps()
309 if ((wanted & CEPH_CAP_FILE_RD) && (wanted & CEPH_CAP_FILE_WR)) in ceph_renew_caps()
311 else if (wanted & CEPH_CAP_FILE_RD) in ceph_renew_caps()
313 else if (wanted & CEPH_CAP_FILE_WR) in ceph_renew_caps()
316 if (wanted & CEPH_CAP_FILE_LAZYIO) in ceph_renew_caps()
352 int flags, fmode, wanted; in ceph_open() local
367 wanted = ceph_caps_for_mode(fmode); in ceph_open()
[all …]
Dcaps.c608 int fmode, unsigned issued, unsigned wanted, in ceph_add_cap() argument
629 wanted |= ceph_caps_for_mode(fmode); in ceph_add_cap()
723 if ((wanted & ~actual_wanted) || in ceph_add_cap()
726 ceph_cap_string(issued), ceph_cap_string(wanted), in ceph_add_cap()
735 cap->mds_wanted = wanted; in ceph_add_cap()
748 cap->mds_wanted = wanted; in ceph_add_cap()
750 cap->mds_wanted |= wanted; in ceph_add_cap()
1121 int op, caps, wanted, dirty; member
1147 ceph_cap_string(arg->wanted), ceph_cap_string(arg->dirty), in send_cap_msg()
1173 fc->wanted = cpu_to_le32(arg->wanted); in send_cap_msg()
[all …]
/Linux-v5.4/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-v5.4/include/linux/ceph/
Dceph_fs.h466 __le32 caps, wanted; /* new issued, wanted */ member
495 __le32 caps, wanted; /* caps issued, wanted */ member
695 __le32 caps, wanted, dirty; /* latest issued/wanted/dirty */ member
758 __le32 wanted; member
768 __le32 wanted; member
/Linux-v5.4/scripts/
DMakefile.headersinst54 wanted-dirs := $(sort $(dir $(all-headers)))
55 new-dirs := $(filter-out $(existing-dirs), $(wanted-dirs))
/Linux-v5.4/lib/
Diov_iter.c16 size_t wanted = n; \
39 n = wanted - n; \
43 size_t wanted = n; \
62 n = wanted; \
159 size_t skip, copy, left, wanted; in copy_page_to_iter_iovec() local
171 wanted = bytes; in copy_page_to_iter_iovec()
233 i->count -= wanted - bytes; in copy_page_to_iter_iovec()
237 return wanted - bytes; in copy_page_to_iter_iovec()
243 size_t skip, copy, left, wanted; in copy_page_from_iter_iovec() local
255 wanted = bytes; in copy_page_from_iter_iovec()
[all …]
/Linux-v5.4/drivers/net/ethernet/pensando/ionic/
Dionic_lif.c1026 u64 wanted = 0; in ionic_netdev_features_to_nic() local
1029 wanted |= IONIC_ETH_HW_VLAN_TX_TAG; in ionic_netdev_features_to_nic()
1031 wanted |= IONIC_ETH_HW_VLAN_RX_STRIP; in ionic_netdev_features_to_nic()
1033 wanted |= IONIC_ETH_HW_VLAN_RX_FILTER; in ionic_netdev_features_to_nic()
1035 wanted |= IONIC_ETH_HW_RX_HASH; in ionic_netdev_features_to_nic()
1037 wanted |= IONIC_ETH_HW_RX_CSUM; in ionic_netdev_features_to_nic()
1039 wanted |= IONIC_ETH_HW_TX_SG; in ionic_netdev_features_to_nic()
1041 wanted |= IONIC_ETH_HW_TX_CSUM; in ionic_netdev_features_to_nic()
1043 wanted |= IONIC_ETH_HW_TSO; in ionic_netdev_features_to_nic()
1045 wanted |= IONIC_ETH_HW_TSO_IPV6; in ionic_netdev_features_to_nic()
[all …]
/Linux-v5.4/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()
/Linux-v5.4/drivers/xen/
Dpvcalls-back.c95 RING_IDX cons, prod, size, wanted, array_size, masked_prod, masked_cons; in pvcalls_conn_back_read() local
123 wanted = array_size - size; in pvcalls_conn_back_read()
130 vec[0].iov_len = wanted; in pvcalls_conn_back_read()
131 iov_iter_kvec(&msg.msg_iter, WRITE, vec, 1, wanted); in pvcalls_conn_back_read()
136 vec[1].iov_len = wanted - vec[0].iov_len; in pvcalls_conn_back_read()
137 iov_iter_kvec(&msg.msg_iter, WRITE, vec, 2, wanted); in pvcalls_conn_back_read()
141 ret = inet_recvmsg(map->sock, &msg, wanted, MSG_DONTWAIT); in pvcalls_conn_back_read()
142 WARN_ON(ret > wanted); in pvcalls_conn_back_read()
/Linux-v5.4/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()
/Linux-v5.4/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()

12345