Home
last modified time | relevance | path

Searched refs:anchor (Results 1 – 25 of 42) sorted by relevance

12

/linux-5.19.10/drivers/usb/core/
Durb.c126 void usb_anchor_urb(struct urb *urb, struct usb_anchor *anchor) in usb_anchor_urb() argument
130 spin_lock_irqsave(&anchor->lock, flags); in usb_anchor_urb()
132 list_add_tail(&urb->anchor_list, &anchor->urb_list); in usb_anchor_urb()
133 urb->anchor = anchor; in usb_anchor_urb()
135 if (unlikely(anchor->poisoned)) in usb_anchor_urb()
138 spin_unlock_irqrestore(&anchor->lock, flags); in usb_anchor_urb()
142 static int usb_anchor_check_wakeup(struct usb_anchor *anchor) in usb_anchor_check_wakeup() argument
144 return atomic_read(&anchor->suspend_wakeups) == 0 && in usb_anchor_check_wakeup()
145 list_empty(&anchor->urb_list); in usb_anchor_check_wakeup()
149 static void __usb_unanchor_urb(struct urb *urb, struct usb_anchor *anchor) in __usb_unanchor_urb() argument
[all …]
/linux-5.19.10/lib/zstd/compress/
Dzstd_fast.c62 const BYTE* anchor = istart; in ZSTD_compressBlock_fast_generic() local
133 { size_t const step = ((size_t)(ip0-anchor) >> (kSearchStrength - 1)) + stepSize; in ZSTD_compressBlock_fast_generic()
146 while (((ip0>anchor) & (match0>prefixStart)) in ZSTD_compressBlock_fast_generic()
152 ZSTD_storeSeq(seqStore, (size_t)(ip0-anchor), anchor, iend, offcode, mLength-MINMATCH); in ZSTD_compressBlock_fast_generic()
155 anchor = ip0; in ZSTD_compressBlock_fast_generic()
170 … ZSTD_storeSeq(seqStore, 0 /*litLen*/, anchor, iend, 0 /*offCode*/, rLength-MINMATCH); in ZSTD_compressBlock_fast_generic()
171 anchor = ip0; in ZSTD_compressBlock_fast_generic()
182 return (size_t)(iend - anchor); in ZSTD_compressBlock_fast_generic()
219 const BYTE* anchor = istart; in ZSTD_compressBlock_fast_dictMatchState_generic() local
275 ZSTD_storeSeq(seqStore, (size_t)(ip-anchor), anchor, iend, 0, mLength-MINMATCH); in ZSTD_compressBlock_fast_dictMatchState_generic()
[all …]
Dzstd_double_fast.c64 const BYTE* anchor = istart; in ZSTD_compressBlock_doubleFast_generic() local
151 ZSTD_storeSeq(seqStore, (size_t)(ip-anchor), anchor, iend, 0, mLength-MINMATCH); in ZSTD_compressBlock_doubleFast_generic()
160 ZSTD_storeSeq(seqStore, (size_t)(ip-anchor), anchor, iend, 0, mLength-MINMATCH); in ZSTD_compressBlock_doubleFast_generic()
169 …while (((ip>anchor) & (matchLong>prefixLowest)) && (ip[-1] == matchLong[-1])) { ip--; matchLong--;… in ZSTD_compressBlock_doubleFast_generic()
181 …while (((ip>anchor) & (dictMatchL>dictStart)) && (ip[-1] == dictMatchL[-1])) { ip--; dictMatchL--;… in ZSTD_compressBlock_doubleFast_generic()
200 ip += ((ip-anchor) >> kSearchStrength) + 1; in ZSTD_compressBlock_doubleFast_generic()
220 …while (((ip>anchor) & (matchL3>prefixLowest)) && (ip[-1] == matchL3[-1])) { ip--; matchL3--; mLeng… in ZSTD_compressBlock_doubleFast_generic()
232 …while (((ip>anchor) & (dictMatchL3>dictStart)) && (ip[-1] == dictMatchL3[-1])) { ip--; dictMatchL3… in ZSTD_compressBlock_doubleFast_generic()
240 …while (((ip>anchor) & (match>dictStart)) && (ip[-1] == match[-1])) { ip--; match--; mLength++; } /… in ZSTD_compressBlock_doubleFast_generic()
244 …while (((ip>anchor) & (match>prefixLowest)) && (ip[-1] == match[-1])) { ip--; match--; mLength++; … in ZSTD_compressBlock_doubleFast_generic()
[all …]
Dzstd_ldm.c285 static void ZSTD_ldm_limitTableUpdate(ZSTD_matchState_t* ms, const BYTE* anchor) in ZSTD_ldm_limitTableUpdate() argument
287 U32 const curr = (U32)(anchor - ms->window.base); in ZSTD_ldm_limitTableUpdate()
316 BYTE const* anchor = istart; in ZSTD_ldm_generateSequences_internal() local
326 return iend - anchor; in ZSTD_ldm_generateSequences_internal()
378 if (split < anchor) { in ZSTD_ldm_generateSequences_internal()
403 split, anchor, pMatch, lowMatchPtr, dictStart, dictEnd); in ZSTD_ldm_generateSequences_internal()
411 ZSTD_ldm_countBackwardsMatch(split, anchor, pMatch, lowPrefixPtr); in ZSTD_ldm_generateSequences_internal()
439 seq->litLength = (U32)(split - backwardMatchLength - anchor); in ZSTD_ldm_generateSequences_internal()
449 anchor = split + forwardMatchLength; in ZSTD_ldm_generateSequences_internal()
455 return iend - anchor; in ZSTD_ldm_generateSequences_internal()
Dzstd_lazy.c866 const BYTE* anchor = istart; in ZSTD_compressBlock_lazy_generic() local
978 … ip += ((ip-anchor) >> kSearchStrength) + 1; /* jump faster over incompressible sections */ in ZSTD_compressBlock_lazy_generic()
1063 while ( ((start > anchor) & (start - (offset-ZSTD_REP_MOVE) > prefixLowest)) in ZSTD_compressBlock_lazy_generic()
1071 …while ((start>anchor) && (match>mStart) && (start[-1] == match[-1])) { start--; match--; matchLeng… in ZSTD_compressBlock_lazy_generic()
1077 { size_t const litLength = start - anchor; in ZSTD_compressBlock_lazy_generic()
1078 ZSTD_storeSeq(seqStore, litLength, anchor, iend, (U32)offset, matchLength-MINMATCH); in ZSTD_compressBlock_lazy_generic()
1079 anchor = ip = start + matchLength; in ZSTD_compressBlock_lazy_generic()
1095 ZSTD_storeSeq(seqStore, 0, anchor, iend, 0, matchLength-MINMATCH); in ZSTD_compressBlock_lazy_generic()
1097 anchor = ip; in ZSTD_compressBlock_lazy_generic()
1110 ZSTD_storeSeq(seqStore, 0, anchor, iend, 0, matchLength-MINMATCH); in ZSTD_compressBlock_lazy_generic()
[all …]
Dzstd_opt.c953 const BYTE* anchor = istart; in ZSTD_compressBlock_opt_generic() local
985 { U32 const litlen = (U32)(ip - anchor); in ZSTD_compressBlock_opt_generic()
1204 anchor - istart, (unsigned)llen, (unsigned)mlen); in ZSTD_compressBlock_opt_generic()
1208 … ip = anchor + llen; /* last "sequence" is a bunch of literals => don't progress anchor */ in ZSTD_compressBlock_opt_generic()
1212 assert(anchor + llen <= iend); in ZSTD_compressBlock_opt_generic()
1213 ZSTD_updateStats(optStatePtr, llen, anchor, offCode, mlen); in ZSTD_compressBlock_opt_generic()
1214 ZSTD_storeSeq(seqStore, llen, anchor, iend, offCode, mlen-MINMATCH); in ZSTD_compressBlock_opt_generic()
1215 anchor += advance; in ZSTD_compressBlock_opt_generic()
1216 ip = anchor; in ZSTD_compressBlock_opt_generic()
1223 return (size_t)(iend - anchor); in ZSTD_compressBlock_opt_generic()
/linux-5.19.10/Documentation/driver-api/usb/
Danchors.rst4 What is anchor?
11 for them. The anchor is a data structure takes care of
18 There's no API to allocate an anchor. It is simply declared
25 Once it has no more URBs associated with it, the anchor can be
31 An association of URBs to an anchor is made by an explicit
35 all URBs associated with an anchor.
44 This function kills all URBs associated with an anchor. The URBs
52 This function unlinks all URBs associated with an anchor. The URBs
62 All URBs of an anchor are unanchored en masse.
67 This function waits for all URBs associated with an anchor to finish
[all …]
/linux-5.19.10/fs/jfs/
Djfs_unicode.h31 wchar_t *anchor = ucs1; /* save the start of result string */ in UniStrcpy() local
34 return anchor; in UniStrcpy()
45 __le16 *anchor = ucs1; in UniStrncpy_le() local
53 return anchor; in UniStrncpy_le()
77 __le16 *anchor = ucs1; in UniStrncpy_to_le() local
85 return anchor; in UniStrncpy_to_le()
94 wchar_t *anchor = ucs1; in UniStrncpy_from_le() local
102 return anchor; in UniStrncpy_from_le()
/linux-5.19.10/fs/ksmbd/
Dunicode.h83 wchar_t *anchor = ucs1; /* save a pointer to start of ucs1 */ in UniStrcat() local
90 return anchor; in UniStrcat()
132 wchar_t *anchor = ucs1; /* save the start of result string */ in UniStrcpy() local
136 return anchor; in UniStrcpy()
172 wchar_t *anchor = ucs1; /* save pointer to string 1 */ in UniStrncat() local
182 return anchor; in UniStrncat()
219 wchar_t *anchor = ucs1; in UniStrncpy() local
227 return anchor; in UniStrncpy()
235 wchar_t *anchor = ucs1; in UniStrncpy_le() local
243 return anchor; in UniStrncpy_le()
/linux-5.19.10/fs/cifs/
Dcifs_unicode.h120 __le16 *anchor = ucs1; /* save a pointer to start of ucs1 */ in UniStrcat() local
125 return anchor; in UniStrcat()
170 wchar_t *anchor = ucs1; /* save the start of result string */ in UniStrcpy() local
173 return anchor; in UniStrcpy()
212 wchar_t *anchor = ucs1; /* save pointer to string 1 */ in UniStrncat() local
221 return (anchor); in UniStrncat()
260 wchar_t *anchor = ucs1; in UniStrncpy() local
268 return anchor; in UniStrncpy()
277 wchar_t *anchor = ucs1; in UniStrncpy_le() local
285 return anchor; in UniStrncpy_le()
/linux-5.19.10/lib/lz4/
Dlz4hc_compress.c265 const BYTE **anchor, in LZ4HC_encodeSequence() argument
275 length = (int)(*ip - *anchor); in LZ4HC_encodeSequence()
296 LZ4_wildCopy(*op, *anchor, (*op) + length); in LZ4HC_encodeSequence()
333 *anchor = *ip; in LZ4HC_encodeSequence()
349 const BYTE *anchor = ip; in LZ4HC_compress_generic() local
403 &anchor, ml, ref, limit, oend)) in LZ4HC_compress_generic()
468 if (LZ4HC_encodeSequence(&ip, &op, &anchor, in LZ4HC_compress_generic()
472 if (LZ4HC_encodeSequence(&ip, &op, &anchor, in LZ4HC_compress_generic()
498 if (LZ4HC_encodeSequence(&ip, &op, &anchor, in LZ4HC_compress_generic()
539 if (LZ4HC_encodeSequence(&ip, &op, &anchor, ml, in LZ4HC_compress_generic()
[all …]
Dlz4_compress.c195 const BYTE *anchor = (const BYTE *) source; in LZ4_compress_generic() local
294 while (((ip > anchor) & (match + refDelta > lowLimit)) in LZ4_compress_generic()
302 unsigned const int litLength = (unsigned int)(ip - anchor); in LZ4_compress_generic()
325 LZ4_wildCopy(op, anchor, op + litLength); in LZ4_compress_generic()
391 anchor = ip; in LZ4_compress_generic()
431 size_t const lastRun = (size_t)(iend - anchor); in LZ4_compress_generic()
449 LZ4_memcpy(op, anchor, lastRun); in LZ4_compress_generic()
533 const BYTE *anchor = ip; in LZ4_compress_destSize_generic() local
603 while ((ip > anchor) in LZ4_compress_destSize_generic()
612 unsigned int litLength = (unsigned int)(ip - anchor); in LZ4_compress_destSize_generic()
[all …]
/linux-5.19.10/include/linux/
Dusb.h1365 static inline void init_usb_anchor(struct usb_anchor *anchor) in init_usb_anchor() argument
1367 memset(anchor, 0, sizeof(*anchor)); in init_usb_anchor()
1368 INIT_LIST_HEAD(&anchor->urb_list); in init_usb_anchor()
1369 init_waitqueue_head(&anchor->wait); in init_usb_anchor()
1370 spin_lock_init(&anchor->lock); in init_usb_anchor()
1570 struct usb_anchor *anchor; member
1724 extern void usb_kill_anchored_urbs(struct usb_anchor *anchor);
1725 extern void usb_poison_anchored_urbs(struct usb_anchor *anchor);
1726 extern void usb_unpoison_anchored_urbs(struct usb_anchor *anchor);
1727 extern void usb_unlink_anchored_urbs(struct usb_anchor *anchor);
[all …]
Diova.h37 struct iova anchor; /* rbtree lookup anchor */ member
/linux-5.19.10/drivers/mtd/ubi/
Dfastmap-wl.c75 struct ubi_wl_entry *ubi_wl_get_fm_peb(struct ubi_device *ubi, int anchor) in ubi_wl_get_fm_peb() argument
82 if (anchor) in ubi_wl_get_fm_peb()
363 struct ubi_wl_entry *anchor; in ubi_ensure_anchor_pebs() local
374 anchor = ubi_wl_get_fm_peb(ubi, 1); in ubi_ensure_anchor_pebs()
375 if (anchor) { in ubi_ensure_anchor_pebs()
376 ubi->fm_anchor = anchor; in ubi_ensure_anchor_pebs()
/linux-5.19.10/sound/usb/bcd2000/
Dbcd2000.c57 struct usb_anchor anchor; member
262 init_usb_anchor(&bcd2k->anchor); in bcd2000_init_device()
263 usb_anchor_urb(bcd2k->midi_out_urb, &bcd2k->anchor); in bcd2000_init_device()
264 usb_anchor_urb(bcd2k->midi_in_urb, &bcd2k->anchor); in bcd2000_init_device()
287 usb_wait_anchor_empty_timeout(&bcd2k->anchor, 1000); in bcd2000_init_device()
/linux-5.19.10/Documentation/input/
Dshape.svg33 …0" font-family="sans-serif" font-size="144px" stroke-width=".025in" text-anchor="middle" xml:space…
36 …0" font-family="sans-serif" font-size="144px" stroke-width=".025in" text-anchor="middle" xml:space…
37 …0" font-family="sans-serif" font-size="144px" stroke-width=".025in" text-anchor="middle" xml:space…
38 …0" font-family="sans-serif" font-size="144px" stroke-width=".025in" text-anchor="end" xml:space="p…
Dinteractive.svg18 …ans-serif" font-size="144px" stroke="#000000" stroke-width=".025in" text-anchor="middle" xml:space…
/linux-5.19.10/drivers/usb/serial/
Dopticon.c46 struct usb_anchor anchor; member
159 usb_kill_anchored_urbs(&priv->anchor); in opticon_close()
240 usb_anchor_urb(urb, &priv->anchor); in opticon_write()
364 init_usb_anchor(&priv->anchor); in opticon_port_probe()
/linux-5.19.10/drivers/iommu/
Diova.c59 iovad->cached_node = &iovad->anchor.node; in init_iova_domain()
60 iovad->cached32_node = &iovad->anchor.node; in init_iova_domain()
65 iovad->anchor.pfn_lo = iovad->anchor.pfn_hi = IOVA_ANCHOR; in init_iova_domain()
66 rb_link_node(&iovad->anchor.node, NULL, &iovad->rbroot.rb_node); in init_iova_domain()
67 rb_insert_color(&iovad->anchor.node, &iovad->rbroot); in init_iova_domain()
120 return &iovad->anchor.node; in iova_find_limit()
/linux-5.19.10/drivers/net/wireless/ralink/rt2x00/
Drt2x00usb.c182 usb_anchor_urb(urb, rd->rt2x00dev->anchor); in rt2x00usb_register_read_async_cb()
220 usb_anchor_urb(urb, rt2x00dev->anchor); in rt2x00usb_register_read_async()
748 usb_kill_anchored_urbs(rt2x00dev->anchor); in rt2x00usb_uninitialize()
833 rt2x00dev->anchor = devm_kmalloc(&usb_dev->dev, in rt2x00usb_probe()
836 if (!rt2x00dev->anchor) { in rt2x00usb_probe()
840 init_usb_anchor(rt2x00dev->anchor); in rt2x00usb_probe()
849 usb_kill_anchored_urbs(rt2x00dev->anchor); in rt2x00usb_probe()
/linux-5.19.10/Documentation/filesystems/
Dudf.rst63 anchor= Override standard anchor location. (default= 256)
/linux-5.19.10/arch/arm64/kvm/hyp/
Dpgtable.c570 kvm_pte_t *anchor; member
770 if (data->anchor) in stage2_map_walk_table_pre()
785 data->anchor = ptep; in stage2_map_walk_table_pre()
796 if (data->anchor) { in stage2_map_walk_leaf()
839 if (!data->anchor) in stage2_map_walk_table_post()
842 if (data->anchor == ptep) { in stage2_map_walk_table_post()
844 data->anchor = NULL; in stage2_map_walk_table_post()
/linux-5.19.10/fs/udf/
Dsuper.c212 unsigned int anchor; member
463 uopt->anchor = 0; in udf_parse_options()
548 uopt->anchor = option; in udf_parse_options()
1793 struct anchorVolDescPtr *anchor; in udf_load_sequence() local
1797 anchor = (struct anchorVolDescPtr *)bh->b_data; in udf_load_sequence()
1800 main_s = le32_to_cpu(anchor->mainVolDescSeqExt.extLocation); in udf_load_sequence()
1801 main_e = le32_to_cpu(anchor->mainVolDescSeqExt.extLength); in udf_load_sequence()
1806 reserve_s = le32_to_cpu(anchor->reserveVolDescSeqExt.extLocation); in udf_load_sequence()
1807 reserve_e = le32_to_cpu(anchor->reserveVolDescSeqExt.extLength); in udf_load_sequence()
2005 sbi->s_anchor = uopt->anchor; in udf_load_vrs()
/linux-5.19.10/drivers/char/xillybus/
Dxillyusb.c104 struct usb_anchor anchor; member
449 usb_kill_anchored_urbs(&ep->anchor); in endpoint_quiesce()
500 init_usb_anchor(&ep->anchor); in endpoint_alloc()
731 usb_anchor_urb(urb, &ep->anchor); in try_queue_bulk_in()
835 usb_anchor_urb(urb, &ep->anchor); in try_queue_bulk_out()

12