Home
last modified time | relevance | path

Searched refs:last (Results 1 – 200 of 1186) sorted by relevance

123456

/linux-4.4.14/drivers/mfd/
Dab8500-debugfs.c119 u8 last; member
172 .last = 0x02,
176 .last = 0x42,
180 .last = 0x81,
189 .last = 0x0D,
193 .last = 0x17,
197 .last = 0x30,
201 .last = 0x33,
210 .last = 0x00,
214 .last = 0x10,
[all …]
Dab8500-sysctrl.c147 int last, ret, i, j; in ab8500_sysctrl_probe() local
150 last = AB8500_SYSCLKREQ4RFCLKBUF; in ab8500_sysctrl_probe()
152 last = AB8500_SYSCLKREQ8RFCLKBUF; in ab8500_sysctrl_probe()
154 for (i = AB8500_SYSCLKREQ1RFCLKBUF; i <= last; i++) { in ab8500_sysctrl_probe()
/linux-4.4.14/drivers/infiniband/hw/usnic/
Dusnic_uiom_interval_tree.c43 #define LAST(node) ((node)->last)
70 usnic_uiom_interval_node_alloc(long int start, long int last, int ref_cnt, in usnic_uiom_interval_node_alloc() argument
79 interval->last = last; in usnic_uiom_interval_node_alloc()
104 unsigned long last, in find_intervals_intersection_sorted() argument
111 for (node = usnic_uiom_interval_tree_iter_first(root, start, last); in find_intervals_intersection_sorted()
113 node = usnic_uiom_interval_tree_iter_next(node, start, last)) in find_intervals_intersection_sorted()
119 int usnic_uiom_get_intervals_diff(unsigned long start, unsigned long last, in usnic_uiom_get_intervals_diff() argument
131 find_intervals_intersection_sorted(root, start, last, in usnic_uiom_get_intervals_diff()
147 if (pivot > interval->last) { in usnic_uiom_get_intervals_diff()
149 } else if (pivot <= interval->last && in usnic_uiom_get_intervals_diff()
[all …]
Dusnic_uiom_interval_tree.h43 unsigned long last; member
58 unsigned long last);
61 unsigned long start, unsigned long last);
67 unsigned long start, unsigned long last,
75 unsigned long start, unsigned long last,
82 unsigned long last, int flags,
/linux-4.4.14/arch/mips/sibyte/common/
Dcfe_console.c15 int i, last, written; in cfe_console_write() local
17 for (i=0, last=0; i<count; i++) { in cfe_console_write()
23 written = cfe_write(cfe_cons_handle, &str[last], i-last); in cfe_console_write()
26 last += written; in cfe_console_write()
27 } while (last < i); in cfe_console_write()
32 if (last != count) { in cfe_console_write()
34 written = cfe_write(cfe_cons_handle, &str[last], count-last); in cfe_console_write()
37 last += written; in cfe_console_write()
38 } while (last < count); in cfe_console_write()
/linux-4.4.14/arch/um/kernel/
Dtlb.c101 struct host_vm_op *last; in add_mmap() local
106 last = &hvc->ops[hvc->index - 1]; in add_mmap()
107 if ((last->type == MMAP) && in add_mmap()
108 (last->u.mmap.addr + last->u.mmap.len == virt) && in add_mmap()
109 (last->u.mmap.prot == prot) && (last->u.mmap.fd == fd) && in add_mmap()
110 (last->u.mmap.offset + last->u.mmap.len == offset)) { in add_mmap()
111 last->u.mmap.len += len; in add_mmap()
135 struct host_vm_op *last; in add_munmap() local
142 last = &hvc->ops[hvc->index - 1]; in add_munmap()
143 if ((last->type == MUNMAP) && in add_munmap()
[all …]
/linux-4.4.14/drivers/video/fbdev/core/
Dsysfillrect.c28 unsigned long first, last; in bitfill_aligned() local
34 last = ~(FB_SHIFT_HIGH(p, ~0UL, (dst_idx+n) % bits)); in bitfill_aligned()
38 if (last) in bitfill_aligned()
39 first &= last; in bitfill_aligned()
67 if (last) in bitfill_aligned()
68 *dst = comp(pat, *dst, last); in bitfill_aligned()
84 unsigned long first, last; in bitfill_unaligned() local
90 last = ~(FB_SHIFT_HIGH(p, ~0UL, (dst_idx+n) % bits)); in bitfill_unaligned()
94 if (last) in bitfill_unaligned()
95 first &= last; in bitfill_unaligned()
[all …]
Dcfbfillrect.c38 unsigned long first, last; in bitfill_aligned() local
44 last = ~fb_shifted_pixels_mask_long(p, (dst_idx+n) % bits, bswapmask); in bitfill_aligned()
48 if (last) in bitfill_aligned()
49 first &= last; in bitfill_aligned()
78 if (last) in bitfill_aligned()
79 FB_WRITEL(comp(pat, FB_READL(dst), last), dst); in bitfill_aligned()
95 unsigned long first, last; in bitfill_unaligned() local
101 last = ~(FB_SHIFT_HIGH(p, ~0UL, (dst_idx+n) % bits)); in bitfill_unaligned()
105 if (last) in bitfill_unaligned()
106 first &= last; in bitfill_unaligned()
[all …]
Dsyscopyarea.c31 unsigned long first, last; in bitcpy() local
36 last = ~(FB_SHIFT_HIGH(p, ~0UL, (dst_idx+n) % bits)); in bitcpy()
42 if (last) in bitcpy()
43 first &= last; in bitcpy()
72 if (last) in bitcpy()
73 *dst = comp(*src, *dst, last); in bitcpy()
85 if (last) in bitcpy()
86 first &= last; in bitcpy()
159 *dst = comp(d0, *dst, last); in bitcpy()
174 unsigned long first, last; in bitcpy_rev() local
[all …]
Dcfbcopyarea.c50 unsigned long first, last; in bitcpy() local
64 last = ~fb_shifted_pixels_mask_long(p, (dst_idx+n) % bits, bswapmask); in bitcpy()
71 if (last) in bitcpy()
72 first &= last; in bitcpy()
102 if (last) in bitcpy()
103 FB_WRITEL( comp( FB_READL(src), FB_READL(dst), last), dst); in bitcpy()
115 if (last) in bitcpy()
116 first &= last; in bitcpy()
201 FB_WRITEL(comp(d0, FB_READL(dst), last), dst); in bitcpy()
216 unsigned long first, last; in bitcpy_rev() local
[all …]
Dfbsysfs.c224 char ** last = NULL; in store_bpp() local
228 var.bits_per_pixel = simple_strtoul(buf, last, 0); in store_bpp()
247 char **last = NULL; in store_rotate() local
251 var.rotate = simple_strtoul(buf, last, 0); in store_rotate()
274 char *last = NULL; in store_virtual() local
278 var.xres_virtual = simple_strtoul(buf, &last, 0); in store_virtual()
279 last++; in store_virtual()
280 if (last - buf >= count) in store_virtual()
282 var.yres_virtual = simple_strtoul(last, &last, 0); in store_virtual()
309 char *last = NULL; in store_blank() local
[all …]
/linux-4.4.14/tools/perf/util/
Dordered-events.c16 struct ordered_event *last = oe->last; in queue_event() local
21 oe->last = new; in queue_event()
25 if (!last) { in queue_event()
36 if (last->timestamp <= timestamp) { in queue_event()
37 while (last->timestamp <= timestamp) { in queue_event()
38 p = last->list.next; in queue_event()
44 last = list_entry(p, struct ordered_event, list); in queue_event()
46 list_add_tail(&new->list, &last->list); in queue_event()
48 while (last->timestamp > timestamp) { in queue_event()
49 p = last->list.prev; in queue_event()
[all …]
Dthread.c113 struct comm *comm, *last = NULL; in thread__exec_comm() local
118 last = comm; in thread__exec_comm()
121 return last; in thread__exec_comm()
/linux-4.4.14/arch/um/drivers/
Dumcast_kern.c74 char *last; in mcast_setup() local
90 init->lport = simple_strtoul(port_str, &last, 10); in mcast_setup()
91 if ((*last != '\0') || (last == port_str)) { in mcast_setup()
99 init->ttl = simple_strtoul(ttl_str, &last, 10); in mcast_setup()
100 if ((*last != '\0') || (last == ttl_str)) { in mcast_setup()
120 char *last; in ucast_setup() local
136 init->lport = simple_strtoul(lport_str, &last, 10); in ucast_setup()
137 if ((*last != '\0') || (last == lport_str)) { in ucast_setup()
145 init->rport = simple_strtoul(rport_str, &last, 10); in ucast_setup()
146 if ((*last != '\0') || (last == rport_str)) { in ucast_setup()
Dvde_kern.c73 char *remain, *port_str = NULL, *mode_str = NULL, *last; in vde_setup() local
90 init->port = simple_strtoul(port_str, &last, 10); in vde_setup()
91 if ((*last != '\0') || (last == port_str)) { in vde_setup()
99 init->mode = simple_strtoul(mode_str, &last, 8); in vde_setup()
100 if ((*last != '\0') || (last == mode_str)) { in vde_setup()
/linux-4.4.14/mm/
Dinterval_tree.c35 unsigned long last = vma_last_pgoff(node); in vma_interval_tree_insert_after() local
45 if (parent->shared.rb_subtree_last < last) in vma_interval_tree_insert_after()
46 parent->shared.rb_subtree_last = last; in vma_interval_tree_insert_after()
50 if (parent->shared.rb_subtree_last < last) in vma_interval_tree_insert_after()
51 parent->shared.rb_subtree_last = last; in vma_interval_tree_insert_after()
56 node->shared.rb_subtree_last = last; in vma_interval_tree_insert_after()
94 unsigned long first, unsigned long last) in anon_vma_interval_tree_iter_first() argument
96 return __anon_vma_interval_tree_iter_first(root, first, last); in anon_vma_interval_tree_iter_first()
101 unsigned long first, unsigned long last) in anon_vma_interval_tree_iter_next() argument
103 return __anon_vma_interval_tree_iter_next(node, first, last); in anon_vma_interval_tree_iter_next()
/linux-4.4.14/fs/afs/
Dcmservice.c172 bool last) in afs_deliver_cb_callback() argument
181 _enter("{%u},{%u},%d", call->unmarshall, skb->len, last); in afs_deliver_cb_callback()
191 ret = afs_extract_data(call, skb, last, &call->tmp, 4); in afs_deliver_cb_callback()
211 ret = afs_extract_data(call, skb, last, call->buffer, in afs_deliver_cb_callback()
241 ret = afs_extract_data(call, skb, last, &call->tmp, 4); in afs_deliver_cb_callback()
259 ret = afs_extract_data(call, skb, last, call->request, in afs_deliver_cb_callback()
297 if (!last) in afs_deliver_cb_callback()
334 bool last) in afs_deliver_cb_init_call_back_state() argument
339 _enter(",{%u},%d", skb->len, last); in afs_deliver_cb_init_call_back_state()
343 if (!last) in afs_deliver_cb_init_call_back_state()
[all …]
Dwrite.c138 candidate->first = candidate->last = index; in afs_write_begin()
180 if (wb->last == index - 1 && wb->key == key && in afs_write_begin()
196 ASSERTRANGE(wb->first, <=, index, <=, wb->last); in afs_write_begin()
199 if (index == wb->last && to > wb->to_last) in afs_write_begin()
207 _debug("append into %lx-%lx", wb->first, wb->last); in afs_write_begin()
209 wb->last++; in afs_write_begin()
278 pgoff_t first, pgoff_t last) in afs_kill_pages() argument
284 vnode->fid.vid, vnode->fid.vnode, first, last); in afs_kill_pages()
289 _debug("kill %lx-%lx", first, last); in afs_kill_pages()
291 count = last - first + 1; in afs_kill_pages()
[all …]
Dfsclient.c239 struct sk_buff *skb, bool last) in afs_deliver_fs_fetch_status() argument
244 _enter(",,%u", last); in afs_deliver_fs_fetch_status()
247 if (!last) in afs_deliver_fs_fetch_status()
313 struct sk_buff *skb, bool last) in afs_deliver_fs_fetch_data() argument
321 _enter("{%u},{%u},%d", call->unmarshall, skb->len, last); in afs_deliver_fs_fetch_data()
337 ret = afs_extract_data(call, skb, last, &call->tmp, 4); in afs_deliver_fs_fetch_data()
355 ret = afs_extract_data(call, skb, last, &call->tmp, 4); in afs_deliver_fs_fetch_data()
375 ret = afs_extract_data(call, skb, last, buffer, in afs_deliver_fs_fetch_data()
390 ret = afs_extract_data(call, skb, last, call->buffer, in afs_deliver_fs_fetch_data()
414 if (!last) in afs_deliver_fs_fetch_data()
[all …]
Drxrpc.c278 pgoff_t first = call->first, last = call->last; in afs_send_pages() local
287 _debug("attach %lx-%lx", first, last); in afs_send_pages()
289 count = last - first + 1; in afs_send_pages()
299 if (first + loop >= last) in afs_send_pages()
315 if (first + loop >= last) in afs_send_pages()
329 } while (first <= last); in afs_send_pages()
459 bool last; in afs_deliver_to_call() local
473 last = rxrpc_kernel_is_data_last(skb); in afs_deliver_to_call()
474 ret = call->type->deliver(call, skb, last); in afs_deliver_to_call()
477 if (last && in afs_deliver_to_call()
[all …]
Dvlclient.c62 struct sk_buff *skb, bool last) in afs_deliver_vl_get_entry_by_xxx() argument
69 _enter(",,%u", last); in afs_deliver_vl_get_entry_by_xxx()
72 if (!last) in afs_deliver_vl_get_entry_by_xxx()
/linux-4.4.14/include/linux/
Dinterval_tree_generic.h71 ITTYPE start = ITSTART(node), last = ITLAST(node); \
77 if (parent->ITSUBTREE < last) \
78 parent->ITSUBTREE = last; \
85 node->ITSUBTREE = last; \
105 ITPREFIX ## _subtree_search(ITSTRUCT *node, ITTYPE start, ITTYPE last) \
128 if (ITSTART(node) <= last) { /* Cond1 */ \
143 ITPREFIX ## _iter_first(struct rb_root *root, ITTYPE start, ITTYPE last) \
152 return ITPREFIX ## _subtree_search(node, start, last); \
156 ITPREFIX ## _iter_next(ITSTRUCT *node, ITTYPE start, ITTYPE last) \
172 start, last); \
[all …]
Dinterval_tree.h9 unsigned long last; /* Last location _in_ interval */ member
21 unsigned long start, unsigned long last);
25 unsigned long start, unsigned long last);
Disdn_ppp.h123 struct ippp_buf_queue *last; member
164 struct ippp_buf_queue *last; /* pointer to (current) last used packet in queue */ member
Ddmaengine.h590 dma_cookie_t last; member
1091 dma_cookie_t cookie, dma_cookie_t *last, dma_cookie_t *used) in dma_async_is_tx_complete() argument
1097 if (last) in dma_async_is_tx_complete()
1098 *last = state.last; in dma_async_is_tx_complete()
1127 dma_set_tx_state(struct dma_tx_state *st, dma_cookie_t last, dma_cookie_t used, u32 residue) in dma_set_tx_state() argument
1130 st->last = last; in dma_set_tx_state()
/linux-4.4.14/drivers/net/team/
Dteam_mode_broadcast.c22 struct team_port *last = NULL; in bc_transmit() local
29 if (last) { in bc_transmit()
32 ret = !team_dev_queue_xmit(team, last, in bc_transmit()
38 last = cur; in bc_transmit()
41 if (last) { in bc_transmit()
42 ret = !team_dev_queue_xmit(team, last, skb); in bc_transmit()
/linux-4.4.14/crypto/asymmetric_keys/
Dpkcs7_trust.c31 struct x509_certificate *x509, *last = NULL, *p; in pkcs7_validate_trust_one() local
82 last = x509; in pkcs7_validate_trust_one()
83 sig = &last->sig; in pkcs7_validate_trust_one()
89 if (last && (last->akid_id || last->akid_skid)) { in pkcs7_validate_trust_one()
91 last->akid_id, in pkcs7_validate_trust_one()
92 last->akid_skid, in pkcs7_validate_trust_one()
95 x509 = last; in pkcs7_validate_trust_one()
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
Dimage.c54 image->last = pcir.last; in nvbios_imagen()
60 image->last = npde.last; in nvbios_imagen()
62 image->last = true; in nvbios_imagen()
74 if (image->last || !nvbios_imagen(bios, image)) in nvbios_image()
/linux-4.4.14/drivers/infiniband/hw/cxgb4/
Did_table.c51 obj = find_next_zero_bit(alloc->table, alloc->max, alloc->last); in c4iw_id_alloc()
57 alloc->last += prandom_u32() % RANDOM_SKIP; in c4iw_id_alloc()
59 alloc->last = obj + 1; in c4iw_id_alloc()
60 if (alloc->last >= alloc->max) in c4iw_id_alloc()
61 alloc->last = 0; in c4iw_id_alloc()
91 alloc->last = prandom_u32() % RANDOM_SKIP; in c4iw_id_table_alloc()
93 alloc->last = 0; in c4iw_id_table_alloc()
/linux-4.4.14/arch/ia64/include/asm/
Dswitch_to.h44 #define __switch_to(prev,next,last) do { \ argument
50 (last) = ia64_switch_to((next)); \
60 # define switch_to(prev,next,last) do { \ argument
66 __switch_to(prev, next, last); \
76 # define switch_to(prev,next,last) __switch_to(prev, next, last) argument
/linux-4.4.14/fs/ext4/
Dfile.c573 ext4_lblk_t start, last, end; in ext4_seek_data() local
588 last = start; in ext4_seek_data()
593 map.m_lblk = last; in ext4_seek_data()
594 map.m_len = end - last + 1; in ext4_seek_data()
597 if (last != start) in ext4_seek_data()
598 dataoff = (loff_t)last << blkbits; in ext4_seek_data()
606 ext4_es_find_delayed_extent_range(inode, last, last, &es); in ext4_seek_data()
607 if (es.es_len != 0 && in_range(last, es.es_lblk, es.es_len)) { in ext4_seek_data()
608 if (last != start) in ext4_seek_data()
609 dataoff = (loff_t)last << blkbits; in ext4_seek_data()
[all …]
Dxattr.c601 static size_t ext4_xattr_free_space(struct ext4_xattr_entry *last, in ext4_xattr_free_space() argument
604 for (; !IS_LAST_ENTRY(last); last = EXT4_XATTR_NEXT(last)) { in ext4_xattr_free_space()
605 if (!last->e_value_block && last->e_value_size) { in ext4_xattr_free_space()
606 size_t offs = le16_to_cpu(last->e_value_offs); in ext4_xattr_free_space()
611 *total += EXT4_XATTR_LEN(last->e_name_len); in ext4_xattr_free_space()
613 return (*min_offs - ((void *)last - base) - sizeof(__u32)); in ext4_xattr_free_space()
619 struct ext4_xattr_entry *last; in ext4_xattr_set_entry() local
623 last = s->first; in ext4_xattr_set_entry()
624 for (; !IS_LAST_ENTRY(last); last = EXT4_XATTR_NEXT(last)) { in ext4_xattr_set_entry()
625 if (!last->e_value_block && last->e_value_size) { in ext4_xattr_set_entry()
[all …]
Dresize.c82 #define outside(b, first, last) ((b) < (first) || (b) >= (last)) argument
83 #define inside(b, first, last) ((b) >= (first) && (b) < (last)) argument
1046 ext4_group_t last; in update_backups() local
1065 last = sbi->s_groups_count; in update_backups()
1068 last = (ext4_group_t)(group + EXT4_DESC_PER_BLOCK(sb) - 2); in update_backups()
1112 else if (group == last) in update_backups()
1115 group = last; in update_backups()
1414 ext4_grpblk_t last; in ext4_flex_group_add() local
1424 ext4_get_group_no_and_offset(sb, o_blocks_count, &group, &last); in ext4_flex_group_add()
1425 BUG_ON(last); in ext4_flex_group_add()
[all …]
/linux-4.4.14/drivers/isdn/i4l/
Disdn_net.h117 nlp->last = lp->last; in isdn_net_add_to_bundle()
118 lp->last->next = nlp; in isdn_net_add_to_bundle()
119 lp->last = nlp; in isdn_net_add_to_bundle()
139 lp->last->next = lp->next; in isdn_net_rm_from_bundle()
140 lp->next->last = lp->last; in isdn_net_rm_from_bundle()
147 lp->next = lp->last = lp; /* (re)set own pointers */ in isdn_net_rm_from_bundle()
Disdn_audio.c350 s->last = ' '; in isdn_audio_dtmf_init()
553 if (s->last != ' ' && s->last != '.') in isdn_audio_eval_dtmf()
554 s->last = what; /* min. 1 non-DTMF between DTMF */ in isdn_audio_eval_dtmf()
561 if ((what != s->last) && (what != ' ') && (what != '.')) { in isdn_audio_eval_dtmf()
579 s->last = what; in isdn_audio_eval_dtmf()
/linux-4.4.14/arch/x86/kernel/
Dpvclock.c78 u64 last; in pvclock_clocksource_read() local
108 last = atomic64_read(&last_value); in pvclock_clocksource_read()
110 if (ret < last) in pvclock_clocksource_read()
111 return last; in pvclock_clocksource_read()
112 last = atomic64_cmpxchg(&last_value, last, ret); in pvclock_clocksource_read()
113 } while (unlikely(last != ret)); in pvclock_clocksource_read()
Dsetup_percpu.c68 pg_data_t *last = NULL; in pcpu_need_numa() local
75 last && last != NODE_DATA(node)) in pcpu_need_numa()
78 last = NODE_DATA(node); in pcpu_need_numa()
/linux-4.4.14/drivers/infiniband/core/
Dumem_rbtree.c76 u64 start, u64 last, in rbt_ib_umem_for_each_in_range() argument
84 if (unlikely(start == last)) in rbt_ib_umem_for_each_in_range()
87 for (node = rbt_ib_umem_iter_first(root, start, last - 1); node; in rbt_ib_umem_for_each_in_range()
88 node = rbt_ib_umem_iter_next(node, start, last - 1)) { in rbt_ib_umem_for_each_in_range()
90 ret_val = cb(umem->umem, start, last, cookie) || ret_val; in rbt_ib_umem_for_each_in_range()
/linux-4.4.14/lib/
Dklist.c337 struct klist_node *last = i->i_cur; in klist_prev() local
342 if (last) { in klist_prev()
343 prev = to_klist_node(last->n_node.prev); in klist_prev()
344 if (!klist_dec_and_del(last)) in klist_prev()
361 if (put && last) in klist_prev()
362 put(last); in klist_prev()
378 struct klist_node *last = i->i_cur; in klist_next() local
383 if (last) { in klist_next()
384 next = to_klist_node(last->n_node.next); in klist_next()
385 if (!klist_dec_and_del(last)) in klist_next()
[all …]
Dextable.c73 const struct exception_table_entry *last, in search_extable() argument
76 while (first <= last) { in search_extable()
79 mid = ((last - first) >> 1) + first; in search_extable()
87 last = mid - 1; in search_extable()
Dinterval_tree_test.c37 nodes[i].last = b; in init()
40 nodes[i].last = a; in init()
/linux-4.4.14/kernel/time/
Dtimekeeping_internal.h16 static inline cycle_t clocksource_delta(cycle_t now, cycle_t last, cycle_t mask) in clocksource_delta() argument
18 cycle_t ret = (now - last) & mask; in clocksource_delta()
23 static inline cycle_t clocksource_delta(cycle_t now, cycle_t last, cycle_t mask) in clocksource_delta() argument
25 return (now - last) & mask; in clocksource_delta()
/linux-4.4.14/arch/blackfin/include/asm/
Dswitch_to.h24 #define switch_to(prev,next,last) \ argument
30 (last) = resume (prev, next); \
33 #define switch_to(prev, next, last) \ argument
35 (last) = resume(prev, next); \
/linux-4.4.14/drivers/infiniband/hw/qib/
Dqib_tx.c65 unsigned last; in qib_disarm_piobufs() local
67 last = first + cnt; in qib_disarm_piobufs()
69 for (i = first; i < last; i++) { in qib_disarm_piobufs()
84 unsigned last; in qib_disarm_piobufs_ifneeded() local
87 last = rcd->pio_base + rcd->piocnt; in qib_disarm_piobufs_ifneeded()
104 for (i = rcd->pio_base; i < last; i++) { in qib_disarm_piobufs_ifneeded()
286 u32 first, u32 last) in qib_getsendbuf_range() argument
297 nbufs = last - first + 1; /* number in range to check */ in qib_getsendbuf_range()
315 if (dd->last_pio >= first && dd->last_pio <= last) in qib_getsendbuf_range()
319 nbufs = last - dd->min_kernel_pio + 1; in qib_getsendbuf_range()
[all …]
Dqib_driver.c457 int last; in qib_kreceive() local
476 for (last = 0, i = 1; !last; i += !last) { in qib_kreceive()
528 last = 1; in qib_kreceive()
537 last = 1; in qib_kreceive()
539 last = 1; in qib_kreceive()
547 if (!last && !(i & 0xf)) { in qib_kreceive()
Dqib_ruc.c774 u32 old_last, last; in qib_send_complete() local
807 last = qp->s_last; in qib_send_complete()
808 old_last = last; in qib_send_complete()
809 if (++last >= qp->s_size) in qib_send_complete()
810 last = 0; in qib_send_complete()
811 qp->s_last = last; in qib_send_complete()
813 qp->s_acked = last; in qib_send_complete()
815 qp->s_cur = last; in qib_send_complete()
817 qp->s_tail = last; in qib_send_complete()
818 if (qp->state == IB_QPS_SQD && last == qp->s_cur) in qib_send_complete()
/linux-4.4.14/arch/sh/mm/
Dextable_64.c46 const struct exception_table_entry *last, in search_extable() argument
55 while (first <= last) { in search_extable()
58 mid = (last - first) / 2 + first; in search_extable()
65 last = mid-1; in search_extable()
Dtlb-sh5.c29 cpu_data->dtlb.last = DTLB_FIXED | in sh64_tlb_init()
39 cpu_data->itlb.last = ITLB_FIXED | in sh64_tlb_init()
221 if (next > tlbp->last) in __update_tlb()
/linux-4.4.14/drivers/staging/rdma/amso1100/
Dc2_pd.c50 c2dev->pd_table.last); in c2_pd_alloc()
57 c2dev->pd_table.last = obj+1; in c2_pd_alloc()
58 if (c2dev->pd_table.last >= c2dev->pd_table.max) in c2_pd_alloc()
59 c2dev->pd_table.last = 0; in c2_pd_alloc()
76 c2dev->pd_table.last = 0; in c2_init_pd_table()
/linux-4.4.14/fs/f2fs/
Dxattr.c485 struct f2fs_xattr_entry *here, *last; in __f2fs_setxattr() local
523 last = here; in __f2fs_setxattr()
524 while (!IS_XATTR_LAST_ENTRY(last)) in __f2fs_setxattr()
525 last = XATTR_NEXT_ENTRY(last); in __f2fs_setxattr()
536 free = MIN_OFFSET(inode) - ((char *)last - (char *)base_addr); in __f2fs_setxattr()
555 memmove(here, next, (char *)last - (char *)next); in __f2fs_setxattr()
556 last = (struct f2fs_xattr_entry *)((char *)last - oldsize); in __f2fs_setxattr()
557 memset(last, 0, oldsize); in __f2fs_setxattr()
560 new_hsize = (char *)last - (char *)base_addr; in __f2fs_setxattr()
569 memset(last, 0, newsize); in __f2fs_setxattr()
[all …]
/linux-4.4.14/fs/proc/
Dnamespaces.c109 const struct proc_ns_operations **entry, **last; in proc_ns_dir_readdir() local
119 last = &ns_entries[ARRAY_SIZE(ns_entries) - 1]; in proc_ns_dir_readdir()
120 while (entry <= last) { in proc_ns_dir_readdir()
143 const struct proc_ns_operations **entry, **last; in proc_ns_dir_lookup() local
151 last = &ns_entries[ARRAY_SIZE(ns_entries)]; in proc_ns_dir_lookup()
152 for (entry = ns_entries; entry < last; entry++) { in proc_ns_dir_lookup()
158 if (entry == last) in proc_ns_dir_lookup()
/linux-4.4.14/drivers/video/fbdev/
Dc2p_iplan2.c92 u32 dst_idx, first, last, w; in c2p_iplan2() local
100 last = 0xffffU ^ (0xffffU >> ((dst_idx+width) % 16)); in c2p_iplan2()
101 last |= last << 16; in c2p_iplan2()
108 first &= last; in c2p_iplan2()
144 store_iplan2_masked(p, bpp, d.words, last); in c2p_iplan2()
Dc2p_planar.c94 u32 dst_idx, first, last, w; in c2p_planar() local
101 last = ~(0xffffffffU >> ((dst_idx+width) % 32)); in c2p_planar()
108 first &= last; in c2p_planar()
147 d.words, last); in c2p_planar()
Damifb.c2603 unsigned long first, last; in bitcpy() local
2613 last = ~(~0UL >> ((dst_idx + n) % BITS_PER_LONG)); in bitcpy()
2620 if (last) in bitcpy()
2621 first &= last; in bitcpy()
2650 if (last) in bitcpy()
2651 *dst = comp(*src, *dst, last); in bitcpy()
2661 if (last) in bitcpy()
2662 first &= last; in bitcpy()
2720 if (last) { in bitcpy()
2723 *dst = comp(d0 << left, *dst, last); in bitcpy()
[all …]
/linux-4.4.14/drivers/hwtracing/stm/
Dpolicy.c96 unsigned int first, last; in stp_policy_node_masters_store() local
101 if (sscanf(p, "%u %u", &first, &last) != 2) in stp_policy_node_masters_store()
110 if (first > INT_MAX || last > INT_MAX || first > last || in stp_policy_node_masters_store()
112 last > stm->data->sw_end) { in stp_policy_node_masters_store()
119 policy_node->last_master = last; in stp_policy_node_masters_store()
144 unsigned int first, last; in stp_policy_node_channels_store() local
149 if (sscanf(p, "%u %u", &first, &last) != 2) in stp_policy_node_channels_store()
157 if (first > INT_MAX || last > INT_MAX || first > last || in stp_policy_node_channels_store()
158 last >= stm->data->sw_nchannels) { in stp_policy_node_channels_store()
165 policy_node->last_channel = last; in stp_policy_node_channels_store()
/linux-4.4.14/arch/mips/jazz/
Djazzdma.c94 int first, last, pages, frame, i; in vdma_alloc() local
125 last = first + 1; in vdma_alloc()
126 while (pgtbl[last].owner == VDMA_PAGE_EMPTY in vdma_alloc()
127 && last - first < pages) in vdma_alloc()
128 last++; in vdma_alloc()
130 if (last - first == pages) in vdma_alloc()
132 first = last + 1; in vdma_alloc()
141 for (i = first; i < last; i++) { in vdma_alloc()
158 for (i = first; i < last; i++) in vdma_alloc()
161 for (i = first; i < last; i++) in vdma_alloc()
[all …]
/linux-4.4.14/arch/x86/kernel/cpu/
Dperf_event_intel_pt.c331 int last; member
335 #define TOPA_ENTRY(t, i) ((i) == -1 ? &(t)->table[(t)->last] : &(t)->table[(i)])
355 topa->last = 0; in topa_alloc()
390 struct topa *last = buf->last; in topa_insert_table() local
395 buf->first = buf->last = buf->cur = topa; in topa_insert_table()
399 topa->offset = last->offset + last->size; in topa_insert_table()
400 buf->last = topa; in topa_insert_table()
405 BUG_ON(last->last != TENTS_PER_PAGE - 1); in topa_insert_table()
407 TOPA_ENTRY(last, -1)->base = topa->phys >> TOPA_SHIFT; in topa_insert_table()
408 TOPA_ENTRY(last, -1)->end = 1; in topa_insert_table()
[all …]
/linux-4.4.14/drivers/scsi/sym53c8xx_2/
Dsym_misc.h93 struct sym_quehead *last = list->blink; in sym_que_splice() local
99 last->flink = at; in sym_que_splice()
100 at->blink = last; in sym_que_splice()
107 struct sym_quehead *first, *last; in sym_que_move() local
113 last = orig->blink; in sym_que_move()
114 last->flink = dest; in sym_que_move()
115 dest->blink = last; in sym_que_move()
/linux-4.4.14/fs/ext2/
Dxattr.c363 struct ext2_xattr_entry *here, *last; in ext2_xattr_set() local
430 last = here; in ext2_xattr_set()
432 while (!IS_LAST_ENTRY(last)) { in ext2_xattr_set()
433 struct ext2_xattr_entry *next = EXT2_XATTR_NEXT(last); in ext2_xattr_set()
436 if (!last->e_value_block && last->e_value_size) { in ext2_xattr_set()
437 size_t offs = le16_to_cpu(last->e_value_offs); in ext2_xattr_set()
441 last = next; in ext2_xattr_set()
445 free = min_offs - ((char*)last - (char*)header) - sizeof(__u32); in ext2_xattr_set()
450 here = last = NULL; /* avoid gcc uninitialized warning. */ in ext2_xattr_set()
510 offset = (char *)last - bh->b_data; in ext2_xattr_set()
[all …]
/linux-4.4.14/arch/xtensa/include/asm/
Dswitch_to.h15 extern void *_switch_to(void *last, void *next);
17 #define switch_to(prev,next,last) \ argument
19 (last) = _switch_to(prev, next); \
/linux-4.4.14/arch/score/include/asm/
Dswitch_to.h4 extern void *resume(void *last, void *next, void *next_ti);
6 #define switch_to(prev, next, last) \ argument
8 (last) = resume(prev, next, task_thread_info(next)); \
/linux-4.4.14/drivers/md/bcache/
Dutil.c171 uint64_t now, duration, last; in bch_time_stats_update() local
178 last = time_after64(now, stats->last) in bch_time_stats_update()
179 ? now - stats->last : 0; in bch_time_stats_update()
183 if (stats->last) { in bch_time_stats_update()
187 ewma_add(stats->average_frequency, last, 8, 8); in bch_time_stats_update()
189 stats->average_frequency = last << 8; in bch_time_stats_update()
194 stats->last = now ?: 1; in bch_time_stats_update()
/linux-4.4.14/drivers/video/fbdev/omap2/dss/
Doverlay-sysfs.c149 char *last; in overlay_position_store() local
154 info.pos_x = simple_strtoul(buf, &last, 10); in overlay_position_store()
155 ++last; in overlay_position_store()
156 if (last - buf >= size) in overlay_position_store()
159 info.pos_y = simple_strtoul(last, &last, 10); in overlay_position_store()
188 char *last; in overlay_output_size_store() local
193 info.out_width = simple_strtoul(buf, &last, 10); in overlay_output_size_store()
194 ++last; in overlay_output_size_store()
195 if (last - buf >= size) in overlay_output_size_store()
198 info.out_height = simple_strtoul(last, &last, 10); in overlay_output_size_store()
/linux-4.4.14/lib/zlib_inflate/
Dinflate.c33 state->last = 0; in zlib_inflateReset()
329 code last; /* parent table entry */ in zlib_inflate() local
395 if (state->last) { in zlib_inflate()
401 state->last = BITS(1); in zlib_inflate()
570 last = this; in zlib_inflate()
572 this = state->lencode[last.val + in zlib_inflate()
573 (BITS(last.bits + last.op) >> last.bits)]; in zlib_inflate()
574 if ((unsigned)(last.bits + this.bits) <= bits) break; in zlib_inflate()
577 DROPBITS(last.bits); in zlib_inflate()
610 last = this; in zlib_inflate()
[all …]
Dinffast.c92 const unsigned char *last; /* while in < last, enough input available */ in inflate_fast() local
119 last = in + (strm->avail_in - 5); in inflate_fast()
330 } while (in < last && out < end); in inflate_fast()
341 strm->avail_in = (unsigned)(in < last ? 5 + (last - in) : 5 - (in - last)); in inflate_fast()
/linux-4.4.14/virt/kvm/
Dcoalesced_mmio.c54 avail = (ring->first - ring->last - 1) % KVM_COALESCED_MMIO_MAX; in coalesced_mmio_has_room()
82 ring->coalesced_mmio[ring->last].phys_addr = addr; in coalesced_mmio_write()
83 ring->coalesced_mmio[ring->last].len = len; in coalesced_mmio_write()
84 memcpy(ring->coalesced_mmio[ring->last].data, val, len); in coalesced_mmio_write()
86 ring->last = (ring->last + 1) % KVM_COALESCED_MMIO_MAX; in coalesced_mmio_write()
/linux-4.4.14/arch/s390/mm/
Dextable.c14 const struct exception_table_entry *last, in search_extable() argument
20 while (first <= last) { in search_extable()
21 mid = ((last - first) >> 1) + first; in search_extable()
26 last = mid - 1; in search_extable()
/linux-4.4.14/arch/x86/include/asm/
Dswitch_to.h31 #define switch_to(prev, next, last) \ argument
57 "=a" (last), \
108 #define switch_to(prev, next, last) \ argument
120 : "=a" (last) \
/linux-4.4.14/drivers/staging/rdma/hfi1/
Ddriver.c679 static inline void process_rcv_update(int last, struct hfi1_packet *packet) in process_rcv_update() argument
687 if (!last && !(packet->numpkt & 0xf)) { in process_rcv_update()
749 int last = RCV_PKT_OK; in handle_receive_interrupt_nodma_rtail() local
755 last = RCV_PKT_DONE; in handle_receive_interrupt_nodma_rtail()
761 while (last == RCV_PKT_OK) { in handle_receive_interrupt_nodma_rtail()
762 last = process_rcv_packet(&packet, thread); in handle_receive_interrupt_nodma_rtail()
767 last = RCV_PKT_DONE; in handle_receive_interrupt_nodma_rtail()
768 process_rcv_update(last, &packet); in handle_receive_interrupt_nodma_rtail()
773 return last; in handle_receive_interrupt_nodma_rtail()
779 int last = RCV_PKT_OK; in handle_receive_interrupt_dma_rtail() local
[all …]
Druc.c901 u32 old_last, last; in hfi1_send_complete() local
934 last = qp->s_last; in hfi1_send_complete()
935 old_last = last; in hfi1_send_complete()
936 if (++last >= qp->s_size) in hfi1_send_complete()
937 last = 0; in hfi1_send_complete()
938 qp->s_last = last; in hfi1_send_complete()
940 qp->s_acked = last; in hfi1_send_complete()
942 qp->s_cur = last; in hfi1_send_complete()
944 qp->s_tail = last; in hfi1_send_complete()
945 if (qp->state == IB_QPS_SQD && last == qp->s_cur) in hfi1_send_complete()
/linux-4.4.14/arch/alpha/mm/
Dextable.c74 const struct exception_table_entry *last, in search_extable() argument
77 while (first <= last) { in search_extable()
81 mid = (last - first) / 2 + first; in search_extable()
88 last = mid-1; in search_extable()
/linux-4.4.14/arch/ia64/kernel/
Dperfmon_default_smpl.c106 void *cur, *last; in default_handler() local
119 last = buf+hdr->hdr_buf_size; in default_handler()
126 if ((last - cur) < PFM_DEFAULT_MAX_ENTRY_SIZE) goto full; in default_handler()
144 cur, last, in default_handler()
145 last-cur, in default_handler()
192 if ((last - cur) < PFM_DEFAULT_MAX_ENTRY_SIZE) goto full; in default_handler()
204 …DPRINT_ovfl(("sampling buffer full free=%lu, count=%lu, ovfl_notify=%d\n", last-cur, hdr->hdr_coun… in default_handler()
Dtraps.c281 static struct fpu_swa_msg last __cacheline_aligned;
311 count = last.count; in handle_fpu_swa()
320 if (current_jiffies > last.time) in handle_fpu_swa()
321 (void) cmpxchg_acq(&last.count, count, 16 + (count & ~15)); in handle_fpu_swa()
324 if ((last.count & 15) < 5 && (ia64_fetchadd(1, &last.count, acq) & 15) < 5) { in handle_fpu_swa()
325 last.time = current_jiffies + 5 * HZ; in handle_fpu_swa()
/linux-4.4.14/arch/powerpc/mm/
Dvphn.c29 u16 last = 0; in vphn_unpack_associativity() local
48 cpu_to_be32(last << 16 | new); in vphn_unpack_associativity()
61 last = new; in vphn_unpack_associativity()
/linux-4.4.14/tools/testing/selftests/powerpc/vphn/
Dvphn.c29 u16 last = 0; in vphn_unpack_associativity() local
48 cpu_to_be32(last << 16 | new); in vphn_unpack_associativity()
61 last = new; in vphn_unpack_associativity()
/linux-4.4.14/arch/x86/entry/vdso/
Dvclock_gettime.c83 u64 last; in vread_pvclock() local
124 last = gtod->cycle_last; in vread_pvclock()
126 if (likely(ret >= last)) in vread_pvclock()
129 return last; in vread_pvclock()
179 u64 last = gtod->cycle_last; in vread_tsc() local
181 if (likely(ret >= last)) in vread_tsc()
193 return last; in vread_tsc()
/linux-4.4.14/arch/ia64/mm/
Dextable.c84 const struct exception_table_entry *last, in search_extable() argument
91 while (first <= last) { in search_extable()
92 mid = &first[(last - first)/2]; in search_extable()
100 last = mid - 1; in search_extable()
/linux-4.4.14/tools/lib/traceevent/
Devent-plugin.c249 struct registered_plugin_options **last; in traceevent_plugin_remove_options() local
252 for (last = &registered_options; *last; last = &(*last)->next) { in traceevent_plugin_remove_options()
253 if ((*last)->options == options) { in traceevent_plugin_remove_options()
254 reg = *last; in traceevent_plugin_remove_options()
255 *last = reg->next; in traceevent_plugin_remove_options()
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/
Damdgpu_trace.h124 __field(long, last)
132 __entry->last = mapping->it.last;
137 __entry->bo, __entry->start, __entry->last,
148 __field(long, last)
156 __entry->last = mapping->it.last;
161 __entry->bo, __entry->start, __entry->last,
176 __entry->eoffset = mapping->it.last + 1;
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4vf/
Dt4vf_defs.h84 #define T4VF_MOD_MAP(module, index, first, last) \ argument
87 T4VF_MOD_MAP_##module##_LAST = (last), \
92 (T4VF_##module##_BASE_ADDR/4 + (last)/4),
/linux-4.4.14/scripts/
Dheaderdep.pl124 my $last = pop @$cycle;
127 printf "%s from %s,\n", $msg, $last->[1] if defined $last;
133 $header->[1] eq $last->[1] ? ' <-- here' : '';
Ddecode_stacktrace.sh93 local last=$(( ${#words[@]} - 1 ))
109 symbol=${words[$last]}
110 unset words[$last]
/linux-4.4.14/scripts/kconfig/
Dqconf.cc421 ConfigItem* last = 0; in updateList() local
445 last = item; in updateList()
449 item = last ? last->nextSibling() : firstChild(); in updateList()
451 item = new ConfigItem(this, last, rootEntry, true); in updateList()
582 ConfigItem* last; in updateMenuList() local
595 last = parent->firstChild(); in updateMenuList()
596 if (last && !last->goParent) in updateMenuList()
597 last = 0; in updateMenuList()
599 item = last ? last->nextSibling() : parent->firstChild(); in updateMenuList()
620 item = new ConfigItem(parent, last, child, visible); in updateMenuList()
[all …]
/linux-4.4.14/drivers/gpu/drm/exynos/
Dexynos_drm_g2d.c146 u32 last; /* last data offset */ member
353 lnode->cmdlist->data[lnode->cmdlist->last] = node->dma_addr; in g2d_add_cmdlist_to_inuse()
695 reg_pos = cmdlist->last - 2 * (i + 1); in g2d_map_cmdlist_gem()
947 index = cmdlist->last - 2 * (i + 1); in g2d_check_reg_offset()
1128 cmdlist->last = 0; in exynos_g2d_set_cmdlist_ioctl()
1137 cmdlist->data[cmdlist->last++] = G2D_SOFT_RESET; in exynos_g2d_set_cmdlist_ioctl()
1138 cmdlist->data[cmdlist->last++] = G2D_SFRCLEAR; in exynos_g2d_set_cmdlist_ioctl()
1139 cmdlist->data[cmdlist->last++] = G2D_SRC_BASE_ADDR; in exynos_g2d_set_cmdlist_ioctl()
1140 cmdlist->data[cmdlist->last++] = 0; in exynos_g2d_set_cmdlist_ioctl()
1152 cmdlist->data[cmdlist->last++] = G2D_INTEN; in exynos_g2d_set_cmdlist_ioctl()
[all …]
Dexynos_drm_plane.c44 static int exynos_plane_get_size(int start, unsigned length, unsigned last) in exynos_plane_get_size() argument
51 size = min_t(unsigned, end, last); in exynos_plane_get_size()
52 } else if (start <= last) { in exynos_plane_get_size()
53 size = min_t(unsigned, last - start, length); in exynos_plane_get_size()
/linux-4.4.14/arch/x86/mm/
Dextable.c83 const struct exception_table_entry *last, in search_extable() argument
86 while (first <= last) { in search_extable()
90 mid = ((last - first) >> 1) + first; in search_extable()
95 last = mid - 1; in search_extable()
/linux-4.4.14/drivers/crypto/marvell/
Dtdma.c76 dreq->chain.last = NULL; in mv_cesa_dma_cleanup()
109 if (chain->last) { in mv_cesa_dma_add_desc()
110 chain->last->next_dma = cpu_to_le32(dma_handle); in mv_cesa_dma_add_desc()
111 chain->last->next = new_tdma; in mv_cesa_dma_add_desc()
116 chain->last = new_tdma; in mv_cesa_dma_add_desc()
143 tdma = chain->last; in mv_cesa_dma_add_op()
/linux-4.4.14/arch/sparc/mm/
Dextable.c16 const struct exception_table_entry *last, in search_extable() argument
39 for (walk = start; walk <= last; walk++) { in search_extable()
55 for (walk = start; walk <= (last - 1); walk++) { in search_extable()
/linux-4.4.14/fs/btrfs/
Dinode-map.c37 u64 last = (u64)-1; in caching_kthread() local
90 root->ino_cache_progress = last; in caching_kthread()
106 if (last != (u64)-1 && last + 1 != key.objectid) { in caching_kthread()
107 __btrfs_add_free_space(ctl, last + 1, in caching_kthread()
108 key.objectid - last - 1); in caching_kthread()
112 last = key.objectid; in caching_kthread()
117 if (last < root->highest_objectid - 1) { in caching_kthread()
118 __btrfs_add_free_space(ctl, last + 1, in caching_kthread()
119 root->highest_objectid - last - 1); in caching_kthread()
Draid56.c569 static int rbio_can_merge(struct btrfs_raid_bio *last, in rbio_can_merge() argument
572 if (test_bit(RBIO_RMW_LOCKED_BIT, &last->flags) || in rbio_can_merge()
583 if (test_bit(RBIO_CACHE_BIT, &last->flags) || in rbio_can_merge()
587 if (last->bbio->raid_map[0] != in rbio_can_merge()
592 if (last->operation != cur->operation) in rbio_can_merge()
602 if (last->operation == BTRFS_RBIO_PARITY_SCRUB || in rbio_can_merge()
606 if (last->operation == BTRFS_RBIO_REBUILD_MISSING || in rbio_can_merge()
1062 struct bio *last = bio_list->tail; in rbio_add_io_page() local
1077 if (last) { in rbio_add_io_page()
1078 last_end = (u64)last->bi_iter.bi_sector << 9; in rbio_add_io_page()
[all …]
/linux-4.4.14/arch/mips/mm/
Dsc-ip22.c29 static inline void indy_sc_wipe(unsigned long first, unsigned long last) in indy_sc_wipe() argument
54 : "=r" (first), "=r" (last), "=&r" (tmp) in indy_sc_wipe()
55 : "0" (first), "1" (last)); in indy_sc_wipe()
/linux-4.4.14/net/netfilter/ipvs/
Dip_vs_wrr.c168 struct ip_vs_dest *dest, *last, *stop = NULL; in ip_vs_wrr_schedule() local
179 last = dest; in ip_vs_wrr_schedule()
201 &last->n_list == &svc->destinations) in ip_vs_wrr_schedule()
207 &last->n_list != &svc->destinations) { in ip_vs_wrr_schedule()
212 stop = last; in ip_vs_wrr_schedule()
Dip_vs_rr.c62 struct ip_vs_dest *dest, *last; in ip_vs_rr_schedule() local
69 last = dest = list_entry(p, struct ip_vs_dest, n_list); in ip_vs_rr_schedule()
79 if (dest == last) in ip_vs_rr_schedule()
/linux-4.4.14/drivers/memory/tegra/
Dtegra124-emc.c569 struct emc_timing *last = &emc->last_timing; in tegra_emc_prepare_timing_change() local
579 if ((last->emc_mode_1 & 0x1) == (timing->emc_mode_1 & 0x1)) in tegra_emc_prepare_timing_change()
612 val2 = last->emc_bgbias_ctl0; in tegra_emc_prepare_timing_change()
658 if (last->emc_ctt_term_ctrl != timing->emc_ctt_term_ctrl) { in tegra_emc_prepare_timing_change()
679 if (timing->emc_auto_cal_config2 != last->emc_auto_cal_config2) in tegra_emc_prepare_timing_change()
683 if (timing->emc_auto_cal_config3 != last->emc_auto_cal_config3) in tegra_emc_prepare_timing_change()
687 if (timing->emc_auto_cal_config != last->emc_auto_cal_config) { in tegra_emc_prepare_timing_change()
699 last->emc_zcal_interval == 0) in tegra_emc_prepare_timing_change()
745 if (timing->emc_mode_1 != last->emc_mode_1) in tegra_emc_prepare_timing_change()
747 if (timing->emc_mode_2 != last->emc_mode_2) in tegra_emc_prepare_timing_change()
[all …]
/linux-4.4.14/drivers/media/v4l2-core/
Dvideobuf2-memops.c42 unsigned long first, last; in vb2_create_framevec() local
47 last = (start + length - 1) >> PAGE_SHIFT; in vb2_create_framevec()
48 nr = last - first + 1; in vb2_create_framevec()
Dvideobuf-dma-sg.c157 unsigned long first, last; in videobuf_dma_init_user_locked() local
173 last = ((data+size-1) & PAGE_MASK) >> PAGE_SHIFT; in videobuf_dma_init_user_locked()
176 dma->nr_pages = last-first+1; in videobuf_dma_init_user_locked()
593 unsigned int first, last, size = 0, i; in __videobuf_mmap_mapper() local
616 last = first; in __videobuf_mmap_mapper()
625 for (i = first; i <= last; i++) { in __videobuf_mmap_mapper()
640 map, q, vma->vm_start, vma->vm_end, vma->vm_pgoff, first, last); in __videobuf_mmap_mapper()
/linux-4.4.14/include/asm-generic/
Dswitch_to.h25 #define switch_to(prev, next, last) \ argument
27 ((last) = __switch_to((prev), (next))); \
/linux-4.4.14/arch/nios2/include/asm/
Dswitch_to.h17 #define switch_to(prev, next, last) \ argument
28 (last) = _last; \
/linux-4.4.14/arch/parisc/include/asm/
Dswitch_to.h8 #define switch_to(prev, next, last) do { \ argument
9 (last) = _switch_to(prev, next); \
/linux-4.4.14/drivers/usb/misc/sisusbvga/
DKconfig30 the first and last consoles (starting at 1) as driver parameters.
34 modprobe sisusbvga first=1 last=5
39 options sisusbvga first=1 last=5
44 sisusbvga.first=1 sisusbvga.last=5
/linux-4.4.14/drivers/net/fddi/skfp/
Dsmttimer.c125 struct smt_timer **last ; in timer_done() local
129 last = &smc->t.st_queue ; in timer_done()
135 last = &tm->tm_next ; in timer_done()
144 *last = NULL; in timer_done()
/linux-4.4.14/drivers/staging/comedi/drivers/
Daddi_apci_16xx.c104 unsigned int last; in apci16xx_auto_attach() local
128 last = board->n_chan - (n_subdevs * 32); in apci16xx_auto_attach()
131 last = 0; in apci16xx_auto_attach()
143 s->n_chan = ((i * 32) < board->n_chan) ? 32 : last; in apci16xx_auto_attach()
/linux-4.4.14/net/rds/
Dbind.c79 u16 rover, last; in rds_add_bound() local
84 last = rover; in rds_add_bound()
87 last = rover - 1; in rds_add_bound()
115 } while (rover++ != last); in rds_add_bound()
/linux-4.4.14/net/core/
Ddst.c71 struct dst_entry *last = &head; in dst_gc_task() local
82 last->next = dst; in dst_gc_task()
83 last = dst; in dst_gc_task()
115 last->next = NULL; in dst_gc_task()
446 struct dst_entry *dst, *last = NULL; in dst_dev_event() local
453 last = dst; in dst_dev_event()
462 if (last) in dst_dev_event()
463 last->next = dst; in dst_dev_event()
/linux-4.4.14/sound/isa/gus/
Dgus_mem.c67 if (alloc->last == NULL) { in snd_gf1_mem_xalloc()
69 alloc->first = alloc->last = nblock; in snd_gf1_mem_xalloc()
71 nblock->prev = alloc->last; in snd_gf1_mem_xalloc()
72 alloc->last->next = nblock; in snd_gf1_mem_xalloc()
73 alloc->last = nblock; in snd_gf1_mem_xalloc()
94 if (alloc->last == block) { in snd_gf1_mem_xfree()
95 alloc->last = block->prev; in snd_gf1_mem_xfree()
247 alloc->first = alloc->last = NULL; in snd_gf1_mem_init()
/linux-4.4.14/arch/cris/include/asm/
Dswitch_to.h9 #define switch_to(prev,next,last) last = resume(prev,next, \ argument
/linux-4.4.14/arch/h8300/include/asm/
Dswitch_to.h34 #define switch_to(prev, next, last) \ argument
48 (last) = _last; \
/linux-4.4.14/fs/
Dnamei.c498 struct qstr last; member
594 struct saved *last = nd->stack + i; in drop_links() local
595 struct inode *inode = last->inode; in drop_links()
596 if (last->cookie && inode->i_op->put_link) { in drop_links()
597 inode->i_op->put_link(inode, last->cookie); in drop_links()
598 last->cookie = NULL; in drop_links()
646 struct saved *last = nd->stack + i; in legitimize_links() local
647 if (unlikely(!legitimize_path(nd, &last->link, last->seq))) { in legitimize_links()
860 struct saved *last = nd->stack + --nd->depth; in put_link() local
861 struct inode *inode = last->inode; in put_link()
[all …]
/linux-4.4.14/arch/microblaze/include/asm/
Dswitch_to.h18 #define switch_to(prev, next, last) \ argument
20 (last) = _switch_to(task_thread_info(prev), \
/linux-4.4.14/arch/unicore32/include/asm/
Dswitch_to.h24 #define switch_to(prev, next, last) \ argument
26 last = __switch_to(prev, task_thread_info(prev), \
/linux-4.4.14/fs/nfs/
Dnfs4renewd.c62 unsigned long last, now; in nfs4_renew_state() local
73 last = clp->cl_last_renewal; in nfs4_renew_state()
76 if (time_after(now, last + lease/3)) in nfs4_renew_state()
/linux-4.4.14/arch/m68k/include/asm/
Dswitch_to.h30 #define switch_to(prev,next,last) do { \ argument
38 (last) = _last; \
/linux-4.4.14/net/ipv4/
Dip_input.c158 struct sock *last = NULL; in ip_call_ra_chain() local
176 if (last) { in ip_call_ra_chain()
179 raw_rcv(last, skb2); in ip_call_ra_chain()
181 last = sk; in ip_call_ra_chain()
185 if (last) { in ip_call_ra_chain()
186 raw_rcv(last, skb); in ip_call_ra_chain()
/linux-4.4.14/arch/arm/include/asm/
Dswitch_to.h25 #define switch_to(prev,next,last) \ argument
28 last = __switch_to(prev,task_thread_info(prev), task_thread_info(next)); \
/linux-4.4.14/arch/frv/include/asm/
Dswitch_to.h27 #define switch_to(prev, next, last) \ argument
31 (last) = __switch_to(&(prev)->thread, &(next)->thread, (prev)); \
/linux-4.4.14/fs/reiserfs/
Dprints.c423 static int print_internal(struct buffer_head *bh, int first, int last) in print_internal() argument
440 to = last < B_NR_ITEMS(bh) ? last : B_NR_ITEMS(bh); in print_internal()
459 int last) in print_leaf() argument
490 if (last < 0 || last > nr) in print_leaf()
493 to = last; in print_leaf()
596 int mode, first, last; in print_block() local
607 last = va_arg(args, int); in print_block()
608 if (print_leaf(bh, mode, first, last)) in print_block()
609 if (print_internal(bh, first, last)) in print_block()
/linux-4.4.14/drivers/i2c/busses/
Di2c-digicolor.c59 int last; member
108 bool last = (i2c->msgbuf_ptr + 1 == i2c->msg->len); in dc_i2c_next_read() local
110 dc_i2c_cmd(i2c, last ? II_CMD_GET_NOACK : II_CMD_GET_ACK); in dc_i2c_next_read()
116 if (i2c->last) in dc_i2c_stop()
219 int last) in dc_i2c_xfer_msg() argument
227 i2c->last = last; in dc_i2c_xfer_msg()
Di2c-meson.c89 bool last; member
207 dev_dbg(i2c->dev, "%s: last %d\n", __func__, i2c->last); in meson_i2c_stop()
209 if (i2c->last) { in meson_i2c_stop()
305 int last) in meson_i2c_xfer_msg() argument
311 i2c->last = last; in meson_i2c_xfer_msg()
/linux-4.4.14/arch/m32r/include/asm/
Dswitch_to.h28 #define switch_to(prev, next, last) do { \ argument
43 : "=r" (last) \
/linux-4.4.14/arch/m68k/mm/
Dmotorola.c72 unsigned long pmd, last; in kernel_ptr_table() local
79 last = (unsigned long)kernel_pg_dir; in kernel_ptr_table()
84 if (pmd > last) in kernel_ptr_table()
85 last = pmd; in kernel_ptr_table()
88 last_pgtable = (pmd_t *)last; in kernel_ptr_table()
/linux-4.4.14/drivers/video/fbdev/mb862xx/
Dmb862xx-i2c.c60 static int mb862xx_i2c_read_byte(struct i2c_adapter *adap, u8 *byte, int last) in mb862xx_i2c_read_byte() argument
64 outreg(i2c, GC_I2C_BCR, I2C_START | (last ? 0 : I2C_ACK)); in mb862xx_i2c_read_byte()
83 int last = m->len - 1; in mb862xx_i2c_read() local
86 if (!mb862xx_i2c_read_byte(adap, &m->buf[i], i == last)) { in mb862xx_i2c_read()
/linux-4.4.14/drivers/gpu/drm/
Ddrm_edid_load.c267 char *edidname, *last, *colon, *fwstr, *edidstr, *fallback = NULL; in drm_load_edid_firmware() local
306 last = edidname + strlen(edidname) - 1; in drm_load_edid_firmware()
307 if (*last == '\n') in drm_load_edid_firmware()
308 *last = '\0'; in drm_load_edid_firmware()
/linux-4.4.14/arch/c6x/include/asm/
Dswitch_to.h24 #define switch_to(prev, next, last) \ argument
27 (last) = __switch_to(&(prev)->thread, \
/linux-4.4.14/drivers/staging/rtl8192e/
Drtllib_crypt_ccmp.c224 int blocks, last, len; in rtllib_ccmp_encrypt() local
237 last = data_len % AES_BLOCK_LEN; in rtllib_ccmp_encrypt()
240 len = (i == blocks && last) ? last : AES_BLOCK_LEN; in rtllib_ccmp_encrypt()
316 int i, blocks, last, len; in rtllib_ccmp_decrypt() local
323 last = data_len % AES_BLOCK_LEN; in rtllib_ccmp_decrypt()
326 len = (i == blocks && last) ? last : AES_BLOCK_LEN; in rtllib_ccmp_decrypt()
/linux-4.4.14/arch/sparc/include/asm/
Dswitch_to_64.h20 #define switch_to(prev, next, last) \ argument
56 : "=&r" (last), "=r" (current), "=r" (current_thread_info_reg), \
Dswitch_to_32.h57 #define switch_to(prev, next, last) do { \ argument
90 : "=&r" (last) \
/linux-4.4.14/arch/sh/include/asm/
Dswitch_to_64.h24 #define switch_to(prev,next,last) \ argument
30 last = sh64_switch_to(prev, &prev->thread, next, \
Dtlb_64.h30 tlb <= cpu_data->dtlb.last; \
40 tlb <= cpu_data->itlb.last; \
Dswitch_to_32.h69 #define switch_to(prev, next, last) \ argument
127 last = __last; \
/linux-4.4.14/arch/avr32/include/asm/
Dswitch_to.h41 #define switch_to(prev, next, last) \ argument
44 last = __switch_to(prev, &prev->thread.cpu_context + 1, \
/linux-4.4.14/arch/arc/include/asm/
Dswitch_to.h31 #define switch_to(prev, next, last) \ argument
34 last = __switch_to(prev, next);\
/linux-4.4.14/fs/fat/
Dmisc.c103 int ret, new_fclus, last; in fat_chain_add() local
109 last = new_fclus = 0; in fat_chain_add()
117 last = dclus; in fat_chain_add()
121 if (last) { in fat_chain_add()
125 ret = fat_ent_read(inode, &fatent, last); in fat_chain_add()
/linux-4.4.14/drivers/staging/rtl8192u/ieee80211/
Dieee80211_crypt_ccmp.c233 int blocks, last, len; in ieee80211_ccmp_encrypt() local
246 last = data_len % AES_BLOCK_LEN; in ieee80211_ccmp_encrypt()
249 len = (i == blocks && last) ? last : AES_BLOCK_LEN; in ieee80211_ccmp_encrypt()
328 int i, blocks, last, len; in ieee80211_ccmp_decrypt() local
335 last = data_len % AES_BLOCK_LEN; in ieee80211_ccmp_decrypt()
338 len = (i == blocks && last) ? last : AES_BLOCK_LEN; in ieee80211_ccmp_decrypt()
/linux-4.4.14/drivers/md/
Ddm-stats.c197 struct dm_stats_last_position *last; in dm_stats_init() local
201 stats->last = alloc_percpu(struct dm_stats_last_position); in dm_stats_init()
203 last = per_cpu_ptr(stats->last, cpu); in dm_stats_init()
204 last->last_sector = (sector_t)ULLONG_MAX; in dm_stats_init()
205 last->last_rw = UINT_MAX; in dm_stats_init()
233 free_percpu(stats->last); in dm_stats_cleanup()
632 struct dm_stats_last_position *last; in dm_stats_account_io() local
645 last = raw_cpu_ptr(stats->last); in dm_stats_account_io()
647 (bi_sector == (ACCESS_ONCE(last->last_sector) && in dm_stats_account_io()
649 (ACCESS_ONCE(last->last_rw) & (REQ_WRITE | REQ_DISCARD))) in dm_stats_account_io()
[all …]
/linux-4.4.14/arch/tile/include/asm/
Dswitch_to.h40 #define switch_to(prev, next, last) ((last) = _switch_to((prev), (next))) argument
/linux-4.4.14/arch/openrisc/kernel/
Dprocess.c220 struct task_struct *last; in __switch_to() local
234 last = (_switch(old_ti, new_ti))->task; in __switch_to()
238 return last; in __switch_to()
/linux-4.4.14/arch/xtensa/kernel/
Dprocess.c324 int live, last; in xtensa_elf_core_copy_regs() local
348 last = XCHAL_NUM_AREGS - (wm >> 4) * 4; in xtensa_elf_core_copy_regs()
350 memcpy(elfregs->a + last, regs->areg + last, (wm >> 4) * 16); in xtensa_elf_core_copy_regs()
/linux-4.4.14/net/netfilter/ipset/
Dpfxlen.c294 u32 last; in ip_set_range_to_cidr() local
300 last = from | ~ip_set_hostmask(i); in ip_set_range_to_cidr()
301 if (!after(last, to)) { in ip_set_range_to_cidr()
303 return last; in ip_set_range_to_cidr()
/linux-4.4.14/arch/alpha/kernel/
Dcore_irongate.c319 unsigned long baddr, last; in irongate_ioremap() local
359 last = addr + size - 1; in irongate_ioremap()
360 size = PAGE_ALIGN(last) - addr; in irongate_ioremap()
369 for(baddr = addr; baddr <= last; baddr += PAGE_SIZE) in irongate_ioremap()
385 baddr <= last; in irongate_ioremap()
/linux-4.4.14/arch/mn10300/include/asm/
Dswitch_to.h40 #define switch_to(prev, next, last) \ argument
44 (last) = __switch_to(&(prev)->thread, &(next)->thread, (prev)); \
/linux-4.4.14/arch/mips/lib/
Dr3k_dump_tlb.c28 static void dump_tlb(int first, int last) in dump_tlb() argument
36 for (i = first; i <= last; i++) { in dump_tlb()
/linux-4.4.14/net/wireless/
Dlib80211_crypt_ccmp.c221 int data_len, i, blocks, last, len; in lib80211_ccmp_encrypt() local
242 last = data_len % AES_BLOCK_LEN; in lib80211_ccmp_encrypt()
245 len = (i == blocks && last) ? last : AES_BLOCK_LEN; in lib80211_ccmp_encrypt()
294 int i, blocks, last, len; in lib80211_ccmp_decrypt() local
348 last = data_len % AES_BLOCK_LEN; in lib80211_ccmp_decrypt()
351 len = (i == blocks && last) ? last : AES_BLOCK_LEN; in lib80211_ccmp_decrypt()
/linux-4.4.14/kernel/
Dpid.c156 int i, offset, max_scan, pid, last = pid_ns->last_pid; in alloc_pidmap() local
159 pid = last + 1; in alloc_pidmap()
191 set_last_pid(pid_ns, last, pid); in alloc_pidmap()
208 if (unlikely(last == offset)) in alloc_pidmap()
216 int next_pidmap(struct pid_namespace *pid_ns, unsigned int last) in next_pidmap() argument
221 if (last >= PID_MAX_LIMIT) in next_pidmap()
224 offset = (last + 1) & BITS_PER_PAGE_MASK; in next_pidmap()
225 map = &pid_ns->pidmap[(last + 1)/BITS_PER_PAGE]; in next_pidmap()
Duser_namespace.c157 u32 first, last, id2; in map_id_range_down() local
166 last = first + map->extent[idx].count - 1; in map_id_range_down()
167 if (id >= first && id <= last && in map_id_range_down()
168 (id2 >= first && id2 <= last)) in map_id_range_down()
183 u32 first, last; in map_id_down() local
190 last = first + map->extent[idx].count - 1; in map_id_down()
191 if (id >= first && id <= last) in map_id_down()
206 u32 first, last; in map_id_up() local
213 last = first + map->extent[idx].count - 1; in map_id_up()
214 if (id >= first && id <= last) in map_id_up()
/linux-4.4.14/drivers/block/drbd/
Ddrbd_actlog.c257 unsigned last = i->size == 0 ? first : (i->sector + (i->size >> 9) - 1) >> (AL_EXTENT_SHIFT-9); in drbd_al_begin_io_fastpath() local
259 D_ASSERT(device, (unsigned)(last - first) <= 1); in drbd_al_begin_io_fastpath()
263 if (first != last) in drbd_al_begin_io_fastpath()
274 unsigned last = i->size == 0 ? first : (i->sector + (i->size >> 9) - 1) >> (AL_EXTENT_SHIFT-9); in drbd_al_begin_io_prepare() local
278 D_ASSERT(device, first <= last); in drbd_al_begin_io_prepare()
281 for (enr = first; enr <= last; enr++) { in drbd_al_begin_io_prepare()
344 unsigned last = i->size == 0 ? first : (i->sector + (i->size >> 9) - 1) >> (AL_EXTENT_SHIFT-9); in drbd_al_begin_io_nonblock() local
349 D_ASSERT(device, first <= last); in drbd_al_begin_io_nonblock()
351 nr_al_extents = 1 + last - first; /* worst case: all touched extends are cold. */ in drbd_al_begin_io_nonblock()
373 for (enr = first; enr <= last; enr++) { in drbd_al_begin_io_nonblock()
[all …]
/linux-4.4.14/arch/ia64/lib/
Ddo_csum.S99 #define last r21 macro
152 and last=-8,tmp2 // address of word containing last byte
154 sub tmp3=last,first1 // tmp3=distance from first1 to last
157 cmp.eq p8,p9=last,first1 // everything fits in one word ?
163 (p9) ld8 lastval=[last] // load, ahead of time, "last" word, if needed
/linux-4.4.14/drivers/ata/
Dpata_cmd640.c28 int last; member
135 if (ap->port_no != 0 && adev->devno != timing->last) { in cmd640_qc_issue()
137 timing->last = adev->devno; in cmd640_qc_issue()
158 timing->last = -1; /* Force a load */ in cmd640_port_start()
Dpata_acpi.c24 void *last; member
175 if (adev != acpi->last) { in pacpi_qc_issue()
179 acpi->last = adev; in pacpi_qc_issue()
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/
Dalloc.c50 obj = find_next_zero_bit(bitmap->table, bitmap->max, bitmap->last); in mlx4_bitmap_alloc()
59 bitmap->last = (obj + 1); in mlx4_bitmap_alloc()
60 if (bitmap->last == bitmap->max) in mlx4_bitmap_alloc()
61 bitmap->last = 0; in mlx4_bitmap_alloc()
119 obj = find_aligned_range(bitmap->table, bitmap->last, in mlx4_bitmap_alloc_range()
130 if (obj == bitmap->last) { in mlx4_bitmap_alloc_range()
131 bitmap->last = (obj + cnt); in mlx4_bitmap_alloc_range()
132 if (bitmap->last >= bitmap->max) in mlx4_bitmap_alloc_range()
133 bitmap->last = 0; in mlx4_bitmap_alloc_range()
164 bitmap->last = min(bitmap->last, obj); in mlx4_bitmap_free_range()
[all …]
/linux-4.4.14/drivers/char/
Dlp.c237 unsigned int last = lp_table[minor].last_error; in lp_check_status() local
241 last = 0; in lp_check_status()
243 if (last != LP_POUTPA) { in lp_check_status()
244 last = LP_POUTPA; in lp_check_status()
249 if (last != LP_PSELECD) { in lp_check_status()
250 last = LP_PSELECD; in lp_check_status()
255 if (last != LP_PERRORP) { in lp_check_status()
256 last = LP_PERRORP; in lp_check_status()
261 last = 0; /* Come here if LP_CAREFUL is set and no in lp_check_status()
265 lp_table[minor].last_error = last; in lp_check_status()
[all …]
/linux-4.4.14/drivers/scsi/esas2r/
Desas2r_io.c238 - (u8 *)sgc->sge.a64.last); in esas2r_build_sg_list_sge()
244 memcpy(sgl->virt_addr, sgc->sge.a64.last, sgelen); in esas2r_build_sg_list_sge()
257 sgc->sge.a64.last->length = cpu_to_le32( in esas2r_build_sg_list_sge()
259 sgc->sge.a64.last->address = in esas2r_build_sg_list_sge()
272 last + 1) in esas2r_build_sg_list_sge()
280 sge.a64.last - in esas2r_build_sg_list_sge()
299 sgc->sge.a64.chain = sgc->sge.a64.last; in esas2r_build_sg_list_sge()
306 sgc->sge.a64.last = sgc->sge.a64.curr; in esas2r_build_sg_list_sge()
328 sgc->sge.a64.last->length |= cpu_to_le32(SGE_LAST); in esas2r_build_sg_list_sge()
346 ((u16)((u8 *)sgc->sge.a64.last - (u8 *)vrq) in esas2r_build_sg_list_sge()
/linux-4.4.14/arch/cris/arch-v32/lib/
Dchecksum.S50 ;; fold the last carry into r13
55 addq 10*4,$r11 ; compensate for last loop underflowing length
83 ;; copy and checksum the last byte
Dchecksumcopy.S53 ;; fold the last carry into r13
58 addq 10*4,$r12 ; compensate for last loop underflowing length
86 ;; copy and checksum the last byte
/linux-4.4.14/drivers/s390/block/
Ddasd_fba.c477 struct ccw1 *act, *end, *last; in dasd_fba_dump_sense() local
517 for (last = act; last->flags & (CCW_FLAG_CC | CCW_FLAG_DC); last++); in dasd_fba_dump_sense()
518 end = min(act + 8, last); in dasd_fba_dump_sense()
541 end = min((struct ccw1 *)(addr_t) irb->scsw.cmd.cpa + 2, last); in dasd_fba_dump_sense()
556 if (act < last - 2) { in dasd_fba_dump_sense()
557 act = last - 2; in dasd_fba_dump_sense()
560 while (act <= last) { in dasd_fba_dump_sense()
/linux-4.4.14/arch/arm/kernel/
Dprocess.c373 unsigned long last; in sigpage_addr() local
379 last = TASK_SIZE - (npages << PAGE_SHIFT); in sigpage_addr()
382 if (first > last) in sigpage_addr()
386 if (first == last) in sigpage_addr()
389 slots = ((last - first) >> PAGE_SHIFT) + 1; in sigpage_addr()
/linux-4.4.14/drivers/sh/intc/
Dvirq.c87 struct intc_virq_list **last = NULL; in add_virq_to_pirq() local
93 last = &entry->next; in add_virq_to_pirq()
104 if (last) in add_virq_to_pirq()
105 *last = entry; in add_virq_to_pirq()
/linux-4.4.14/net/netfilter/
Dnft_limit.c23 u64 last; member
38 tokens = limit->tokens + now - limit->last; in nft_limit_eval()
42 limit->last = now; in nft_limit_eval()
81 limit->last = ktime_get_ns(); in nft_limit_init()
/linux-4.4.14/drivers/gpu/drm/radeon/
Dradeon_vm.c332 bo_va->it.last = 0; in radeon_vm_bo_add()
488 soffset, tmp->bo, tmp->it.start, tmp->it.last); in radeon_vm_bo_set_addr()
495 if (bo_va->it.start || bo_va->it.last) { in radeon_vm_bo_set_addr()
505 tmp->it.last = bo_va->it.last; in radeon_vm_bo_set_addr()
512 bo_va->it.last = 0; in radeon_vm_bo_set_addr()
521 bo_va->it.last = eoffset; in radeon_vm_bo_set_addr()
965 nptes = bo_va->it.last - bo_va->it.start + 1; in radeon_vm_bo_update()
1011 bo_va->it.last + 1, addr, in radeon_vm_bo_update()
1027 radeon_vm_fence_pts(vm, bo_va->it.start, bo_va->it.last + 1, ib.fence); in radeon_vm_bo_update()
1125 if (bo_va->it.start || bo_va->it.last) in radeon_vm_bo_rmv()
[all …]
/linux-4.4.14/fs/efs/
Dinode.c202 int cur, last, first = 1; in efs_map_block() local
207 last = in->lastextent; in efs_map_block()
211 if ((result = efs_extent_check(&in->extents[last], block, sb))) in efs_map_block()
227 cur = (last + dirext) % in->numextents; in efs_map_block()
244 cur = (last + indext) % indexts; in efs_map_block()
/linux-4.4.14/drivers/media/pci/bt8xx/
Dbttv-i2c.c139 bttv_i2c_sendbytes(struct bttv *btv, const struct i2c_msg *msg, int last) in bttv_i2c_sendbytes() argument
150 if (msg->len > 1 || !last) in bttv_i2c_sendbytes()
165 if (cnt < msg->len-1 || !last) in bttv_i2c_sendbytes()
189 bttv_i2c_readbytes(struct bttv *btv, const struct i2c_msg *msg, int last) in bttv_i2c_readbytes() argument
199 if (cnt < msg->len-1 || !last) in bttv_i2c_readbytes()
/linux-4.4.14/arch/powerpc/platforms/pseries/
Dreconfig.c174 const unsigned char *value, struct property *last) in new_property() argument
189 new->next = last; in new_property()
223 struct property *last = prop; in do_add_node() local
225 prop = new_property(name, length, value, last); in do_add_node()
228 prop = last; in do_add_node()
/linux-4.4.14/arch/mips/include/asm/
Dswitch_to.h84 #define switch_to(prev, next, last) \ argument
109 (last) = resume(prev, next, task_thread_info(next)); \
/linux-4.4.14/drivers/firewire/
Dohci.c116 struct descriptor *last);
155 struct descriptor *last; member
733 unsigned int i, next_i, last = ctx->last_buffer_index; in ar_search_last_active_buffer() local
740 while (i != last && res_count == 0) { in ar_search_last_active_buffer()
759 if (MAX_AR_PACKET_SIZE > PAGE_SIZE && i != last) { in ar_search_last_active_buffer()
1070 struct descriptor *d, *last; in context_tasklet() local
1077 last = ctx->last; in context_tasklet()
1078 while (last->branch_address != 0) { in context_tasklet()
1080 address = le32_to_cpu(last->branch_address); in context_tasklet()
1092 last = find_branch_descriptor(d, z); in context_tasklet()
[all …]
/linux-4.4.14/net/sctp/
Dulpqueue.c334 struct sk_buff *pnext, *last; in sctp_make_reassembled_event() local
344 for (last = list; list; last = list, list = list->next) in sctp_make_reassembled_event()
350 if (last) in sctp_make_reassembled_event()
351 last->next = pos; in sctp_make_reassembled_event()
978 struct sk_buff *skb, *flist, *last; in sctp_ulpq_renege_list() local
998 for (last = flist; flist; flist = flist->next) { in sctp_ulpq_renege_list()
999 last = flist; in sctp_ulpq_renege_list()
1000 freed += skb_headlen(last); in sctp_ulpq_renege_list()
1002 if (last) in sctp_ulpq_renege_list()
1003 last_tsn = sctp_skb2event(last)->tsn; in sctp_ulpq_renege_list()
/linux-4.4.14/fs/hpfs/
Ddnode.c177 int c = hpfs_compare_names(s, name, namelen, de->name, de->namelen, de->last); in hpfs_add_de()
203 if (de->last) { in hpfs_delete_de()
401 if (!(c = hpfs_compare_names(i->i_sb, name, namelen, de->name, de->namelen, de->last))) { in hpfs_add_dirent()
600 if (!de->last) { in delete_empty_dnode()
714 if (de->first || de->last) { in hpfs_remove_dirent()
720 if (depth && (de->down || (de == dnode_first_de(dnode) && de_next_de(de)->last))) { in hpfs_remove_dirent()
762 if (de->last) { in hpfs_count_dnodes()
778 if (!de->first && !de->last && de->directory && n_subdirs) (*n_subdirs)++; in hpfs_count_dnodes()
779 if (!de->first && !de->last && n_items) (*n_items)++; in hpfs_count_dnodes()
809 if (de->last) break; in map_nth_dirent()
[all …]
/linux-4.4.14/drivers/input/touchscreen/
Dzylonite-wm97xx.c94 static u16 last, tries; in wm97xx_acc_pen_down() local
109 if (x == last) { in wm97xx_acc_pen_down()
113 last = x; in wm97xx_acc_pen_down()
Dmainstone-wm97xx.c65 static u16 last, tries; variable
143 if (x == last) { in wm97xx_acc_pen_down()
147 last = x; in wm97xx_acc_pen_down()
/linux-4.4.14/arch/ia64/sn/pci/
Dtioce_provider.c272 int last; in tioce_alloc_map() local
334 last = first + entries - nates; in tioce_alloc_map()
335 for (i = first; i <= last; i++) { in tioce_alloc_map()
347 if (i > last) in tioce_alloc_map()
488 u64 last; in tioce_dma_unmap() local
490 last = map->pci_start + map->nbytes - 1; in tioce_dma_unmap()
491 if (bus_addr >= map->pci_start && bus_addr <= last) in tioce_dma_unmap()
565 u64 last; in tioce_do_dma_map() local
567 last = map->ct_start + map->nbytes - 1; in tioce_do_dma_map()
569 ct_addr + byte_count - 1 <= last && in tioce_do_dma_map()
/linux-4.4.14/fs/ubifs/
Dorphan.c170 struct ubifs_orphan *orphan, **last; in ubifs_orphan_start_commit() local
173 last = &c->orph_cnext; in ubifs_orphan_start_commit()
179 *last = orphan; in ubifs_orphan_start_commit()
180 last = &orphan->cnext; in ubifs_orphan_start_commit()
182 *last = NULL; in ubifs_orphan_start_commit()
377 struct ubifs_orphan *orphan, **last; in consolidate() local
381 last = &c->orph_cnext; in consolidate()
386 *last = orphan; in consolidate()
387 last = &orphan->cnext; in consolidate()
390 *last = NULL; in consolidate()
/linux-4.4.14/drivers/net/wireless/iwlwifi/mvm/
Dquota.c185 struct iwl_time_quota_cmd *last = &mvm->last_quota_cmd; in iwl_mvm_update_quotas() local
299 if (cmd.quotas[i].id_and_color != last->quotas[i].id_and_color) in iwl_mvm_update_quotas()
301 if (cmd.quotas[i].max_duration != last->quotas[i].max_duration) in iwl_mvm_update_quotas()
304 (int)le32_to_cpu(last->quotas[i].quota)) in iwl_mvm_update_quotas()
/linux-4.4.14/drivers/net/wireless/mwifiex/
DREADME135 timeout_cmd_id = <command id of the last timeout command>
136 timeout_cmd_act = <command action of the last timeout command>
137 last_cmd_id = <command id of the last several commands sent to device>
138 last_cmd_act = <command action of the last several commands sent to device>
139 last_cmd_index = <0 based last command index>
140 last_cmd_resp_id = <command id of the last several command responses received from device>
141 last_cmd_resp_index = <0 based last command response index>
142 last_event = <event id of the last several events received from device>
143 last_event_index = <0 based last event index>
/linux-4.4.14/drivers/staging/lustre/lnet/selftest/
Dtimer.c148 stt_check_timers(unsigned long *last) in stt_check_timers() argument
159 while (cfs_time_aftereq(this_slot, *last)) { in stt_check_timers()
164 *last = now & STTIMER_SLOTTIMEMASK; in stt_check_timers()
/linux-4.4.14/fs/adfs/
Ddir_f.c91 int last = 5 - 26; in adfs_dir_checkbyte() local
100 last += 26; in adfs_dir_checkbyte()
105 } while (i < (last & ~3)); in adfs_dir_checkbyte()
106 } while (dir_u8(last) != 0); in adfs_dir_checkbyte()
112 if (i != last) { in adfs_dir_checkbyte()
114 end.ptr8 = ptr.ptr8 + last - i; in adfs_dir_checkbyte()
/linux-4.4.14/arch/alpha/lib/
Dstrncpy.S36 or $3, $24, $3 # clear the bits between the last
37 or $4, $27, $4 # written byte and the last byte in COUNT
Dmemchr.S46 # below when we find the address of the last byte. Given
120 # Make $18 point to last quad to be accessed (the
121 # last quad may or may not be partial).
/linux-4.4.14/drivers/staging/media/lirc/
Dlirc_sir.c130 static ktime_t last; variable
422 ktime_us_delta(last, last_intr_time), in sir_timeout()
428 last = last_intr_time; in sir_timeout()
464 ktime_us_delta(last, curr_time), in sir_interrupt()
484 last = last_intr_time; in sir_interrupt()
497 last = curr_time; in sir_interrupt()
498 last = ktime_sub_us(last, in sir_interrupt()
/linux-4.4.14/include/rdma/
Dib_umem_odp.h121 u64 start, u64 last);
123 u64 start, u64 last);
/linux-4.4.14/tools/perf/Documentation/
Ditrace.txt9 l synthesize last branch entries (use with i or x)
25 Also the number of last branch entries (default 64, max. 1024) for
/linux-4.4.14/fs/befs/
Dbtree.c342 int first, last, mid; in befs_find_key() local
356 last = node->head.all_key_count - 1; in befs_find_key()
357 thiskey = befs_bt_get_key(sb, node, last, &keylen); in befs_find_key()
370 while (last >= first) { in befs_find_key()
371 mid = (last + first) / 2; in befs_find_key()
372 befs_debug(sb, "first: %d, last: %d, mid: %d", first, last, in befs_find_key()
386 last = mid - 1; in befs_find_key()
/linux-4.4.14/arch/powerpc/include/asm/
Dswitch_to.h13 #define switch_to(prev, next, last) ((last) = __switch_to((prev), (next))) argument
/linux-4.4.14/drivers/usb/host/
Dehci-q.c289 struct ehci_qtd *last, *end = qh->dummy; in qh_completions() local
311 last = NULL; in qh_completions()
329 if (last) { in qh_completions()
330 if (likely (last->urb != urb)) { in qh_completions()
331 ehci_urb_done(ehci, last->urb, last_status); in qh_completions()
334 ehci_qtd_free (ehci, last); in qh_completions()
335 last = NULL; in qh_completions()
489 last = list_entry (qtd->qtd_list.prev, in qh_completions()
491 last->hw_next = qtd->hw_next; in qh_completions()
496 last = qtd; in qh_completions()
[all …]
Dohci-q.c15 int last = urb_priv->length - 1; in urb_free_priv() local
17 if (last >= 0) { in urb_free_priv()
21 for (i = 0; i <= last; i++) { in urb_free_priv()
976 struct ed *ed, **last; in finish_unlinks() local
979 for (last = &ohci->ed_rm_list, ed = *last; ed != NULL; ed = *last) { in finish_unlinks()
990 last = &ed->ed_next; in finish_unlinks()
1083 *last = ed->ed_next; in finish_unlinks()
1088 *last = ed->ed_next; in finish_unlinks()
1092 last = &ed->ed_next; in finish_unlinks()
/linux-4.4.14/drivers/block/paride/
Depia.c198 { int ph, k, last, d; in epia_write_block() local
205 ph = 0; last = 0x8000; in epia_write_block()
208 if (d != last) { last = d; w0(d); } in epia_write_block()
/linux-4.4.14/Documentation/devicetree/bindings/i2c/
Di2c-mux-pinctrl.txt40 such a state is defined, it must be the last entry in pinctrl-names. For
44 pinctrl-names = "ddc", "idle", "pta" -> Invalid ("idle" not last)
45 pinctrl-names = "idle", "ddc", "pta" -> Invalid ("idle" not last)
/linux-4.4.14/arch/arm64/kernel/
Dprocess.c317 struct task_struct *last; in __switch_to() local
331 last = cpu_switch_to(prev, next); in __switch_to()
333 return last; in __switch_to()
/linux-4.4.14/fs/logfs/
Dsuper.c362 struct page *first, *last; in find_super_block() local
367 last = super->s_devops->find_last_sb(sb, &super->s_sb_ofs[1]); in find_super_block()
368 if (!last || IS_ERR(last)) { in find_super_block()
374 page_cache_release(last); in find_super_block()
379 if (!logfs_check_ds(page_address(last))) { in find_super_block()
381 return last; in find_super_block()
386 page_cache_release(last); in find_super_block()
/linux-4.4.14/drivers/staging/rdma/ipath/
Dipath_ruc.c701 u32 old_last, last; in ipath_send_complete() local
723 old_last = last = qp->s_last; in ipath_send_complete()
724 if (++last >= qp->s_size) in ipath_send_complete()
725 last = 0; in ipath_send_complete()
726 qp->s_last = last; in ipath_send_complete()
728 qp->s_cur = last; in ipath_send_complete()
730 qp->s_tail = last; in ipath_send_complete()
731 if (qp->state == IB_QPS_SQD && last == qp->s_cur) in ipath_send_complete()
/linux-4.4.14/arch/sh/lib64/
Dcopy_page.S70 bge/u r2, r6, tr2 ! skip prefetch for last 4 lines
74 bge/u r2, r7, tr3 ! skip alloco for last 2 lines
/linux-4.4.14/drivers/infiniband/hw/mthca/
Dmthca_allocator.c47 obj = find_next_zero_bit(alloc->table, alloc->max, alloc->last); in mthca_alloc()
73 alloc->last = min(alloc->last, obj); in mthca_free()
88 alloc->last = 0; in mthca_alloc_init()
/linux-4.4.14/net/ax25/
Dax25_out.c247 int last = 1; in ax25_kick() local
291 last = (next == end); in ax25_kick()
301 ax25_send_iframe(ax25, skbn, (last) ? AX25_POLLON : AX25_POLLOFF); in ax25_kick()
318 } while (!last && (skb = skb_dequeue(&ax25->write_queue)) != NULL); in ax25_kick()
/linux-4.4.14/arch/sparc/kernel/
Dpci.c358 u32 idx, first, last; in apb_calc_first_last() local
361 last = 0; in apb_calc_first_last()
366 if (last < idx) in apb_calc_first_last()
367 last = idx; in apb_calc_first_last()
372 *last_p = last; in apb_calc_first_last()
384 u32 first, last; in apb_fake_ranges() local
388 apb_calc_first_last(map, &first, &last); in apb_fake_ranges()
392 region.end = (last << 21) + ((1 << 21) - 1); in apb_fake_ranges()
396 apb_calc_first_last(map, &first, &last); in apb_fake_ranges()
400 region.end = (last << 29) + ((1 << 29) - 1); in apb_fake_ranges()
/linux-4.4.14/drivers/tty/vt/
Dvt.c119 int last; member
2136 uint32_t last; member
2144 if (ucs < table[0].first || ucs > table[max].last) in bisearch()
2148 if (ucs > table[mid].last) in bisearch()
2985 con_driver->last = MAX_NR_CONSOLES - 1; in con_init()
3107 static int do_bind_con_driver(const struct consw *csw, int first, int last, in do_bind_con_driver() argument
3148 last = min(last, con_driver->last); in do_bind_con_driver()
3150 for (i = first; i <= last; i++) { in do_bind_con_driver()
3186 printk("consoles %d-%d ", first+1, last+1); in do_bind_con_driver()
3210 int do_unbind_con_driver(const struct consw *csw, int first, int last, int deflt) in do_unbind_con_driver() argument
[all …]
/linux-4.4.14/drivers/staging/lustre/lustre/include/
Dlustre_cfg.h202 int last = min((int)lcfg->lcfg_buflens[index], in lustre_cfg_string() local
204 char lost = s[last]; in lustre_cfg_string()
206 s[last] = '\0'; in lustre_cfg_string()
/linux-4.4.14/drivers/net/ethernet/qlogic/qed/
Dqed_cxt.c94 struct ilt_cfg_pair last; member
199 p_cli->last.val = *p_line - 1; in qed_ilt_cli_adv_line()
204 p_cli->last.val, p_blk->total_size, in qed_ilt_cli_adv_line()
283 size += (ilt_clients[i].last.val - in qed_cxt_ilt_shadow_size()
459 p_mngr->clients[ILT_CLI_CDUC].last.reg = ILT_CFG_REG(CDUC, LAST_ILT); in qed_cxt_mngr_alloc()
463 p_mngr->clients[ILT_CLI_QM].last.reg = ILT_CFG_REG(QM, LAST_ILT); in qed_cxt_mngr_alloc()
647 ilt_clients[i].last.reg, in qed_ilt_bounds_init()
648 ilt_clients[i].last.val); in qed_ilt_bounds_init()
680 for (; line <= clients[i].last.val - p_mngr->pf_start_line; in qed_ilt_init_pf()
/linux-4.4.14/drivers/i2c/algos/
Di2c-algo-pcf.c215 int count, int last) in pcf_sendbytes() argument
239 if (last) in pcf_sendbytes()
248 int count, int last) in pcf_readbytes() argument
275 if (last) in pcf_readbytes()
/linux-4.4.14/Documentation/video4linux/cx2341x/
Dfw-dma.txt43 simultaneously. (End of the last, start of the next, etc.)
70 count. The high-bit of the third word is the "last" flag. The last-flag tells
83 - 14-bit reserved (high bit is the last flag)
/linux-4.4.14/fs/notify/
Dmark.c300 struct fsnotify_mark *lmark, *last = NULL; in fsnotify_add_mark_list() local
311 last = lmark; in fsnotify_add_mark_list()
323 BUG_ON(last == NULL); in fsnotify_add_mark_list()
325 hlist_add_behind_rcu(&mark->obj_list, &last->obj_list); in fsnotify_add_mark_list()
/linux-4.4.14/drivers/pinctrl/meson/
Dpinctrl-meson.h95 unsigned int last; member
199 .last = l, \
/linux-4.4.14/fs/hfsplus/
Dbitmap.c120 goto last; in hfsplus_block_allocate()
123 goto last; in hfsplus_block_allocate()
141 last: in hfsplus_block_allocate()
/linux-4.4.14/drivers/staging/speakup/
Dspeakup_decext.c158 static u_char last = '\0'; in do_catch_up() local
205 if (!in_escape && strchr(",.!?;:", last)) in do_catch_up()
221 last = ch; in do_catch_up()

123456