Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.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 …]
Dhcd.c1649 struct usb_anchor *anchor = urb->anchor; in __usb_hcd_giveback_urb() local
1660 usb_anchor_suspend_wakeups(anchor); in __usb_hcd_giveback_urb()
1678 usb_anchor_resume_wakeups(anchor); in __usb_hcd_giveback_urb()
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-5.10/include/linux/
Dusb.h1375 static inline void init_usb_anchor(struct usb_anchor *anchor) in init_usb_anchor() argument
1377 memset(anchor, 0, sizeof(*anchor)); in init_usb_anchor()
1378 INIT_LIST_HEAD(&anchor->urb_list); in init_usb_anchor()
1379 init_waitqueue_head(&anchor->wait); in init_usb_anchor()
1380 spin_lock_init(&anchor->lock); in init_usb_anchor()
1580 struct usb_anchor *anchor; member
1734 extern void usb_kill_anchored_urbs(struct usb_anchor *anchor);
1735 extern void usb_poison_anchored_urbs(struct usb_anchor *anchor);
1736 extern void usb_unpoison_anchored_urbs(struct usb_anchor *anchor);
1737 extern void usb_unlink_anchored_urbs(struct usb_anchor *anchor);
[all …]
Diova.h85 struct iova anchor; /* rbtree lookup anchor */ member
/kernel/linux/linux-5.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()
311 struct ubi_wl_entry *anchor; in ubi_ensure_anchor_pebs() local
322 anchor = ubi_wl_get_fm_peb(ubi, 1); in ubi_ensure_anchor_pebs()
323 if (anchor) { in ubi_ensure_anchor_pebs()
324 ubi->fm_anchor = anchor; in ubi_ensure_anchor_pebs()
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.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…
/kernel/linux/linux-5.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()
381 init_usb_anchor(&priv->anchor); in opticon_port_probe()
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.10/arch/arm64/kvm/hyp/
Dpgtable.c434 kvm_pte_t *anchor; member
499 if (data->anchor) in stage2_map_walk_table_pre()
513 data->anchor = ptep; in stage2_map_walk_table_pre()
523 if (data->anchor) { in stage2_map_walk_leaf()
567 if (!data->anchor) in stage2_map_walk_table_post()
573 if (data->anchor == ptep) { in stage2_map_walk_table_post()
574 data->anchor = NULL; in stage2_map_walk_table_post()
/kernel/linux/linux-5.10/drivers/iommu/
Diova.c42 iovad->cached_node = &iovad->anchor.node; in init_iova_domain()
43 iovad->cached32_node = &iovad->anchor.node; in init_iova_domain()
50 iovad->anchor.pfn_lo = iovad->anchor.pfn_hi = IOVA_ANCHOR; in init_iova_domain()
51 rb_link_node(&iovad->anchor.node, NULL, &iovad->rbroot.rb_node); in init_iova_domain()
52 rb_insert_color(&iovad->anchor.node, &iovad->rbroot); in init_iova_domain()
/kernel/linux/linux-5.10/Documentation/filesystems/
Dudf.rst63 anchor= Override standard anchor location. (default= 256)
/kernel/linux/linux-5.10/fs/udf/
Dsuper.c212 unsigned int anchor; member
462 uopt->anchor = 0; in udf_parse_options()
547 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()
2007 sbi->s_anchor = uopt->anchor; in udf_load_vrs()
/kernel/linux/linux-5.10/Documentation/translations/zh_CN/process/
Dcoding-style.rst518 (let* ((anchor (c-langelem-pos c-syntactic-element))
520 (offset (- (1+ column) anchor))
/kernel/linux/linux-5.10/drivers/pci/hotplug/
Dcpqphp.h75 char anchor[4]; member
93 ANCHOR = offsetof(struct smbios_entry_point, anchor[0]),
/kernel/linux/linux-5.10/Documentation/ABI/testing/
Dsysfs-firmware-qemu_fw_cfg78 "etc/smbios/smbios-anchor"
/kernel/linux/linux-5.10/fs/
Dlibfs.c191 struct list_head *anchor = &dentry->d_subdirs; in dcache_readdir() local
199 p = anchor; in dcache_readdir()

12