Home
last modified time | relevance | path

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

1234

/linux/arch/alpha/kernel/
H A 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/drivers/media/pci/bt8xx/
H A 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()
H A Dbttv.h340 char wanted[20]; member
346 int bttv_sub_register(struct bttv_sub_driver *drv, char *wanted);
/linux/net/ethtool/
H A Dfeatures.c16 u32 wanted[ETHTOOL_DEV_FEATURE_WORDS]; member
47 ethnl_features_to_bitmap32(data->wanted, dev->wanted_features); in features_prepare_data()
69 ret = ethnl_bitset32_size(data->wanted, NULL, NETDEV_FEATURE_COUNT, in features_reply_size()
101 ret = ethnl_put_bitset32(skb, ETHTOOL_A_FEATURES_WANTED, data->wanted, in features_fill_reply()
159 const unsigned long *wanted, in features_send_reply() argument
170 ret = ethnl_bitset_size(wanted, wanted_mask, NETDEV_FEATURE_COUNT, in features_send_reply()
188 ret = ethnl_put_bitset(rskb, ETHTOOL_A_FEATURES_WANTED, wanted, in features_send_reply()
/linux/include/linux/
H A Dfortify-string.h59 void __read_overflow2_field(size_t avail, size_t wanted) __compiletime_warning("detected read beyon…
61 void __write_overflow_field(size_t avail, size_t wanted) __compiletime_warning("detected write beyo…
364 size_t actual, wanted; in strlcat() local
372 wanted = actual = p_len + copy_len; in strlcat()
376 return wanted; in strlcat()
380 fortify_panic(FORTIFY_FUNC_strlcat, FORTIFY_READ, p_size, p_len + 1, wanted); in strlcat()
389 fortify_panic(FORTIFY_FUNC_strlcat, FORTIFY_WRITE, p_size, actual + 1, wanted); in strlcat()
393 return wanted; in strlcat()
416 const size_t wanted = strlcat(p, q, p_size); in strcat() local
418 if (p_size <= wanted) in strcat()
[all …]
/linux/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_interrupt.c162 unsigned int wanted = 0; in interrupt_is_wanted() local
164 wanted |= dev->kfd->device_info.event_interrupt_class->interrupt_isr(dev, in interrupt_is_wanted()
167 return wanted != 0; in interrupt_is_wanted()
/linux/Documentation/admin-guide/
H A 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/drivers/mmc/host/
H A 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()
/linux/drivers/scsi/
H A Dimm.c46 unsigned wanted:1; /* Parport sharing busy flag */ member
85 if (dev->wanted) { in imm_wakeup()
88 dev->wanted = 0; in imm_wakeup()
103 dev->wanted = res; in imm_pb_claim()
111 int wanted; in imm_pb_dismiss() local
113 wanted = dev->wanted; in imm_pb_dismiss()
114 dev->wanted = 0; in imm_pb_dismiss()
116 if (!wanted) in imm_pb_dismiss()
1191 if (dev->wanted) { in __imm_attach()
/linux/drivers/net/wireless/silabs/wfx/
H A 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/include/trace/events/
H A Dio_uring.h622 TP_PROTO(void *ctx, u64 fpos, u64 wanted, u64 got),
624 TP_ARGS(ctx, fpos, wanted, got),
629 __field(u64, wanted)
636 __entry->wanted = wanted;
642 __entry->wanted, __entry->got)
/linux/drivers/net/wireless/st/cw1200/
H A 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/scripts/
H A DMakefile.headersinst54 wanted-dirs := $(sort $(dir $(all-headers)))
55 new-dirs := $(filter-out $(existing-dirs), $(wanted-dirs))
/linux/fs/
H A 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/include/linux/ceph/
H A Dceph_fs.h530 __le32 caps, wanted; /* new issued, wanted */ member
559 __le32 caps, wanted; /* caps issued, wanted */ member
772 __le32 caps, wanted, dirty; /* latest issued/wanted/dirty */ member
835 __le32 wanted; member
845 __le32 wanted; member
/linux/tools/perf/util/
H A Ds390-sample-raw.c137 long wanted; member
155 if (rc == 1 && event_nr == data->wanted) { in get_counter_name_callback()
183 .wanted = cache_key, in get_counter_name()
/linux/fs/ceph/
H A Dfile.c306 int err, flags, wanted; in ceph_renew_caps() local
310 wanted = __ceph_caps_file_wanted(ci); in ceph_renew_caps()
312 (!(wanted & CEPH_CAP_ANY_WR) || ci->i_auth_cap)) { in ceph_renew_caps()
316 inode, ceph_vinop(inode), ceph_cap_string(wanted), in ceph_renew_caps()
324 if ((wanted & CEPH_CAP_FILE_RD) && (wanted & CEPH_CAP_FILE_WR)) in ceph_renew_caps()
326 else if (wanted & CEPH_CAP_FILE_RD) in ceph_renew_caps()
328 else if (wanted & CEPH_CAP_FILE_WR) in ceph_renew_caps()
331 if (wanted & CEPH_CAP_FILE_LAZYIO) in ceph_renew_caps()
368 int flags, fmode, wanted; in ceph_open() local
392 wanted = ceph_caps_for_mode(fmode); in ceph_open()
[all …]
H A Dcaps.c653 unsigned issued, unsigned wanted, in ceph_add_cap() argument
745 if ((wanted & ~actual_wanted) || in ceph_add_cap()
748 ceph_cap_string(issued), ceph_cap_string(wanted), in ceph_add_cap()
760 cap->mds_wanted = wanted; in ceph_add_cap()
773 cap->mds_wanted = wanted; in ceph_add_cap()
775 cap->mds_wanted |= wanted; in ceph_add_cap()
1230 int op, caps, wanted, dirty; member
1256 ceph_cap_string(arg->caps), ceph_cap_string(arg->wanted), in encode_cap_msg()
1274 fc->wanted = cpu_to_le32(arg->wanted); in encode_cap_msg()
1457 arg->wanted = want; in __prep_cap()
[all …]
/linux/sound/core/oss/
H A Dcopy.c48 if (dst_channels->wanted) in copy_transfer()
H A Dmulaw.c182 if (dst_channels[channel].wanted) in mulaw_decode()
228 if (dst_channels[channel].wanted) in mulaw_encode()
H A Droute.c32 if (dvp->wanted) in zero_areas()
/linux/lib/
H A Ddynamic_debug.c646 bool wanted; in param_set_dyndbg_classnames() local
662 wanted = false; in param_set_dyndbg_classnames()
665 wanted = true; in param_set_dyndbg_classnames()
679 if (test_bit(cls_id, &curr_bits) == wanted) { in param_set_dyndbg_classnames()
692 curr_bits = CLASSMAP_BITMASK(cls_id + (wanted ? 1 : 0 )); in param_set_dyndbg_classnames()
695 *dcp->lvl = (cls_id + (wanted ? 1 : 0)); in param_set_dyndbg_classnames()
/linux/net/rds/
H A Dib_send.c356 u32 wanted, u32 *adv_credits, int need_posted, int max_posted) in rds_ib_send_grab_credits() argument
363 return wanted; in rds_ib_send_grab_credits()
372 wanted, avail, posted); in rds_ib_send_grab_credits()
378 if (avail < wanted) { in rds_ib_send_grab_credits()
386 got = wanted; in rds_ib_send_grab_credits()
/linux/Documentation/ABI/obsolete/
H A Dautomount-tracefs-debugfs9 to the files were in /sys/kernel/debug/tracing. As systems wanted
/linux/drivers/media/platform/synopsys/hdmirx/
H A DKconfig35 Which is a wanted behavior when using this driver in a

1234