/linux-4.19.296/lib/ |
D | siphash.c | 117 u64 siphash_1u64(const u64 first, const siphash_key_t *key) in siphash_1u64() argument 120 v3 ^= first; in siphash_1u64() 123 v0 ^= first; in siphash_1u64() 134 u64 siphash_2u64(const u64 first, const u64 second, const siphash_key_t *key) in siphash_2u64() argument 137 v3 ^= first; in siphash_2u64() 140 v0 ^= first; in siphash_2u64() 156 u64 siphash_3u64(const u64 first, const u64 second, const u64 third, in siphash_3u64() argument 160 v3 ^= first; in siphash_3u64() 163 v0 ^= first; in siphash_3u64() 184 u64 siphash_4u64(const u64 first, const u64 second, const u64 third, in siphash_4u64() argument [all …]
|
D | llist.c | 41 struct llist_node *first; in llist_add_batch() local 44 new_last->next = first = READ_ONCE(head->first); in llist_add_batch() 45 } while (cmpxchg(&head->first, first, new_first) != first); in llist_add_batch() 47 return !first; in llist_add_batch() 69 entry = smp_load_acquire(&head->first); in llist_del_first() 75 entry = cmpxchg(&head->first, old_entry, next); in llist_del_first()
|
D | kasprintf.c | 17 unsigned int first, second; in kvasprintf() local 22 first = vsnprintf(NULL, 0, fmt, aq); in kvasprintf() 25 p = kmalloc_track_caller(first+1, gfp); in kvasprintf() 29 second = vsnprintf(p, first+1, fmt, ap); in kvasprintf() 30 WARN(first != second, "different return values (%u and %u) from vsnprintf(\"%s\", ...)", in kvasprintf() 31 first, second, fmt); in kvasprintf()
|
D | plist.c | 76 struct plist_node *first, *iter, *prev = NULL; in plist_add() local 86 first = iter = plist_first(head); in plist_add() 97 } while (iter != first); in plist_add() 186 struct plist_node *first, *prio_pos, *node_pos; in plist_test_check() local 193 prio_pos = first = plist_first(&test_head); in plist_test_check() 197 if (node_pos == first) in plist_test_check() 210 BUG_ON(prio_pos->prio_list.next != &first->prio_list); in plist_test_check()
|
/linux-4.19.296/include/linux/ |
D | rculist_bl.h | 15 LIST_BL_BUG_ON(((unsigned long)h->first & LIST_BL_LOCKMASK) != in hlist_bl_set_first_rcu() 17 rcu_assign_pointer(h->first, in hlist_bl_set_first_rcu() 24 ((unsigned long)rcu_dereference_check(h->first, hlist_bl_is_locked(h)) & ~LIST_BL_LOCKMASK); in hlist_bl_first_rcu() 102 struct hlist_bl_node *first; in hlist_bl_add_head_rcu() local 105 first = hlist_bl_first(h); in hlist_bl_add_head_rcu() 107 n->next = first; in hlist_bl_add_head_rcu() 108 if (first) in hlist_bl_add_head_rcu() 109 first->pprev = &n->next; in hlist_bl_add_head_rcu() 110 n->pprev = &h->first; in hlist_bl_add_head_rcu()
|
D | list_nulls.h | 22 struct hlist_nulls_node *first; member 30 ((ptr)->first = (struct hlist_nulls_node *) NULLS_MARKER(nulls)) 66 return is_a_nulls(READ_ONCE(h->first)); in hlist_nulls_empty() 72 struct hlist_nulls_node *first = h->first; in hlist_nulls_add_head() local 74 n->next = first; in hlist_nulls_add_head() 75 WRITE_ONCE(n->pprev, &h->first); in hlist_nulls_add_head() 76 h->first = n; in hlist_nulls_add_head() 77 if (!is_a_nulls(first)) in hlist_nulls_add_head() 78 WRITE_ONCE(first->pprev, &n->next); in hlist_nulls_add_head() 106 for (pos = (head)->first; \
|
D | list_bl.h | 35 struct hlist_bl_node *first; member 42 ((ptr)->first = NULL) 60 ((unsigned long)h->first & ~LIST_BL_LOCKMASK); in hlist_bl_first() 67 LIST_BL_BUG_ON(((unsigned long)h->first & LIST_BL_LOCKMASK) != in hlist_bl_set_first() 69 h->first = (struct hlist_bl_node *)((unsigned long)n | LIST_BL_LOCKMASK); in hlist_bl_set_first() 74 return !((unsigned long)READ_ONCE(h->first) & ~LIST_BL_LOCKMASK); in hlist_bl_empty() 80 struct hlist_bl_node *first = hlist_bl_first(h); in hlist_bl_add_head() local 82 n->next = first; in hlist_bl_add_head() 83 if (first) in hlist_bl_add_head() 84 first->pprev = &n->next; in hlist_bl_add_head() [all …]
|
D | rculist_nulls.h | 42 (*((struct hlist_nulls_node __rcu __force **)&(head)->first)) 94 struct hlist_nulls_node *first = h->first; in hlist_nulls_add_head_rcu() local 96 n->next = first; in hlist_nulls_add_head_rcu() 97 WRITE_ONCE(n->pprev, &h->first); in hlist_nulls_add_head_rcu() 99 if (!is_a_nulls(first)) in hlist_nulls_add_head_rcu() 100 WRITE_ONCE(first->pprev, &n->next); in hlist_nulls_add_head_rcu() 128 for (i = h->first; !is_a_nulls(i); i = i->next) in hlist_nulls_add_tail_rcu()
|
D | list.h | 231 struct list_head *first; in list_rotate_left() local 234 first = head->next; in list_rotate_left() 235 list_move_tail(first, head); in list_rotate_left() 322 struct list_head *first = list->next; in __list_splice() local 325 first->prev = prev; in __list_splice() 326 prev->next = first; in __list_splice() 664 #define HLIST_HEAD_INIT { .first = NULL } 665 #define HLIST_HEAD(name) struct hlist_head name = { .first = NULL } 666 #define INIT_HLIST_HEAD(ptr) ((ptr)->first = NULL) 680 return !READ_ONCE(h->first); in hlist_empty() [all …]
|
D | rculist.h | 204 struct list_head *first = list->next; in __list_splice_init_rcu() local 233 rcu_assign_pointer(list_next_rcu(prev), first); in __list_splice_init_rcu() 234 first->prev = prev; in __list_splice_init_rcu() 484 #define hlist_first_rcu(head) (*((struct hlist_node __rcu **)(&(head)->first))) 510 struct hlist_node *first = h->first; in hlist_add_head_rcu() local 512 n->next = first; in hlist_add_head_rcu() 513 n->pprev = &h->first; in hlist_add_head_rcu() 515 if (first) in hlist_add_head_rcu() 516 first->pprev = &n->next; in hlist_add_head_rcu() 544 for (i = h->first; i; i = i->next) in hlist_add_tail_rcu()
|
D | llist.h | 67 struct llist_node *first; member 83 list->first = NULL; in init_llist_head() 201 return READ_ONCE(head->first) == NULL; in llist_empty() 234 return xchg(&head->first, NULL); in llist_del_all()
|
/linux-4.19.296/fs/ |
D | binfmt_script.c | 18 static inline char *next_non_spacetab(char *first, const char *last) in next_non_spacetab() argument 20 for (; first <= last; first++) in next_non_spacetab() 21 if (!spacetab(*first)) in next_non_spacetab() 22 return first; in next_non_spacetab() 25 static inline char *next_terminator(char *first, const char *last) in next_terminator() argument 27 for (; first <= last; first++) in next_terminator() 28 if (spacetab(*first) || !*first) in next_terminator() 29 return first; in next_terminator()
|
/linux-4.19.296/fs/afs/ |
D | write.c | 227 pgoff_t first, pgoff_t last) in afs_kill_pages() argument 234 vnode->fid.vid, vnode->fid.vnode, first, last); in afs_kill_pages() 239 _debug("kill %lx-%lx", first, last); in afs_kill_pages() 241 count = last - first + 1; in afs_kill_pages() 244 pv.nr = find_get_pages_contig(mapping, first, count, pv.pages); in afs_kill_pages() 252 if (page->index >= first) in afs_kill_pages() 253 first = page->index + 1; in afs_kill_pages() 260 } while (first <= last); in afs_kill_pages() 270 pgoff_t first, pgoff_t last) in afs_redirty_pages() argument 277 vnode->fid.vid, vnode->fid.vnode, first, last); in afs_redirty_pages() [all …]
|
D | rxrpc.c | 265 struct bio_vec *bv, pgoff_t first, pgoff_t last, in afs_load_bvec() argument 271 nr = min_t(pgoff_t, last - first + 1, AFS_BVEC_MAX); in afs_load_bvec() 272 n = find_get_pages_contig(call->mapping, first, nr, pages); in afs_load_bvec() 278 if (first + i >= last) { in afs_load_bvec() 311 pgoff_t first = call->first, last = call->last; in afs_send_pages() local 318 afs_load_bvec(call, msg, bv, first, last, offset); in afs_send_pages() 319 trace_afs_send_pages(call, msg, first, last, offset); in afs_send_pages() 332 first += nr; in afs_send_pages() 333 } while (first <= last); in afs_send_pages() 335 trace_afs_sent_pages(call, call->first, last, first, ret); in afs_send_pages() [all …]
|
/linux-4.19.296/fs/xfs/libxfs/ |
D | xfs_types.c | 78 xfs_agino_t *first, in xfs_agino_range() argument 92 *first = XFS_OFFBNO_TO_AGINO(mp, bno, 0); in xfs_agino_range() 112 xfs_agino_t first; in xfs_verify_agino() local 115 xfs_agino_range(mp, agno, &first, &last); in xfs_verify_agino() 116 return agino >= first && agino <= last; in xfs_verify_agino() 189 xfs_agino_t first, last; in xfs_icount_range() local 191 xfs_agino_range(mp, agno, &first, &last); in xfs_icount_range() 192 nr_inos += last - first + 1; in xfs_icount_range()
|
D | xfs_rtbitmap.c | 505 uint first = (uint)((char *)sp - (char *)bp->b_addr); in xfs_rtmodify_summary_int() local 508 xfs_trans_log_buf(tp, bp, first, first + sizeof(*sp) - 1); in xfs_rtmodify_summary_int() 547 xfs_rtword_t *first; /* first used word in the buffer */ in xfs_rtmodify_range() local 569 first = b = &bufp[word]; in xfs_rtmodify_range() 603 (uint)((char *)first - (char *)bufp), in xfs_rtmodify_range() 609 first = b = bufp = bp->b_addr; in xfs_rtmodify_range() 643 (uint)((char *)first - (char *)bufp), in xfs_rtmodify_range() 649 first = b = bufp = bp->b_addr; in xfs_rtmodify_range() 679 if (b > first) in xfs_rtmodify_range() 680 xfs_trans_log_buf(tp, bp, (uint)((char *)first - (char *)bufp), in xfs_rtmodify_range()
|
/linux-4.19.296/include/linux/sched/ |
D | wake_q.h | 35 struct wake_q_node *first; member 42 struct wake_q_head name = { WAKE_Q_TAIL, &name.first } 46 head->first = WAKE_Q_TAIL; in wake_q_init() 47 head->lastp = &head->first; in wake_q_init()
|
/linux-4.19.296/drivers/irqchip/ |
D | irq-alpine-msi.c | 61 int first; in alpine_msix_allocate_sgi() local 65 first = bitmap_find_next_zero_area(priv->msi_map, priv->num_spis, 0, in alpine_msix_allocate_sgi() 67 if (first >= priv->num_spis) { in alpine_msix_allocate_sgi() 72 bitmap_set(priv->msi_map, first, num_req); in alpine_msix_allocate_sgi() 76 return priv->spi_first + first; in alpine_msix_allocate_sgi() 82 int first = sgi - priv->spi_first; in alpine_msix_free_sgi() local 86 bitmap_clear(priv->msi_map, first, num_req); in alpine_msix_free_sgi()
|
/linux-4.19.296/fs/reiserfs/ |
D | lbalance.c | 312 int first, int cpy_num) in leaf_copy_items_entirely() argument 324 RFALSE(B_NR_ITEMS(src) - first < cpy_num, in leaf_copy_items_entirely() 326 B_NR_ITEMS(src), cpy_num, first); in leaf_copy_items_entirely() 358 memcpy(ih, item_head(src, first), cpy_num * IH_SIZE); in leaf_copy_items_entirely() 385 item_body(src, (first + cpy_num - 1)), in leaf_copy_items_entirely() 815 int first, int del_num); 828 int first, int del_num, int del_bytes) in leaf_delete_items() argument 836 RFALSE(first < 0 in leaf_delete_items() 837 || first + del_num > item_amount, in leaf_delete_items() 839 "no so much items (%d) to delete (only %d)", first, in leaf_delete_items() [all …]
|
D | bitmap.c | 683 static void print_sep(struct seq_file *seq, int *first) in print_sep() argument 685 if (!*first) in print_sep() 688 *first = 0; in print_sep() 693 int first = 1; in show_alloc_options() local 702 print_sep(seq, &first); in show_alloc_options() 710 print_sep(seq, &first); in show_alloc_options() 718 print_sep(seq, &first); in show_alloc_options() 722 print_sep(seq, &first); in show_alloc_options() 726 print_sep(seq, &first); in show_alloc_options() 730 print_sep(seq, &first); in show_alloc_options() [all …]
|
/linux-4.19.296/include/trace/events/ |
D | afs.h | 360 pgoff_t first, pgoff_t last, unsigned int offset), 362 TP_ARGS(call, msg, first, last, offset), 366 __field(pgoff_t, first ) 376 __entry->first = first; 386 __entry->first, __entry->first + __entry->nr - 1, __entry->last, 392 TP_PROTO(struct afs_call *call, pgoff_t first, pgoff_t last, 395 TP_ARGS(call, first, last, cursor, ret), 399 __field(pgoff_t, first ) 407 __entry->first = first; 415 __entry->first, __entry->last,
|
/linux-4.19.296/drivers/media/common/videobuf2/ |
D | videobuf2-memops.c | 42 unsigned long first, last; in vb2_create_framevec() local 50 first = start >> PAGE_SHIFT; in vb2_create_framevec() 52 nr = last - first + 1; in vb2_create_framevec()
|
/linux-4.19.296/drivers/media/v4l2-core/ |
D | videobuf-dma-sg.c | 157 unsigned long first, last; in videobuf_dma_init_user_locked() local 173 first = (data & PAGE_MASK) >> PAGE_SHIFT; in videobuf_dma_init_user_locked() 177 dma->nr_pages = last-first+1; in videobuf_dma_init_user_locked() 599 unsigned int first, last, size = 0, i; in __videobuf_mmap_mapper() local 608 for (first = 0; first < VIDEO_MAX_FRAME; first++) { in __videobuf_mmap_mapper() 609 if (buf == q->bufs[first]) { in __videobuf_mmap_mapper() 610 size = PAGE_ALIGN(q->bufs[first]->bsize); in __videobuf_mmap_mapper() 622 last = first; in __videobuf_mmap_mapper() 631 for (i = first; i <= last; i++) { in __videobuf_mmap_mapper() 646 map, q, vma->vm_start, vma->vm_end, vma->vm_pgoff, first, last); in __videobuf_mmap_mapper()
|
D | v4l2-mc.c | 320 struct media_entity *first = entity; in pipeline_pm_power() local 335 media_graph_walk_start(graph, first); in pipeline_pm_power() 337 while ((first = media_graph_walk_next(graph)) in pipeline_pm_power() 338 && first != entity) in pipeline_pm_power() 339 if (is_media_entity_v4l2_subdev(first)) in pipeline_pm_power() 340 pipeline_pm_power_one(first, -change); in pipeline_pm_power()
|
/linux-4.19.296/fs/gfs2/ |
D | rgrp.h | 88 u64 first = rgd->rd_data0; in rgrp_contains_block() local 89 u64 last = first + rgd->rd_data; in rgrp_contains_block() 90 return first <= block && block < last; in rgrp_contains_block()
|