Home
last modified time | relevance | path

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

123

/openbmc/linux/drivers/usb/core/
H A Durb.c127 void usb_anchor_urb(struct urb *urb, struct usb_anchor *anchor) in usb_anchor_urb() argument
131 spin_lock_irqsave(&anchor->lock, flags); in usb_anchor_urb()
133 list_add_tail(&urb->anchor_list, &anchor->urb_list); in usb_anchor_urb()
134 urb->anchor = anchor; in usb_anchor_urb()
136 if (unlikely(anchor->poisoned)) in usb_anchor_urb()
139 spin_unlock_irqrestore(&anchor->lock, flags); in usb_anchor_urb()
143 static int usb_anchor_check_wakeup(struct usb_anchor *anchor) in usb_anchor_check_wakeup() argument
145 return atomic_read(&anchor->suspend_wakeups) == 0 && in usb_anchor_check_wakeup()
146 list_empty(&anchor->urb_list); in usb_anchor_check_wakeup()
150 static void __usb_unanchor_urb(struct urb *urb, struct usb_anchor *anchor) in __usb_unanchor_urb() argument
[all …]
/openbmc/u-boot/test/py/
H A Dmultiplexed_log.py182 def __init__(self, log, marker, anchor): argument
196 self.anchor = anchor
199 self.anchor = self.log.start_section(self.marker, self.anchor)
222 self.anchor = 0
360 def _note(self, note_type, msg, anchor=None): argument
376 if anchor:
377 self.f.write('<a href="#%s">' % anchor)
379 if anchor:
384 def start_section(self, marker, anchor=None): argument
399 if not anchor:
[all …]
H A Dconftest.py390 anchor = anchors.get(test, None)
391 log.status_warning('... ' + test, anchor)
395 anchor = anchors.get(test, None)
396 log.status_skipped('... ' + test, anchor)
400 anchor = anchors.get(test, None)
401 log.status_xpass('... ' + test, anchor)
405 anchor = anchors.get(test, None)
406 log.status_xfail('... ' + test, anchor)
410 anchor = anchors.get(test, None)
411 log.status_fail('... ' + test, anchor)
[all …]
/openbmc/linux/net/tls/
H A Dtls_strp.c31 struct skb_shared_info *shinfo = skb_shinfo(strp->anchor); in tls_strp_anchor_free()
36 consume_skb(strp->anchor); in tls_strp_anchor_free()
37 strp->anchor = NULL; in tls_strp_anchor_free()
73 skb = tls_strp_skb_copy(strp, strp->anchor, strp->stm.offset, in tls_strp_msg_make_copy()
89 DEBUG_NET_WARN_ON_ONCE(!strp->anchor->decrypted); in tls_strp_msg_detach()
108 swap(strp->anchor, skb); in tls_strp_msg_detach()
132 strp->anchor = skb; in tls_strp_msg_cow()
146 struct skb_shared_info *shinfo = skb_shinfo(strp->anchor); in tls_strp_msg_hold()
158 __skb_queue_tail(dst, strp->anchor); in tls_strp_msg_hold()
159 strp->anchor = skb; in tls_strp_msg_hold()
[all …]
/openbmc/linux/lib/zstd/compress/
H A Dzstd_double_fast.c62 const BYTE* anchor = istart; in ZSTD_compressBlock_doubleFast_noDict_generic() local
134 … ZSTD_storeSeq(seqStore, (size_t)(ip-anchor), anchor, iend, STORE_REPCODE_1, mLength); in ZSTD_compressBlock_doubleFast_noDict_generic()
145 …while (((ip>anchor) & (matchl0>prefixLowest)) && (ip[-1] == matchl0[-1])) { ip--; matchl0--; mLeng… in ZSTD_compressBlock_doubleFast_noDict_generic()
183 return (size_t)(iend - anchor); in ZSTD_compressBlock_doubleFast_noDict_generic()
193 …while (((ip>anchor) & (matchl1>prefixLowest)) && (ip[-1] == matchl1[-1])) { ip--; matchl1--; mLeng… in ZSTD_compressBlock_doubleFast_noDict_generic()
201 …while (((ip>anchor) & (matchs0>prefixLowest)) && (ip[-1] == matchs0[-1])) { ip--; matchs0--; mLeng… in ZSTD_compressBlock_doubleFast_noDict_generic()
220 ZSTD_storeSeq(seqStore, (size_t)(ip-anchor), anchor, iend, STORE_OFFSET(offset), mLength); in ZSTD_compressBlock_doubleFast_noDict_generic()
225 anchor = ip; in ZSTD_compressBlock_doubleFast_noDict_generic()
246 ZSTD_storeSeq(seqStore, 0, anchor, iend, STORE_REPCODE_1, rLength); in ZSTD_compressBlock_doubleFast_noDict_generic()
248 anchor = ip; in ZSTD_compressBlock_doubleFast_noDict_generic()
[all …]
H A Dzstd_fast.c111 const BYTE* anchor = istart; in ZSTD_compressBlock_fast_noDict_generic() local
262 return (size_t)(iend - anchor); in ZSTD_compressBlock_fast_noDict_generic()
274 while (((ip0>anchor) & (match0>prefixStart)) && (ip0[-1] == match0[-1])) { in ZSTD_compressBlock_fast_noDict_generic()
285 ZSTD_storeSeq(seqStore, (size_t)(ip0 - anchor), anchor, iend, offcode, mLength); in ZSTD_compressBlock_fast_noDict_generic()
288 anchor = ip0; in ZSTD_compressBlock_fast_noDict_generic()
309 ZSTD_storeSeq(seqStore, 0 /*litLen*/, anchor, iend, STORE_REPCODE_1, rLength); in ZSTD_compressBlock_fast_noDict_generic()
310 anchor = ip0; in ZSTD_compressBlock_fast_noDict_generic()
384 const BYTE* anchor = istart; in ZSTD_compressBlock_fast_dictMatchState_generic() local
442 ZSTD_storeSeq(seqStore, (size_t)(ip-anchor), anchor, iend, STORE_REPCODE_1, mLength); in ZSTD_compressBlock_fast_dictMatchState_generic()
450 ip += ((ip-anchor) >> kSearchStrength) + stepSize; in ZSTD_compressBlock_fast_dictMatchState_generic()
[all …]
H A Dzstd_ldm.c312 static void ZSTD_ldm_limitTableUpdate(ZSTD_matchState_t* ms, const BYTE* anchor) in ZSTD_ldm_limitTableUpdate() argument
314 U32 const curr = (U32)(anchor - ms->window.base); in ZSTD_ldm_limitTableUpdate()
343 BYTE const* anchor = istart; in ZSTD_ldm_generateSequences_internal() local
353 return iend - anchor; in ZSTD_ldm_generateSequences_internal()
398 if (split < anchor) { in ZSTD_ldm_generateSequences_internal()
423 split, anchor, pMatch, lowMatchPtr, dictStart, dictEnd); in ZSTD_ldm_generateSequences_internal()
431 ZSTD_ldm_countBackwardsMatch(split, anchor, pMatch, lowPrefixPtr); in ZSTD_ldm_generateSequences_internal()
459 seq->litLength = (U32)(split - backwardMatchLength - anchor); in ZSTD_ldm_generateSequences_internal()
469 anchor = split + forwardMatchLength; in ZSTD_ldm_generateSequences_internal()
479 if (anchor > ip + hashed) { in ZSTD_ldm_generateSequences_internal()
[all …]
H A Dzstd_lazy.c1485 const BYTE* anchor = istart; in ZSTD_compressBlock_lazy_generic() local
1572 … ip += ((ip-anchor) >> kSearchStrength) + 1; /* jump faster over incompressible sections */ in ZSTD_compressBlock_lazy_generic()
1658 while ( ((start > anchor) & (start - STORED_OFFSET(offcode) > prefixLowest)) in ZSTD_compressBlock_lazy_generic()
1666 …while ((start>anchor) && (match>mStart) && (start[-1] == match[-1])) { start--; match--; matchLeng… in ZSTD_compressBlock_lazy_generic()
1672 { size_t const litLength = (size_t)(start - anchor); in ZSTD_compressBlock_lazy_generic()
1673 ZSTD_storeSeq(seqStore, litLength, anchor, iend, (U32)offcode, matchLength); in ZSTD_compressBlock_lazy_generic()
1674 anchor = ip = start + matchLength; in ZSTD_compressBlock_lazy_generic()
1690 ZSTD_storeSeq(seqStore, 0, anchor, iend, STORE_REPCODE_1, matchLength); in ZSTD_compressBlock_lazy_generic()
1692 anchor = ip; in ZSTD_compressBlock_lazy_generic()
1705 ZSTD_storeSeq(seqStore, 0, anchor, iend, STORE_REPCODE_1, matchLength); in ZSTD_compressBlock_lazy_generic()
[all …]
/openbmc/linux/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.
67 This function waits for all URBs associated with an anchor to finish
[all …]
/openbmc/linux/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()
/openbmc/linux/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()
/openbmc/linux/lib/lz4/
H 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()
498 if (LZ4HC_encodeSequence(&ip, &op, &anchor, in LZ4HC_compress_generic()
539 if (LZ4HC_encodeSequence(&ip, &op, &anchor, ml, in LZ4HC_compress_generic()
[all …]
H A 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 …]
/openbmc/linux/include/linux/
H A Dusb.h1405 static inline void init_usb_anchor(struct usb_anchor *anchor) in init_usb_anchor() argument
1407 memset(anchor, 0, sizeof(*anchor)); in init_usb_anchor()
1408 INIT_LIST_HEAD(&anchor->urb_list); in init_usb_anchor()
1409 init_waitqueue_head(&anchor->wait); in init_usb_anchor()
1410 spin_lock_init(&anchor->lock); in init_usb_anchor()
1610 struct usb_anchor *anchor; member
1778 extern void usb_kill_anchored_urbs(struct usb_anchor *anchor);
1779 extern void usb_poison_anchored_urbs(struct usb_anchor *anchor);
1780 extern void usb_unpoison_anchored_urbs(struct usb_anchor *anchor);
1781 extern void usb_unlink_anchored_urbs(struct usb_anchor *anchor);
[all …]
/openbmc/rest-dbus/resources/
H A Djstree.style.css1anchor{display:inline-block;color:#000;white-space:nowrap;padding:0 4px 0 1px;margin:0;vertical-al…
/openbmc/linux/drivers/infiniband/hw/mlx5/
H A Dfs.c2034 if (ft_prio->anchor.ft) in steering_anchor_create_ft()
2051 ft_prio->anchor.ft = ft; in steering_anchor_create_ft()
2058 if (ft_prio->anchor.ft) { in steering_anchor_destroy_ft()
2059 mlx5_destroy_flow_table(ft_prio->anchor.ft); in steering_anchor_destroy_ft()
2060 ft_prio->anchor.ft = NULL; in steering_anchor_destroy_ft()
2072 if (ft_prio->anchor.fg_drop) in steering_anchor_create_fg_drop()
2082 fg = mlx5_create_flow_group(ft_prio->anchor.ft, flow_group_in); in steering_anchor_create_fg_drop()
2088 ft_prio->anchor.fg_drop = fg; in steering_anchor_create_fg_drop()
2099 if (ft_prio->anchor.fg_drop) { in steering_anchor_destroy_fg_drop()
2100 mlx5_destroy_flow_group(ft_prio->anchor.fg_drop); in steering_anchor_destroy_fg_drop()
[all …]
/openbmc/linux/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()
378 struct ubi_wl_entry *anchor; in ubi_ensure_anchor_pebs() local
389 anchor = ubi_wl_get_fm_peb(ubi, 1); in ubi_ensure_anchor_pebs()
390 if (anchor) { in ubi_ensure_anchor_pebs()
391 ubi->fm_anchor = anchor; in ubi_ensure_anchor_pebs()
/openbmc/linux/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()
/openbmc/linux/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…
/openbmc/linux/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()
/openbmc/u-boot/common/
H A Dcommand.c328 char *anchor, *s, *t; in find_common_prefix() local
334 anchor = *argv++; in find_common_prefix()
335 len = strlen(anchor); in find_common_prefix()
337 s = anchor; in find_common_prefix()
342 len = s - anchor; in find_common_prefix()
/openbmc/linux/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()
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()
/openbmc/linux/drivers/iommu/
H A Diova.c64 iovad->cached_node = &iovad->anchor.node; in init_iova_domain()
65 iovad->cached32_node = &iovad->anchor.node; in init_iova_domain()
70 iovad->anchor.pfn_lo = iovad->anchor.pfn_hi = IOVA_ANCHOR; in init_iova_domain()
71 rb_link_node(&iovad->anchor.node, NULL, &iovad->rbroot.rb_node); in init_iova_domain()
72 rb_insert_color(&iovad->anchor.node, &iovad->rbroot); in init_iova_domain()
125 return &iovad->anchor.node; in iova_find_limit()
/openbmc/u-boot/drivers/mtd/ubi/
H A Dfastmap-wl.c88 struct ubi_wl_entry *ubi_wl_get_fm_peb(struct ubi_device *ubi, int anchor) in ubi_wl_get_fm_peb() argument
95 if (anchor) in ubi_wl_get_fm_peb()
309 wrk->anchor = 1; in ubi_ensure_anchor_pebs()
/openbmc/openbmc-test-automation/security/
H A Dtest_bmc_ssh_security.robot14 # Left anchor for this regex is either a space or a comma.
16 # Right anchor for this regex is either a comma or end-of-line.

123