Searched refs:want (Results 1 - 25 of 72) sorted by relevance

123

/linux-master/drivers/pinctrl/aspeed/
H A Dpinmux-aspeed.c46 u32 want; local
56 want = enabled ? desc->enable : desc->disable;
58 return ((raw & desc->mask) >> __ffs(desc->mask)) == want;
/linux-master/drivers/accessibility/speakup/
H A Ddevsynth.c42 size_t count = nbytes, want; local
53 want = 1;
54 while (count >= want) {
86 want = nbytes;
98 want = 1;
107 want = 1;
/linux-master/tools/testing/selftests/netfilter/
H A Dnft_meta.sh91 local want="packets $2"
94 if ! ip netns exec "$ns0" nft list counter inet filter $cname | grep -q "$want"; then
95 echo "FAIL: $cname, want \"$want\", got"
103 local want="$1"
111 check_one_counter "$counter" "$want" "$verbose"
H A Dnft_fib.sh109 local want=$1
113 line=$(ip netns exec ${ns} nft list table inet filter | grep 'fib saddr . iif' | grep $address | grep "packets $want" )
117 echo "Netns $ns fib counter doesn't match expected packet count of $want for $address" 1>&2
122 if [ $want -gt 0 ]; then
/linux-master/drivers/usb/host/
H A Dehci-timer.c97 unsigned actual, want; local
103 want = (ehci->command & CMD_ASE) ? STS_ASS : 0;
106 if (want != actual) {
114 want, actual);
119 if (want == 0) { /* Stopped */
143 unsigned actual, want; local
149 want = (ehci->command & CMD_PSE) ? STS_PSS : 0;
152 if (want != actual) {
160 want, actual);
165 if (want
[all...]
/linux-master/arch/arm/mach-omap1/
H A Dsram.S33 tst r0, #1 << 4 @ want lock mode?
50 tst r0, #1 << 4 @ want lock mode?
/linux-master/arch/powerpc/platforms/512x/
H A Dmpc512x_shared.c60 unsigned long offset, want, got, delta; local
123 want = pixclock - offset;
124 pr_debug("DIU checking clock - %lu\n", want);
125 clk_set_rate(clk_diu, want);
132 want = pixclock + offset;
133 pr_debug("DIU checking clock - %lu\n", want);
134 clk_set_rate(clk_diu, want);
141 pr_debug("DIU clock accepted - %lu\n", want);
142 pr_debug("DIU pixclock want %u, got %lu, delta %lu, eps %lu\n",
158 pr_debug("DIU pixclock want
[all...]
/linux-master/drivers/ata/
H A Dpata_it821x.c90 u8 want[2][2]; /* Mode/Pri log for master slave */ member in struct:it821x_dev
197 if (itdev->want[0][0] > itdev->want[1][0]) {
198 clock = itdev->want[0][1];
199 altclock = itdev->want[1][1];
201 clock = itdev->want[1][1];
202 altclock = itdev->want[0][1];
266 itdev->want[unit][1] = pio_want[mode_wanted];
267 itdev->want[unit][0] = 1; /* PIO is lowest priority */
301 itdev->want[uni
[all...]
/linux-master/net/sunrpc/
H A Dsocklib.c270 unsigned int want; local
279 want = xdr->head[0].iov_len + rmsize;
280 if (base < want) {
281 unsigned int len = want - base;
296 base -= want;
H A Dxprtsock.c341 xs_alloc_sparse_pages(struct xdr_buf *buf, size_t want, gfp_t gfp) argument
345 if (!want || !(buf->flags & XDRBUF_SPARSE_PAGES))
346 return want;
347 n = (buf->page_base + want + PAGE_SIZE - 1) >> PAGE_SHIFT;
357 return want;
465 size_t want, seek_init = seek, offset = 0; local
468 want = min_t(size_t, count, buf->head[0].iov_len);
469 if (seek < want) {
470 ret = xs_read_kvec(sock, msg, flags, &buf->head[0], want, seek);
476 if (ret != want)
559 size_t want, read; local
602 xs_read_stream_header(struct sock_xprt *transport, struct msghdr *msg, int flags, size_t want, size_t seek) argument
683 size_t want, read = 0; local
[all...]
/linux-master/arch/sparc/include/asm/
H A Dvio.h448 u32 want = (u32)major << 16 | minor; local
450 return have < want;
457 u32 want = (u32)major << 16 | minor; local
459 return have > want;
466 u32 want = (u32)major << 16 | minor; local
468 return have >= want;
/linux-master/net/netfilter/
H A Dnf_conntrack_ecache.c134 u32 old, want; local
157 want = old | events;
159 want = old & ~missed;
160 } while (cmpxchg(&e->missed, old, want) != old);
/linux-master/net/ieee802154/
H A Dheader_ops.c297 int want = pos + ieee802154_hdr_sechdr_len(skb->data[pos]); local
299 if (!pskb_may_pull(skb, want))
355 int want = pos + ieee802154_sechdr_lengths[key_id_mode]; local
357 if (buf + want > skb_tail_pointer(skb))
/linux-master/drivers/block/drbd/
H A Ddrbd_bitmap.c36 * We want to support >= peta byte of backend storage, while for now still using
376 * "have" and "want" are NUMBER OF PAGES.
378 static struct page **bm_realloc_pages(struct drbd_bitmap *b, unsigned long want) argument
388 if (have == want)
396 bytes = sizeof(struct page *)*want;
404 if (want >= have) {
407 for (; i < want; i++) {
414 /* we want to know which page it is
420 for (i = 0; i < want; i++)
423 bm_free_pages(old_pages + want, hav
634 unsigned long want, have, onpages; /* number of pages */ local
[all...]
/linux-master/tools/testing/selftests/net/
H A Dpmtu.sh1048 run_cmd ${ns_a} ${ping} -q -M want -i 0.1 -w 1 -s 1800 ${dst1}
1049 run_cmd ${ns_a} ${ping} -q -M want -i 0.1 -w 1 -s 1800 ${dst2}
1081 run_cmd ${ns_a} ${ping} -q -M want -i 0.1 -w 1 -s 1400 ${dst2}
1098 run_cmd ${ns_a} ${ping} -q -M want -i 0.1 -w 1 -s 1400 ${dst2}
1138 run_cmd "${ns_a}" ping -q -M want -Q "${dsfield}" -c 1 -w 1 -s "${len}" "${dst1}"
1141 run_cmd "${ns_a}" ping -q -M want -Q "${dsfield}" -c 1 -w 1 -s "${len}" "${dst2}"
1236 run_cmd ${ns_a} ${ping} -q -M want -i 0.1 -w 1 -s $((${ll_mtu} + 500)) ${dst}
1317 run_cmd ${ns_c} ${ping} -q -M want -i 0.1 -c 10 -s $((${ll_mtu} + 500)) ${dst} || return 1
1318 run_cmd ${ns_a} ${ping} -q -M want -i 0.1 -w 1 -s $((${ll_mtu} + 500)) ${dst} || return 1
1442 run_cmd ${ns_c} ${ping} -q -M want
[all...]
/linux-master/fs/
H A Dposix_acl.c371 * Return 0 if current is granted want access to the inode
376 const struct posix_acl *acl, int want)
384 want &= MAY_READ | MAY_WRITE | MAY_EXEC;
404 if ((pa->e_perm & want) == want)
413 if ((pa->e_perm & want) == want)
433 if ((pa->e_perm & mask_obj->e_perm & want) == want)
440 if ((pa->e_perm & want)
375 posix_acl_permission(struct mnt_idmap *idmap, struct inode *inode, const struct posix_acl *acl, int want) argument
[all...]
/linux-master/fs/xfs/libxfs/
H A Dxfs_rtbitmap.c160 xfs_rtword_t want; /* mask for "good" values */ local
184 want = (incore & ((xfs_rtword_t)1 << bit)) ? -1 : 0;
201 if ((wdiff = (incore ^ want) & mask)) {
239 if ((wdiff = incore ^ want)) {
278 if ((wdiff = (incore ^ want) & mask)) {
314 xfs_rtword_t want; /* mask for "good" values */ local
338 want = (incore & ((xfs_rtword_t)1 << bit)) ? -1 : 0;
354 if ((wdiff = (incore ^ want) & mask)) {
392 if ((wdiff = incore ^ want)) {
429 if ((wdiff = (incore ^ want)
[all...]
/linux-master/tools/testing/selftests/kvm/aarch64/
H A Dvgic_init.c40 int want, const char *msg)
46 TEST_ASSERT(ret && errno == want, "%s; want errno = %d", msg, want);
49 static void v3_redist_reg_get(int gicv3_fd, int vcpu, int offset, uint32_t want, argument
56 TEST_ASSERT(val == want, "%s; want '0x%x', got '0x%x'", msg, want, val);
68 /* we don't want to assert on run execution, hence that helper */
39 v3_redist_reg_get_errno(int gicv3_fd, int vcpu, int offset, int want, const char *msg) argument
/linux-master/arch/arc/lib/
H A Dstrchr-700.S6 /* ARC700 has a relatively long pipeline and branch prediction, so we want
41 breq r7,0,.Loop ; For speed, we want this branch to be unaligned.
45 breq r12,0,.Loop ; For speed, we want this branch to be unaligned.
/linux-master/include/linux/ceph/
H A Dmon_client.h97 bool want; member in struct:ceph_mon_client::__anon1945
127 * get what we want.
/linux-master/fs/ceph/
H A Dcaps.c738 * If we are issued caps we don't want, or the mds' wanted
888 * callers to check for caps they want.)
1031 int want = 0; local
1036 want |= CEPH_CAP_ANY_SHARED;
1040 want |= CEPH_CAP_ANY_SHARED | CEPH_CAP_FILE_EXCL;
1042 want |= CEPH_CAP_ANY_DIR_OPS;
1045 if (want || ci->i_nr_by_mode[PIN_SHIFT] > 0)
1046 want |= CEPH_CAP_PIN;
1048 return want;
1084 /* we want EXC
1403 __prep_cap(struct cap_msg_args *arg, struct ceph_cap *cap, int op, int flags, int used, int want, int retain, int flushing, u64 flush_tid, u64 oldest_flush_tid) argument
2028 int issued, implemented, want, retain, revoking, flushing = 0; local
2818 try_get_cap_refs(struct inode *inode, int need, int want, loff_t endoff, int flags, int *got) argument
3013 ceph_try_get_caps(struct inode *inode, int need, int want, bool nonblock, int *got) argument
3044 __ceph_get_caps(struct inode *inode, struct ceph_file_info *fi, int need, int want, loff_t endoff, int *got) argument
3171 ceph_get_caps(struct file *filp, int need, int want, loff_t endoff, int *got) argument
[all...]
/linux-master/fs/bcachefs/
H A Dbtree_locking.c505 int want = __btree_lock_want(path, level); local
510 if (six_relock_type(&b->c.lock, want, path->l[level].lock_seq) ||
512 btree_node_lock_increment(trans, &b->c, level, want))) {
513 mark_btree_node_locked(trans, path, level, want);
652 * get the locks we want on transaction restart.
848 int want = btree_lock_want(path, l); local
854 (want == BTREE_NODE_UNLOCKED ||
856 want != have);
H A Dbtree_locking.h240 enum btree_node_locked_type want)
247 btree_node_locked_type(path, level) >= want) {
248 six_lock_increment(&b->lock, (enum six_lock_type) want);
237 btree_node_lock_increment(struct btree_trans *trans, struct btree_bkey_cached_common *b, unsigned level, enum btree_node_locked_type want) argument
/linux-master/net/bluetooth/cmtp/
H A Dcapi.c386 int err = 0, nconn, want = rp->level3cnt; local
397 if (want < 0)
398 nconn = ctrl->profile.nbchannel * -want;
400 nconn = want;
/linux-master/arch/x86/platform/olpc/
H A Dxo1-wakeup.S97 # This is the stack context we want to remember

Completed in 317 milliseconds

123