Home
last modified time | relevance | path

Searched refs:tail (Results 1 – 25 of 26) sorted by relevance

12

/arch/arm/oprofile/
Dbacktrace.c48 static struct frame_tail* user_backtrace(struct frame_tail *tail) in user_backtrace() argument
53 if (!access_ok(VERIFY_READ, tail, sizeof(buftail))) in user_backtrace()
55 if (__copy_from_user_inatomic(buftail, tail, sizeof(buftail))) in user_backtrace()
62 if (tail >= buftail[0].fp) in user_backtrace()
70 struct frame_tail *tail = ((struct frame_tail *) regs->ARM_fp) - 1; in arm_backtrace() local
79 while (depth-- && tail && !((unsigned long) tail & 3)) in arm_backtrace()
80 tail = user_backtrace(tail); in arm_backtrace()
/arch/mips/include/asm/
Dsmtc_ipi.h46 struct smtc_ipi *tail; member
56 q->head = q->tail = p; in smtc_ipi_nq()
58 q->tail->flink = p; in smtc_ipi_nq()
60 q->tail = p; in smtc_ipi_nq()
81 q->tail = NULL; in __smtc_ipi_dq()
105 q->head = q->tail = p; in smtc_ipi_req()
/arch/sparc/kernel/
Dprom_common.c190 struct property *head, *tail; in build_prop_list() local
192 head = tail = build_one_prop(node, NULL, in build_prop_list()
195 tail->next = build_one_prop(node, NULL, NULL, NULL, 0); in build_prop_list()
196 tail = tail->next; in build_prop_list()
197 while(tail) { in build_prop_list()
198 tail->next = build_one_prop(node, tail->name, in build_prop_list()
200 tail = tail->next; in build_prop_list()
Dldc.c253 unsigned long limit, tail, new_tail, diff; in tx_has_space_for() local
257 tail = lp->tx_tail; in tx_has_space_for()
258 new_tail = tx_advance(lp, tail); in tx_has_space_for()
293 static int set_tx_tail(struct ldc_channel *lp, unsigned long tail) in set_tx_tail() argument
298 lp->tx_tail = tail; in set_tx_tail()
302 err = sun4v_ldc_tx_set_qtail(lp->id, tail); in set_tx_tail()
1473 unsigned long hv_err, tail; in write_nonraw() local
1491 tail = lp->tx_tail; in write_nonraw()
1493 struct ldc_packet *p = lp->tx_base + (tail / LDC_PACKET_SIZE); in write_nonraw()
1526 tail = tx_advance(lp, tail); in write_nonraw()
[all …]
/arch/x86/kernel/cpu/
Dmkcapflags.pl18 $tail = $3;
19 if ($tail =~ /\/\*\s*\"([^"]*)\".*\*\//) {
/arch/alpha/lib/
Dclear_user.S57 beq $1, $tail # .. e1 :
71 $tail:
72 bne $2, 1f # e1 : is there a tail to do?
86 and $1, 7, $2 # e1 : number of bytes in tail
Dev6-memset.S104 beq $3,no_quad_b # U : tail stuff only
281 beq $3,no_quad # U : tail stuff only
468 beq $3,no_quad_w # U : tail stuff only
Dev6-clear_user.S69 and $1, 7, $2 # .. .. E .. : number of misaligned bytes in tail
Dev6-memcpy.S221 addq $18, 8, $18 # E : account for tail stuff
Dev6-strncpy_from_user.S67 and a3, 7, t6 # E : number of tail bytes
/arch/sparc/boot/
Dpiggyback_64.c47 int image, tail; in main() local
103 if ((tail = open(argv[3],O_RDONLY)) < 0) die(argv[3]); in main()
104 while ((i = read (tail,buffer,1024)) > 0) in main()
107 if (close(tail) < 0) die("close"); in main()
Dpiggyback_32.c77 int image, tail; in main() local
131 if ((tail = open(argv[3],O_RDONLY)) < 0) die(argv[3]); in main()
132 while ((i = read (tail,buffer,1024)) > 0) in main()
135 if (close(tail) < 0) die("close"); in main()
/arch/ia64/hp/sim/
Dsimserial.c210 if (CIRC_SPACE(info->xmit.head, info->xmit.tail, SERIAL_XMIT_SIZE) == 0) { in rs_put_char()
239 if (info->xmit.head == info->xmit.tail || info->tty->stopped || info->tty->hw_stopped) { in transmit_chars()
242 info->xmit.head, info->xmit.tail, info->tty->stopped); in transmit_chars()
254 count = min(CIRC_CNT(info->xmit.head, info->xmit.tail, SERIAL_XMIT_SIZE), in transmit_chars()
255 SERIAL_XMIT_SIZE - info->xmit.tail); in transmit_chars()
256 console->write(console, info->xmit.buf+info->xmit.tail, count); in transmit_chars()
258 info->xmit.tail = (info->xmit.tail+count) & (SERIAL_XMIT_SIZE-1); in transmit_chars()
263 count = CIRC_CNT(info->xmit.head, info->xmit.tail, SERIAL_XMIT_SIZE); in transmit_chars()
266 info->xmit.tail += count; in transmit_chars()
276 if (info->xmit.head == info->xmit.tail || tty->stopped || tty->hw_stopped || in rs_flush_chars()
[all …]
/arch/um/drivers/
Dline.c49 n = line->head - line->tail; in write_room()
104 line->tail = line->buffer; in buffer_data()
110 end = line->buffer + LINE_BUFSIZE - line->tail; in buffer_data()
113 memcpy(line->tail, buf, len); in buffer_data()
114 line->tail += len; in buffer_data()
118 memcpy(line->tail, buf, end); in buffer_data()
121 line->tail = line->buffer + len - end; in buffer_data()
140 if ((line->buffer == NULL) || (line->head == line->tail)) in flush_buffer()
143 if (line->tail < line->head) { in flush_buffer()
163 count = line->tail - line->head; in flush_buffer()
[all …]
/arch/powerpc/oprofile/cell/
Dspu_task_sync.c57 if (spu_buff[spu].head >= spu_buff[spu].tail) { in spu_buff_add()
58 if ((spu_buff[spu].head - spu_buff[spu].tail) in spu_buff_add()
62 } else if (spu_buff[spu].tail > spu_buff[spu].head) { in spu_buff_add()
63 if ((spu_buff[spu].tail - spu_buff[spu].head) in spu_buff_add()
115 spu_buff[spu].tail, in sync_spu_buff()
119 spu_buff[spu].tail = curr_head; in sync_spu_buff()
476 spu_buff[spu].tail = 0; in oprofile_spu_buff_create()
Dpr_util.h78 unsigned int head, tail; member
/arch/x86/kernel/
Damd_iommu.c195 u32 head, tail; in iommu_poll_events() local
201 tail = readl(iommu->mmio_base + MMIO_EVT_TAIL_OFFSET); in iommu_poll_events()
203 while (head != tail) { in iommu_poll_events()
235 u32 tail, head; in __iommu_queue_command() local
238 tail = readl(iommu->mmio_base + MMIO_CMD_TAIL_OFFSET); in __iommu_queue_command()
239 target = iommu->cmd_buf + tail; in __iommu_queue_command()
241 tail = (tail + sizeof(*cmd)) % iommu->cmd_buf_size; in __iommu_queue_command()
243 if (tail == head) in __iommu_queue_command()
245 writel(tail, iommu->mmio_base + MMIO_CMD_TAIL_OFFSET); in __iommu_queue_command()
Dio_apic.c254 struct irq_pin_list *old_entry, *head, *tail, *entry; in init_copy_irq_2_pin() local
268 tail = entry; in init_copy_irq_2_pin()
284 tail->next = entry; in init_copy_irq_2_pin()
285 tail = entry; in init_copy_irq_2_pin()
289 tail->next = NULL; in init_copy_irq_2_pin()
/arch/um/include/shared/
Dline.h52 char *tail; member
/arch/mn10300/kernel/
Dasm-offsets.c100 OFFSET(__xmit_tail, uart_info, xmit.tail); in foo()
/arch/mips/kernel/
Dsmtc.c387 IPIQ[i].head = IPIQ[i].tail = NULL; in smtc_prepare_cpus()
743 i, (unsigned)IPIQ[i].head, (unsigned)IPIQ[i].tail, in smtc_ipi_qdump()
/arch/powerpc/platforms/cell/spufs/
Dspufs.h70 unsigned long tail; member
Dfile.c2416 return (ctx->switch_log->head - ctx->switch_log->tail) % in spufs_switch_log_used()
2448 ctx->switch_log->head = ctx->switch_log->tail = 0; in spufs_switch_log_open()
2477 p = ctx->switch_log->log + ctx->switch_log->tail % SWITCH_LOG_BUFSIZE; in switch_log_sprint()
2540 ctx->switch_log->tail = in spufs_switch_log_read()
2541 (ctx->switch_log->tail + 1) % in spufs_switch_log_read()
/arch/sparc/include/asm/
Dhypervisor.h2881 unsigned long tail; /* New tail index to use */ member
/arch/sh/kernel/cpu/sh2a/
Dentry.S58 add r2,r0 ! r0 = kernel stack tail

12