Searched refs:anchor (Results 1 - 46 of 46) sorted by relevance

/linux-4.4.14/drivers/usb/core/
H A Durb.c117 * @urb: pointer to the urb to anchor
118 * @anchor: pointer to the anchor
123 void usb_anchor_urb(struct urb *urb, struct usb_anchor *anchor) usb_anchor_urb() argument
127 spin_lock_irqsave(&anchor->lock, flags); usb_anchor_urb()
129 list_add_tail(&urb->anchor_list, &anchor->urb_list); usb_anchor_urb()
130 urb->anchor = anchor; usb_anchor_urb()
132 if (unlikely(anchor->poisoned)) usb_anchor_urb()
135 spin_unlock_irqrestore(&anchor->lock, flags); usb_anchor_urb()
139 static int usb_anchor_check_wakeup(struct usb_anchor *anchor) usb_anchor_check_wakeup() argument
141 return atomic_read(&anchor->suspend_wakeups) == 0 && usb_anchor_check_wakeup()
142 list_empty(&anchor->urb_list); usb_anchor_check_wakeup()
145 /* Callers must hold anchor->lock */ __usb_unanchor_urb()
146 static void __usb_unanchor_urb(struct urb *urb, struct usb_anchor *anchor) __usb_unanchor_urb() argument
148 urb->anchor = NULL; __usb_unanchor_urb()
151 if (usb_anchor_check_wakeup(anchor)) __usb_unanchor_urb()
152 wake_up(&anchor->wait); __usb_unanchor_urb()
157 * @urb: pointer to the urb to anchor
164 struct usb_anchor *anchor; usb_unanchor_urb() local
169 anchor = urb->anchor; usb_unanchor_urb()
170 if (!anchor) usb_unanchor_urb()
173 spin_lock_irqsave(&anchor->lock, flags); usb_unanchor_urb()
179 if (likely(anchor == urb->anchor)) usb_unanchor_urb()
180 __usb_unanchor_urb(urb, anchor); usb_unanchor_urb()
181 spin_unlock_irqrestore(&anchor->lock, flags); usb_unanchor_urb()
747 * @anchor: anchor the requests are bound to
755 void usb_kill_anchored_urbs(struct usb_anchor *anchor) usb_kill_anchored_urbs() argument
759 spin_lock_irq(&anchor->lock); usb_kill_anchored_urbs()
760 while (!list_empty(&anchor->urb_list)) { usb_kill_anchored_urbs()
761 victim = list_entry(anchor->urb_list.prev, struct urb, usb_kill_anchored_urbs()
765 spin_unlock_irq(&anchor->lock); usb_kill_anchored_urbs()
769 spin_lock_irq(&anchor->lock); usb_kill_anchored_urbs()
771 spin_unlock_irq(&anchor->lock); usb_kill_anchored_urbs()
777 * usb_poison_anchored_urbs - cease all traffic from an anchor
778 * @anchor: anchor the requests are bound to
787 void usb_poison_anchored_urbs(struct usb_anchor *anchor) usb_poison_anchored_urbs() argument
791 spin_lock_irq(&anchor->lock); usb_poison_anchored_urbs()
792 anchor->poisoned = 1; usb_poison_anchored_urbs()
793 while (!list_empty(&anchor->urb_list)) { usb_poison_anchored_urbs()
794 victim = list_entry(anchor->urb_list.prev, struct urb, usb_poison_anchored_urbs()
798 spin_unlock_irq(&anchor->lock); usb_poison_anchored_urbs()
802 spin_lock_irq(&anchor->lock); usb_poison_anchored_urbs()
804 spin_unlock_irq(&anchor->lock); usb_poison_anchored_urbs()
809 * usb_unpoison_anchored_urbs - let an anchor be used successfully again
810 * @anchor: anchor the requests are bound to
813 * the anchor can be used normally after it returns
815 void usb_unpoison_anchored_urbs(struct usb_anchor *anchor) usb_unpoison_anchored_urbs() argument
820 spin_lock_irqsave(&anchor->lock, flags); usb_unpoison_anchored_urbs()
821 list_for_each_entry(lazarus, &anchor->urb_list, anchor_list) { usb_unpoison_anchored_urbs()
824 anchor->poisoned = 0; usb_unpoison_anchored_urbs()
825 spin_unlock_irqrestore(&anchor->lock, flags); usb_unpoison_anchored_urbs()
830 * @anchor: anchor the requests are bound to
840 void usb_unlink_anchored_urbs(struct usb_anchor *anchor) usb_unlink_anchored_urbs() argument
844 while ((victim = usb_get_from_anchor(anchor)) != NULL) { usb_unlink_anchored_urbs()
853 * @anchor: the anchor you want to suspend wakeups on
859 void usb_anchor_suspend_wakeups(struct usb_anchor *anchor) usb_anchor_suspend_wakeups() argument
861 if (anchor) usb_anchor_suspend_wakeups()
862 atomic_inc(&anchor->suspend_wakeups); usb_anchor_suspend_wakeups()
868 * @anchor: the anchor you want to resume wakeups on
871 * wake up any current waiters if the anchor is empty.
873 void usb_anchor_resume_wakeups(struct usb_anchor *anchor) usb_anchor_resume_wakeups() argument
875 if (!anchor) usb_anchor_resume_wakeups()
878 atomic_dec(&anchor->suspend_wakeups); usb_anchor_resume_wakeups()
879 if (usb_anchor_check_wakeup(anchor)) usb_anchor_resume_wakeups()
880 wake_up(&anchor->wait); usb_anchor_resume_wakeups()
885 * usb_wait_anchor_empty_timeout - wait for an anchor to be unused
886 * @anchor: the anchor you want to become unused
889 * Call this is you want to be sure all an anchor's
892 * Return: Non-zero if the anchor became unused. Zero on timeout.
894 int usb_wait_anchor_empty_timeout(struct usb_anchor *anchor, usb_wait_anchor_empty_timeout() argument
897 return wait_event_timeout(anchor->wait, usb_wait_anchor_empty_timeout()
898 usb_anchor_check_wakeup(anchor), usb_wait_anchor_empty_timeout()
904 * usb_get_from_anchor - get an anchor's oldest urb
905 * @anchor: the anchor whose urb you want
907 * This will take the oldest urb from an anchor,
910 * Return: The oldest urb from @anchor, or %NULL if @anchor has no
913 struct urb *usb_get_from_anchor(struct usb_anchor *anchor) usb_get_from_anchor() argument
918 spin_lock_irqsave(&anchor->lock, flags); usb_get_from_anchor()
919 if (!list_empty(&anchor->urb_list)) { usb_get_from_anchor()
920 victim = list_entry(anchor->urb_list.next, struct urb, usb_get_from_anchor()
923 __usb_unanchor_urb(victim, anchor); usb_get_from_anchor()
927 spin_unlock_irqrestore(&anchor->lock, flags); usb_get_from_anchor()
935 * usb_scuttle_anchored_urbs - unanchor all an anchor's urbs
936 * @anchor: the anchor whose urbs you want to unanchor
938 * use this to get rid of all an anchor's urbs
940 void usb_scuttle_anchored_urbs(struct usb_anchor *anchor) usb_scuttle_anchored_urbs() argument
945 spin_lock_irqsave(&anchor->lock, flags); usb_scuttle_anchored_urbs()
946 while (!list_empty(&anchor->urb_list)) { usb_scuttle_anchored_urbs()
947 victim = list_entry(anchor->urb_list.prev, struct urb, usb_scuttle_anchored_urbs()
949 __usb_unanchor_urb(victim, anchor); usb_scuttle_anchored_urbs()
951 spin_unlock_irqrestore(&anchor->lock, flags); usb_scuttle_anchored_urbs()
957 * usb_anchor_empty - is an anchor empty
958 * @anchor: the anchor you want to query
960 * Return: 1 if the anchor has no urbs associated with it.
962 int usb_anchor_empty(struct usb_anchor *anchor) usb_anchor_empty() argument
964 return list_empty(&anchor->urb_list); usb_anchor_empty()
H A Dhcd.c1708 struct usb_anchor *anchor = urb->anchor; __usb_hcd_giveback_urb() local
1720 usb_anchor_suspend_wakeups(anchor); __usb_hcd_giveback_urb()
1742 usb_anchor_resume_wakeups(anchor); __usb_hcd_giveback_urb()
/linux-4.4.14/lib/lz4/
H A Dlz4_compress.c65 const u8 *anchor = ip; lz4_compressctx() local
111 while ((ip > anchor) && (ref > (u8 *)source) && lz4_compressctx()
118 length = (int)(ip - anchor); lz4_compressctx()
136 LZ4_BLINDCOPY(anchor, op, length); lz4_compressctx()
145 anchor = ip; lz4_compressctx()
174 length = (int)(ip - anchor); lz4_compressctx()
195 anchor = ip; lz4_compressctx()
212 anchor = ip++; lz4_compressctx()
218 lastrun = (int)(iend - anchor); lz4_compressctx()
231 memcpy(op, anchor, iend - anchor); lz4_compressctx()
232 op += iend - anchor; lz4_compressctx()
246 const u8 *anchor = ip; lz4_compress64kctx() local
292 while ((ip > anchor) && (ref > (u8 *)source) lz4_compress64kctx()
299 length = (int)(ip - anchor); lz4_compress64kctx()
315 LZ4_BLINDCOPY(anchor, op, length); lz4_compress64kctx()
325 anchor = ip; lz4_compress64kctx()
357 len = (int)(ip - anchor); lz4_compress64kctx()
378 anchor = ip; lz4_compress64kctx()
395 anchor = ip++; lz4_compress64kctx()
401 lastrun = (int)(iend - anchor); lz4_compress64kctx()
412 memcpy(op, anchor, iend - anchor); lz4_compress64kctx()
413 op += iend - anchor; lz4_compress64kctx()
H A Dlz4hc_compress.c269 static inline int lz4_encodesequence(const u8 **ip, u8 **op, const u8 **anchor, lz4_encodesequence() argument
276 length = (int)(*ip - *anchor); lz4_encodesequence()
288 LZ4_BLINDCOPY(*anchor, *op, length); lz4_encodesequence()
312 *anchor = *ip; lz4_encodesequence()
323 const u8 *anchor = ip; lz4_compresshcctx() local
362 lz4_encodesequence(&ip, &op, &anchor, ml, ref); lz4_compresshcctx()
423 lz4_encodesequence(&ip, &op, &anchor, ml, ref); lz4_compresshcctx()
425 lz4_encodesequence(&ip, &op, &anchor, ml2, ref2); lz4_compresshcctx()
449 lz4_encodesequence(&ip, &op, &anchor, ml, ref); lz4_compresshcctx()
487 lz4_encodesequence(&ip, &op, &anchor, ml, ref); lz4_compresshcctx()
501 lastrun = (int)(iend - anchor); lz4_compresshcctx()
510 memcpy(op, anchor, iend - anchor); lz4_compresshcctx()
511 op += iend - anchor; lz4_compresshcctx()
/linux-4.4.14/fs/jfs/
H A Djfs_unicode.h44 wchar_t *anchor = ucs1; /* save the start of result string */ UniStrcpy() local
47 return anchor; UniStrcpy()
58 __le16 *anchor = ucs1; UniStrncpy_le() local
66 return anchor; UniStrncpy_le()
90 __le16 *anchor = ucs1; UniStrncpy_to_le() local
98 return anchor; UniStrncpy_to_le()
107 wchar_t *anchor = ucs1; UniStrncpy_from_le() local
115 return anchor; UniStrncpy_from_le()
H A Djfs_imap.h96 __le32 inofree; /* 4: free inode list anchor */
97 __le32 extfree; /* 4: free extent list anchor */
103 int inofree; /* free inode list anchor */
104 int extfree; /* free extent list anchor */
113 __le32 in_freeiag; /* 4: free iag list anchor */
126 int in_freeiag; /* free iag list anchor */
H A Djfs_logmgr.h409 struct list_head synclist; /* 8: logsynclist anchor */
H A Djfs_dtree.c1863 * i.e., root remains fixed in tree anchor (inode) and
H A Djfs_xtree.c1210 * i.e., root remains fixed in tree anchor (inode) and the root is
/linux-4.4.14/fs/cifs/
H A Dcifs_unicode.h134 wchar_t *anchor = ucs1; /* save a pointer to start of ucs1 */ UniStrcat() local
139 return anchor; UniStrcat()
184 wchar_t *anchor = ucs1; /* save the start of result string */ UniStrcpy() local
187 return anchor; UniStrcpy()
226 wchar_t *anchor = ucs1; /* save pointer to string 1 */ UniStrncat() local
235 return (anchor); UniStrncat()
274 wchar_t *anchor = ucs1; UniStrncpy() local
282 return anchor; UniStrncpy()
291 wchar_t *anchor = ucs1; UniStrncpy_le() local
299 return anchor; UniStrncpy_le()
/linux-4.4.14/drivers/staging/most/hdm-usb/
H A Dhdm_usb.c200 struct buf_anchor *anchor, *tmp; free_anchored_buffers() local
204 list_for_each_entry_safe(anchor, tmp, &mdev->anchor_list[channel], free_anchored_buffers()
206 struct urb *urb = anchor->urb; free_anchored_buffers()
215 wait_for_completion(&anchor->urb_compl); free_anchored_buffers()
225 list_del(&anchor->list); free_anchored_buffers()
226 kfree(anchor); free_anchored_buffers()
385 struct buf_anchor *anchor; hdm_write_completion() local
392 anchor = mbo->priv; hdm_write_completion()
399 complete(&anchor->urb_compl); hdm_write_completion()
413 INIT_WORK(&anchor->clear_work_obj, wq_clear_halt); hdm_write_completion()
414 queue_work(schedule_usb_work, &anchor->clear_work_obj); hdm_write_completion()
430 list_del(&anchor->list); hdm_write_completion()
432 kfree(anchor); hdm_write_completion()
550 struct buf_anchor *anchor; hdm_read_completion() local
557 anchor = mbo->priv; hdm_read_completion()
564 complete(&anchor->urb_compl); hdm_read_completion()
577 INIT_WORK(&anchor->clear_work_obj, wq_clear_halt); hdm_read_completion()
578 queue_work(schedule_usb_work, &anchor->clear_work_obj); hdm_read_completion()
604 list_del(&anchor->list); hdm_read_completion()
606 kfree(anchor); hdm_read_completion()
621 * submitted it is stored in the private anchor list.
632 struct buf_anchor *anchor; hdm_enqueue() local
659 anchor = kzalloc(sizeof(*anchor), GFP_ATOMIC); hdm_enqueue()
660 if (!anchor) { hdm_enqueue()
665 anchor->urb = urb; hdm_enqueue()
666 init_completion(&anchor->urb_compl); hdm_enqueue()
667 mbo->priv = anchor; hdm_enqueue()
670 list_add_tail(&anchor->list, &mdev->anchor_list[channel]); hdm_enqueue()
714 list_del(&anchor->list); hdm_enqueue()
716 kfree(anchor); hdm_enqueue()
921 struct buf_anchor *anchor; wq_clear_halt() local
928 anchor = to_buf_anchor(wq_obj); wq_clear_halt()
929 urb = anchor->urb; wq_clear_halt()
939 list_del(&anchor->list); wq_clear_halt()
947 kfree(anchor); wq_clear_halt()
/linux-4.4.14/drivers/staging/lustre/lustre/obdclass/
H A Dcl_io.c902 struct cl_sync_io *anchor = &cl_env_info(env)->clt_anchor; cl_io_submit_sync() local
908 pg->cp_sync_io = anchor; cl_io_submit_sync()
911 cl_sync_io_init(anchor, queue->c2_qin.pl_nr); cl_io_submit_sync()
922 cl_sync_io_note(anchor, 1); cl_io_submit_sync()
927 anchor, timeout); cl_io_submit_sync()
1529 * Initialize synchronous io wait anchor, for transfer of \a nrpages pages.
1531 void cl_sync_io_init(struct cl_sync_io *anchor, int nrpages) cl_sync_io_init() argument
1533 init_waitqueue_head(&anchor->csi_waitq); cl_sync_io_init()
1534 atomic_set(&anchor->csi_sync_nr, nrpages); cl_sync_io_init()
1535 atomic_set(&anchor->csi_barrier, nrpages > 0); cl_sync_io_init()
1536 anchor->csi_sync_rc = 0; cl_sync_io_init()
1545 struct cl_page_list *queue, struct cl_sync_io *anchor, cl_sync_io_wait()
1554 rc = l_wait_event(anchor->csi_waitq, cl_sync_io_wait()
1555 atomic_read(&anchor->csi_sync_nr) == 0, cl_sync_io_wait()
1559 rc, atomic_read(&anchor->csi_sync_nr)); cl_sync_io_wait()
1564 (void)l_wait_event(anchor->csi_waitq, cl_sync_io_wait()
1565 atomic_read(&anchor->csi_sync_nr) == 0, cl_sync_io_wait()
1568 rc = anchor->csi_sync_rc; cl_sync_io_wait()
1570 LASSERT(atomic_read(&anchor->csi_sync_nr) == 0); cl_sync_io_wait()
1574 while (unlikely(atomic_read(&anchor->csi_barrier) != 0)) { cl_sync_io_wait()
1578 POISON(anchor, 0x5a, sizeof(*anchor)); cl_sync_io_wait()
1586 void cl_sync_io_note(struct cl_sync_io *anchor, int ioret) cl_sync_io_note() argument
1588 if (anchor->csi_sync_rc == 0 && ioret < 0) cl_sync_io_note()
1589 anchor->csi_sync_rc = ioret; cl_sync_io_note()
1595 LASSERT(atomic_read(&anchor->csi_sync_nr) > 0); cl_sync_io_note()
1596 if (atomic_dec_and_test(&anchor->csi_sync_nr)) { cl_sync_io_note()
1597 wake_up_all(&anchor->csi_waitq); cl_sync_io_note()
1598 /* it's safe to nuke or reuse anchor now */ cl_sync_io_note()
1599 atomic_set(&anchor->csi_barrier, 0); cl_sync_io_note()
1544 cl_sync_io_wait(const struct lu_env *env, struct cl_io *io, struct cl_page_list *queue, struct cl_sync_io *anchor, long timeout) cl_sync_io_wait() argument
H A Dcl_page.c1215 struct cl_sync_io *anchor = pg->cp_sync_io; cl_page_completion() local
1234 if (anchor) { cl_page_completion()
1236 LASSERT(pg->cp_sync_io == anchor); cl_page_completion()
1246 if (anchor) cl_page_completion()
1247 cl_sync_io_note(anchor, ioret); cl_page_completion()
/linux-4.4.14/drivers/mtd/ubi/
H A Dfastmap-wl.c32 * find_anchor_wl_entry - find wear-leveling entry to used as anchor PEB.
84 * @anchor: This PEB will be used as anchor PEB by fastmap
90 struct ubi_wl_entry *ubi_wl_get_fm_peb(struct ubi_device *ubi, int anchor) ubi_wl_get_fm_peb() argument
97 if (anchor) ubi_wl_get_fm_peb()
281 * ubi_ensure_anchor_pebs - schedule wear-leveling to produce an anchor PEB.
304 wrk->anchor = 1; ubi_ensure_anchor_pebs()
H A Dwl.c335 * as anchor PEB, hold it back and return the second best WL entry find_wl_entry()
336 * such that fastmap can use the anchor PEB later. */ find_wl_entry()
365 * as anchor PEB, hold it back and return the second best find_mean_wl_entry()
366 * WL entry such that fastmap can use the anchor PEB later. */ find_mean_wl_entry()
648 int anchor = wrk->anchor; local
684 /* Check whether we need to produce an anchor PEB */
685 if (!anchor)
686 anchor = !anchor_pebs_avalible(&ubi->free);
688 if (anchor) {
698 dbg_wl("anchor-move PEB %d to PEB %d", e1->pnum, e2->pnum);
997 wrk->anchor = 0; ensure_wear_leveling()
H A Dfastmap.c982 ubi_err(ubi, "bad fastmap anchor vol_id: 0x%x, expected: 0x%x", ubi_scan_fastmap()
1572 /* no fresh anchor PEB was found, reuse the old one */ ubi_update_fastmap()
1576 ubi_err(ubi, "could not erase old anchor PEB"); ubi_update_fastmap()
1589 /* we've got a new anchor PEB, return the old one */ ubi_update_fastmap()
1597 ubi_err(ubi, "could not find any anchor PEB"); ubi_update_fastmap()
H A Dubi.h755 * @anchor: produce a anchor PEB to by used by fastmap
771 int anchor; member in struct:ubi_work
858 struct ubi_wl_entry *ubi_wl_get_fm_peb(struct ubi_device *ubi, int anchor);
/linux-4.4.14/fs/udf/
H A Dsuper.c35 * 11/26/98 dgb added fileset,anchor mount options
217 unsigned int anchor; member in struct:udf_options
375 seq_printf(seq, ",anchor=%u", sbi->s_anchor); udf_show_options()
419 * anchor= Override standard anchor location. (default= 256)
473 {Opt_anchor, "anchor=%u"},
495 uopt->anchor = 0; udf_parse_options()
584 uopt->anchor = option; udf_parse_options()
1731 * Load Volume Descriptor Sequence described by anchor in bh
1738 struct anchorVolDescPtr *anchor; udf_load_sequence() local
1742 anchor = (struct anchorVolDescPtr *)bh->b_data; udf_load_sequence()
1745 main_s = le32_to_cpu(anchor->mainVolDescSeqExt.extLocation); udf_load_sequence()
1746 main_e = le32_to_cpu(anchor->mainVolDescSeqExt.extLength); udf_load_sequence()
1751 reserve_s = le32_to_cpu(anchor->reserveVolDescSeqExt.extLocation); udf_load_sequence()
1752 reserve_e = le32_to_cpu(anchor->reserveVolDescSeqExt.extLength); udf_load_sequence()
1773 * Check whether there is an anchor block in the given block and
1776 * Returns <0 on error, 0 on success, -EAGAIN is special - try next anchor
1804 * Search for an anchor volume descriptor pointer.
1818 /* First try user provided anchor */ udf_scan_anchors()
1825 * according to spec, anchor is in either: udf_scan_anchors()
1874 * Find an anchor volume descriptor and load Volume Descriptor Sequence from
1878 * Return <0 on error, 0 if anchor found. -EAGAIN is special meaning anchor
1892 /* No anchor found? Try VARCONV conversion of block numbers */ udf_find_anchor()
1917 * Returns < 0 on error, 0 on success. -EAGAIN is special meaning anchor
1951 /* Look for anchor block and load Volume Descriptor Sequence */ udf_load_vrs()
1952 sbi->s_anchor = uopt->anchor; udf_load_vrs()
1956 udf_warn(sb, "No anchor found\n"); udf_load_vrs()
/linux-4.4.14/sound/usb/bcd2000/
H A Dbcd2000.c66 struct usb_anchor anchor; member in struct:bcd2000
271 init_usb_anchor(&bcd2k->anchor); bcd2000_init_device()
272 usb_anchor_urb(bcd2k->midi_out_urb, &bcd2k->anchor); bcd2000_init_device()
273 usb_anchor_urb(bcd2k->midi_in_urb, &bcd2k->anchor); bcd2000_init_device()
296 usb_wait_anchor_empty_timeout(&bcd2k->anchor, 1000); bcd2000_init_device()
/linux-4.4.14/scripts/
H A Dconfig66 local anchor="$1"
74 sed -e "/$anchor/$cmd" "$infile" >"$tmpfile"
/linux-4.4.14/drivers/staging/fsl-mc/include/
H A Dmc-private.h64 * @free_list: anchor node of list of free resources in the pool
/linux-4.4.14/include/linux/
H A Dusb.h1261 static inline void init_usb_anchor(struct usb_anchor *anchor) init_usb_anchor() argument
1263 memset(anchor, 0, sizeof(*anchor)); init_usb_anchor()
1264 INIT_LIST_HEAD(&anchor->urb_list); init_usb_anchor()
1265 init_waitqueue_head(&anchor->wait); init_usb_anchor()
1266 spin_lock_init(&anchor->lock); init_usb_anchor()
1274 * @anchor_list: membership in the list of an anchor
1275 * @anchor: to anchor URBs to a common mooring
1466 struct usb_anchor *anchor; member in struct:urb
1620 extern void usb_kill_anchored_urbs(struct usb_anchor *anchor);
1621 extern void usb_poison_anchored_urbs(struct usb_anchor *anchor);
1622 extern void usb_unpoison_anchored_urbs(struct usb_anchor *anchor);
1623 extern void usb_unlink_anchored_urbs(struct usb_anchor *anchor);
1624 extern void usb_anchor_suspend_wakeups(struct usb_anchor *anchor);
1625 extern void usb_anchor_resume_wakeups(struct usb_anchor *anchor);
1626 extern void usb_anchor_urb(struct urb *urb, struct usb_anchor *anchor);
1628 extern int usb_wait_anchor_empty_timeout(struct usb_anchor *anchor,
1630 extern struct urb *usb_get_from_anchor(struct usb_anchor *anchor);
1631 extern void usb_scuttle_anchored_urbs(struct usb_anchor *anchor);
1632 extern int usb_anchor_empty(struct usb_anchor *anchor);
H A Dtcp.h177 struct list_head tsq_node; /* anchor in tsq_tasklet.head list */
/linux-4.4.14/kernel/
H A Daudit_watch.c54 struct list_head rules; /* anchor for krule->rlist */
58 struct list_head watches; /* anchor for audit_watch->wlist */
H A Daudit.h129 struct list_head names_list; /* struct audit_names->list anchor */
H A Dcgroup.c586 * for each subsystem. Also used to anchor the list of css_sets. Not
/linux-4.4.14/drivers/net/wireless/zd1211rw/
H A Dzd_usb.h200 * @submitted: anchor for URBs sent to device
/linux-4.4.14/drivers/scsi/libfc/
H A Dfc_exch.c116 * @mp: Exchange Manager associated with this anchor
117 * @match: Routine to determine if this anchor's EM should be used
120 * for each anchor to determine if that EM should be used. The last
121 * anchor in the list will always match to handle any exchanges not
123 * anchor list by HW that provides offloads.
2293 /* add EM anchor to EM anchors list */ fc_exch_mgr_add()
2315 * @ema: The exchange manager anchor identifying the EM to be deleted
2319 /* remove EM anchor from EM anchors list */ fc_exch_mgr_del()
/linux-4.4.14/drivers/pci/hotplug/
H A Dcpqphp.h89 char anchor[4]; member in struct:smbios_entry_point
107 ANCHOR = offsetof(struct smbios_entry_point, anchor[0]),
/linux-4.4.14/fs/logfs/
H A Dlogfs_abi.h505 * struct logfs_je_anchor - anchor of filesystem tree, aka master inode
606 * JE_ANCHOR - anchor aka master inode aka inode file's inode
H A Ddir.c24 * created is simply stored in the anchor. On next mount, if we were
/linux-4.4.14/net/sched/
H A Dsch_fq.c66 struct rb_node fq_node; /* anchor in fq_root[] trees */
73 struct rb_node rate_node; /* anchor in q->delayed tree */
H A Dsch_sfq.c108 struct sfq_head dep; /* anchor in dep[] chains */
/linux-4.4.14/drivers/rtc/
H A Drtc-rk808.c66 * implement this exact same conversion algorithm, with the same anchor date.
/linux-4.4.14/drivers/media/platform/s5p-mfc/
H A Dregs-mfc.h75 /* subseq. anchor motion vector */
/linux-4.4.14/sound/sparc/
H A Ddbri.c502 #define D_P_0 0 /* TE receive anchor */
503 #define D_P_1 1 /* TE transmit anchor */
504 #define D_P_2 2 /* NT transmit anchor */
505 #define D_P_3 3 /* NT receive anchor */
518 #define D_P_16 16 /* CHI anchor pipe */
/linux-4.4.14/drivers/net/can/usb/
H A Dgs_usb.c601 /* fill, anchor, and submit rx urb */ gs_can_open()
/linux-4.4.14/sound/pci/hda/
H A Dhda_generic.c412 anchor_nid = 0; /* anchor passed */ __parse_nid_path()
427 /* anchor is not requested or already passed? */ __parse_nid_path()
460 * @anchor_nid: the anchor indication
492 * @anchor_nid: the anchor indication, see snd_hda_parse_nid_path()
3216 const char *label, int anchor) parse_capture_source()
3230 path = snd_hda_add_new_path(codec, pin, adc, anchor); parse_capture_source()
3214 parse_capture_source(struct hda_codec *codec, hda_nid_t pin, int cfg_idx, int num_adcs, const char *label, int anchor) parse_capture_source() argument
/linux-4.4.14/drivers/staging/lustre/lustre/include/
H A Dcl_object.h3160 * anchor and wakes up waiting thread when transfer is complete.
3173 void cl_sync_io_init(struct cl_sync_io *anchor, int nrpages);
3175 struct cl_page_list *queue, struct cl_sync_io *anchor,
3177 void cl_sync_io_note(struct cl_sync_io *anchor, int ioret);
H A Dlu_object.h510 * persistent storage: object is an anchor for locking and method calling, so
/linux-4.4.14/include/scsi/
H A Dlibfc.h821 * @ema_list: Exchange manager anchor list
/linux-4.4.14/arch/arm/common/
H A Dsa1111.c99 * anchor point for all the other drivers.
/linux-4.4.14/net/rds/
H A Dib_recv.c460 * N.B. Instead of a list_head as the anchor, we use a single pointer, which can
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_debugfs.c1292 * <pattern data>[/<pattern mask>][@<anchor>]
1296 * anchor is taken as 0.
/linux-4.4.14/drivers/vfio/pci/
H A Dvfio_pci_config.c1432 * If we're just using this capability to anchor the list, vfio_ecap_init()
/linux-4.4.14/fs/xfs/libxfs/
H A Dxfs_da_btree.c93 kmem_zone_t *xfs_da_state_zone; /* anchor for state struct zone */

Completed in 2810 milliseconds