Home
last modified time | relevance | path

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

12

/linux/drivers/usb/core/
A Durb.c133 urb->anchor = anchor; in usb_anchor_urb()
151 urb->anchor = NULL; in __usb_unanchor_urb()
155 wake_up(&anchor->wait); in __usb_unanchor_urb()
167 struct usb_anchor *anchor; in usb_unanchor_urb() local
172 anchor = urb->anchor; in usb_unanchor_urb()
173 if (!anchor) in usb_unanchor_urb()
182 if (likely(anchor == urb->anchor)) in usb_unanchor_urb()
854 anchor->poisoned = 1; in usb_poison_anchored_urbs()
890 anchor->poisoned = 0; in usb_unpoison_anchored_urbs()
927 if (anchor) in usb_anchor_suspend_wakeups()
[all …]
/linux/lib/zstd/compress/
A Dzstd_fast.c62 const BYTE* anchor = istart; in ZSTD_compressBlock_fast_generic() local
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()
171 anchor = ip0; 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()
315 anchor = ip; in ZSTD_compressBlock_fast_dictMatchState_generic()
338 anchor = ip; in ZSTD_compressBlock_fast_dictMatchState_generic()
426 ZSTD_storeSeq(seqStore, (size_t)(ip-anchor), anchor, iend, 0, rLength-MINMATCH); in ZSTD_compressBlock_fast_extDict_generic()
428 anchor = ip; in ZSTD_compressBlock_fast_extDict_generic()
[all …]
A 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()
256 anchor = ip; in ZSTD_compressBlock_doubleFast_generic()
303 anchor = ip; in ZSTD_compressBlock_doubleFast_generic()
313 return (size_t)(iend - anchor); in ZSTD_compressBlock_doubleFast_generic()
369 const BYTE* anchor = istart; in ZSTD_compressBlock_doubleFast_extDict_generic() local
415 ZSTD_storeSeq(seqStore, (size_t)(ip-anchor), anchor, iend, 0, mLength-MINMATCH); in ZSTD_compressBlock_doubleFast_extDict_generic()
460 anchor = ip; in ZSTD_compressBlock_doubleFast_extDict_generic()
487 anchor = ip; in ZSTD_compressBlock_doubleFast_extDict_generic()
[all …]
A 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()
A Dzstd_lazy.c866 const BYTE* anchor = istart; in ZSTD_compressBlock_lazy_generic() local
1077 { size_t const litLength = start - anchor; in ZSTD_compressBlock_lazy_generic()
1079 anchor = ip = start + matchLength; in ZSTD_compressBlock_lazy_generic()
1097 anchor = ip; in ZSTD_compressBlock_lazy_generic()
1112 anchor = ip; in ZSTD_compressBlock_lazy_generic()
1121 return (size_t)(iend - anchor); in ZSTD_compressBlock_lazy_generic()
1213 const BYTE* anchor = istart; in ZSTD_compressBlock_lazy_extDict_generic() local
1350 { size_t const litLength = start - anchor; in ZSTD_compressBlock_lazy_extDict_generic()
1352 anchor = ip = start + matchLength; in ZSTD_compressBlock_lazy_extDict_generic()
1370 anchor = ip; in ZSTD_compressBlock_lazy_extDict_generic()
[all …]
A 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/Documentation/driver-api/usb/
A 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.
74 Returns true if no URBs are associated with an anchor. Locking
[all …]
/linux/fs/jfs/
A 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/fs/ksmbd/
A 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/fs/cifs/
A 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/lib/lz4/
A 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()
556 int lastRun = (int)(iend - anchor); in LZ4HC_compress_generic()
573 LZ4_memcpy(op, anchor, iend - anchor); in LZ4HC_compress_generic()
[all …]
A Dlz4_compress.c195 const BYTE *anchor = (const BYTE *) source; in LZ4_compress_generic() local
325 LZ4_wildCopy(op, anchor, op + litLength); in LZ4_compress_generic()
391 anchor = ip; 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()
631 LZ4_wildCopy(op, anchor, op + litLength); in LZ4_compress_destSize_generic()
662 anchor = ip; in LZ4_compress_destSize_generic()
690 size_t lastRunSize = (size_t)(iend - anchor); in LZ4_compress_destSize_generic()
699 ip = anchor + lastRunSize; in LZ4_compress_destSize_generic()
[all …]
/linux/include/linux/
A Dusb.h1372 static inline void init_usb_anchor(struct usb_anchor *anchor) in init_usb_anchor() argument
1374 memset(anchor, 0, sizeof(*anchor)); in init_usb_anchor()
1375 INIT_LIST_HEAD(&anchor->urb_list); in init_usb_anchor()
1376 init_waitqueue_head(&anchor->wait); in init_usb_anchor()
1377 spin_lock_init(&anchor->lock); in init_usb_anchor()
1577 struct usb_anchor *anchor; member
1731 extern void usb_kill_anchored_urbs(struct usb_anchor *anchor);
1732 extern void usb_poison_anchored_urbs(struct usb_anchor *anchor);
1734 extern void usb_unlink_anchored_urbs(struct usb_anchor *anchor);
1736 extern void usb_anchor_resume_wakeups(struct usb_anchor *anchor);
[all …]
A Diova.h85 struct iova anchor; /* rbtree lookup anchor */ member
/linux/sound/usb/bcd2000/
A 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/Documentation/input/
A 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…
A Dinteractive.svg18 …ans-serif" font-size="144px" stroke="#000000" stroke-width=".025in" text-anchor="middle" xml:space…
/linux/drivers/usb/serial/
A 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/drivers/net/wireless/ralink/rt2x00/
A 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/drivers/iommu/
A Diova.c60 iovad->cached_node = &iovad->anchor.node; in init_iova_domain()
61 iovad->cached32_node = &iovad->anchor.node; in init_iova_domain()
68 iovad->anchor.pfn_lo = iovad->anchor.pfn_hi = IOVA_ANCHOR; in init_iova_domain()
69 rb_link_node(&iovad->anchor.node, NULL, &iovad->rbroot.rb_node); in init_iova_domain()
70 rb_insert_color(&iovad->anchor.node, &iovad->rbroot); in init_iova_domain()
180 return &iovad->anchor.node; in iova_find_limit()
/linux/arch/arm64/kvm/hyp/
A Dpgtable.c508 kvm_pte_t *anchor; member
708 if (data->anchor) in stage2_map_walk_table_pre()
723 data->anchor = ptep; in stage2_map_walk_table_pre()
734 if (data->anchor) { in stage2_map_walk_leaf()
777 if (!data->anchor) in stage2_map_walk_table_post()
780 if (data->anchor == ptep) { in stage2_map_walk_table_post()
782 data->anchor = NULL; in stage2_map_walk_table_post()
/linux/Documentation/filesystems/
A Dudf.rst63 anchor= Override standard anchor location. (default= 256)
/linux/drivers/mtd/ubi/
A 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()
/linux/fs/udf/
A 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/drivers/char/xillybus/
A 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()
730 usb_anchor_urb(urb, &ep->anchor); in try_queue_bulk_in()
834 usb_anchor_urb(urb, &ep->anchor); in try_queue_bulk_out()

Completed in 79 milliseconds

12