/linux-master/drivers/soc/qcom/ |
H A D | wcnss_ctrl.c | 87 * @last: boolean indicator of this being the last fragment of the binary 94 u16 last; member in struct:wcnss_download_nv_req 229 req->last = 0; 235 req->last = 1;
|
/linux-master/drivers/input/touchscreen/ |
H A D | mainstone-wm97xx.c | 119 static u16 last, tries; local 134 if (x == last) { 138 last = x;
|
/linux-master/drivers/vdpa/mlx5/core/ |
H A D | mr.c | 101 return min_t(u64, map->last + 1, mr->end); 263 map->start, map->last + 1); 368 u64 last = U64_MAX; local 376 for (map = vhost_iotlb_itree_first(iotlb, start, last); map; 377 map = vhost_iotlb_itree_next(map, start, last)) { 380 pe = map->last + 1; 396 pe = map->last + 1; 460 u64 start = 0, last = ULLONG_MAX; local 467 err = vhost_iotlb_add_range(dst, start, last, start, VHOST_ACCESS_RW); 471 for (map = vhost_iotlb_itree_first(src, start, last); ma [all...] |
/linux-master/drivers/i3c/master/mipi-i3c-hci/ |
H A D | core.c | 201 int i, last, ret = 0; local 229 last = i - 1; 230 xfer[last].cmd_desc[0] |= CMD_0_TOC; 231 xfer[last].completion = &done; 316 int i, last, ret = 0; local 344 last = i - 1; 345 xfer[last].cmd_desc[0] |= CMD_0_TOC; 346 xfer[last].completion = &done; 380 int i, last, ret = 0; local 398 last [all...] |
/linux-master/fs/btrfs/ |
H A D | subpage.c | 189 * This is important for eb allocation, to prevent race with last eb freeing 283 bool last; local 295 last = atomic_sub_and_test(nbits, &subpage->readers); 298 * For data we need to unlock the page if the last read has finished. 300 * And please don't replace @last with atomic_sub_and_test() call 304 if (is_data && last) 354 bool last; local 375 last = atomic_sub_and_test(nbits, &subpage->writers); 377 return last; 475 * Return true if we're the last bit 489 bool last = false; local 502 bool last; local [all...] |
/linux-master/drivers/gpu/drm/i915/gt/ |
H A D | intel_execlists_submission.c | 318 * prio >= max(0, last); 832 * Sentinels are supposed to be the last request so they flush 1279 struct i915_request *last, * const *active; local 1290 * where it got up to last time, and through RING_TAIL we tell the CS 1309 * If the queue is higher priority than the last 1318 while ((last = *active) && completed(last)) 1321 if (last) { 1322 if (need_preempt(engine, last)) { 1324 "preempting last 2049 post_process_csb(struct i915_request **port, struct i915_request **last) argument 4090 struct i915_request *rq, *last; local [all...] |
/linux-master/net/sched/ |
H A D | sch_netem.c | 104 u32 last; member in struct:netem_sched_data::crndstate 180 state->last = get_random_u32(); 184 * Next number depends on last value. 198 answer = (value * ((1ull<<32) - rho) + state->last * rho) >> 32; 199 state->last = answer; 540 q->counter < q->gap - 1 || /* inside last reordering gap */ 551 struct netem_skb_cb *last = NULL; local 554 last = netem_skb_cb(sch->q.tail); 561 if (!last || 562 t_last->time_to_send > last [all...] |
/linux-master/drivers/md/ |
H A D | dm-ps-historical-service-time.c | 113 * @last: [0, ULLONG_MAX >> HST_FIXED_SHIFT] 120 * so call fixed_ema(last, next, pow(weight, N)) 122 static u64 fixed_ema(u64 last, u64 next, u64 weight) argument 124 last *= weight; 125 last += next * (HST_FIXED_1 - weight); 126 last += 1ULL << (HST_FIXED_SHIFT - 1); 127 return last >> HST_FIXED_SHIFT; 451 /* Move last used path to end (least preferred in case of ties) */
|
/linux-master/tools/bpf/bpftool/ |
H A D | cfg.c | 202 struct bb_node *bb, *last; local 204 last = func_last_bb(func); 205 last->tail = func->end; 207 list_for_each_entry_from(bb, &last->l, l) { 212 last->idx = bb_idx++;
|
/linux-master/drivers/ata/pata_parport/ |
H A D | bpck6.c | 161 u8 this, last; local 187 last = *buf; 189 parport_write_data(pi->pardev->port, last); 195 if (this == last) { 200 last = this;
|
/linux-master/arch/m68k/mm/ |
H A D | motorola.c | 251 unsigned long pmd, last; local 254 /* Find the last ptr table that was used in head.S and 258 last = (unsigned long)kernel_pg_dir; 265 if (pmd > last) 266 last = pmd; 269 last_pmd_table = (pmd_t *)last;
|
/linux-master/drivers/iommu/iommufd/ |
H A D | ioas.c | 90 .last = span.last_hole, 125 if (range.start >= range.last) 128 if (interval_tree_iter_first(itree, range.start, range.last)) 135 allowed->node.last = range.last;
|
/linux-master/mm/ |
H A D | dmapool.c | 303 struct dma_block *block, *first = NULL, *last = NULL; local 317 if (last) 318 last->next_block = block; 321 last = block; 327 last->next_block = pool->next_block;
|
/linux-master/net/netfilter/ |
H A D | nf_tables_core.c | 247 #define nft_rule_dp_for_each_expr(expr, last, rule) \ 248 for ((expr) = nft_rule_expr_first(rule), (last) = nft_rule_expr_last(rule); \ 249 (expr) != (last); \ 257 const struct nft_expr *expr, *last; local 279 nft_rule_dp_for_each_expr(expr, last, rule) {
|
H A D | nft_limit.c | 19 u64 last; member in struct:nft_limit 39 tokens = priv->limit->tokens + now - priv->limit->last; 43 priv->limit->last = now; 120 priv->limit->last = ktime_get_ns(); 167 priv_dst->limit->last = ktime_get_ns();
|
/linux-master/net/core/ |
H A D | page_pool_user.c | 362 struct page_pool *pool, *last; local 368 last = NULL; 373 last = pool; 375 if (last) 376 hlist_splice_init(&netdev->page_pools, &last->user.list,
|
/linux-master/tools/perf/util/ |
H A D | thread.c | 213 struct comm *comm, *last = NULL, *second_last = NULL; local 218 second_last = last; 219 last = comm; 223 * 'last' with no start time might be the parent's comm of a synthesized 228 if (second_last && !last->start && thread__pid(thread) == thread__tid(thread)) 231 return last;
|
/linux-master/drivers/net/ethernet/micrel/ |
H A D | ks8851_spi.c | 316 bool last; local 320 last = skb_queue_empty(&ks->txq); 324 while (!last) { 326 last = skb_queue_empty(&ks->txq); 333 ks8851_wrfifo_spi(ks, txb, last);
|
/linux-master/drivers/video/fbdev/ |
H A D | amifb.c | 32 * - 14 Jul 96: Rework and hopefully last ECS bugs fixed 2594 unsigned long first, last; local 2604 last = ~(~0UL >> ((dst_idx + n) % BITS_PER_LONG)); 2611 if (last) 2612 first &= last; 2641 if (last) 2642 *dst = comp(*src, *dst, last); 2652 if (last) 2653 first &= last; 2711 if (last) { 2734 unsigned long first, last; local 2886 unsigned long first, last; local 3026 unsigned long first, last; local 3082 unsigned long first, last; local [all...] |
/linux-master/drivers/usb/host/ |
H A D | ohci-q.c | 16 int last = urb_priv->length - 1; local 18 if (last >= 0) { 22 for (i = 0; i <= last; i++) { 534 * NOTE: could delay interrupts even for the last TD, and get fewer 862 * this urb had one of them, this td wasn't the last td 978 struct ed *ed, **last; local 981 for (last = &ohci->ed_rm_list, ed = *last; ed != NULL; ed = *last) { 992 last [all...] |
/linux-master/net/sctp/ |
H A D | ulpqueue.c | 307 * This routine creates a re-assembled skb given the first and last skb's 320 struct sk_buff *pnext, *last; local 329 /* Get the last skb in the f_frag's frag_list if present. */ 330 for (last = list; list; last = list, list = list->next) 336 if (last) 337 last->next = pos; 376 /* Break if we have reached the last fragment. */ 390 /* Helper function to check if an incoming chunk has filled up the last 417 * we expect to find the remaining middle fragments and the last 963 struct sk_buff *skb, *flist, *last; local [all...] |
/linux-master/drivers/char/ |
H A D | lp.c | 32 * Obsoleted and removed all the lowlevel stuff implemented in the last 244 unsigned int last = lp_table[minor].last_error; local 248 last = 0; 250 if (last != LP_POUTPA) { 251 last = LP_POUTPA; 256 if (last != LP_PSELECD) { 257 last = LP_PSELECD; 262 if (last != LP_PERRORP) { 263 last = LP_PERRORP; 268 last [all...] |
/linux-master/kernel/ |
H A D | user_namespace.c | 250 u32 first, last, id2; local 262 last = first + el->count - 1; 264 if (key->id >= first && key->id <= last && 265 (id2 >= first && id2 <= last)) 300 u32 first, last, id2; local 307 last = first + map->extent[idx].count - 1; 308 if (id >= first && id <= last && 309 (id2 >= first && id2 <= last)) 349 u32 first, last; local 354 last [all...] |
/linux-master/include/linux/ |
H A D | list.h | 318 * @last: last entry to move, can be the same as first 320 * Move all entries between @first and including @last before @head. 325 struct list_head *last) 327 first->prev->next = last->next; 328 last->next->prev = first->prev; 333 last->next = head; 334 head->prev = last; 348 * list_is_last - tests whether @list is the last entry in list @head 528 struct list_head *last local 323 list_bulk_move_tail(struct list_head *head, struct list_head *first, struct list_head *last) argument 1130 hlist_splice_init(struct hlist_head *from, struct hlist_node *last, struct hlist_head *to) argument [all...] |
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | eswitch.h | 684 * Borrowed the idea from xa_for_each_marked() but with support for desired last element. 690 #define mlx5_esw_for_each_entry_marked(xa, index, entry, last, filter) \ 691 for (index = 0, entry = xa_find(xa, &index, last, filter); \ 692 entry; entry = xa_find_after(xa, &index, last, filter)) 694 #define mlx5_esw_for_each_vport_marked(esw, index, vport, last, filter) \ 695 mlx5_esw_for_each_entry_marked(&((esw)->vports), index, vport, last, filter) 697 #define mlx5_esw_for_each_vf_vport(esw, index, vport, last) \ 698 mlx5_esw_for_each_vport_marked(esw, index, vport, last, MLX5_ESW_VPT_VF) 700 #define mlx5_esw_for_each_host_func_vport(esw, index, vport, last) \ 701 mlx5_esw_for_each_vport_marked(esw, index, vport, last, MLX5_ESW_VPT_HOST_F [all...] |