Home
last modified time | relevance | path

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

12

/linux/drivers/usb/core/
H A Durb.c120 * @urb: pointer to the urb to anchor
121 * @anchor: pointer to the anchor
126 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 in usb_anchor_urb()
142 usb_anchor_check_wakeup(struct usb_anchor * anchor) usb_anchor_check_wakeup() argument
149 __usb_unanchor_urb(struct urb * urb,struct usb_anchor * anchor) __usb_unanchor_urb() argument
167 struct usb_anchor *anchor; usb_unanchor_urb() local
812 usb_kill_anchored_urbs(struct usb_anchor * anchor) usb_kill_anchored_urbs() argument
850 usb_poison_anchored_urbs(struct usb_anchor * anchor) usb_poison_anchored_urbs() argument
884 usb_unpoison_anchored_urbs(struct usb_anchor * anchor) usb_unpoison_anchored_urbs() argument
906 usb_anchor_suspend_wakeups(struct usb_anchor * anchor) usb_anchor_suspend_wakeups() argument
920 usb_anchor_resume_wakeups(struct usb_anchor * anchor) usb_anchor_resume_wakeups() argument
941 usb_wait_anchor_empty_timeout(struct usb_anchor * anchor,unsigned int timeout) usb_wait_anchor_empty_timeout() argument
960 usb_get_from_anchor(struct usb_anchor * anchor) usb_get_from_anchor() argument
987 usb_scuttle_anchored_urbs(struct usb_anchor * anchor) usb_scuttle_anchored_urbs() argument
1015 usb_anchor_empty(struct usb_anchor * anchor) usb_anchor_empty() argument
[all...]
/linux/net/tls/
H A Dtls_strp.c32 struct skb_shared_info *shinfo = skb_shinfo(strp->anchor); in tls_strp_anchor_free()
37 consume_skb(strp->anchor); in tls_strp_anchor_free()
38 strp->anchor = NULL; in tls_strp_anchor_free()
74 skb = tls_strp_skb_copy(strp, strp->anchor, strp->stm.offset, in tls_strp_msg_make_copy()
90 DEBUG_NET_WARN_ON_ONCE(!strp->anchor->decrypted); in tls_strp_msg_detach()
101 /* Replace anchor with an empty skb, this is a little in tls_strp_msg_detach()
109 swap(strp->anchor, skb); in tls_strp_msg_detach()
133 strp->anchor = skb; in tls_strp_msg_cow()
147 struct skb_shared_info *shinfo = skb_shinfo(strp->anchor); in tls_strp_msg_hold()
154 /* We can't skb_clone() the anchor, i in tls_strp_msg_hold()
[all...]
H A Dtls.h216 DEBUG_NET_WARN_ON_ONCE(!ctx->strp.msg_ready || !ctx->strp.anchor->len); in tls_strp_msg()
217 return ctx->strp.anchor; in tls_strp_msg()
/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
51 All URBs of an anchor are unanchored en masse.
56 This function waits for all URBs associated with an anchor to finish
63 Returns true if no URBs are associated with an anchor. Locking
[all …]
/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()
/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()
/linux/lib/zstd/compress/
H A Dzstd_double_fast.c117 const BYTE* anchor = istart; in ZSTD_compressBlock_doubleFast_noDict_generic() local
194 … ZSTD_storeSeq(seqStore, (size_t)(ip-anchor), anchor, iend, REPCODE1_TO_OFFBASE, mLength); in ZSTD_compressBlock_doubleFast_noDict_generic()
210 …while (((ip>anchor) & (matchl0>prefixLowest)) && (ip[-1] == matchl0[-1])) { ip--; matchl0--; mLeng… in ZSTD_compressBlock_doubleFast_noDict_generic()
252 return (size_t)(iend - anchor); in ZSTD_compressBlock_doubleFast_noDict_generic()
272 …while (((ip>anchor) & (matchs0>prefixLowest)) && (ip[-1] == matchs0[-1])) { ip--; matchs0--; mLeng… in ZSTD_compressBlock_doubleFast_noDict_generic()
291 … ZSTD_storeSeq(seqStore, (size_t)(ip-anchor), anchor, iend, OFFSET_TO_OFFBASE(offset), mLength); in ZSTD_compressBlock_doubleFast_noDict_generic()
296 anchor = ip; in ZSTD_compressBlock_doubleFast_noDict_generic()
317 ZSTD_storeSeq(seqStore, 0, anchor, iend, REPCODE1_TO_OFFBASE, rLength); 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
[all …]
H A Dzstd_fast.c208 const BYTE* anchor = istart; in ZSTD_compressBlock_fast_noDict_generic() local
374 return (size_t)(iend - anchor); in ZSTD_compressBlock_fast_noDict_generic()
386 while (((ip0>anchor) & (match0>prefixStart)) && (ip0[-1] == match0[-1])) { in ZSTD_compressBlock_fast_noDict_generic()
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()
416 ZSTD_storeSeq(seqStore, 0 /*litLen*/, anchor, iend, REPCODE1_TO_OFFBASE, rLength); 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
571 … ZSTD_storeSeq(seqStore, (size_t) (ip0 - anchor), anchor, iend, REPCODE1_TO_OFFBASE, mLength); in ZSTD_compressBlock_fast_dictMatchState_generic()
585 while (((ip0 > anchor) & (dictMatch > dictStart)) in ZSTD_compressBlock_fast_dictMatchState_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()
453 ZSTD_ldm_countBackwardsMatch(split, anchor, pMatch, lowPrefixPtr); 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()
[all …]
H A Dzstd_lazy.c1526 const BYTE* anchor = istart; in ZSTD_compressBlock_lazy_generic() local
1615 …size_t const step = ((size_t)(ip-anchor) >> kSearchStrength) + 1; /* jump faster over incompress… in ZSTD_compressBlock_lazy_generic()
1710 while ( ((start > anchor) & (start - OFFBASE_TO_OFFSET(offBase) > prefixLowest)) in ZSTD_compressBlock_lazy_generic()
1718 …while ((start>anchor) && (match>mStart) && (start[-1] == match[-1])) { start--; match--; matchLeng… in ZSTD_compressBlock_lazy_generic()
1724 { size_t const litLength = (size_t)(start - anchor); in ZSTD_compressBlock_lazy_generic()
1725 ZSTD_storeSeq(seqStore, litLength, anchor, iend, (U32)offBase, matchLength); in ZSTD_compressBlock_lazy_generic()
1726 anchor = ip = start + matchLength; in ZSTD_compressBlock_lazy_generic()
1749 ZSTD_storeSeq(seqStore, 0, anchor, iend, REPCODE1_TO_OFFBASE, matchLength); in ZSTD_compressBlock_lazy_generic()
1751 anchor = ip; in ZSTD_compressBlock_lazy_generic()
1764 ZSTD_storeSeq(seqStore, 0, anchor, iend, REPCODE1_TO_OFFBASE, matchLength); in ZSTD_compressBlock_lazy_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/scripts/
H A Dgenerate_builtin_ranges.awk56 # may need to insert an anchor record later that must be at the start of the
58 # So, we use (addr << 1) + 1 to allow a possible anchor record to be placed at
92 # We collect the address of the anchor (or first symbol in the section if there
93 # is no explicit anchor) to allow users of the range data to calculate address
127 # (LLD) Convert an anchor record from lld format to ld format.
133 ARGIND == 2 && map_is_lld && !anchor && NF == 7 && raw_addr == "0x"$1 && $6 == "=" && $7 == "." {
152 # We only care about these while processing a section for which no anchor has
159 ARGIND == 2 && map_is_lld && sect && !anchor && NF == 5 && $5 ~ /^[_A-Za-z][_A-Za-z0-9]*$/ {
205 # be used to identify an anchor record.
229 anchor
[all...]
/linux/include/linux/
H A Dusb.h1436 static inline void init_usb_anchor(struct usb_anchor *anchor) in init_usb_anchor()
1438 memset(anchor, 0, sizeof(*anchor)); in init_usb_anchor()
1439 INIT_LIST_HEAD(&anchor->urb_list); in init_usb_anchor()
1440 init_waitqueue_head(&anchor->wait); in init_usb_anchor()
1441 spin_lock_init(&anchor->lock);
1449 * @anchor_list: membership in the list of an anchor
1450 * @anchor: to anchor URBs to a common mooring
1650 struct usb_anchor *anchor;
1434 init_usb_anchor(struct usb_anchor * anchor) init_usb_anchor() argument
1643 struct usb_anchor *anchor; global() member
[all...]
/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()
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/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()
H A Ddr_ste_v1.h160 u8 anchor, u8 offset, int size);
161 void dr_ste_v1_set_remove_hdr(u8 *hw_ste_p, u8 *s_action, u8 anchor,
H A Ddr_ste.h214 u8 anchor, u8 offset, int size);
215 void (*set_remove_hdr)(u8 *hw_ste_p, u8 *s_action, u8 anchor,
/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…
H A Dinteractive.svg18 …ans-serif" font-size="144px" stroke="#000000" stroke-width=".025in" text-anchor="middle" xml:space…
/linux/sound/usb/bcd2000/
H A Dbcd2000.c58 struct usb_anchor anchor; member
287 init_usb_anchor(&bcd2k->anchor); in bcd2000_init_device()
288 usb_anchor_urb(bcd2k->midi_out_urb, &bcd2k->anchor); in bcd2000_init_device()
289 usb_anchor_urb(bcd2k->midi_in_urb, &bcd2k->anchor); in bcd2000_init_device()
312 usb_wait_anchor_empty_timeout(&bcd2k->anchor, 1000); in bcd2000_init_midi()
/linux/drivers/firmware/efi/libstub/
H A Dx86-stub.c209 u8 anchor[4]; member
219 u8 anchor[5]; member
240 if (memcmp(ep->anchor, "_SM_", sizeof(ep->anchor)) != 0) in verify_ep_integrity()
243 if (memcmp(ep->intm.anchor, "_DMI_", sizeof(ep->intm.anchor)) != 0) in verify_ep_integrity()
/linux/Documentation/filesystems/
H A Dudf.rst63 anchor= Override standard anchor location. (default= 256)
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
H A Dmlx5hws.h191 u8 anchor; member
204 u8 anchor; member
/linux/fs/udf/
H A Dsuper.c31 * 11/26/98 dgb added fileset,anchor mount options
226 unsigned int anchor; member
421 seq_printf(seq, ",anchor=%u", sbi->s_anchor); in udf_show_options()
461 * anchor= Override standard anchor location. (default= 256)
508 fsparam_u32 ("anchor", Opt_anchor),
611 uopt->anchor = result.uint_32; in udf_parse_param()
1963 * Load Volume Descriptor Sequence described by anchor in bh in udf_scan_anchors()
1970 struct anchorVolDescPtr *anchor; in udf_scan_anchors()
1974 anchor in udf_scan_anchors()
1880 struct anchorVolDescPtr *anchor; udf_load_sequence() local
[all...]
/linux/drivers/char/xillybus/
H A Dxillyusb.c105 struct usb_anchor anchor; member
465 usb_kill_anchored_urbs(&ep->anchor);
516 init_usb_anchor(&ep->anchor); in endpoint_alloc()
740 usb_anchor_urb(urb, &ep->anchor); in try_queue_bulk_in()
844 usb_anchor_urb(urb, &ep->anchor); in try_queue_bulk_out()

12