| /kernel/linux/linux-6.6/drivers/gpu/drm/i915/ |
| H A D | i915_mitigations.c | 34 bool first = true; in mitigations_set() local 50 if (first) { in mitigations_set() 51 first = false; in mitigations_set()
|
| /kernel/linux/linux-6.6/drivers/media/common/videobuf2/ |
| H A D | videobuf2-memops.c | 42 unsigned long first, last; in vb2_create_framevec() local 46 first = start >> PAGE_SHIFT; in vb2_create_framevec() 48 nr = last - first + 1; in vb2_create_framevec()
|
| /kernel/linux/linux-5.10/drivers/mtd/tests/ |
| H A D | torturetest.c | 376 int bytes, bits, pages, first; in report_corrupt() local 397 first = countdiffs(written, read, i, pgsize, &bytes, in report_corrupt() 399 if (first < 0) in report_corrupt() 408 bytes, bits, first); in report_corrupt() 410 offset = first & ~0x7; in report_corrupt() 411 len = ((first + bytes) | 0x7) + 1 - offset; in report_corrupt() 448 * Count the number of differing bytes and bits and return the first differing 456 int first = -1; in countdiffs() local 460 first = i; in countdiffs() 477 return first; in countdiffs() [all...] |
| /kernel/linux/linux-6.6/drivers/mtd/tests/ |
| H A D | torturetest.c | 374 int bytes, bits, pages, first; in report_corrupt() local 395 first = countdiffs(written, read, i, pgsize, &bytes, in report_corrupt() 397 if (first < 0) in report_corrupt() 406 bytes, bits, first); in report_corrupt() 408 offset = first & ~0x7; in report_corrupt() 409 len = ((first + bytes) | 0x7) + 1 - offset; in report_corrupt() 446 * Count the number of differing bytes and bits and return the first differing 454 int first = -1; in countdiffs() local 458 first = i; in countdiffs() 475 return first; in countdiffs() [all...] |
| /kernel/linux/linux-6.6/drivers/crypto/rockchip/ |
| H A D | rk3288_crypto.c | 36 struct rk_crypto_info *first; in get_rk_crypto() local 39 first = list_first_entry_or_null(&rocklist.dev_list, in get_rk_crypto() 43 return first; in get_rk_crypto() 319 struct rk_crypto_info *crypto_info, *first; in rk_crypto_probe() local 382 first = list_first_entry_or_null(&rocklist.dev_list, in rk_crypto_probe() 387 if (!first) { in rk_crypto_probe() 411 struct rk_crypto_info *first; in rk_crypto_remove() local 415 first = list_first_entry_or_null(&rocklist.dev_list, in rk_crypto_remove() 419 if (!first) { in rk_crypto_remove()
|
| /kernel/linux/linux-5.10/arch/c6x/platforms/ |
| H A D | timer64.c | 171 struct device_node *np, *first = NULL; in timer64_init() local 182 } else if (!first) in timer64_init() 183 first = np; in timer64_init() 186 /* try first one with no core-mask */ in timer64_init() 187 if (first) in timer64_init() 188 np = of_node_get(first); in timer64_init()
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/ |
| H A D | intel_gt_requests.c | 92 struct intel_timeline *first; in add_retire() local 104 first = READ_ONCE(engine->retire); in add_retire() 106 tl->retire = ptr_pack_bits(first, 1, 1); in add_retire() 107 while (!try_cmpxchg(&engine->retire, &first, tl)); in add_retire() 109 return !first; in add_retire()
|
| /kernel/linux/linux-5.10/kernel/ |
| H A D | async.c | 83 struct async_entry *first = NULL; in lowest_in_progress() local 91 first = list_first_entry(&domain->pending, in lowest_in_progress() 95 first = list_first_entry(&async_global_pending, in lowest_in_progress() 99 if (first) in lowest_in_progress() 100 ret = first->cookie; in lowest_in_progress() 107 * pick the first pending entry and run it
|
| /kernel/linux/linux-6.6/kernel/ |
| H A D | async.c | 89 struct async_entry *first = NULL; in lowest_in_progress() local 97 first = list_first_entry(&domain->pending, in lowest_in_progress() 101 first = list_first_entry(&async_global_pending, in lowest_in_progress() 105 if (first) in lowest_in_progress() 106 ret = first->cookie; in lowest_in_progress() 113 * pick the first pending entry and run it
|
| /kernel/linux/linux-5.10/arch/sparc/kernel/ |
| H A D | unaligned_64.c | 451 u64 first = 0, second = 0; in handle_ldf_stq() local 461 first = *(u64 *)&f->regs[freg]; in handle_ldf_stq() 475 u64 tmp = __swab64p(&first); in handle_ldf_stq() 477 first = __swab64p(&second); in handle_ldf_stq() 488 if (put_user (first >> 32, (u32 __user *)addr) || in handle_ldf_stq() 489 __put_user ((u32)first, (u32 __user *)(addr + 4)) || in handle_ldf_stq() 614 u32 first, second; in handle_lddfmna() local 620 first = second = 0; in handle_lddfmna() 621 err = get_user(first, (u32 __user *)sfar); in handle_lddfmna() 627 first in handle_lddfmna() [all...] |
| H A D | sun4m_smp.c | 123 int i, first; in smp4m_smp_done() local 127 first = 0; in smp4m_smp_done() 128 prev = &first; in smp4m_smp_done() 133 *prev = first; in smp4m_smp_done()
|
| /kernel/linux/linux-6.6/arch/sparc/kernel/ |
| H A D | unaligned_64.c | 451 u64 first = 0, second = 0; in handle_ldf_stq() local 461 first = *(u64 *)&f->regs[freg]; in handle_ldf_stq() 475 u64 tmp = __swab64p(&first); in handle_ldf_stq() 477 first = __swab64p(&second); in handle_ldf_stq() 488 if (put_user (first >> 32, (u32 __user *)addr) || in handle_ldf_stq() 489 __put_user ((u32)first, (u32 __user *)(addr + 4)) || in handle_ldf_stq() 614 u32 first, second; in handle_lddfmna() local 620 first = second = 0; in handle_lddfmna() 621 err = get_user(first, (u32 __user *)sfar); in handle_lddfmna() 627 first in handle_lddfmna() [all...] |
| H A D | sun4m_smp.c | 123 int i, first; in smp4m_smp_done() local 127 first = 0; in smp4m_smp_done() 128 prev = &first; in smp4m_smp_done() 133 *prev = first; in smp4m_smp_done()
|
| /kernel/linux/linux-5.10/fs/xfs/libxfs/ |
| H A D | xfs_rtbitmap.c | 90 * Searching backward from start to limit, find the first block whose 107 xfs_rtblock_t firstbit; /* first useful bit in the word */ in xfs_rtfind_back() 125 * Get the first word's index & point to it. in xfs_rtfind_back() 142 * Calculate first (leftmost) bit number to look at, in xfs_rtfind_back() 237 * Calculate first (leftmost) bit number to look at, in xfs_rtfind_back() 265 * Searching forward from start to limit, find the first block whose 300 * Get the first word's index & point to it. in xfs_rtfind_forw() 478 * If there was an old one, get rid of it first. in xfs_rtmodify_summary_int() 497 uint first = (uint)((char *)sp - (char *)bp->b_addr); in xfs_rtmodify_summary_int() local 506 xfs_trans_log_buf(tp, bp, first, firs in xfs_rtmodify_summary_int() 545 xfs_rtword_t *first; /* first used word in the buffer */ xfs_rtmodify_range() local [all...] |
| /kernel/linux/linux-5.10/fs/reiserfs/ |
| H A D | prints.c | 442 static int print_internal(struct buffer_head *bh, int first, int last) in print_internal() argument 454 if (first == -1) { in print_internal() 458 from = first; in print_internal() 477 static int print_leaf(struct buffer_head *bh, int print_mode, int first, in print_leaf() argument 504 if (first < 0 || first > nr - 1) in print_leaf() 507 from = first; in print_leaf() 585 printk("Journal block (first) %d\n", sb_jp_journal_1st_block(rs)); in print_super_block() 610 /* ..., int print_mode, int first, int last) */ 614 int mode, first, las in print_block() local [all...] |
| /kernel/linux/linux-6.6/fs/xfs/libxfs/ |
| H A D | xfs_rtbitmap.c | 90 * Searching backward from start to limit, find the first block whose 107 xfs_rtblock_t firstbit; /* first useful bit in the word */ in xfs_rtfind_back() 125 * Get the first word's index & point to it. in xfs_rtfind_back() 142 * Calculate first (leftmost) bit number to look at, in xfs_rtfind_back() 237 * Calculate first (leftmost) bit number to look at, in xfs_rtfind_back() 265 * Searching forward from start to limit, find the first block whose 300 * Get the first word's index & point to it. in xfs_rtfind_forw() 478 * If there was an old one, get rid of it first. in xfs_rtmodify_summary_int() 497 uint first = (uint)((char *)sp - (char *)bp->b_addr); in xfs_rtmodify_summary_int() local 506 xfs_trans_log_buf(tp, bp, first, firs in xfs_rtmodify_summary_int() 545 xfs_rtword_t *first; /* first used word in the buffer */ xfs_rtmodify_range() local [all...] |
| /kernel/linux/linux-6.6/fs/reiserfs/ |
| H A D | prints.c | 442 static int print_internal(struct buffer_head *bh, int first, int last) in print_internal() argument 454 if (first == -1) { in print_internal() 458 from = first; in print_internal() 477 static int print_leaf(struct buffer_head *bh, int print_mode, int first, in print_leaf() argument 504 if (first < 0 || first > nr - 1) in print_leaf() 507 from = first; in print_leaf() 585 printk("Journal block (first) %d\n", sb_jp_journal_1st_block(rs)); in print_super_block() 610 /* ..., int print_mode, int first, int last) */ 614 int mode, first, las in print_block() local [all...] |
| /kernel/linux/linux-6.6/fs/xfs/ |
| H A D | xfs_buf_item.c | 66 void *first, *last; in xfs_buf_item_straddle() local 68 first = xfs_buf_offset(bp, offset + (first_bit << XFS_BLF_SHIFT)); in xfs_buf_item_straddle() 72 if (last - first != nbits * XFS_BLF_CHUNK) in xfs_buf_item_straddle() 135 /* Count the first bit we jumped out of the above loop from */ in xfs_buf_item_size_segment() 392 * given log buf item. It fills the first entry with a buf log 892 * Mark bytes first through last inclusive as dirty in the buf 897 uint first, in xfs_buf_item_log_segment() 911 ASSERT(first < XFS_BLF_DATAMAP_SIZE * XFS_BLF_CHUNK * NBWORD); in xfs_buf_item_log_segment() 917 first_bit = first >> XFS_BLF_SHIFT; in xfs_buf_item_log_segment() 926 * Get a pointer to the first wor in xfs_buf_item_log_segment() 896 xfs_buf_item_log_segment( uint first, uint last, uint *map) xfs_buf_item_log_segment() argument 980 xfs_buf_item_log( struct xfs_buf_log_item *bip, uint first, uint last) xfs_buf_item_log() argument [all...] |
| /kernel/linux/linux-5.10/sound/core/oss/ |
| H A D | linear.c | 75 src = src_channels[channel].area.addr + src_channels[channel].area.first / 8; in convert() 76 dst = dst_channels[channel].area.addr + dst_channels[channel].area.first / 8; in convert() 101 if (snd_BUG_ON(src_channels[channel].area.first % 8 || in linear_transfer() 104 if (snd_BUG_ON(dst_channels[channel].area.first % 8 || in linear_transfer()
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/ltc/ |
| H A D | base.c | 29 nvkm_ltc_tags_clear(struct nvkm_device *device, u32 first, u32 count) in nvkm_ltc_tags_clear() argument 32 const u32 limit = first + count - 1; in nvkm_ltc_tags_clear() 34 BUG_ON((first > limit) || (limit >= ltc->num_tags)); in nvkm_ltc_tags_clear() 37 ltc->func->cbc_clear(ltc, first, limit); in nvkm_ltc_tags_clear()
|
| /kernel/linux/linux-6.6/sound/core/oss/ |
| H A D | linear.c | 75 src = src_channels[channel].area.addr + src_channels[channel].area.first / 8; in convert() 76 dst = dst_channels[channel].area.addr + dst_channels[channel].area.first / 8; in convert() 101 if (snd_BUG_ON(src_channels[channel].area.first % 8 || in linear_transfer() 104 if (snd_BUG_ON(dst_channels[channel].area.first % 8 || in linear_transfer()
|
| /kernel/linux/linux-5.10/scripts/dtc/ |
| H A D | livetree.c | 65 struct property *chain_property(struct property *first, struct property *list) in chain_property() argument 67 assert(first->next == NULL); in chain_property() 69 first->next = list; in chain_property() 70 return first; in chain_property() 73 struct property *reverse_properties(struct property *first) in reverse_properties() argument 75 struct property *p = first; in reverse_properties() 258 struct node *chain_node(struct node *first, struct node *list) in chain_node() argument 260 assert(first->next_sibling == NULL); in chain_node() 262 first->next_sibling = list; in chain_node() 263 return first; in chain_node() 370 chain_reserve_entry(struct reserve_info *first, struct reserve_info *list) chain_reserve_entry() argument [all...] |
| /kernel/linux/linux-5.10/fs/afs/ |
| H A D | rxrpc.c | 280 struct bio_vec *bv, pgoff_t first, pgoff_t last, in afs_load_bvec() 287 nr = min_t(pgoff_t, last - first + 1, AFS_BVEC_MAX); in afs_load_bvec() 288 n = find_get_pages_contig(op->store.mapping, first, nr, pages); in afs_load_bvec() 294 if (first + i >= last) { in afs_load_bvec() 328 pgoff_t first = op->store.first, last = op->store.last; in afs_send_pages() local 335 afs_load_bvec(call, msg, bv, first, last, offset); in afs_send_pages() 336 trace_afs_send_pages(call, msg, first, last, offset); in afs_send_pages() 349 first += nr; in afs_send_pages() 350 } while (first < in afs_send_pages() 279 afs_load_bvec(struct afs_call *call, struct msghdr *msg, struct bio_vec *bv, pgoff_t first, pgoff_t last, unsigned offset) afs_load_bvec() argument [all...] |
| /kernel/linux/linux-6.6/scripts/dtc/ |
| H A D | livetree.c | 65 struct property *chain_property(struct property *first, struct property *list) in chain_property() argument 67 assert(first->next == NULL); in chain_property() 69 first->next = list; in chain_property() 70 return first; in chain_property() 73 struct property *reverse_properties(struct property *first) in reverse_properties() argument 75 struct property *p = first; in reverse_properties() 258 struct node *chain_node(struct node *first, struct node *list) in chain_node() argument 260 assert(first->next_sibling == NULL); in chain_node() 262 first->next_sibling = list; in chain_node() 263 return first; in chain_node() 370 chain_reserve_entry(struct reserve_info *first, struct reserve_info *list) chain_reserve_entry() argument [all...] |
| /kernel/linux/linux-6.6/tools/perf/util/ |
| H A D | evlist.c | 140 struct evsel *first = evlist__first(evlist); in evlist__set_id_pos() local 142 evlist->id_pos = first->id_pos; in evlist__set_id_pos() 143 evlist->is_pos = first->is_pos; in evlist__set_id_pos() 715 struct evsel *first = evlist__first(evlist); in evlist__event2evsel() local 722 return first; in evlist__event2evsel() 724 if (!first->core.attr.sample_id_all && in evlist__event2evsel() 726 return first; in evlist__event2evsel() 733 return first; in evlist__event2evsel() 1265 struct evsel *first = evlist__first(evlist), *pos = first; in evlist__valid_read_format() local 1287 struct evsel *first = evlist__first(evlist); evlist__id_hdr_size() local 1294 struct evsel *first = evlist__first(evlist), *pos = first; evlist__valid_sample_id_all() local 1306 struct evsel *first = evlist__first(evlist); evlist__sample_id_all() local 1606 struct evsel *first = evlist__first(evlist); evlist__strerror_open() local 2199 parse_event_enable_time(const char *str, struct event_enable_time *range, bool first) parse_event_enable_time() argument 2217 bool first = true; parse_event_enable_times() local [all...] |