Home
last modified time | relevance | path

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

123

/linux-6.15/drivers/usb/core/
H A Durb.c134 urb->anchor = anchor; in usb_anchor_urb()
152 urb->anchor = NULL; in __usb_unanchor_urb()
156 wake_up(&anchor->wait); in __usb_unanchor_urb()
168 struct usb_anchor *anchor; in usb_unanchor_urb() local
173 anchor = urb->anchor; in usb_unanchor_urb()
174 if (!anchor) in usb_unanchor_urb()
183 if (likely(anchor == urb->anchor)) in usb_unanchor_urb()
853 anchor->poisoned = 1; in usb_poison_anchored_urbs()
889 anchor->poisoned = 0; in usb_unpoison_anchored_urbs()
926 if (anchor) in usb_anchor_suspend_wakeups()
[all …]
/linux-6.15/net/tls/
H A Dtls_strp.c37 consume_skb(strp->anchor); in tls_strp_anchor_free()
38 strp->anchor = NULL; in tls_strp_anchor_free()
109 swap(strp->anchor, skb); in tls_strp_msg_detach()
133 strp->anchor = skb; in tls_strp_msg_cow()
160 strp->anchor = skb; in tls_strp_msg_hold()
346 skb = strp->anchor; in tls_strp_copyin()
419 strp->anchor->len = 0; in tls_strp_read_copy()
420 strp->anchor->data_len = 0; in tls_strp_read_copy()
493 rxm = strp_msg(strp->anchor); in tls_strp_msg_load()
496 tlm = tls_msg(strp->anchor); in tls_strp_msg_load()
[all …]
/linux-6.15/fs/jfs/
H A Djfs_unicode.h24 wchar_t *anchor = ucs1; /* save the start of result string */ in UniStrcpy() local
27 return anchor; in UniStrcpy()
38 __le16 *anchor = ucs1; in UniStrncpy_le() local
46 return anchor; in UniStrncpy_le()
70 __le16 *anchor = ucs1; in UniStrncpy_to_le() local
78 return anchor; in UniStrncpy_to_le()
87 wchar_t *anchor = ucs1; in UniStrncpy_from_le() local
95 return anchor; in UniStrncpy_from_le()
H A Djfs_metapage.c85 struct meta_anchor *anchor = folio->private; in folio_to_mp() local
87 if (!anchor) in folio_to_mp()
89 return anchor->mp[offset >> L2PSIZE]; in folio_to_mp()
137 struct meta_anchor *anchor = folio->private; in inc_io() local
139 atomic_inc(&anchor->io_count); in inc_io()
145 struct meta_anchor *anchor = folio->private; in dec_io() local
147 if (anchor->status == BLK_STS_OK) in dec_io()
148 anchor->status = status; in dec_io()
150 if (atomic_dec_and_test(&anchor->io_count)) in dec_io()
151 handler(folio, anchor->status); in dec_io()
/linux-6.15/Documentation/driver-api/usb/
H 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-6.15/fs/nls/
H A Dnls_ucs2_utils.h52 wchar_t *anchor = ucs1; /* save a pointer to start of ucs1 */ in UniStrcat() local
59 return anchor; in UniStrcat()
101 wchar_t *anchor = ucs1; /* save the start of result string */ in UniStrcpy() local
105 return anchor; in UniStrcpy()
141 wchar_t *anchor = ucs1; /* save pointer to string 1 */ in UniStrncat() local
151 return anchor; in UniStrncat()
188 wchar_t *anchor = ucs1; in UniStrncpy() local
196 return anchor; in UniStrncpy()
204 wchar_t *anchor = ucs1; in UniStrncpy_le() local
212 return anchor; in UniStrncpy_le()
/linux-6.15/lib/zstd/compress/
H A Dzstd_double_fast.c117 const BYTE* anchor = istart; in ZSTD_compressBlock_doubleFast_noDict_generic() local
296 anchor = ip; in ZSTD_compressBlock_doubleFast_noDict_generic()
319 anchor = ip; in ZSTD_compressBlock_doubleFast_noDict_generic()
342 const BYTE* anchor = istart; in ZSTD_compressBlock_doubleFast_dictMatchState_generic() local
413 … ZSTD_storeSeq(seqStore, (size_t)(ip-anchor), anchor, iend, REPCODE1_TO_OFFBASE, mLength); in ZSTD_compressBlock_doubleFast_dictMatchState_generic()
506 anchor = ip; in ZSTD_compressBlock_doubleFast_dictMatchState_generic()
534 anchor = ip; in ZSTD_compressBlock_doubleFast_dictMatchState_generic()
547 return (size_t)(iend - anchor); in ZSTD_compressBlock_doubleFast_dictMatchState_generic()
623 const BYTE* anchor = istart; in ZSTD_compressBlock_doubleFast_extDict_generic() local
714 anchor = ip; in ZSTD_compressBlock_doubleFast_extDict_generic()
[all …]
H A Dzstd_fast.c208 const BYTE* anchor = istart; in ZSTD_compressBlock_fast_noDict_generic() local
397 ZSTD_storeSeq(seqStore, (size_t)(ip0 - anchor), anchor, iend, offcode, mLength); in ZSTD_compressBlock_fast_noDict_generic()
400 anchor = ip0; in ZSTD_compressBlock_fast_noDict_generic()
417 anchor = ip0; in ZSTD_compressBlock_fast_noDict_generic()
495 const BYTE* anchor = istart; in ZSTD_compressBlock_fast_dictMatchState_generic() local
635 anchor = ip0; in ZSTD_compressBlock_fast_dictMatchState_generic()
666 assert(ip0 == anchor); in ZSTD_compressBlock_fast_dictMatchState_generic()
720 const BYTE* anchor = istart; in ZSTD_compressBlock_fast_extDict_generic() local
924 ZSTD_storeSeq(seqStore, (size_t)(ip0 - anchor), anchor, iend, offcode, mLength); in ZSTD_compressBlock_fast_extDict_generic()
927 anchor = ip0; in ZSTD_compressBlock_fast_extDict_generic()
[all …]
H A Dzstd_ldm.c332 static void ZSTD_ldm_limitTableUpdate(ZSTD_MatchState_t* ms, const BYTE* anchor) in ZSTD_ldm_limitTableUpdate() argument
334 U32 const curr = (U32)(anchor - ms->window.base); in ZSTD_ldm_limitTableUpdate()
365 BYTE const* anchor = istart; in ZSTD_ldm_generateSequences_internal() local
375 return iend - anchor; in ZSTD_ldm_generateSequences_internal()
420 if (split < anchor) { in ZSTD_ldm_generateSequences_internal()
445 split, anchor, pMatch, lowMatchPtr, dictStart, dictEnd); in ZSTD_ldm_generateSequences_internal()
481 seq->litLength = (U32)(split - backwardMatchLength - anchor); in ZSTD_ldm_generateSequences_internal()
491 anchor = split + forwardMatchLength; in ZSTD_ldm_generateSequences_internal()
501 if (anchor > ip + hashed) { in ZSTD_ldm_generateSequences_internal()
504 ip = anchor - hashed; in ZSTD_ldm_generateSequences_internal()
[all …]
H A Dzstd_lazy.c1526 const BYTE* anchor = istart; in ZSTD_compressBlock_lazy_generic() local
1724 { size_t const litLength = (size_t)(start - anchor); in ZSTD_compressBlock_lazy_generic()
1726 anchor = ip = start + matchLength; in ZSTD_compressBlock_lazy_generic()
1751 anchor = ip; in ZSTD_compressBlock_lazy_generic()
1766 anchor = ip; in ZSTD_compressBlock_lazy_generic()
1779 return (size_t)(iend - anchor); in ZSTD_compressBlock_lazy_generic()
1946 const BYTE* anchor = istart; in ZSTD_compressBlock_lazy_extDict_generic() local
2098 { size_t const litLength = (size_t)(start - anchor); in ZSTD_compressBlock_lazy_extDict_generic()
2100 anchor = ip = start + matchLength; in ZSTD_compressBlock_lazy_extDict_generic()
2126 anchor = ip; in ZSTD_compressBlock_lazy_extDict_generic()
[all …]
H A Dzstd_opt.c1088 const BYTE* anchor = istart; in ZSTD_compressBlock_opt_generic() local
1124 { U32 const litlen = (U32)(ip - anchor); in ZSTD_compressBlock_opt_generic()
1352 assert(lastStretch.litlen == (ip - anchor) + last_pos); in ZSTD_compressBlock_opt_generic()
1420 (int)(anchor - istart), (unsigned)llen, (unsigned)mlen); in ZSTD_compressBlock_opt_generic()
1424 … ip = anchor + llen; /* last "sequence" is a bunch of literals => don't progress anchor */ in ZSTD_compressBlock_opt_generic()
1428 assert(anchor + llen <= iend); in ZSTD_compressBlock_opt_generic()
1429 ZSTD_updateStats(optStatePtr, llen, anchor, offBase, mlen); in ZSTD_compressBlock_opt_generic()
1430 ZSTD_storeSeq(seqStore, llen, anchor, iend, offBase, mlen); in ZSTD_compressBlock_opt_generic()
1431 anchor += advance; in ZSTD_compressBlock_opt_generic()
1432 ip = anchor; in ZSTD_compressBlock_opt_generic()
[all …]
/linux-6.15/scripts/
H A Dgenerate_builtin_ranges.awk133 ARGIND == 2 && map_is_lld && !anchor && NF == 7 && raw_addr == "0x"$1 && $6 == "=" && $7 == "." {
159 ARGIND == 2 && map_is_lld && sect && !anchor && NF == 5 && $5 ~ /^[_A-Za-z][_A-Za-z0-9]*$/ {
229 anchor = 0;
250 ARGIND == 2 && !anchor && NF == 4 && raw_addr == $1 && $3 == "=" && $4 == "." {
251 anchor = sprintf("%s %08x-%08x = %s", sect, 0, 0, $2);
252 sect_anchor[sect] = anchor;
263 ARGIND == 2 && !anchor && NF == 2 && $1 ~ /^0x/ && $2 !~ /^0x/ {
267 anchor = sprintf("%s %08x-%08x = %s", sect, addr, addr, $2);
268 sect_anchor[sect] = anchor;
/linux-6.15/lib/lz4/
H A Dlz4hc_compress.c264 const BYTE **anchor, in LZ4HC_encodeSequence() argument
274 length = (int)(*ip - *anchor); in LZ4HC_encodeSequence()
295 LZ4_wildCopy(*op, *anchor, (*op) + length); in LZ4HC_encodeSequence()
332 *anchor = *ip; in LZ4HC_encodeSequence()
348 const BYTE *anchor = ip; in LZ4HC_compress_generic() local
402 &anchor, ml, ref, limit, oend)) in LZ4HC_compress_generic()
467 if (LZ4HC_encodeSequence(&ip, &op, &anchor, in LZ4HC_compress_generic()
471 if (LZ4HC_encodeSequence(&ip, &op, &anchor, in LZ4HC_compress_generic()
555 int lastRun = (int)(iend - anchor); in LZ4HC_compress_generic()
572 LZ4_memcpy(op, anchor, iend - anchor); in LZ4HC_compress_generic()
[all …]
H A Dlz4_compress.c194 const BYTE *anchor = (const BYTE *) source; in LZ4_compress_generic() local
324 LZ4_wildCopy(op, anchor, op + litLength); in LZ4_compress_generic()
390 anchor = ip; in LZ4_compress_generic()
448 LZ4_memcpy(op, anchor, lastRun); in LZ4_compress_generic()
532 const BYTE *anchor = ip; in LZ4_compress_destSize_generic() local
602 while ((ip > anchor) in LZ4_compress_destSize_generic()
630 LZ4_wildCopy(op, anchor, op + litLength); in LZ4_compress_destSize_generic()
661 anchor = ip; in LZ4_compress_destSize_generic()
689 size_t lastRunSize = (size_t)(iend - anchor); in LZ4_compress_destSize_generic()
698 ip = anchor + lastRunSize; in LZ4_compress_destSize_generic()
[all …]
/linux-6.15/include/linux/
H A Dusb.h1407 static inline void init_usb_anchor(struct usb_anchor *anchor) in init_usb_anchor() argument
1409 memset(anchor, 0, sizeof(*anchor)); in init_usb_anchor()
1410 INIT_LIST_HEAD(&anchor->urb_list); in init_usb_anchor()
1411 init_waitqueue_head(&anchor->wait); in init_usb_anchor()
1412 spin_lock_init(&anchor->lock); in init_usb_anchor()
1612 struct usb_anchor *anchor; member
1780 extern void usb_kill_anchored_urbs(struct usb_anchor *anchor);
1781 extern void usb_poison_anchored_urbs(struct usb_anchor *anchor);
1783 extern void usb_unlink_anchored_urbs(struct usb_anchor *anchor);
1785 extern void usb_anchor_resume_wakeups(struct usb_anchor *anchor);
[all …]
/linux-6.15/drivers/mtd/ubi/
H 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()
442 struct ubi_wl_entry *anchor; in ubi_ensure_anchor_pebs() local
453 anchor = ubi_wl_get_fm_peb(ubi, 1); in ubi_ensure_anchor_pebs()
454 if (anchor) { in ubi_ensure_anchor_pebs()
455 ubi->fm_anchor = anchor; in ubi_ensure_anchor_pebs()
/linux-6.15/drivers/infiniband/hw/mlx5/
H A Dfs.c2600 if (ft_prio->anchor.ft) in steering_anchor_create_ft()
2617 ft_prio->anchor.ft = ft; in steering_anchor_create_ft()
2624 if (ft_prio->anchor.ft) { in steering_anchor_destroy_ft()
2626 ft_prio->anchor.ft = NULL; in steering_anchor_destroy_ft()
2638 if (ft_prio->anchor.fg_drop) in steering_anchor_create_fg_drop()
2654 ft_prio->anchor.fg_drop = fg; in steering_anchor_create_fg_drop()
2665 if (ft_prio->anchor.fg_drop) { in steering_anchor_destroy_fg_drop()
2667 ft_prio->anchor.fg_drop = NULL; in steering_anchor_destroy_fg_drop()
2679 if (ft_prio->anchor.fg_goto_table) in steering_anchor_create_fg_goto_table()
2714 if (ft_prio->anchor.rule_drop) in steering_anchor_create_rule_drop()
[all …]
/linux-6.15/sound/usb/bcd2000/
H 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-6.15/drivers/net/ethernet/mellanox/mlx5/core/steering/sws/
H A Ddr_ste_v3.c83 u32 reformat_id, u8 anchor, in dr_ste_v3_set_insert_hdr() argument
89 start_anchor, anchor); in dr_ste_v3_set_insert_hdr()
106 u8 anchor, u8 offset, int size) in dr_ste_v3_set_remove_hdr() argument
111 start_anchor, anchor); in dr_ste_v3_set_remove_hdr()
/linux-6.15/Documentation/input/
H 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…
/linux-6.15/drivers/usb/serial/
H A Dopticon.c46 struct usb_anchor anchor; member
159 usb_kill_anchored_urbs(&priv->anchor); in opticon_close()
238 usb_anchor_urb(urb, &priv->anchor); in opticon_write()
362 init_usb_anchor(&priv->anchor); in opticon_port_probe()
/linux-6.15/drivers/net/wireless/ralink/rt2x00/
H 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()
831 rt2x00dev->anchor = devm_kmalloc(&usb_dev->dev, in rt2x00usb_probe()
834 if (!rt2x00dev->anchor) { in rt2x00usb_probe()
838 init_usb_anchor(rt2x00dev->anchor); in rt2x00usb_probe()
847 usb_kill_anchored_urbs(rt2x00dev->anchor); in rt2x00usb_probe()
/linux-6.15/drivers/iommu/
H A Diova.c50 iovad->cached_node = &iovad->anchor.node; in init_iova_domain()
51 iovad->cached32_node = &iovad->anchor.node; in init_iova_domain()
56 iovad->anchor.pfn_lo = iovad->anchor.pfn_hi = IOVA_ANCHOR; in init_iova_domain()
57 rb_link_node(&iovad->anchor.node, NULL, &iovad->rbroot.rb_node); in init_iova_domain()
58 rb_insert_color(&iovad->anchor.node, &iovad->rbroot); in init_iova_domain()
111 return &iovad->anchor.node; in iova_find_limit()
/linux-6.15/Documentation/filesystems/
H A Dudf.rst63 anchor= Override standard anchor location. (default= 256)
/linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
H A Daction.h145 u8 anchor; member
180 u8 anchor; member

123