Searched refs:anchor (Results 1 - 25 of 35) sorted by relevance

12

/linux-master/drivers/usb/core/
H A Durb.c121 * @urb: pointer to the urb to anchor
122 * @anchor: pointer to the anchor
127 void usb_anchor_urb(struct urb *urb, struct usb_anchor *anchor) argument
131 spin_lock_irqsave(&anchor->lock, flags);
133 list_add_tail(&urb->anchor_list, &anchor->urb_list);
134 urb->anchor = anchor;
136 if (unlikely(anchor->poisoned))
139 spin_unlock_irqrestore(&anchor
143 usb_anchor_check_wakeup(struct usb_anchor *anchor) argument
150 __usb_unanchor_urb(struct urb *urb, struct usb_anchor *anchor) argument
168 struct usb_anchor *anchor; local
808 usb_kill_anchored_urbs(struct usb_anchor *anchor) argument
846 usb_poison_anchored_urbs(struct usb_anchor *anchor) argument
880 usb_unpoison_anchored_urbs(struct usb_anchor *anchor) argument
905 usb_unlink_anchored_urbs(struct usb_anchor *anchor) argument
924 usb_anchor_suspend_wakeups(struct usb_anchor *anchor) argument
938 usb_anchor_resume_wakeups(struct usb_anchor *anchor) argument
959 usb_wait_anchor_empty_timeout(struct usb_anchor *anchor, unsigned int timeout) argument
978 usb_get_from_anchor(struct usb_anchor *anchor) argument
1005 usb_scuttle_anchored_urbs(struct usb_anchor *anchor) argument
1033 usb_anchor_empty(struct usb_anchor *anchor) argument
[all...]
/linux-master/fs/jfs/
H A Djfs_unicode.h24 wchar_t *anchor = ucs1; /* save the start of result string */ local
27 return anchor;
38 __le16 *anchor = ucs1; local
46 return anchor;
70 __le16 *anchor = ucs1; local
78 return anchor;
87 wchar_t *anchor = ucs1; local
95 return anchor;
/linux-master/fs/nls/
H A Dnls_ucs2_utils.h52 wchar_t *anchor = ucs1; /* save a pointer to start of ucs1 */ local
59 return anchor;
101 wchar_t *anchor = ucs1; /* save the start of result string */ local
105 return anchor;
141 wchar_t *anchor = ucs1; /* save pointer to string 1 */ local
151 return anchor;
188 wchar_t *anchor = ucs1; local
196 return anchor;
204 wchar_t *anchor = ucs1; local
212 return anchor;
[all...]
/linux-master/net/tls/
H A Dtls_strp.c32 struct skb_shared_info *shinfo = skb_shinfo(strp->anchor);
37 consume_skb(strp->anchor);
38 strp->anchor = NULL;
74 skb = tls_strp_skb_copy(strp, strp->anchor, strp->stm.offset,
90 DEBUG_NET_WARN_ON_ONCE(!strp->anchor->decrypted);
101 /* Replace anchor with an empty skb, this is a little
109 swap(strp->anchor, skb);
133 strp->anchor = skb;
147 struct skb_shared_info *shinfo = skb_shinfo(strp->anchor);
154 /* We can't skb_clone() the anchor, i
[all...]
H A Dtls.h212 DEBUG_NET_WARN_ON_ONCE(!ctx->strp.msg_ready || !ctx->strp.anchor->len);
213 return ctx->strp.anchor;
/linux-master/lib/zstd/compress/
H A Dzstd_double_fast.c62 const BYTE* anchor = istart; local
134 ZSTD_storeSeq(seqStore, (size_t)(ip-anchor), anchor, iend, STORE_REPCODE_1, mLength);
145 while (((ip>anchor) & (matchl0>prefixLowest)) && (ip[-1] == matchl0[-1])) { ip--; matchl0--; mLength++; } /* catch up */
183 return (size_t)(iend - anchor);
193 while (((ip>anchor) & (matchl1>prefixLowest)) && (ip[-1] == matchl1[-1])) { ip--; matchl1--; mLength++; } /* catch up */
201 while (((ip>anchor) & (matchs0>prefixLowest)) && (ip[-1] == matchs0[-1])) { ip--; matchs0--; mLength++; } /* catch up */
220 ZSTD_storeSeq(seqStore, (size_t)(ip-anchor), anchor, iend, STORE_OFFSET(offset), mLength);
225 anchor
270 const BYTE* anchor = istart; local
542 const BYTE* anchor = istart; local
[all...]
H A Dzstd_fast.c111 const BYTE* anchor = istart; local
154 /* calculate positions, ip0 - anchor == 0, so we skip step calc */
262 return (size_t)(iend - anchor);
274 while (((ip0>anchor) & (match0>prefixStart)) && (ip0[-1] == match0[-1])) {
285 ZSTD_storeSeq(seqStore, (size_t)(ip0 - anchor), anchor, iend, offcode, mLength);
288 anchor = ip0;
309 ZSTD_storeSeq(seqStore, 0 /*litLen*/, anchor, iend, STORE_REPCODE_1, rLength);
310 anchor = ip0;
384 const BYTE* anchor local
561 const BYTE* anchor = istart; local
[all...]
H A Dzstd_ldm.c309 * Sets cctx->nextToUpdate to a position corresponding closer to anchor
312 static void ZSTD_ldm_limitTableUpdate(ZSTD_matchState_t* ms, const BYTE* anchor) argument
314 U32 const curr = (U32)(anchor - ms->window.base);
343 BYTE const* anchor = istart; local
353 return iend - anchor;
398 if (split < anchor) {
423 split, anchor, pMatch, lowMatchPtr, dictStart, dictEnd);
431 ZSTD_ldm_countBackwardsMatch(split, anchor, pMatch, lowPrefixPtr);
459 seq->litLength = (U32)(split - backwardMatchLength - anchor);
469 anchor
[all...]
H A Dzstd_lazy.c1485 const BYTE* anchor = istart; local
1572 ip += ((ip-anchor) >> kSearchStrength) + 1; /* jump faster over incompressible sections */
1658 while ( ((start > anchor) & (start - STORED_OFFSET(offcode) > prefixLowest))
1666 while ((start>anchor) && (match>mStart) && (start[-1] == match[-1])) { start--; match--; matchLength++; } /* catch up */
1672 { size_t const litLength = (size_t)(start - anchor);
1673 ZSTD_storeSeq(seqStore, litLength, anchor, iend, (U32)offcode, matchLength);
1674 anchor = ip = start + matchLength;
1690 ZSTD_storeSeq(seqStore, 0, anchor, iend, STORE_REPCODE_1, matchLength);
1692 anchor = ip;
1705 ZSTD_storeSeq(seqStore, 0, anchor, ien
1872 const BYTE* anchor = istart; local
[all...]
H A Dzstd_opt.c1047 const BYTE* anchor = istart; local
1081 { U32 const litlen = (U32)(ip - anchor);
1302 anchor - istart, (unsigned)llen, (unsigned)mlen);
1306 ip = anchor + llen; /* last "sequence" is a bunch of literals => don't progress anchor */
1310 assert(anchor + llen <= iend);
1311 ZSTD_updateStats(optStatePtr, llen, anchor, offCode, mlen);
1312 ZSTD_storeSeq(seqStore, llen, anchor, iend, offCode, mlen);
1313 anchor += advance;
1314 ip = anchor;
[all...]
/linux-master/tools/perf/Documentation/
H A Dcat-texi.perl18 s/\@anchor\{[^{}]*\}//g;
/linux-master/lib/lz4/
H A Dlz4hc_compress.c265 const BYTE **anchor,
275 length = (int)(*ip - *anchor);
296 LZ4_wildCopy(*op, *anchor, (*op) + length);
333 *anchor = *ip;
349 const BYTE *anchor = ip; local
403 &anchor, ml, ref, limit, oend))
468 if (LZ4HC_encodeSequence(&ip, &op, &anchor,
472 if (LZ4HC_encodeSequence(&ip, &op, &anchor,
498 if (LZ4HC_encodeSequence(&ip, &op, &anchor,
539 if (LZ4HC_encodeSequence(&ip, &op, &anchor, m
262 LZ4HC_encodeSequence( const BYTE **ip, BYTE **op, const BYTE **anchor, int matchLength, const BYTE * const match, limitedOutput_directive limitedOutputBuffer, BYTE *oend) argument
[all...]
H A Dlz4_compress.c195 const BYTE *anchor = (const BYTE *) source; local
294 while (((ip > anchor) & (match + refDelta > lowLimit))
302 unsigned const int litLength = (unsigned int)(ip - anchor);
325 LZ4_wildCopy(op, anchor, op + litLength);
391 anchor = ip;
431 size_t const lastRun = (size_t)(iend - anchor);
449 LZ4_memcpy(op, anchor, lastRun);
533 const BYTE *anchor = ip; local
603 while ((ip > anchor)
612 unsigned int litLength = (unsigned int)(ip - anchor);
[all...]
/linux-master/include/linux/
H A Dusb.h1395 static inline void init_usb_anchor(struct usb_anchor *anchor) argument
1397 memset(anchor, 0, sizeof(*anchor));
1398 INIT_LIST_HEAD(&anchor->urb_list);
1399 init_waitqueue_head(&anchor->wait);
1400 spin_lock_init(&anchor->lock);
1408 * @anchor_list: membership in the list of an anchor
1409 * @anchor: to anchor URBs to a common mooring
1600 struct usb_anchor *anchor; member in struct:urb
[all...]
H A Diova.h37 struct iova anchor; /* rbtree lookup anchor */ member in struct:iova_domain
/linux-master/drivers/infiniband/hw/mlx5/
H A Dfs.c2034 if (ft_prio->anchor.ft)
2051 ft_prio->anchor.ft = ft;
2058 if (ft_prio->anchor.ft) {
2059 mlx5_destroy_flow_table(ft_prio->anchor.ft);
2060 ft_prio->anchor.ft = NULL;
2072 if (ft_prio->anchor.fg_drop)
2082 fg = mlx5_create_flow_group(ft_prio->anchor.ft, flow_group_in);
2088 ft_prio->anchor.fg_drop = fg;
2099 if (ft_prio->anchor.fg_drop) {
2100 mlx5_destroy_flow_group(ft_prio->anchor
[all...]
/linux-master/drivers/mtd/ubi/
H A Dfastmap-wl.c23 * find_anchor_wl_entry - find wear-leveling entry to used as anchor PEB.
69 * @anchor: This PEB will be used as anchor PEB by fastmap
75 struct ubi_wl_entry *ubi_wl_get_fm_peb(struct ubi_device *ubi, int anchor) argument
82 if (anchor)
149 int fm_used = 0; // fastmap non anchor pebs.
216 * the best anchor PEBs.
423 * ubi_ensure_anchor_pebs - schedule wear-leveling to produce an anchor PEB.
429 struct ubi_wl_entry *anchor; local
433 /* Do we already have an anchor
[all...]
/linux-master/drivers/usb/serial/
H A Dopticon.c46 struct usb_anchor anchor; member in struct:opticon_private
159 usb_kill_anchored_urbs(&priv->anchor);
238 usb_anchor_urb(urb, &priv->anchor);
362 init_usb_anchor(&priv->anchor);
/linux-master/sound/usb/bcd2000/
H A Dbcd2000.c57 struct usb_anchor anchor; member in struct:bcd2000
262 init_usb_anchor(&bcd2k->anchor);
263 usb_anchor_urb(bcd2k->midi_out_urb, &bcd2k->anchor);
264 usb_anchor_urb(bcd2k->midi_in_urb, &bcd2k->anchor);
287 usb_wait_anchor_empty_timeout(&bcd2k->anchor, 1000);
/linux-master/drivers/net/wireless/ralink/rt2x00/
H A Drt2x00usb.c182 usb_anchor_urb(urb, rd->rt2x00dev->anchor);
220 usb_anchor_urb(urb, rt2x00dev->anchor);
748 usb_kill_anchored_urbs(rt2x00dev->anchor);
833 rt2x00dev->anchor = devm_kmalloc(&usb_dev->dev,
836 if (!rt2x00dev->anchor) {
840 init_usb_anchor(rt2x00dev->anchor);
849 usb_kill_anchored_urbs(rt2x00dev->anchor);
/linux-master/drivers/iommu/
H A Diova.c16 /* The anchor node sits above the top of the usable address space */
49 iovad->cached_node = &iovad->anchor.node;
50 iovad->cached32_node = &iovad->anchor.node;
55 iovad->anchor.pfn_lo = iovad->anchor.pfn_hi = IOVA_ANCHOR;
56 rb_link_node(&iovad->anchor.node, NULL, &iovad->rbroot.rb_node);
57 rb_insert_color(&iovad->anchor.node, &iovad->rbroot);
104 * walk from the anchor node will be quicker than this initial work to
106 * anchor node anyway). This is an incredibly crude approximation which
110 return &iovad->anchor
[all...]
/linux-master/fs/udf/
H A Dsuper.c31 * 11/26/98 dgb added fileset,anchor mount options
224 unsigned int anchor; member in struct:udf_options
418 seq_printf(seq, ",anchor=%u", sbi->s_anchor);
458 * anchor= Override standard anchor location. (default= 256)
505 fsparam_u32 ("anchor", Opt_anchor),
608 uopt->anchor = result.uint_32;
1832 * Load Volume Descriptor Sequence described by anchor in bh
1839 struct anchorVolDescPtr *anchor; local
1843 anchor
[all...]
/linux-master/arch/loongarch/kernel/
H A Dmodule.c320 Elf_Addr anchor = (((Elf_Addr)location) & ~0xfff) + offset_hi20; local
321 ptrdiff_t offset_rem = (void *)v - (void *)anchor;
/linux-master/include/net/
H A Dtls.h119 struct sk_buff *anchor; member in struct:tls_strparser
/linux-master/drivers/char/xillybus/
H A Dxillyusb.c104 struct usb_anchor anchor; member in struct:xillyusb_endpoint
457 usb_kill_anchored_urbs(&ep->anchor);
508 init_usb_anchor(&ep->anchor);
739 usb_anchor_urb(urb, &ep->anchor);
843 usb_anchor_urb(urb, &ep->anchor);

Completed in 336 milliseconds

12