/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/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | eswitch.h | 677 * Borrowed the idea from xa_for_each_marked() but with support for desired last element. 683 #define mlx5_esw_for_each_entry_marked(xa, index, entry, last, filter) \ 684 for (index = 0, entry = xa_find(xa, &index, last, filter); \ 685 entry; entry = xa_find_after(xa, &index, last, filter)) 687 #define mlx5_esw_for_each_vport_marked(esw, index, vport, last, filter) \ 688 mlx5_esw_for_each_entry_marked(&((esw)->vports), index, vport, last, filter) 690 #define mlx5_esw_for_each_vf_vport(esw, index, vport, last) \ 691 mlx5_esw_for_each_vport_marked(esw, index, vport, last, MLX5_ESW_VPT_VF) 693 #define mlx5_esw_for_each_host_func_vport(esw, index, vport, last) \ 694 mlx5_esw_for_each_vport_marked(esw, index, vport, last, MLX5_ESW_VPT_HOST_F [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...] |
H A D | io_uring_types.h | 29 /* int's last bit, sign checks are usually faster than a bit test */ 48 struct io_wq_work_node *last; member in struct:io_wq_work_list 87 const struct io_ring_ctx *last; member in struct:io_uring_task 196 struct io_kiocb *last; member in struct:io_submit_link 377 /* Keep this last, we don't need it for the fast path */
|
/linux-master/drivers/gpu/drm/vc4/ |
H A D | vc4_render_cl.c | 125 uint8_t x, uint8_t y, bool first, bool last) 197 else if (last) 215 else if (last) 236 ((last && last_tile_write) ? 246 if (last) 370 bool last = (xi == xtiles - 1 && yi == ytiles - 1); local 372 emit_tile(exec, setup, x, y, first, last); 123 emit_tile(struct vc4_exec_info *exec, struct vc4_rcl_setup *setup, uint8_t x, uint8_t y, bool first, bool last) argument
|
/linux-master/fs/befs/ |
H A D | btree.c | 61 * contains key values less than itself. Inspection reveals that the last key 62 * in the internal node is not the last key in the index. Keys that are 63 * greater than the last key in the internal node go into the overflow node. 182 * Don't forget brelse(node->bh) after last call. 333 int first, last, mid; local 345 last = node->head.all_key_count - 1; 346 thiskey = befs_bt_get_key(sb, node, last, &keylen); 359 while (last >= first) { 360 mid = (last + first) / 2; 361 befs_debug(sb, "first: %d, last [all...] |
/linux-master/drivers/firewire/ |
H A D | ohci.c | 103 struct descriptor *last); 142 struct descriptor *last; member in struct:context 145 * The last descriptor block in the DMA program. It contains the branch 761 * We search for the buffer that contains the last AR packet DMA data written 767 unsigned int i, next_i, last = ctx->last_buffer_index; local 773 /* A buffer that is not yet completely filled must be the last one. */ 774 while (i != last && res_count == 0) { 792 if (MAX_AR_PACKET_SIZE > PAGE_SIZE && i != last) { 989 * all packets up to the buffer end here. If the last packet 1099 struct descriptor *d, *last; local 1337 struct descriptor *d, *last; local 1472 handle_at_packet(struct context *context, struct descriptor *d, struct descriptor *last) argument 2825 handle_ir_packet_per_buffer(struct context *context, struct descriptor *d, struct descriptor *last) argument 2860 handle_ir_buffer_fill(struct context *context, struct descriptor *d, struct descriptor *last) argument 2948 handle_it_packet(struct context *context, struct descriptor *d, struct descriptor *last) argument 3261 struct descriptor *d, *last, *pd; local [all...] |
/linux-master/drivers/media/platform/verisilicon/ |
H A D | hantro_g2_vp9_dec.c | 566 !(vp9_ctx->last.flags & V4L2_VP9_FRAME_FLAG_KEY_FRAME) && 569 vp9_ctx->last.flags & V4L2_VP9_FRAME_FLAG_SHOW_FRAME 812 struct hantro_decoded_buffer *dst, *last, *mv_ref; local 820 if (vp9_ctx->last.valid) 821 last = get_ref_buf(ctx, &dst->base.vb, vp9_ctx->last.timestamp); 823 last = dst; 835 vp9_ctx->last.valid) 836 mv_ref = last; 840 resolution_change = dst->vp9.width != last [all...] |
/linux-master/fs/ubifs/ |
H A D | orphan.c | 240 struct ubifs_orphan *orphan, **last; local 243 last = &c->orph_cnext; 249 *last = orphan; 250 last = &orphan->cnext; 252 *last = NULL; 387 /* Mark the last node of the commit */ 447 struct ubifs_orphan *orphan, **last; local 451 last = &c->orph_cnext; 456 *last = orphan; 457 last [all...] |
/linux-master/drivers/media/platform/qcom/camss/ |
H A D | camss-vfe-4-1.c | 699 u16 first, last; local 702 last = line->crop.left + line->crop.width - 1; 703 reg = (first << 16) | last; 707 last = line->crop.top + line->crop.height - 1; 708 reg = (first << 16) | last; 712 last = line->crop.left / 2 + line->crop.width / 2 - 1; 713 reg = (first << 16) | last; 717 last = line->crop.top + line->crop.height - 1; 720 last = line->crop.top / 2 + line->crop.height / 2 - 1; 722 reg = (first << 16) | last; [all...] |
/linux-master/arch/sparc/kernel/ |
H A D | pci.c | 365 u32 idx, first, last; local 368 last = 0; 373 if (last < idx) 374 last = idx; 379 *last_p = last; 391 u32 first, last; local 395 apb_calc_first_last(map, &first, &last); 399 region.end = (last << 21) + ((1 << 21) - 1); 403 apb_calc_first_last(map, &first, &last); 407 region.end = (last << 2 [all...] |
/linux-master/drivers/usb/host/ |
H A D | ehci-q.c | 292 struct ehci_qtd *last, *end = qh->dummy; local 314 last = NULL; 332 if (last) { 333 if (likely (last->urb != urb)) { 334 ehci_urb_done(ehci, last->urb, last_status); 337 ehci_qtd_free (ehci, last); 338 last = NULL; 497 last = list_entry (qtd->qtd_list.prev, 499 last->hw_next = qtd->hw_next; 504 last [all...] |
/linux-master/drivers/comedi/drivers/tests/ |
H A D | ni_routes_test.c | 185 int last = NI_NAMES_BASE - 1; local 188 if (last >= devroutes->routes[i].dest) 190 last = devroutes->routes[i].dest; 202 int last = NI_NAMES_BASE - 1; local 205 if (last >= devroutes->routes[i].src[j]) 207 last = devroutes->routes[i].src[j]; 293 "find last route_set\n"); 305 "find last source\n"); 320 "validate last destination\n"); 370 "validate last destinatio [all...] |
/linux-master/kernel/bpf/ |
H A D | bpf_lru_list.c | 175 struct list_head *cur, *last, *next = inactive; local 182 last = l->next_inactive_rotation->next; 183 if (last == inactive) 184 last = last->next; 197 if (cur == last)
|
/linux-master/mm/ |
H A D | hmm.c | 33 unsigned long last; member in struct:hmm_vma_walk 71 hmm_vma_walk->last = addr; 278 hmm_vma_walk->last = addr; 341 hmm_vma_walk->last = addr; 591 .last = range->start, 603 ret = walk_page_range(mm, hmm_vma_walk.last, range->end, 607 * hmm_vma_walk.last set to an address that has not been stored 608 * in pfns. All entries < last in the pfn array are set to their
|
/linux-master/net/ipv4/ |
H A D | ip_input.c | 152 struct sock *last = NULL; local 169 if (last) { 172 raw_rcv(last, skb2); 174 last = sk; 178 if (last) { 179 raw_rcv(last, skb);
|
/linux-master/drivers/crypto/chelsio/ |
H A D | chcr_algo.h | 158 #define FILL_SEC_CPL_IVGEN_HDRLEN(last, more, ctx_in, mac, ivdrop, len) htonl( \ 161 SCMD_LAST_FRAG_V((last)) | \ 248 unsigned int last; member in struct:hash_wr_param
|
/linux-master/drivers/accessibility/speakup/ |
H A D | speakup_dectlk.c | 213 static u_char last = '\0'; local 280 if (!in_escape && strchr(",.!?;:", last)) 297 last = ch;
|
/linux-master/arch/x86/kernel/cpu/ |
H A D | aperfmperf.c | 418 unsigned long last; local 426 last = s->last_update; 432 * Bail on invalid count and when the last update was too long ago, 435 if (!mcnt || (jiffies - last) > MAX_SAMPLE_AGE)
|
/linux-master/io_uring/ |
H A D | tctx.c | 148 current->io_uring->last = ctx; 173 if (tctx->last == node->ctx) 174 tctx->last = NULL;
|
/linux-master/fs/hpfs/ |
H A D | dir.c | 160 if (de->first || de->last) { 162 if (de->first && !de->last && (de->namelen != 2 165 if (de->last && (de->namelen != 1 || de ->name[0] != 255))
|
/linux-master/drivers/infiniband/sw/rdmavt/ |
H A D | mcast.c | 309 int last = 0; local 354 /* If this was the last attached QP, remove the GID too. */ 357 last = 1; 374 if (last) {
|
/linux-master/drivers/gpu/drm/mediatek/ |
H A D | mtk_disp_gamma.c | 92 u64 first, last; local 96 last = lut[last_entry].red + lut[last_entry].green + lut[last_entry].blue; 98 return !!(first > last);
|
/linux-master/tools/lib/perf/tests/ |
H A D | test-evsel.c | 170 __u64 start, end, last = 0; local 182 __T("invalid counter data", (end - start) > last); 183 last = end - start;
|