Home
last modified time | relevance | path

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

12

/Linux-v4.19/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 …]
Dhcd.c1739 struct usb_anchor *anchor = urb->anchor; in __usb_hcd_giveback_urb() local
1751 usb_anchor_suspend_wakeups(anchor); in __usb_hcd_giveback_urb()
1773 usb_anchor_resume_wakeups(anchor); in __usb_hcd_giveback_urb()
/Linux-v4.19/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-v4.19/fs/jfs/
Djfs_unicode.h44 wchar_t *anchor = ucs1; /* save the start of result string */ in UniStrcpy() local
47 return anchor; in UniStrcpy()
58 __le16 *anchor = ucs1; in UniStrncpy_le() local
66 return anchor; in UniStrncpy_le()
90 __le16 *anchor = ucs1; in UniStrncpy_to_le() local
98 return anchor; in UniStrncpy_to_le()
107 wchar_t *anchor = ucs1; in UniStrncpy_from_le() local
115 return anchor; in UniStrncpy_from_le()
/Linux-v4.19/fs/cifs/
Dcifs_unicode.h135 __le16 *anchor = ucs1; /* save a pointer to start of ucs1 */ in UniStrcat() local
140 return anchor; in UniStrcat()
185 wchar_t *anchor = ucs1; /* save the start of result string */ in UniStrcpy() local
188 return anchor; in UniStrcpy()
227 wchar_t *anchor = ucs1; /* save pointer to string 1 */ in UniStrncat() local
236 return (anchor); in UniStrncat()
275 wchar_t *anchor = ucs1; in UniStrncpy() local
283 return anchor; in UniStrncpy()
292 wchar_t *anchor = ucs1; in UniStrncpy_le() local
300 return anchor; in UniStrncpy_le()
/Linux-v4.19/lib/zstd/
Dzstd_opt.h412 const BYTE *anchor = istart; in ZSTD_compressBlock_opt_generic() local
444 litlen = (U32)(ip - anchor); in ZSTD_compressBlock_opt_generic()
448 U32 i, last_i = ZSTD_REP_CHECK + (ip == anchor); in ZSTD_compressBlock_opt_generic()
449 for (i = (ip == anchor); i < last_i; i++) { in ZSTD_compressBlock_opt_generic()
461 best_off = i - (ip == anchor); in ZSTD_compressBlock_opt_generic()
463 price = ZSTD_getPrice(seqStorePtr, litlen, anchor, best_off, mlen - MINMATCH, ultra); in ZSTD_compressBlock_opt_generic()
493 price = ZSTD_getPrice(seqStorePtr, litlen, anchor, matches[u].off - 1, mlen - MINMATCH, ultra); in ZSTD_compressBlock_opt_generic()
523 price = ZSTD_getLiteralPrice(seqStorePtr, litlen, anchor); in ZSTD_compressBlock_opt_generic()
577 price = ZSTD_getPrice(seqStorePtr, litlen, anchor, best_off, mlen - MINMATCH, ultra); in ZSTD_compressBlock_opt_generic()
612 … price = ZSTD_getPrice(seqStorePtr, litlen, anchor, matches[u].off - 1, mlen - MINMATCH, ultra); in ZSTD_compressBlock_opt_generic()
[all …]
Dcompress.c1016 const BYTE *anchor = istart; in ZSTD_compressBlock_fast_generic() local
1046 ZSTD_storeSeq(seqStorePtr, ip - anchor, anchor, 0, mLength - MINMATCH); in ZSTD_compressBlock_fast_generic()
1050 ip += ((ip - anchor) >> g_searchStrength) + 1; in ZSTD_compressBlock_fast_generic()
1055 while (((ip > anchor) & (match > lowest)) && (ip[-1] == match[-1])) { in ZSTD_compressBlock_fast_generic()
1063 ZSTD_storeSeq(seqStorePtr, ip - anchor, anchor, offset + ZSTD_REP_MOVE, mLength - MINMATCH); in ZSTD_compressBlock_fast_generic()
1068 anchor = ip; in ZSTD_compressBlock_fast_generic()
1084 ZSTD_storeSeq(seqStorePtr, 0, anchor, 0, rLength - MINMATCH); in ZSTD_compressBlock_fast_generic()
1086 anchor = ip; in ZSTD_compressBlock_fast_generic()
1098 size_t const lastLLSize = iend - anchor; in ZSTD_compressBlock_fast_generic()
1099 memcpy(seqStorePtr->lit, anchor, lastLLSize); in ZSTD_compressBlock_fast_generic()
[all …]
/Linux-v4.19/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 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-v4.19/include/linux/
Dusb.h1352 static inline void init_usb_anchor(struct usb_anchor *anchor) in init_usb_anchor() argument
1354 memset(anchor, 0, sizeof(*anchor)); in init_usb_anchor()
1355 INIT_LIST_HEAD(&anchor->urb_list); in init_usb_anchor()
1356 init_waitqueue_head(&anchor->wait); in init_usb_anchor()
1357 spin_lock_init(&anchor->lock); in init_usb_anchor()
1557 struct usb_anchor *anchor; member
1711 extern void usb_kill_anchored_urbs(struct usb_anchor *anchor);
1712 extern void usb_poison_anchored_urbs(struct usb_anchor *anchor);
1713 extern void usb_unpoison_anchored_urbs(struct usb_anchor *anchor);
1714 extern void usb_unlink_anchored_urbs(struct usb_anchor *anchor);
[all …]
Diova.h78 struct iova anchor; /* rbtree lookup anchor */ member
/Linux-v4.19/sound/usb/bcd2000/
Dbcd2000.c66 struct usb_anchor anchor; member
271 init_usb_anchor(&bcd2k->anchor); in bcd2000_init_device()
272 usb_anchor_urb(bcd2k->midi_out_urb, &bcd2k->anchor); in bcd2000_init_device()
273 usb_anchor_urb(bcd2k->midi_in_urb, &bcd2k->anchor); in bcd2000_init_device()
296 usb_wait_anchor_empty_timeout(&bcd2k->anchor, 1000); in bcd2000_init_device()
/Linux-v4.19/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-v4.19/drivers/net/wireless/ralink/rt2x00/
Drt2x00usb.c174 usb_anchor_urb(urb, rd->rt2x00dev->anchor); in rt2x00usb_register_read_async_cb()
212 usb_anchor_urb(urb, rt2x00dev->anchor); in rt2x00usb_register_read_async()
743 usb_kill_anchored_urbs(rt2x00dev->anchor); in rt2x00usb_uninitialize()
828 rt2x00dev->anchor = devm_kmalloc(&usb_dev->dev, in rt2x00usb_probe()
831 if (!rt2x00dev->anchor) { in rt2x00usb_probe()
835 init_usb_anchor(rt2x00dev->anchor); in rt2x00usb_probe()
844 usb_kill_anchored_urbs(rt2x00dev->anchor); in rt2x00usb_probe()
Drt2x00.h1016 struct usb_anchor *anchor; member
/Linux-v4.19/drivers/mtd/ubi/
Dfastmap-wl.c90 struct ubi_wl_entry *ubi_wl_get_fm_peb(struct ubi_device *ubi, int anchor) in ubi_wl_get_fm_peb() argument
97 if (anchor) in ubi_wl_get_fm_peb()
306 wrk->anchor = 1; in ubi_ensure_anchor_pebs()
Dwl.c652 int anchor = wrk->anchor; local
694 if (!anchor)
695 anchor = !anchor_pebs_available(&ubi->free);
697 if (anchor) {
1040 wrk->anchor = 0;
Dubi.h821 int anchor; member
926 struct ubi_wl_entry *ubi_wl_get_fm_peb(struct ubi_device *ubi, int anchor);
/Linux-v4.19/drivers/iommu/
Diova.c54 iovad->cached_node = &iovad->anchor.node; in init_iova_domain()
55 iovad->cached32_node = &iovad->anchor.node; in init_iova_domain()
61 iovad->anchor.pfn_lo = iovad->anchor.pfn_hi = IOVA_ANCHOR; in init_iova_domain()
62 rb_link_node(&iovad->anchor.node, NULL, &iovad->rbroot.rb_node); in init_iova_domain()
63 rb_insert_color(&iovad->anchor.node, &iovad->rbroot); in init_iova_domain()
/Linux-v4.19/Documentation/filesystems/
Dudf.txt55 anchor= Override standard anchor location. (default= 256)
/Linux-v4.19/fs/udf/
Dsuper.c224 unsigned int anchor; member
479 uopt->anchor = 0; in udf_parse_options()
564 uopt->anchor = option; in udf_parse_options()
1700 struct anchorVolDescPtr *anchor; in udf_load_sequence() local
1704 anchor = (struct anchorVolDescPtr *)bh->b_data; in udf_load_sequence()
1707 main_s = le32_to_cpu(anchor->mainVolDescSeqExt.extLocation); in udf_load_sequence()
1708 main_e = le32_to_cpu(anchor->mainVolDescSeqExt.extLength); in udf_load_sequence()
1713 reserve_s = le32_to_cpu(anchor->reserveVolDescSeqExt.extLocation); in udf_load_sequence()
1714 reserve_e = le32_to_cpu(anchor->reserveVolDescSeqExt.extLength); in udf_load_sequence()
1914 sbi->s_anchor = uopt->anchor; in udf_load_vrs()
/Linux-v4.19/Documentation/translations/zh_CN/
Dcoding-style.rst531 (let* ((anchor (c-langelem-pos c-syntactic-element))
533 (offset (- (1+ column) anchor))
/Linux-v4.19/drivers/pci/hotplug/
Dcpqphp.h75 char anchor[4]; member
93 ANCHOR = offsetof(struct smbios_entry_point, anchor[0]),
/Linux-v4.19/Documentation/ABI/testing/
Dsysfs-firmware-qemu_fw_cfg76 "etc/smbios/smbios-anchor"

12