Home
last modified time | relevance | path

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

123456

/linux-4.1.27/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.1.27/drivers/infiniband/hw/usnic/
Dusnic_uiom_interval_tree.c28 #define LAST(node) ((node)->last)
55 usnic_uiom_interval_node_alloc(long int start, long int last, int ref_cnt, in usnic_uiom_interval_node_alloc() argument
64 interval->last = last; in usnic_uiom_interval_node_alloc()
89 unsigned long last, in find_intervals_intersection_sorted() argument
96 for (node = usnic_uiom_interval_tree_iter_first(root, start, last); in find_intervals_intersection_sorted()
98 node = usnic_uiom_interval_tree_iter_next(node, start, last)) in find_intervals_intersection_sorted()
104 int usnic_uiom_get_intervals_diff(unsigned long start, unsigned long last, in usnic_uiom_get_intervals_diff() argument
116 find_intervals_intersection_sorted(root, start, last, in usnic_uiom_get_intervals_diff()
132 if (pivot > interval->last) { in usnic_uiom_get_intervals_diff()
134 } else if (pivot <= interval->last && in usnic_uiom_get_intervals_diff()
[all …]
Dusnic_uiom_interval_tree.h28 unsigned long last; member
43 unsigned long last);
46 unsigned long start, unsigned long last);
52 unsigned long start, unsigned long last,
60 unsigned long start, unsigned long last,
67 unsigned long last, int flags,
/linux-4.1.27/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.1.27/arch/um/kernel/
Dtlb.c91 struct host_vm_op *last; in add_mmap() local
96 last = &hvc->ops[hvc->index - 1]; in add_mmap()
97 if ((last->type == MMAP) && in add_mmap()
98 (last->u.mmap.addr + last->u.mmap.len == virt) && in add_mmap()
99 (last->u.mmap.prot == prot) && (last->u.mmap.fd == fd) && in add_mmap()
100 (last->u.mmap.offset + last->u.mmap.len == offset)) { in add_mmap()
101 last->u.mmap.len += len; in add_mmap()
125 struct host_vm_op *last; in add_munmap() local
132 last = &hvc->ops[hvc->index - 1]; in add_munmap()
133 if ((last->type == MUNMAP) && in add_munmap()
[all …]
/linux-4.1.27/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.1.27/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.c109 struct comm *comm, *last = NULL; in thread__exec_comm() local
114 last = comm; in thread__exec_comm()
117 return last; in thread__exec_comm()
/linux-4.1.27/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.1.27/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.1.27/fs/ext4/
Dfile.c464 ext4_lblk_t start, last, end; in ext4_seek_data() local
479 last = start; in ext4_seek_data()
484 map.m_lblk = last; in ext4_seek_data()
485 map.m_len = end - last + 1; in ext4_seek_data()
488 if (last != start) in ext4_seek_data()
489 dataoff = (loff_t)last << blkbits; in ext4_seek_data()
497 ext4_es_find_delayed_extent_range(inode, last, last, &es); in ext4_seek_data()
498 if (es.es_len != 0 && in_range(last, es.es_lblk, es.es_len)) { in ext4_seek_data()
499 if (last != start) in ext4_seek_data()
500 dataoff = (loff_t)last << blkbits; in ext4_seek_data()
[all …]
Dxattr.c602 static size_t ext4_xattr_free_space(struct ext4_xattr_entry *last, in ext4_xattr_free_space() argument
605 for (; !IS_LAST_ENTRY(last); last = EXT4_XATTR_NEXT(last)) { in ext4_xattr_free_space()
606 if (!last->e_value_block && last->e_value_size) { in ext4_xattr_free_space()
607 size_t offs = le16_to_cpu(last->e_value_offs); in ext4_xattr_free_space()
612 *total += EXT4_XATTR_LEN(last->e_name_len); in ext4_xattr_free_space()
614 return (*min_offs - ((void *)last - base) - sizeof(__u32)); in ext4_xattr_free_space()
620 struct ext4_xattr_entry *last; in ext4_xattr_set_entry() local
624 last = s->first; in ext4_xattr_set_entry()
625 for (; !IS_LAST_ENTRY(last); last = EXT4_XATTR_NEXT(last)) { in ext4_xattr_set_entry()
626 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
1047 ext4_group_t last; in update_backups() local
1066 last = sbi->s_groups_count; in update_backups()
1069 last = (ext4_group_t)(group + EXT4_DESC_PER_BLOCK(sb) - 2); in update_backups()
1113 else if (group == last) in update_backups()
1116 group = last; in update_backups()
1417 ext4_grpblk_t last; in ext4_flex_group_add() local
1427 ext4_get_group_no_and_offset(sb, o_blocks_count, &group, &last); in ext4_flex_group_add()
1428 BUG_ON(last); in ext4_flex_group_add()
[all …]
/linux-4.1.27/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.1.27/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);
Ddmaengine.h556 dma_cookie_t last; member
984 dma_cookie_t cookie, dma_cookie_t *last, dma_cookie_t *used) in dma_async_is_tx_complete() argument
990 if (last) in dma_async_is_tx_complete()
991 *last = state.last; in dma_async_is_tx_complete()
1020 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
1023 st->last = last; in dma_set_tx_state()
Disdn_ppp.h123 struct ippp_buf_queue *last; member
164 struct ippp_buf_queue *last; /* pointer to (current) last used packet in queue */ member
/linux-4.1.27/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.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
Dimage.c53 image->last = pcir.last; in nvbios_imagen()
59 image->last = npde.last; in nvbios_imagen()
61 image->last = true; in nvbios_imagen()
73 if (image->last || !nvbios_imagen(bios, image)) in nvbios_image()
/linux-4.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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.1.27/crypto/asymmetric_keys/
Dpkcs7_trust.c31 struct x509_certificate *x509, *last = NULL, *p; in pkcs7_validate_trust_one() local
81 last = x509; in pkcs7_validate_trust_one()
82 sig = &last->sig; in pkcs7_validate_trust_one()
88 if (last && last->akid_skid) { in pkcs7_validate_trust_one()
89 key = x509_request_asymmetric_key(trust_keyring, last->akid_skid, in pkcs7_validate_trust_one()
92 x509 = last; in pkcs7_validate_trust_one()
/linux-4.1.27/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.1.27/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.1.27/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.c773 u32 old_last, last; in qib_send_complete() local
806 last = qp->s_last; in qib_send_complete()
807 old_last = last; in qib_send_complete()
808 if (++last >= qp->s_size) in qib_send_complete()
809 last = 0; in qib_send_complete()
810 qp->s_last = last; in qib_send_complete()
812 qp->s_acked = last; in qib_send_complete()
814 qp->s_cur = last; in qib_send_complete()
816 qp->s_tail = last; in qib_send_complete()
817 if (qp->state == IB_QPS_SQD && last == qp->s_cur) in qib_send_complete()
/linux-4.1.27/arch/x86/kernel/cpu/
Dperf_event_intel_pt.c272 int last; member
276 #define TOPA_ENTRY(t, i) ((i) == -1 ? &(t)->table[(t)->last] : &(t)->table[(i)])
296 topa->last = 0; in topa_alloc()
331 struct topa *last = buf->last; in topa_insert_table() local
336 buf->first = buf->last = buf->cur = topa; in topa_insert_table()
340 topa->offset = last->offset + last->size; in topa_insert_table()
341 buf->last = topa; in topa_insert_table()
346 BUG_ON(last->last != TENTS_PER_PAGE - 1); in topa_insert_table()
348 TOPA_ENTRY(last, -1)->base = topa->phys >> TOPA_SHIFT; in topa_insert_table()
349 TOPA_ENTRY(last, -1)->end = 1; in topa_insert_table()
[all …]
/linux-4.1.27/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.1.27/drivers/infiniband/hw/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.1.27/fs/f2fs/
Dxattr.c487 struct f2fs_xattr_entry *here, *last; in __f2fs_setxattr() local
522 last = here; in __f2fs_setxattr()
523 while (!IS_XATTR_LAST_ENTRY(last)) in __f2fs_setxattr()
524 last = XATTR_NEXT_ENTRY(last); in __f2fs_setxattr()
535 free = MIN_OFFSET(inode) - ((char *)last - (char *)base_addr); in __f2fs_setxattr()
554 memmove(here, next, (char *)last - (char *)next); in __f2fs_setxattr()
555 last = (struct f2fs_xattr_entry *)((char *)last - oldsize); in __f2fs_setxattr()
556 memset(last, 0, oldsize); in __f2fs_setxattr()
559 new_hsize = (char *)last - (char *)base_addr; in __f2fs_setxattr()
568 memset(last, 0, newsize); in __f2fs_setxattr()
[all …]
/linux-4.1.27/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.1.27/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.1.27/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.1.27/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.1.27/lib/
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()
Dklist.c337 struct klist_node *last = i->i_cur; in klist_next() local
342 if (last) { in klist_next()
343 next = to_klist_node(last->n_node.next); in klist_next()
344 if (!klist_dec_and_del(last)) in klist_next()
361 if (put && last) in klist_next()
362 put(last); in klist_next()
Dinterval_tree_test.c37 nodes[i].last = b; in init()
40 nodes[i].last = a; in init()
/linux-4.1.27/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.1.27/fs/ext2/
Dxattr.c364 struct ext2_xattr_entry *here, *last; in ext2_xattr_set() local
431 last = here; in ext2_xattr_set()
433 while (!IS_LAST_ENTRY(last)) { in ext2_xattr_set()
434 struct ext2_xattr_entry *next = EXT2_XATTR_NEXT(last); in ext2_xattr_set()
437 if (!last->e_value_block && last->e_value_size) { in ext2_xattr_set()
438 size_t offs = le16_to_cpu(last->e_value_offs); in ext2_xattr_set()
442 last = next; in ext2_xattr_set()
446 free = min_offs - ((char*)last - (char*)header) - sizeof(__u32); in ext2_xattr_set()
451 here = last = NULL; /* avoid gcc uninitialized warning. */ in ext2_xattr_set()
511 offset = (char *)last - bh->b_data; in ext2_xattr_set()
[all …]
/linux-4.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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.1.27/arch/x86/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; in vread_tsc() local
191 last = gtod->cycle_last; in vread_tsc()
193 if (likely(ret >= last)) in vread_tsc()
205 return last; in vread_tsc()
/linux-4.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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.sh90 local last=$(( ${#words[@]} - 1 ))
106 symbol=${words[$last]}
107 unset words[$last]
/linux-4.1.27/net/core/
Ddst.c69 struct dst_entry *last = &head; in dst_gc_task() local
80 last->next = dst; in dst_gc_task()
81 last = dst; in dst_gc_task()
113 last->next = NULL; in dst_gc_task()
362 struct dst_entry *dst, *last = NULL; in dst_dev_event() local
369 last = dst; in dst_dev_event()
378 if (last) in dst_dev_event()
379 last->next = dst; in dst_dev_event()
/linux-4.1.27/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.1.27/drivers/gpu/drm/nouveau/nvkm/engine/pm/
Ddaemon.c39 nv_wr32(ppm, 0x10a50c + (ppm->last * 0x10), 0x00000003); in pwr_perfctr_init()
47 ctr->clk = ppm->pwr[ppm->last]; in pwr_perfctr_read()
55 for (i = 0; i <= ppm->last; i++) { in pwr_perfctr_next()
/linux-4.1.27/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.1.27/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.c568 static int rbio_can_merge(struct btrfs_raid_bio *last, in rbio_can_merge() argument
571 if (test_bit(RBIO_RMW_LOCKED_BIT, &last->flags) || in rbio_can_merge()
582 if (test_bit(RBIO_CACHE_BIT, &last->flags) || in rbio_can_merge()
586 if (last->bbio->raid_map[0] != in rbio_can_merge()
591 if (last->operation != cur->operation) in rbio_can_merge()
601 if (last->operation == BTRFS_RBIO_PARITY_SCRUB || in rbio_can_merge()
1050 struct bio *last = bio_list->tail; in rbio_add_io_page() local
1065 if (last) { in rbio_add_io_page()
1066 last_end = (u64)last->bi_iter.bi_sector << 9; in rbio_add_io_page()
1067 last_end += last->bi_iter.bi_size; in rbio_add_io_page()
[all …]
/linux-4.1.27/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.1.27/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.1.27/drivers/gpu/drm/exynos/
Dexynos_drm_g2d.c144 u32 last; /* last data offset */ member
351 lnode->cmdlist->data[lnode->cmdlist->last] = node->dma_addr; in g2d_add_cmdlist_to_inuse()
705 reg_pos = cmdlist->last - 2 * (i + 1); in g2d_map_cmdlist_gem()
957 index = cmdlist->last - 2 * (i + 1); in g2d_check_reg_offset()
1137 cmdlist->last = 0; in exynos_g2d_set_cmdlist_ioctl()
1146 cmdlist->data[cmdlist->last++] = G2D_SOFT_RESET; in exynos_g2d_set_cmdlist_ioctl()
1147 cmdlist->data[cmdlist->last++] = G2D_SFRCLEAR; in exynos_g2d_set_cmdlist_ioctl()
1148 cmdlist->data[cmdlist->last++] = G2D_SRC_BASE_ADDR; in exynos_g2d_set_cmdlist_ioctl()
1149 cmdlist->data[cmdlist->last++] = 0; in exynos_g2d_set_cmdlist_ioctl()
1161 cmdlist->data[cmdlist->last++] = G2D_INTEN; in exynos_g2d_set_cmdlist_ioctl()
[all …]
Dexynos_drm_plane.c49 static int exynos_plane_get_size(int start, unsigned length, unsigned last) in exynos_plane_get_size() argument
56 size = min_t(unsigned, end, last); in exynos_plane_get_size()
57 } else if (start <= last) { in exynos_plane_get_size()
58 size = min_t(unsigned, last - start, length); in exynos_plane_get_size()
/linux-4.1.27/arch/nios2/include/asm/
Dswitch_to.h17 #define switch_to(prev, next, last) \ argument
28 (last) = _last; \
/linux-4.1.27/include/asm-generic/
Dswitch_to.h25 #define switch_to(prev, next, last) \ argument
27 ((last) = __switch_to((prev), (next))); \
/linux-4.1.27/arch/parisc/include/asm/
Dswitch_to.h8 #define switch_to(prev, next, last) do { \ argument
9 (last) = _switch_to(prev, next); \
/linux-4.1.27/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()
Dcomedi_test.c65 ktime_t last; /* time last timer interrupt occurred */ member
186 elapsed_time = ktime_to_us(ktime_sub(now, devpriv->last)); in waveform_ai_interrupt()
187 devpriv->last = now; in waveform_ai_interrupt()
319 devpriv->last = ktime_get(); in waveform_ai_cmd()
321 ((u32)ktime_to_us(devpriv->last)) % devpriv->usec_period; in waveform_ai_cmd()
/linux-4.1.27/drivers/gpu/drm/
Ddrm_edid_load.c264 char *edidname = edid_firmware, *last, *colon; in drm_load_edid_firmware() local
280 last = edidname + strlen(edidname) - 1; in drm_load_edid_firmware()
281 if (*last == '\n') in drm_load_edid_firmware()
282 *last = '\0'; in drm_load_edid_firmware()
/linux-4.1.27/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.1.27/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.1.27/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.1.27/arch/cris/include/asm/
Dswitch_to.h9 #define switch_to(prev,next,last) last = resume(prev,next, \ argument
/linux-4.1.27/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.1.27/arch/microblaze/include/asm/
Dswitch_to.h18 #define switch_to(prev, next, last) \ argument
20 (last) = _switch_to(task_thread_info(prev), \
/linux-4.1.27/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.1.27/arch/m68k/include/asm/
Dswitch_to.h30 #define switch_to(prev,next,last) do { \ argument
38 (last) = _last; \
/linux-4.1.27/arch/arm/include/asm/
Dswitch_to.h23 #define switch_to(prev,next,last) \ argument
25 last = __switch_to(prev,task_thread_info(prev), task_thread_info(next)); \
/linux-4.1.27/net/rds/
Dbind.c114 u16 rover, last; in rds_add_bound() local
118 last = rover; in rds_add_bound()
121 last = rover - 1; in rds_add_bound()
136 } while (rover++ != last); in rds_add_bound()
/linux-4.1.27/net/ipv4/
Dip_input.c157 struct sock *last = NULL; in ip_call_ra_chain() local
174 if (last) { in ip_call_ra_chain()
177 raw_rcv(last, skb2); in ip_call_ra_chain()
179 last = sk; in ip_call_ra_chain()
183 if (last) { in ip_call_ra_chain()
184 raw_rcv(last, skb); in ip_call_ra_chain()
/linux-4.1.27/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.1.27/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.1.27/arch/m32r/include/asm/
Dswitch_to.h28 #define switch_to(prev, next, last) do { \ argument
43 : "=r" (last) \
/linux-4.1.27/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()
Di2c-sirf.c83 int last; /* Last message in transfer, STOP cmd can be sent */ member
113 (siic->msg_len - 1)) && siic->last) in i2c_sirfsoc_queue_cmd()
126 && siic->last) in i2c_sirfsoc_queue_cmd()
188 if (siic->last && (msg->len == 0)) in i2c_sirfsoc_set_address()
255 siic->last = (i == (num - 1)); in i2c_sirfsoc_xfer()
/linux-4.1.27/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.1.27/fs/ext3/
Dxattr.c528 struct ext3_xattr_entry *last; in ext3_xattr_set_entry() local
532 last = s->first; in ext3_xattr_set_entry()
533 for (; !IS_LAST_ENTRY(last); last = EXT3_XATTR_NEXT(last)) { in ext3_xattr_set_entry()
534 if (!last->e_value_block && last->e_value_size) { in ext3_xattr_set_entry()
535 size_t offs = le16_to_cpu(last->e_value_offs); in ext3_xattr_set_entry()
540 free = min_offs - ((void *)last - s->base) - sizeof(__u32); in ext3_xattr_set_entry()
557 size_t rest = (void *)last - (void *)s->here + sizeof(__u32); in ext3_xattr_set_entry()
590 last = s->first; in ext3_xattr_set_entry()
591 while (!IS_LAST_ENTRY(last)) { in ext3_xattr_set_entry()
592 size_t o = le16_to_cpu(last->e_value_offs); in ext3_xattr_set_entry()
[all …]
Dresize.c17 #define outside(b, first, last) ((b) < (first) || (b) >= (last)) argument
18 #define inside(b, first, last) ((b) >= (first) && (b) < (last)) argument
698 const unsigned long last = sbi->s_groups_count; in update_backups() local
715 while ((group = ext3_list_backups(sb, &three, &five, &seven)) < last) { in update_backups()
995 ext3_grpblk_t last; in ext3_group_extend() local
1032 last = (o_blocks_count - le32_to_cpu(es->s_first_data_block)) % in ext3_group_extend()
1035 if (last == 0) { in ext3_group_extend()
1041 add = EXT3_BLOCKS_PER_GROUP(sb) - last; in ext3_group_extend()
/linux-4.1.27/arch/avr32/include/asm/
Dswitch_to.h39 #define switch_to(prev, next, last) \ argument
41 last = __switch_to(prev, &prev->thread.cpu_context + 1, \
/linux-4.1.27/arch/c6x/include/asm/
Dswitch_to.h24 #define switch_to(prev, next, last) \ argument
27 (last) = __switch_to(&(prev)->thread, \
/linux-4.1.27/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.1.27/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.1.27/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.1.27/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
125 last = __last; \
/linux-4.1.27/arch/arc/include/asm/
Dswitch_to.h31 #define switch_to(prev, next, last) \ argument
34 last = __switch_to(prev, next);\
/linux-4.1.27/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.1.27/drivers/staging/rtl8192u/ieee80211/
Dieee80211_crypt_ccmp.c234 int blocks, last, len; in ieee80211_ccmp_encrypt() local
247 last = data_len % AES_BLOCK_LEN; in ieee80211_ccmp_encrypt()
250 len = (i == blocks && last) ? last : AES_BLOCK_LEN; in ieee80211_ccmp_encrypt()
332 int i, blocks, last, len; in ieee80211_ccmp_decrypt() local
339 last = data_len % AES_BLOCK_LEN; in ieee80211_ccmp_decrypt()
342 len = (i == blocks && last) ? last : AES_BLOCK_LEN; in ieee80211_ccmp_decrypt()
/linux-4.1.27/arch/mips/lib/
Dr3k_dump_tlb.c19 static void dump_tlb(int first, int last) in dump_tlb() argument
27 for (i = first; i <= last; i++) { in dump_tlb()
Ddump_tlb.c49 static void dump_tlb(int first, int last) in dump_tlb() argument
60 for (i = first; i <= last; i++) { in dump_tlb()
/linux-4.1.27/drivers/md/
Ddm-stats.c190 struct dm_stats_last_position *last; in dm_stats_init() local
194 stats->last = alloc_percpu(struct dm_stats_last_position); in dm_stats_init()
196 last = per_cpu_ptr(stats->last, cpu); in dm_stats_init()
197 last->last_sector = (sector_t)ULLONG_MAX; in dm_stats_init()
198 last->last_rw = UINT_MAX; in dm_stats_init()
226 free_percpu(stats->last); in dm_stats_cleanup()
539 struct dm_stats_last_position *last; in dm_stats_account_io() local
551 last = raw_cpu_ptr(stats->last); in dm_stats_account_io()
553 (bi_sector == (ACCESS_ONCE(last->last_sector) && in dm_stats_account_io()
555 (ACCESS_ONCE(last->last_rw) & (REQ_WRITE | REQ_DISCARD))) in dm_stats_account_io()
[all …]
/linux-4.1.27/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.1.27/net/netfilter/ipset/
Dpfxlen.c298 u32 last; in ip_set_range_to_cidr() local
304 last = from | ~ip_set_hostmask(i); in ip_set_range_to_cidr()
305 if (!after(last, to)) { in ip_set_range_to_cidr()
307 return last; in ip_set_range_to_cidr()
/linux-4.1.27/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.1.27/arch/alpha/kernel/
Dcore_irongate.c320 unsigned long baddr, last; in irongate_ioremap() local
360 last = addr + size - 1; in irongate_ioremap()
361 size = PAGE_ALIGN(last) - addr; in irongate_ioremap()
370 for(baddr = addr; baddr <= last; baddr += PAGE_SIZE) in irongate_ioremap()
386 baddr <= last; in irongate_ioremap()
/linux-4.1.27/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.1.27/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.1.27/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.c156 u32 first, last, id2; in map_id_range_down() local
165 last = first + map->extent[idx].count - 1; in map_id_range_down()
166 if (id >= first && id <= last && in map_id_range_down()
167 (id2 >= first && id2 <= last)) in map_id_range_down()
182 u32 first, last; in map_id_down() local
189 last = first + map->extent[idx].count - 1; in map_id_down()
190 if (id >= first && id <= last) in map_id_down()
205 u32 first, last; in map_id_up() local
212 last = first + map->extent[idx].count - 1; in map_id_up()
213 if (id >= first && id <= last) in map_id_up()
/linux-4.1.27/arch/tile/include/asm/
Dswitch_to.h40 #define switch_to(prev, next, last) ((last) = _switch_to((prev), (next))) argument
/linux-4.1.27/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.1.27/arch/arm/kernel/
Dprocess.c344 unsigned long last; in sigpage_addr() local
350 last = TASK_SIZE - (npages << PAGE_SHIFT); in sigpage_addr()
353 if (first > last) in sigpage_addr()
357 if (first == last) in sigpage_addr()
360 slots = ((last - first) >> PAGE_SHIFT) + 1; in sigpage_addr()
/linux-4.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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.1.27/drivers/sh/intc/
Dvirq.c86 struct intc_virq_list **last, *entry; in add_virq_to_pirq() local
90 last = (struct intc_virq_list **)&data->handler_data; in add_virq_to_pirq()
94 last = &entry->next; in add_virq_to_pirq()
105 *last = entry; in add_virq_to_pirq()
/linux-4.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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.1.27/drivers/net/ethernet/intel/i40e/
Di40e_nvm.c917 bool last; in i40e_nvmupd_nvm_read() local
921 last = (transaction == I40E_NVM_LCB) || (transaction == I40E_NVM_SA); in i40e_nvmupd_nvm_read()
924 bytes, last, NULL); in i40e_nvmupd_nvm_read()
952 bool last; in i40e_nvmupd_nvm_erase() local
956 last = (transaction & I40E_NVM_LCB); in i40e_nvmupd_nvm_erase()
958 last, NULL); in i40e_nvmupd_nvm_erase()
987 bool last; in i40e_nvmupd_nvm_write() local
991 last = (transaction & I40E_NVM_LCB); in i40e_nvmupd_nvm_write()
994 (u16)cmd->data_size, bytes, last, NULL); in i40e_nvmupd_nvm_write()
/linux-4.1.27/drivers/staging/lustre/lnet/selftest/
Dtimer.c149 stt_check_timers(unsigned long *last) in stt_check_timers() argument
160 while (cfs_time_aftereq(this_slot, *last)) { in stt_check_timers()
165 *last = now & STTIMER_SLOTTIMEMASK; in stt_check_timers()
/linux-4.1.27/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.1.27/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.1.27/include/rdma/
Dib_umem_odp.h121 u64 start, u64 last);
123 u64 start, u64 last);
/linux-4.1.27/drivers/tty/vt/
Dvt.c118 int last; member
2122 uint32_t last; member
2130 if (ucs < table[0].first || ucs > table[max].last) in bisearch()
2134 if (ucs > table[mid].last) in bisearch()
2971 con_driver->last = MAX_NR_CONSOLES - 1; in con_init()
3093 static int do_bind_con_driver(const struct consw *csw, int first, int last, in do_bind_con_driver() argument
3134 last = min(last, con_driver->last); in do_bind_con_driver()
3136 for (i = first; i <= last; i++) { in do_bind_con_driver()
3172 printk("consoles %d-%d ", first+1, last+1); in do_bind_con_driver()
3195 static int con_is_graphics(const struct consw *csw, int first, int last) in con_is_graphics() argument
[all …]
/linux-4.1.27/arch/powerpc/platforms/pseries/
Dreconfig.c204 const unsigned char *value, struct property *last) in new_property() argument
219 new->next = last; in new_property()
253 struct property *last = prop; in do_add_node() local
255 prop = new_property(name, length, value, last); in do_add_node()
258 prop = last; in do_add_node()
/linux-4.1.27/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.1.27/arch/powerpc/include/asm/
Dswitch_to.h13 #define switch_to(prev, next, last) ((last) = __switch_to((prev), (next))) argument
/linux-4.1.27/arch/mips/include/asm/
Dswitch_to.h86 #define switch_to(prev, next, last) \ argument
106 (last) = resume(prev, next, task_thread_info(next), __fpsave); \
/linux-4.1.27/scripts/kconfig/
Dqconf.cc449 ConfigItem* last = 0; in updateList() local
471 last = item; in updateList()
475 item = last ? last->nextSibling() : firstChild(); in updateList()
477 item = new ConfigItem(this, last, rootEntry, true); in updateList()
605 ConfigItem* last; in updateMenuList() local
615 last = parent->firstChild(); in updateMenuList()
616 if (last && !last->goParent) in updateMenuList()
617 last = 0; in updateMenuList()
619 item = last ? last->nextSibling() : parent->firstChild(); in updateMenuList()
640 item = new ConfigItem(parent, last, child, visible); in updateMenuList()
[all …]
/linux-4.1.27/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()
975 struct ed *ed, **last; in finish_unlinks() local
978 for (last = &ohci->ed_rm_list, ed = *last; ed != NULL; ed = *last) { in finish_unlinks()
989 last = &ed->ed_next; in finish_unlinks()
1082 *last = ed->ed_next; in finish_unlinks()
1087 *last = ed->ed_next; in finish_unlinks()
1091 last = &ed->ed_next; in finish_unlinks()
Doxu210hp-hcd.c984 struct ehci_qtd *last = NULL, *end = qh->dummy; in qh_completions() local
1019 if (last) { in qh_completions()
1020 if (likely(last->urb != urb)) { in qh_completions()
1021 if (last->urb->complete == NULL) { in qh_completions()
1022 murb = (struct oxu_murb *) last->urb; in qh_completions()
1023 last->urb = murb->main; in qh_completions()
1024 if (murb->last) { in qh_completions()
1025 ehci_urb_done(oxu, last->urb); in qh_completions()
1030 ehci_urb_done(oxu, last->urb); in qh_completions()
1034 oxu_qtd_free(oxu, last); in qh_completions()
[all …]
/linux-4.1.27/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.1.27/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.1.27/arch/arm64/kernel/
Dprocess.c330 struct task_struct *last; in __switch_to() local
344 last = cpu_switch_to(prev, next); in __switch_to()
346 return last; in __switch_to()
/linux-4.1.27/drivers/gpu/drm/radeon/
Dradeon_vm.c332 bo_va->it.last = 0; in radeon_vm_bo_add()
489 soffset, tmp->bo, tmp->it.start, tmp->it.last); in radeon_vm_bo_set_addr()
496 if (bo_va->it.start || bo_va->it.last) { in radeon_vm_bo_set_addr()
507 tmp->it.last = bo_va->it.last; in radeon_vm_bo_set_addr()
520 bo_va->it.last = 0; in radeon_vm_bo_set_addr()
525 bo_va->it.last = eoffset; in radeon_vm_bo_set_addr()
963 nptes = bo_va->it.last - bo_va->it.start + 1; in radeon_vm_bo_update()
1009 bo_va->it.last + 1, addr, in radeon_vm_bo_update()
1025 radeon_vm_fence_pts(vm, bo_va->it.start, bo_va->it.last + 1, ib.fence); in radeon_vm_bo_update()
1122 if (bo_va->it.start || bo_va->it.last) in radeon_vm_bo_rmv()
/linux-4.1.27/drivers/infiniband/hw/ipath/
Dipath_ruc.c702 u32 old_last, last; in ipath_send_complete() local
724 old_last = last = qp->s_last; in ipath_send_complete()
725 if (++last >= qp->s_size) in ipath_send_complete()
726 last = 0; in ipath_send_complete()
727 qp->s_last = last; in ipath_send_complete()
729 qp->s_cur = last; in ipath_send_complete()
731 qp->s_tail = last; in ipath_send_complete()
732 if (qp->state == IB_QPS_SQD && last == qp->s_cur) in ipath_send_complete()
/linux-4.1.27/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.1.27/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.1.27/net/ax25/
Dax25_out.c248 int last = 1; in ax25_kick() local
292 last = (next == end); in ax25_kick()
302 ax25_send_iframe(ax25, skbn, (last) ? AX25_POLLON : AX25_POLLOFF); in ax25_kick()
319 } while (!last && (skb = skb_dequeue(&ax25->write_queue)) != NULL); in ax25_kick()
/linux-4.1.27/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.1.27/arch/sparc/kernel/
Dpci.c361 u32 idx, first, last; in apb_calc_first_last() local
364 last = 0; in apb_calc_first_last()
369 if (last < idx) in apb_calc_first_last()
370 last = idx; in apb_calc_first_last()
375 *last_p = last; in apb_calc_first_last()
387 u32 first, last; in apb_fake_ranges() local
391 apb_calc_first_last(map, &first, &last); in apb_fake_ranges()
395 region.end = (last << 21) + ((1 << 21) - 1); in apb_fake_ranges()
399 apb_calc_first_last(map, &first, &last); in apb_fake_ranges()
403 region.end = (last << 29) + ((1 << 29) - 1); in apb_fake_ranges()
/linux-4.1.27/drivers/media/v4l2-core/
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.1.27/drivers/staging/lustre/lustre/include/
Dlustre_cfg.h200 int last = min((int)lcfg->lcfg_buflens[index], in lustre_cfg_string() local
202 char lost = s[last]; in lustre_cfg_string()
203 s[last] = '\0'; in lustre_cfg_string()
/linux-4.1.27/fs/notify/
Dmark.c284 struct fsnotify_mark *lmark, *last = NULL; in fsnotify_add_mark_list() local
295 last = lmark; in fsnotify_add_mark_list()
307 BUG_ON(last == NULL); in fsnotify_add_mark_list()
309 hlist_add_behind_rcu(&mark->obj_list, &last->obj_list); in fsnotify_add_mark_list()
/linux-4.1.27/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.1.27/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.1.27/net/sched/
Dsch_netem.c98 u32 last; member
171 state->last = prandom_u32(); in init_crandom()
188 answer = (value * ((1ull<<32) - rho) + state->last * rho) >> 32; in get_crandom()
189 state->last = answer; in get_crandom()
483 struct sk_buff *last; in netem_enqueue() local
486 last = skb_peek_tail(&sch->q); in netem_enqueue()
488 last = netem_rb_to_skb(rb_last(&q->t_root)); in netem_enqueue()
489 if (last) { in netem_enqueue()
495 delay -= netem_skb_cb(last)->time_to_send - now; in netem_enqueue()
497 now = netem_skb_cb(last)->time_to_send; in netem_enqueue()
/linux-4.1.27/drivers/pinctrl/meson/
Dpinctrl-meson.h95 unsigned int last; member
199 .last = l, \
/linux-4.1.27/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.1.27/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()
/linux-4.1.27/fs/ceph/
Ddir.c127 struct dentry *dentry, *last; in __dcache_readdir() local
132 last = fi->dentry; in __dcache_readdir()
136 dir, shared_gen, ctx->pos, last); in __dcache_readdir()
141 if (ctx->pos == 2 || last == NULL || in __dcache_readdir()
142 fpos_cmp(ctx->pos, ceph_dentry(last)->offset) < 0) { in __dcache_readdir()
148 p = last->d_child.prev; in __dcache_readdir()
197 if (last) { in __dcache_readdir()
199 fi->dentry = last; in __dcache_readdir()
208 if (last) in __dcache_readdir()
209 dput(last); in __dcache_readdir()
[all …]
/linux-4.1.27/security/selinux/ss/
Dconditional.c403 struct cond_expr *expr = NULL, *last = NULL; in cond_read_node() local
436 last->next = expr; in cond_read_node()
437 last = expr; in cond_read_node()
454 struct cond_node *node, *last = NULL; in cond_read_list() local
482 last->next = node; in cond_read_list()
483 last = node; in cond_read_list()
/linux-4.1.27/arch/x86/kernel/cpu/mtrr/
Dgeneric.c786 unsigned long lbase, last; in generic_validate_add_page() local
811 last = base + size - 1; in generic_validate_add_page()
812 for (lbase = base; !(lbase & 1) && (last & 1); in generic_validate_add_page()
813 lbase = lbase >> 1, last = last >> 1) in generic_validate_add_page()
815 if (lbase != last) { in generic_validate_add_page()
/linux-4.1.27/Documentation/ABI/testing/
Dsysfs-fs-nilfs264 Show last write time of super block in human-readable
71 Show last write time of super block in seconds.
147 Show write time of the last segment in
154 Show write time of the last segment in seconds.
160 Show write time of the last segment not for cleaner
167 Show write time of the last segment not for cleaner

123456