/linux-4.4.14/arch/blackfin/include/asm/ |
D | context.S | 18 [--sp] = SYSCFG; 20 [--sp] = P0; /*orig_p0*/ 21 [--sp] = R0; /*orig_r0*/ 23 [--sp] = ( R7:0, P5:0 ); 24 [--sp] = fp; 25 [--sp] = usp; 27 [--sp] = i0; 28 [--sp] = i1; 29 [--sp] = i2; 30 [--sp] = i3; [all …]
|
D | dpmc.h | 45 #define PM_PUSH_SYNC(n) [--sp] = (PM_REGSET##n); 46 #define PM_POP_SYNC(n) (PM_REGSET##n) = [sp++]; 72 [--sp] = (R7:0, P5:0); 73 [--sp] = fp; 74 [--sp] = usp; 76 [--sp] = i0; 77 [--sp] = i1; 78 [--sp] = i2; 79 [--sp] = i3; 81 [--sp] = m0; [all …]
|
D | entry.h | 58 [--sp] = SYSCFG; \ 59 [--sp] = P0; /*orig_p0*/ \ 60 [--sp] = R0; /*orig_r0*/ \ 61 [--sp] = (R7:0,P5:0); \ 67 [--sp] = SYSCFG; \ 68 [--sp] = P0; /*orig_p0*/ \ 69 [--sp] = R0; /*orig_r0*/ \ 70 [--sp] = (R7:0,P5:0); \ 83 [--sp] = SYSCFG; \ 84 [--sp] = P0; /*orig_p0*/ \ [all …]
|
/linux-4.4.14/arch/alpha/kernel/ |
D | entry.S | 28 .cfi_def_cfa $sp, 48 52 subq $sp, SP_OFF, $sp 54 stq $0, 0($sp) 55 stq $1, 8($sp) 56 stq $2, 16($sp) 57 stq $3, 24($sp) 58 stq $4, 32($sp) 59 stq $28, 144($sp) 67 stq $5, 40($sp) 68 stq $6, 48($sp) [all …]
|
/linux-4.4.14/drivers/net/hamradio/ |
D | 6pack.c | 141 struct sixpack *sp = (struct sixpack *) channel; in sp_xmit_on_air() local 142 int actual, when = sp->slottime; in sp_xmit_on_air() 147 if (((sp->status1 & SIXP_DCD_MASK) == 0) && (random < sp->persistence)) { in sp_xmit_on_air() 148 sp->led_state = 0x70; in sp_xmit_on_air() 149 sp->tty->ops->write(sp->tty, &sp->led_state, 1); in sp_xmit_on_air() 150 sp->tx_enable = 1; in sp_xmit_on_air() 151 actual = sp->tty->ops->write(sp->tty, sp->xbuff, sp->status2); in sp_xmit_on_air() 152 sp->xleft -= actual; in sp_xmit_on_air() 153 sp->xhead += actual; in sp_xmit_on_air() 154 sp->led_state = 0x60; in sp_xmit_on_air() [all …]
|
/linux-4.4.14/drivers/media/usb/pvrusb2/ |
D | pvrusb2-io.c | 135 struct pvr2_stream *sp = bp->stream; in pvr2_buffer_remove() local 138 cnt = &sp->i_count; in pvr2_buffer_remove() 139 bcnt = &sp->i_bcount; in pvr2_buffer_remove() 143 cnt = &sp->q_count; in pvr2_buffer_remove() 144 bcnt = &sp->q_bcount; in pvr2_buffer_remove() 148 cnt = &sp->r_count; in pvr2_buffer_remove() 149 bcnt = &sp->r_bcount; in pvr2_buffer_remove() 168 struct pvr2_stream *sp; in pvr2_buffer_set_none() local 170 sp = bp->stream; in pvr2_buffer_set_none() 176 spin_lock_irqsave(&sp->list_lock,irq_flags); in pvr2_buffer_set_none() [all …]
|
D | pvrusb2-cs53l32a.c | 64 const struct routing_scheme *sp; in pvr2_cs53l32a_subdev_update() local 69 sp = (sid < ARRAY_SIZE(routing_schemes)) ? in pvr2_cs53l32a_subdev_update() 71 if ((sp == NULL) || in pvr2_cs53l32a_subdev_update() 73 (hdw->input_val >= sp->cnt)) { in pvr2_cs53l32a_subdev_update() 81 input = sp->def[hdw->input_val]; in pvr2_cs53l32a_subdev_update()
|
/linux-4.4.14/kernel/rcu/ |
D | srcu.c | 99 static int init_srcu_struct_fields(struct srcu_struct *sp) in init_srcu_struct_fields() argument 101 sp->completed = 0; in init_srcu_struct_fields() 102 spin_lock_init(&sp->queue_lock); in init_srcu_struct_fields() 103 sp->running = false; in init_srcu_struct_fields() 104 rcu_batch_init(&sp->batch_queue); in init_srcu_struct_fields() 105 rcu_batch_init(&sp->batch_check0); in init_srcu_struct_fields() 106 rcu_batch_init(&sp->batch_check1); in init_srcu_struct_fields() 107 rcu_batch_init(&sp->batch_done); in init_srcu_struct_fields() 108 INIT_DELAYED_WORK(&sp->work, process_srcu); in init_srcu_struct_fields() 109 sp->per_cpu_ref = alloc_percpu(struct srcu_struct_array); in init_srcu_struct_fields() [all …]
|
/linux-4.4.14/arch/nios2/include/asm/ |
D | entry.h | 31 stw sp, PT_SP(r24) /* Save user stack before changing */ 32 mov sp, r24 35 1 : mov r24, sp 36 addi sp, sp, -PT_REGS_SIZE /* Backup the kernel stack pointer */ 37 stw r24, PT_SP(sp) 38 2 : stw r1, PT_R1(sp) 39 stw r2, PT_R2(sp) 40 stw r3, PT_R3(sp) 41 stw r4, PT_R4(sp) 42 stw r5, PT_R5(sp) [all …]
|
/linux-4.4.14/arch/m68k/include/asm/ |
D | entry.h | 65 btst #5,%sp@(2) /* from user? */ 67 movel %sp,sw_usp /* save user sp */ 69 movel sw_ksp,%sp /* kernel sp */ 70 subql #8,%sp /* room for exception */ 71 clrl %sp@- /* stkadj */ 72 movel %d0,%sp@- /* orig d0 */ 73 movel %d0,%sp@- /* d0 */ 74 lea %sp@(-32),%sp /* space for 8 regs */ 75 moveml %d1-%d5/%a0-%a2,%sp@ 77 movel %a0@-,%sp@(PT_OFF_PC) /* copy exception program counter */ [all …]
|
/linux-4.4.14/arch/nios2/kernel/ |
D | insnemu.S | 33 ldw r1, PT_R1(sp) // Restore registers 34 ldw r2, PT_R2(sp) 35 ldw r3, PT_R3(sp) 36 ldw r4, PT_R4(sp) 37 ldw r5, PT_R5(sp) 38 ldw r6, PT_R6(sp) 39 ldw r7, PT_R7(sp) 40 ldw r8, PT_R8(sp) 41 ldw r9, PT_R9(sp) 42 ldw r10, PT_R10(sp) [all …]
|
D | entry.S | 40 andhi \reg, sp, %hi(~(THREAD_SIZE-1)) 43 and \reg, \reg, sp 63 stw et, PT_EA(sp) /* fix up EA */ 151 mov r4, sp 184 ldw r4, PT_R4(sp) 185 ldw r5, PT_R5(sp) 219 stw r2, PT_R2(sp) 220 stw r1, PT_R7(sp) 224 ldw r1, PT_ESTATUS(sp) 252 ldw r2, PT_R2(sp) [all …]
|
D | process.c | 89 regs->ra, regs->fp, regs->sp, regs->gp); in show_regs() 116 childregs->sp = (unsigned long) childstack; in copy_thread() 135 childregs->sp = usp; in copy_thread() 149 unsigned long *sp; in dump() local 183 fp->orig_r2, fp->ra, fp->fp, fp->sp); in dump() 185 (unsigned int) fp->sp, (unsigned int) fp); in dump() 189 for (sp = (unsigned long *) tp, i = 0; (i < 0x40); i += 4) { in dump() 192 pr_emerg("%08x ", (int) *sp++); in dump() 198 for (sp = (unsigned long *) tp, i = 0; (i < 0xc0); i += 4) { in dump() 201 pr_emerg("%08x ", (int) *sp++); in dump() [all …]
|
/linux-4.4.14/sound/pci/emu10k1/ |
D | emu10k1_patch.c | 38 snd_emu10k1_sample_new(struct snd_emux *rec, struct snd_sf_sample *sp, in snd_emu10k1_sample_new() argument 49 if (snd_BUG_ON(!sp || !hdr)) in snd_emu10k1_sample_new() 52 if (sp->v.size == 0) { in snd_emu10k1_sample_new() 54 "emu: rom font for sample %d\n", sp->v.sample); in snd_emu10k1_sample_new() 59 sp->v.end -= sp->v.start; in snd_emu10k1_sample_new() 60 sp->v.loopstart -= sp->v.start; in snd_emu10k1_sample_new() 61 sp->v.loopend -= sp->v.start; in snd_emu10k1_sample_new() 62 sp->v.start = 0; in snd_emu10k1_sample_new() 65 sampleend = sp->v.end; in snd_emu10k1_sample_new() 66 if (sampleend > sp->v.size) in snd_emu10k1_sample_new() [all …]
|
/linux-4.4.14/drivers/misc/ibmasm/ |
D | module.c | 68 struct service_processor *sp; in ibmasm_init_one() local 81 sp = kzalloc(sizeof(struct service_processor), GFP_KERNEL); in ibmasm_init_one() 82 if (sp == NULL) { in ibmasm_init_one() 88 spin_lock_init(&sp->lock); in ibmasm_init_one() 89 INIT_LIST_HEAD(&sp->command_queue); in ibmasm_init_one() 91 pci_set_drvdata(pdev, (void *)sp); in ibmasm_init_one() 92 sp->dev = &pdev->dev; in ibmasm_init_one() 93 sp->number = pdev->bus->number; in ibmasm_init_one() 94 snprintf(sp->dirname, IBMASM_NAME_SIZE, "%d", sp->number); in ibmasm_init_one() 95 snprintf(sp->devname, IBMASM_NAME_SIZE, "%s%d", DRIVER_NAME, sp->number); in ibmasm_init_one() [all …]
|
D | command.c | 30 static void exec_next_command(struct service_processor *sp); 34 struct command *ibmasm_new_command(struct service_processor *sp, size_t buffer_size) in ibmasm_new_command() argument 54 cmd->lock = &sp->lock; in ibmasm_new_command() 77 static void enqueue_command(struct service_processor *sp, struct command *cmd) in enqueue_command() argument 79 list_add_tail(&cmd->queue_node, &sp->command_queue); in enqueue_command() 82 static struct command *dequeue_command(struct service_processor *sp) in dequeue_command() argument 87 if (list_empty(&sp->command_queue)) in dequeue_command() 90 next = sp->command_queue.next; in dequeue_command() 97 static inline void do_exec_command(struct service_processor *sp) in do_exec_command() argument 103 if (ibmasm_send_i2o_message(sp)) { in do_exec_command() [all …]
|
D | remote.h | 88 #define mouse_addr(sp) (sp->base_address + CONDOR_MOUSE_DATA) argument 89 #define display_width(sp) (mouse_addr(sp) + CONDOR_INPUT_DISPLAY_RESX) argument 90 #define display_height(sp) (mouse_addr(sp) + CONDOR_INPUT_DISPLAY_RESY) argument 91 #define display_depth(sp) (mouse_addr(sp) + CONDOR_INPUT_DISPLAY_BITS) argument 92 #define desktop_info(sp) (mouse_addr(sp) + CONDOR_INPUT_DESKTOP_INFO) argument 93 #define vnc_status(sp) (mouse_addr(sp) + CONDOR_OUTPUT_VNC_STATUS) argument 94 #define isr_control(sp) (mouse_addr(sp) + CONDOR_MOUSE_ISR_CONTROL) argument 96 #define mouse_interrupt_pending(sp) readl(mouse_addr(sp) + CONDOR_MOUSE_ISR_STATUS) argument 97 #define clear_mouse_interrupt(sp) writel(0, mouse_addr(sp) + CONDOR_MOUSE_ISR_STATUS) argument 98 #define enable_mouse_interrupts(sp) writel(1, mouse_addr(sp) + CONDOR_MOUSE_ISR_CONTROL) argument [all …]
|
D | ibmasm.h | 168 struct command *ibmasm_new_command(struct service_processor *sp, size_t buffer_size); 169 void ibmasm_exec_command(struct service_processor *sp, struct command *cmd); 171 void ibmasm_receive_command_response(struct service_processor *sp, void *response, size_t size); 174 int ibmasm_event_buffer_init(struct service_processor *sp); 175 void ibmasm_event_buffer_exit(struct service_processor *sp); 176 void ibmasm_receive_event(struct service_processor *sp, void *data, unsigned int data_size); 177 void ibmasm_event_reader_register(struct service_processor *sp, struct event_reader *reader); 178 void ibmasm_event_reader_unregister(struct service_processor *sp, struct event_reader *reader); 179 int ibmasm_get_next_event(struct service_processor *sp, struct event_reader *reader); 185 int ibmasm_heartbeat_init(struct service_processor *sp); [all …]
|
D | event.c | 40 static void wake_up_event_readers(struct service_processor *sp) in wake_up_event_readers() argument 44 list_for_each_entry(reader, &sp->event_buffer->readers, node) in wake_up_event_readers() 57 void ibmasm_receive_event(struct service_processor *sp, void *data, unsigned int data_size) in ibmasm_receive_event() argument 59 struct event_buffer *buffer = sp->event_buffer; in ibmasm_receive_event() 65 spin_lock_irqsave(&sp->lock, flags); in ibmasm_receive_event() 75 spin_unlock_irqrestore(&sp->lock, flags); in ibmasm_receive_event() 77 wake_up_event_readers(sp); in ibmasm_receive_event() 91 int ibmasm_get_next_event(struct service_processor *sp, struct event_reader *reader) in ibmasm_get_next_event() argument 93 struct event_buffer *buffer = sp->event_buffer; in ibmasm_get_next_event() 107 spin_lock_irqsave(&sp->lock, flags); in ibmasm_get_next_event() [all …]
|
D | uart.c | 34 void ibmasm_register_uart(struct service_processor *sp) in ibmasm_register_uart() argument 39 iomem_base = sp->base_address + SCOUT_COM_B_BASE; in ibmasm_register_uart() 45 dev_info(sp->dev, "IBM SP UART not registered, owned by service processor\n"); in ibmasm_register_uart() 46 sp->serial_line = -1; in ibmasm_register_uart() 51 uart.port.irq = sp->irq; in ibmasm_register_uart() 57 sp->serial_line = serial8250_register_8250_port(&uart); in ibmasm_register_uart() 58 if (sp->serial_line < 0) { in ibmasm_register_uart() 59 dev_err(sp->dev, "Failed to register serial port\n"); in ibmasm_register_uart() 62 enable_uart_interrupts(sp->base_address); in ibmasm_register_uart() 65 void ibmasm_unregister_uart(struct service_processor *sp) in ibmasm_unregister_uart() argument [all …]
|
D | ibmasmfs.c | 211 void ibmasmfs_add_sp(struct service_processor *sp) in ibmasmfs_add_sp() argument 213 list_add(&sp->node, &service_processors); in ibmasmfs_add_sp() 218 struct service_processor *sp; member 224 struct service_processor *sp; member 231 struct service_processor *sp; member 248 command_data->sp = inode->i_private; in command_file_open() 278 spin_lock_irqsave(&command_data->sp->lock, flags); in command_file_read() 281 spin_unlock_irqrestore(&command_data->sp->lock, flags); in command_file_read() 285 spin_unlock_irqrestore(&command_data->sp->lock, flags); in command_file_read() 318 cmd = ibmasm_new_command(command_data->sp, count); in command_file_write() [all …]
|
D | lowlevel.c | 33 int ibmasm_send_i2o_message(struct service_processor *sp) in ibmasm_send_i2o_message() argument 38 struct command *command = sp->current_command; in ibmasm_send_i2o_message() 40 mfa = get_mfa_inbound(sp->base_address); in ibmasm_send_i2o_message() 47 message = get_i2o_message(sp->base_address, mfa); in ibmasm_send_i2o_message() 52 set_mfa_inbound(sp->base_address, mfa); in ibmasm_send_i2o_message() 60 struct service_processor *sp = (struct service_processor *)dev_id; in ibmasm_interrupt_handler() local 61 void __iomem *base_address = sp->base_address; in ibmasm_interrupt_handler() 69 if (mouse_interrupt_pending(sp)) { in ibmasm_interrupt_handler() 70 ibmasm_handle_mouse_interrupt(sp); in ibmasm_interrupt_handler() 71 clear_mouse_interrupt(sp); in ibmasm_interrupt_handler() [all …]
|
D | heartbeat.c | 65 int ibmasm_heartbeat_init(struct service_processor *sp) in ibmasm_heartbeat_init() argument 67 sp->heartbeat = ibmasm_new_command(sp, HEARTBEAT_BUFFER_SIZE); in ibmasm_heartbeat_init() 68 if (sp->heartbeat == NULL) in ibmasm_heartbeat_init() 74 void ibmasm_heartbeat_exit(struct service_processor *sp) in ibmasm_heartbeat_exit() argument 79 ibmasm_wait_for_response(sp->heartbeat, IBMASM_CMD_TIMEOUT_NORMAL); in ibmasm_heartbeat_exit() 82 command_put(sp->heartbeat); in ibmasm_heartbeat_exit() 85 void ibmasm_receive_heartbeat(struct service_processor *sp, void *message, size_t size) in ibmasm_receive_heartbeat() argument 87 struct command *cmd = sp->heartbeat; in ibmasm_receive_heartbeat() 100 ibmasm_exec_command(sp, cmd); in ibmasm_receive_heartbeat()
|
D | dot_command.c | 31 void ibmasm_receive_message(struct service_processor *sp, void *message, int message_size) in ibmasm_receive_message() argument 48 ibmasm_receive_event(sp, message, size); in ibmasm_receive_message() 51 ibmasm_receive_command_response(sp, message, size); in ibmasm_receive_message() 54 ibmasm_receive_heartbeat(sp, message, size); in ibmasm_receive_message() 57 dev_err(sp->dev, "Received unknown message from service processor\n"); in ibmasm_receive_message() 68 int ibmasm_send_driver_vpd(struct service_processor *sp) in ibmasm_send_driver_vpd() argument 76 command = ibmasm_new_command(sp, INIT_BUFFER_SIZE); in ibmasm_send_driver_vpd() 99 ibmasm_exec_command(sp, command); in ibmasm_send_driver_vpd() 124 int ibmasm_send_os_state(struct service_processor *sp, int os_state) in ibmasm_send_os_state() argument 130 cmd = ibmasm_new_command(sp, sizeof(struct os_state_command)); in ibmasm_send_os_state() [all …]
|
D | remote.c | 184 void ibmasm_handle_mouse_interrupt(struct service_processor *sp) in ibmasm_handle_mouse_interrupt() argument 190 reader = get_queue_reader(sp); in ibmasm_handle_mouse_interrupt() 191 writer = get_queue_writer(sp); in ibmasm_handle_mouse_interrupt() 194 memcpy_fromio(&input, get_queue_entry(sp, reader), in ibmasm_handle_mouse_interrupt() 199 send_mouse_event(sp->remote.mouse_dev, &input); in ibmasm_handle_mouse_interrupt() 201 send_keyboard_event(sp->remote.keybd_dev, &input); in ibmasm_handle_mouse_interrupt() 205 reader = advance_queue_reader(sp, reader); in ibmasm_handle_mouse_interrupt() 206 writer = get_queue_writer(sp); in ibmasm_handle_mouse_interrupt() 210 int ibmasm_init_remote_input_dev(struct service_processor *sp) in ibmasm_init_remote_input_dev() argument 214 struct pci_dev *pdev = to_pci_dev(sp->dev); in ibmasm_init_remote_input_dev() [all …]
|
/linux-4.4.14/arch/mips/include/asm/ |
D | stackframe.h | 31 LONG_S $1, PT_R1(sp) 38 LONG_S v1, PT_LO(sp) 40 LONG_S v1, PT_HI(sp) 42 LONG_S v1, PT_ACX(sp) 47 LONG_S $8, PT_R8(sp) 48 LONG_S $9, PT_R9(sp) 50 LONG_S $10, PT_R10(sp) 51 LONG_S $11, PT_R11(sp) 52 LONG_S $12, PT_R12(sp) 54 LONG_S v1, PT_HI(sp) [all …]
|
D | pm.h | 24 subu sp, PT_SIZE 26 LONG_S $16, PT_R16(sp) 27 LONG_S $17, PT_R17(sp) 28 LONG_S $18, PT_R18(sp) 29 LONG_S $19, PT_R19(sp) 30 LONG_S $20, PT_R20(sp) 31 LONG_S $21, PT_R21(sp) 32 LONG_S $22, PT_R22(sp) 33 LONG_S $23, PT_R23(sp) 34 LONG_S $28, PT_R28(sp) [all …]
|
D | irqflags.h | 174 LONG_L $11, PT_R11(sp); \ 175 LONG_L $10, PT_R10(sp); \ 176 LONG_L $9, PT_R9(sp); \ 177 LONG_L $8, PT_R8(sp); \ 178 LONG_L $7, PT_R7(sp); \ 179 LONG_L $6, PT_R6(sp); \ 180 LONG_L $5, PT_R5(sp); \ 181 LONG_L $4, PT_R4(sp); \ 182 LONG_L $2, PT_R2(sp) 185 LONG_L $7, PT_R7(sp); \ [all …]
|
/linux-4.4.14/arch/m68k/68000/ |
D | entry.S | 40 movel #-ENOSYS,%sp@(PT_OFF_D0) 44 movel #-ENOSYS,%sp@(PT_OFF_D0) /* needed for strace*/ 45 subql #4,%sp 49 addql #4,%sp 50 movel %sp@(PT_OFF_ORIG_D0),%d1 58 1: movel %d0,%sp@(PT_OFF_D0) /* save the return value */ 59 subql #4,%sp /* dummy return address */ 65 addql #4,%sp 72 pea %sp@ 74 addql #4,%sp [all …]
|
/linux-4.4.14/drivers/spi/ |
D | spi-ath79.c | 45 static inline u32 ath79_spi_rr(struct ath79_spi *sp, unsigned reg) in ath79_spi_rr() argument 47 return ioread32(sp->base + reg); in ath79_spi_rr() 50 static inline void ath79_spi_wr(struct ath79_spi *sp, unsigned reg, u32 val) in ath79_spi_wr() argument 52 iowrite32(val, sp->base + reg); in ath79_spi_wr() 60 static inline void ath79_spi_delay(struct ath79_spi *sp, unsigned nsecs) in ath79_spi_delay() argument 62 if (nsecs > sp->rrw_delay) in ath79_spi_delay() 63 ndelay(nsecs - sp->rrw_delay); in ath79_spi_delay() 68 struct ath79_spi *sp = ath79_spidev_to_sp(spi); in ath79_spi_chipselect() local 74 sp->ioc_base |= AR71XX_SPI_IOC_CLK; in ath79_spi_chipselect() 76 sp->ioc_base &= ~AR71XX_SPI_IOC_CLK; in ath79_spi_chipselect() [all …]
|
D | spi-sh-sci.c | 37 #define SCSPTR(sp) (sp->membase + 0x1c) argument 43 static inline void setbits(struct sh_sci_spi *sp, int bits, int on) in setbits() argument 54 sp->val |= bits; in setbits() 56 sp->val &= ~bits; in setbits() 58 iowrite8(sp->val, SCSPTR(sp)); in setbits() 73 struct sh_sci_spi *sp = spi_master_get_devdata(dev->master); in getmiso() local 75 return (ioread8(SCSPTR(sp)) & PIN_RXD) ? 1 : 0; in getmiso() 108 struct sh_sci_spi *sp = spi_master_get_devdata(dev->master); in sh_sci_spi_chipselect() local 110 if (sp->info->chip_select) in sh_sci_spi_chipselect() 111 (sp->info->chip_select)(sp->info, dev->chip_select, value); in sh_sci_spi_chipselect() [all …]
|
/linux-4.4.14/drivers/gpu/host1x/ |
D | syncpt.c | 61 struct host1x_syncpt *sp = host->syncpt; in host1x_syncpt_alloc() local 64 for (i = 0; i < host->info->nb_pts && sp->name; i++, sp++) in host1x_syncpt_alloc() 71 sp->base = host1x_syncpt_base_request(host); in host1x_syncpt_alloc() 72 if (!sp->base) in host1x_syncpt_alloc() 76 name = kasprintf(GFP_KERNEL, "%02d-%s", sp->id, in host1x_syncpt_alloc() 81 sp->dev = dev; in host1x_syncpt_alloc() 82 sp->name = name; in host1x_syncpt_alloc() 85 sp->client_managed = true; in host1x_syncpt_alloc() 87 sp->client_managed = false; in host1x_syncpt_alloc() 89 return sp; in host1x_syncpt_alloc() [all …]
|
D | syncpt.h | 75 static inline bool host1x_syncpt_check_max(struct host1x_syncpt *sp, u32 real) in host1x_syncpt_check_max() argument 78 if (sp->client_managed) in host1x_syncpt_check_max() 80 max = host1x_syncpt_read_max(sp); in host1x_syncpt_check_max() 85 static inline bool host1x_syncpt_client_managed(struct host1x_syncpt *sp) in host1x_syncpt_client_managed() argument 87 return sp->client_managed; in host1x_syncpt_client_managed() 94 static inline bool host1x_syncpt_idle(struct host1x_syncpt *sp) in host1x_syncpt_idle() argument 98 min = atomic_read(&sp->min_val); in host1x_syncpt_idle() 99 max = atomic_read(&sp->max_val); in host1x_syncpt_idle() 104 u32 host1x_syncpt_load(struct host1x_syncpt *sp); 107 bool host1x_syncpt_is_expired(struct host1x_syncpt *sp, u32 thresh); [all …]
|
/linux-4.4.14/drivers/net/ethernet/seeq/ |
D | sgiseeq.c | 52 #define TX_BUFFS_AVAIL(sp) ((sp->tx_old <= sp->tx_new) ? \ argument 53 sp->tx_old + (SEEQ_TX_BUFFERS - 1) - sp->tx_new : \ 54 sp->tx_old - sp->tx_new - 1) 56 #define VIRT_TO_DMA(sp, v) ((sp)->srings_dma + \ argument 58 (unsigned long)((sp)->rx_desc))) 141 static inline void seeq_go(struct sgiseeq_private *sp, in seeq_go() argument 145 sregs->rstat = sp->mode | RSTAT_GO_BITS; in seeq_go() 151 struct sgiseeq_private *sp = netdev_priv(dev); in __sgiseeq_set_mac_address() local 152 struct sgiseeq_regs *sregs = sp->sregs; in __sgiseeq_set_mac_address() 162 struct sgiseeq_private *sp = netdev_priv(dev); in sgiseeq_set_mac_address() local [all …]
|
/linux-4.4.14/arch/blackfin/mach-common/ |
D | interrupt.S | 38 [--sp] = fp; 39 [--sp] = usp; 41 [--sp] = i0; 42 [--sp] = i1; 43 [--sp] = i2; 44 [--sp] = i3; 46 [--sp] = m0; 47 [--sp] = m1; 48 [--sp] = m2; 49 [--sp] = m3; [all …]
|
D | entry.S | 88 (R7:6,P5:4) = [sp++]; 99 sp += -12; 101 sp += 12; 253 (R7:6,P5:4) = [sp++]; 254 ASTAT = [sp++]; 255 sp = EX_SCRATCH_REG; define 270 [--sp] = (R7:6,P5:4); 351 [--sp] = reti; 352 sp += 4; 385 (R7:6,P5:4) = [sp++]; [all …]
|
D | head.S | 109 sp.l = _init_thread_union + THREAD_SIZE; 110 sp.h = _init_thread_union + THREAD_SIZE; 111 fp = sp; 112 usp = sp; 162 sp.l = lo(KERNEL_CLOCK_STACK); 163 sp.h = hi(KERNEL_CLOCK_STACK); 165 sp = usp; /* usp hasn't been touched, so restore from there */ define 212 [--sp] = reti; 223 sp += -12 + 4; /* +4 is for reti loading above */ 225 sp += 12;
|
/linux-4.4.14/sound/isa/sb/ |
D | emu8000_patch.c | 147 snd_emu8000_sample_new(struct snd_emux *rec, struct snd_sf_sample *sp, in snd_emu8000_sample_new() argument 159 if (snd_BUG_ON(!sp)) in snd_emu8000_sample_new() 162 if (sp->v.size == 0) in snd_emu8000_sample_new() 166 if (sp->v.loopstart > sp->v.loopend) { in snd_emu8000_sample_new() 167 int tmp = sp->v.loopstart; in snd_emu8000_sample_new() 168 sp->v.loopstart = sp->v.loopend; in snd_emu8000_sample_new() 169 sp->v.loopend = tmp; in snd_emu8000_sample_new() 173 truesize = sp->v.size; in snd_emu8000_sample_new() 174 if (sp->v.mode_flags & (SNDRV_SFNT_SAMPLE_BIDIR_LOOP|SNDRV_SFNT_SAMPLE_REVERSE_LOOP)) in snd_emu8000_sample_new() 175 truesize += sp->v.loopend - sp->v.loopstart; in snd_emu8000_sample_new() [all …]
|
/linux-4.4.14/drivers/gpu/host1x/hw/ |
D | syncpt_hw.c | 27 static void syncpt_restore(struct host1x_syncpt *sp) in syncpt_restore() argument 29 struct host1x *host = sp->host; in syncpt_restore() 30 int min = host1x_syncpt_read_min(sp); in syncpt_restore() 31 host1x_sync_writel(host, min, HOST1X_SYNC_SYNCPT(sp->id)); in syncpt_restore() 37 static void syncpt_restore_wait_base(struct host1x_syncpt *sp) in syncpt_restore_wait_base() argument 39 struct host1x *host = sp->host; in syncpt_restore_wait_base() 40 host1x_sync_writel(host, sp->base_val, in syncpt_restore_wait_base() 41 HOST1X_SYNC_SYNCPT_BASE(sp->id)); in syncpt_restore_wait_base() 47 static void syncpt_read_wait_base(struct host1x_syncpt *sp) in syncpt_read_wait_base() argument 49 struct host1x *host = sp->host; in syncpt_read_wait_base() [all …]
|
D | channel_hw.c | 77 struct host1x_syncpt *sp = host->syncpt + job->syncpt_id; in synchronize_syncpt_base() local 80 value = host1x_syncpt_read_max(sp); in synchronize_syncpt_base() 81 id = sp->base->id; in synchronize_syncpt_base() 93 struct host1x_syncpt *sp; in channel_submit() local 101 sp = host->syncpt + job->syncpt_id; in channel_submit() 108 prev_max = job->syncpt_end = host1x_syncpt_read_max(sp); in channel_submit() 138 host1x_syncpt_read_max(sp))); in channel_submit() 142 if (sp->base) in channel_submit() 145 syncval = host1x_syncpt_incr_max(sp, user_syncpt_incrs); in channel_submit()
|
/linux-4.4.14/arch/mips/alchemy/common/ |
D | sleeper.S | 28 subu sp, PT_SIZE 29 sw $1, PT_R1(sp) 30 sw $2, PT_R2(sp) 31 sw $3, PT_R3(sp) 32 sw $4, PT_R4(sp) 33 sw $5, PT_R5(sp) 34 sw $6, PT_R6(sp) 35 sw $7, PT_R7(sp) 36 sw $16, PT_R16(sp) 37 sw $17, PT_R17(sp) [all …]
|
/linux-4.4.14/arch/mips/kernel/ |
D | mcount.S | 22 PTR_SUBU sp, PT_SIZE 23 PTR_S ra, PT_R31(sp) 24 PTR_S AT, PT_R1(sp) 25 PTR_S a0, PT_R4(sp) 26 PTR_S a1, PT_R5(sp) 27 PTR_S a2, PT_R6(sp) 28 PTR_S a3, PT_R7(sp) 30 PTR_S a4, PT_R8(sp) 31 PTR_S a5, PT_R9(sp) 32 PTR_S a6, PT_R10(sp) [all …]
|
D | perf_event.c | 31 unsigned long *sp = (unsigned long *)reg29; in save_raw_perf_callchain() local 34 while (!kstack_end(sp)) { in save_raw_perf_callchain() 35 addr = *sp++; in save_raw_perf_callchain() 47 unsigned long sp = regs->regs[29]; in perf_callchain_kernel() local 55 if (stack_page && sp >= stack_page && in perf_callchain_kernel() 56 sp <= stack_page + THREAD_SIZE - 32) in perf_callchain_kernel() 57 save_raw_perf_callchain(entry, sp); in perf_callchain_kernel() 64 pc = unwind_stack(current, &sp, pc, &ra); in perf_callchain_kernel() 67 save_raw_perf_callchain(entry, sp); in perf_callchain_kernel()
|
D | scall32-o32.S | 29 NESTED(handle_sys, PT_SIZE, sp) 36 lw t1, PT_EPC(sp) # skip syscall on return 40 sw t1, PT_EPC(sp) 42 sw a3, PT_R26(sp) # save a3 for syscall restarting 49 lw t0, PT_R29(sp) # get old user stack pointer 58 bltz t5, bad_stack # -> sp is bad 74 sw t5, 16(sp) # argument #5 to ksp 75 sw t6, 20(sp) # argument #6 to ksp 76 sw t7, 24(sp) # argument #7 to ksp 77 sw t8, 28(sp) # argument #8 to ksp [all …]
|
D | stacktrace.c | 17 unsigned long *sp = (unsigned long *)reg29; in save_raw_context_stack() local 20 while (!kstack_end(sp)) { in save_raw_context_stack() 21 addr = *sp++; in save_raw_context_stack() 37 unsigned long sp = regs->regs[29]; in save_context_stack() local 45 if (stack_page && sp >= stack_page && in save_context_stack() 46 sp <= stack_page + THREAD_SIZE - 32) in save_context_stack() 47 save_raw_context_stack(trace, sp, savesched); in save_context_stack() 59 pc = unwind_stack(tsk, &sp, pc, &ra); in save_context_stack() 62 save_raw_context_stack(trace, sp, savesched); in save_context_stack()
|
D | octeon_switch.S | 438 sd k0, PT_MTP(sp) /* PT_MTP has P0 */ 440 sd k1, PT_MTP+8(sp) /* PT_MTP+8 has P1 */ 443 sd k0, PT_MTP+16(sp) /* PT_MTP+16 has P2 */ 445 sd k1, PT_MPL(sp) /* PT_MPL has MPL0 */ 447 sd k0, PT_MPL+8(sp) /* PT_MPL+8 has MPL1 */ 449 sd k1, PT_MPL+16(sp) /* PT_MPL+16 has MPL2 */ 459 sd $10, PT_MTP+(0*8)(sp) /* store P0 */ 461 sd $11, PT_MTP+(1*8)(sp) /* store P1 */ 463 sd $12, PT_MTP+(2*8)(sp) /* store P2 */ 466 sd $10, PT_MTP+(3*8)(sp) /* store P3 */ [all …]
|
D | scall64-o32.S | 28 NESTED(handle_sys, PT_SIZE, sp) 34 ld t1, PT_EPC(sp) # skip syscall on return 39 sd t1, PT_EPC(sp) 58 sd a3, PT_R26(sp) # save a3 for syscall restarting 68 ld t0, PT_R29(sp) # get old user stack pointer 95 sd t0, PT_R7(sp) # set error flag 98 ld t1, PT_R2(sp) # syscall number 100 sd t1, PT_R0(sp) # save it for syscall restarting 101 1: sd v0, PT_R2(sp) # result 110 sd a4, PT_R8(sp) # Save argument registers [all …]
|
D | irq.c | 63 unsigned long sp; in check_stack_overflow() local 65 __asm__ __volatile__("move %0, $sp" : "=r" (sp)); in check_stack_overflow() 66 sp &= THREAD_MASK; in check_stack_overflow() 72 if (unlikely(sp < (sizeof(struct thread_info) + STACK_WARN))) { in check_stack_overflow() 74 sp - sizeof(struct thread_info)); in check_stack_overflow()
|
D | process.c | 60 void start_thread(struct pt_regs * regs, unsigned long pc, unsigned long sp) in start_thread() argument 75 regs->regs[29] = sp; in start_thread() 436 unsigned long *sp, in unwind_stack_by_address() argument 456 if (*sp >= stack_page && in unwind_stack_by_address() 457 *sp + sizeof(*regs) <= stack_page + THREAD_SIZE - 32) { in unwind_stack_by_address() 458 regs = (struct pt_regs *)*sp; in unwind_stack_by_address() 461 *sp = regs->regs[29]; in unwind_stack_by_address() 485 if (*sp < stack_page || in unwind_stack_by_address() 486 *sp + info.frame_size > stack_page + THREAD_SIZE - 32) in unwind_stack_by_address() 498 pc = ((unsigned long *)(*sp))[info.pc_offset]; in unwind_stack_by_address() [all …]
|
/linux-4.4.14/drivers/video/fbdev/ |
D | sunxvr2500.c | 32 static int s3d_get_props(struct s3d_info *sp) in s3d_get_props() argument 34 sp->width = of_getintprop_default(sp->of_node, "width", 0); in s3d_get_props() 35 sp->height = of_getintprop_default(sp->of_node, "height", 0); in s3d_get_props() 36 sp->depth = of_getintprop_default(sp->of_node, "depth", 8); in s3d_get_props() 38 if (!sp->width || !sp->height) { in s3d_get_props() 40 pci_name(sp->pdev)); in s3d_get_props() 73 static int s3d_set_fbinfo(struct s3d_info *sp) in s3d_set_fbinfo() argument 75 struct fb_info *info = sp->info; in s3d_set_fbinfo() 80 info->screen_base = sp->fb_base; in s3d_set_fbinfo() 81 info->screen_size = sp->fb_size; in s3d_set_fbinfo() [all …]
|
/linux-4.4.14/arch/blackfin/kernel/ |
D | ftrace-entry.S | 37 [--sp] = r2; 38 [--sp] = r0; 39 [--sp] = r1; 40 [--sp] = rets; 48 r1 = [sp + 16]; /* skip the 4 local regs on stack */ 63 rets = [sp++]; 64 r1 = [sp++]; 65 r0 = [sp++]; 66 r2 = [sp++]; 78 [--sp] = r2; [all …]
|
/linux-4.4.14/include/linux/ |
D | srcu.h | 67 int __init_srcu_struct(struct srcu_struct *sp, const char *name, 70 #define init_srcu_struct(sp) \ argument 74 __init_srcu_struct((sp), #sp, &__srcu_key); \ 80 int init_srcu_struct(struct srcu_struct *sp); 128 void call_srcu(struct srcu_struct *sp, struct rcu_head *head, 131 void cleanup_srcu_struct(struct srcu_struct *sp); 132 int __srcu_read_lock(struct srcu_struct *sp) __acquires(sp); 133 void __srcu_read_unlock(struct srcu_struct *sp, int idx) __releases(sp); 134 void synchronize_srcu(struct srcu_struct *sp); 135 void synchronize_srcu_expedited(struct srcu_struct *sp); [all …]
|
/linux-4.4.14/arch/s390/kernel/ |
D | stacktrace.c | 14 unsigned long sp, in save_context_stack() argument 24 sp &= PSW_ADDR_INSN; in save_context_stack() 25 if (sp < low || sp > high) in save_context_stack() 26 return sp; in save_context_stack() 27 sf = (struct stack_frame *)sp; in save_context_stack() 35 return sp; in save_context_stack() 36 low = sp; in save_context_stack() 37 sp = sf->back_chain & PSW_ADDR_INSN; in save_context_stack() 38 if (!sp) in save_context_stack() 40 if (sp <= low || sp > high - sizeof(*sf)) in save_context_stack() [all …]
|
D | dumpstack.c | 30 __show_trace(unsigned long sp, unsigned long low, unsigned long high) in __show_trace() argument 37 sp = sp & PSW_ADDR_INSN; in __show_trace() 38 if (sp < low || sp > high - sizeof(*sf)) in __show_trace() 39 return sp; in __show_trace() 40 sf = (struct stack_frame *) sp; in __show_trace() 45 low = sp; in __show_trace() 46 sp = sf->back_chain & PSW_ADDR_INSN; in __show_trace() 47 if (!sp) in __show_trace() 49 if (sp <= low || sp > high - sizeof(*sf)) in __show_trace() 50 return sp; in __show_trace() [all …]
|
D | perf_event.c | 227 unsigned long sp, in __store_trace() argument 234 sp = sp & PSW_ADDR_INSN; in __store_trace() 235 if (sp < low || sp > high - sizeof(*sf)) in __store_trace() 236 return sp; in __store_trace() 237 sf = (struct stack_frame *) sp; in __store_trace() 241 low = sp; in __store_trace() 242 sp = sf->back_chain & PSW_ADDR_INSN; in __store_trace() 243 if (!sp) in __store_trace() 245 if (sp <= low || sp > high - sizeof(*sf)) in __store_trace() 246 return sp; in __store_trace() [all …]
|
/linux-4.4.14/arch/s390/oprofile/ |
D | backtrace.c | 12 __show_trace(unsigned int *depth, unsigned long sp, in __show_trace() argument 19 sp = sp & PSW_ADDR_INSN; in __show_trace() 20 if (sp < low || sp > high - sizeof(*sf)) in __show_trace() 21 return sp; in __show_trace() 22 sf = (struct stack_frame *) sp; in __show_trace() 28 low = sp; in __show_trace() 29 sp = sf->back_chain & PSW_ADDR_INSN; in __show_trace() 30 if (!sp) in __show_trace() 32 if (sp <= low || sp > high - sizeof(*sf)) in __show_trace() 33 return sp; in __show_trace() [all …]
|
/linux-4.4.14/arch/mips/fw/lib/ |
D | call_o32.S | 48 REG_SUBU sp,O32_FRAMESZ 50 REG_S ra,O32_FRAMESZ-1*SZREG(sp) 51 REG_S fp,O32_FRAMESZ-2*SZREG(sp) 52 REG_S gp,O32_FRAMESZ-3*SZREG(sp) 53 REG_S s7,O32_FRAMESZ-4*SZREG(sp) 54 REG_S s6,O32_FRAMESZ-5*SZREG(sp) 55 REG_S s5,O32_FRAMESZ-6*SZREG(sp) 56 REG_S s4,O32_FRAMESZ-7*SZREG(sp) 57 REG_S s3,O32_FRAMESZ-8*SZREG(sp) 58 REG_S s2,O32_FRAMESZ-9*SZREG(sp) [all …]
|
/linux-4.4.14/arch/sparc/include/asm/ |
D | ttable.h | 29 add %sp, PTREGS_OFF, %o0; \ 39 add %sp, PTREGS_OFF, %o0; \ 48 add %sp, PTREGS_OFF, %o0; \ 68 add %sp, PTREGS_OFF, %o0; \ 77 add %sp, PTREGS_OFF, %o0; \ 87 add %sp, PTREGS_OFF, %o0; \ 139 add %sp, PTREGS_OFF, %o1; \ 152 add %sp, PTREGS_OFF, %o1; \ 164 add %sp, PTREGS_OFF, %o1; \ 177 ldx [%sp + PTREGS_OFF + PT_V9_TNPC], %l1; \ [all …]
|
/linux-4.4.14/arch/h8300/kernel/ |
D | entry.S | 38 mov.l er0,@-sp 39 mov.l er1,@-sp 40 mov.l er2,@-sp 41 mov.l er3,@-sp 44 mov.l @sp+,er3 45 mov.l @sp+,er2 64 stm.l er0-er3,@-sp 67 ldm.l @sp+,er2-er3 71 mov.w r1,@(LEXR-LER3:16,sp) /* copy EXR */ 74 mov.w @(LEXR-LER1:16,sp),r1 /* restore EXR */ [all …]
|
/linux-4.4.14/arch/powerpc/perf/ |
D | callchain.c | 32 static int valid_next_sp(unsigned long sp, unsigned long prev_sp) in valid_next_sp() argument 34 if (sp & 0xf) in valid_next_sp() 36 if (!validate_sp(sp, current, STACK_FRAME_OVERHEAD)) in valid_next_sp() 38 if (sp >= prev_sp + STACK_FRAME_MIN_SIZE) in valid_next_sp() 44 if ((sp & ~(THREAD_SIZE - 1)) != (prev_sp & ~(THREAD_SIZE - 1))) in valid_next_sp() 52 unsigned long sp, next_sp; in perf_callchain_kernel() local 59 sp = regs->gpr[1]; in perf_callchain_kernel() 62 if (!validate_sp(sp, current, STACK_FRAME_OVERHEAD)) in perf_callchain_kernel() 66 fp = (unsigned long *) sp; in perf_callchain_kernel() 69 if (next_sp == sp + STACK_INT_FRAME_SIZE && in perf_callchain_kernel() [all …]
|
/linux-4.4.14/arch/m68k/kernel/ |
D | entry.S | 56 lea %sp@(24),%sp 61 pea %sp@(SWITCH_STACK_SIZE) 63 lea %sp@(28),%sp 69 lea %sp@(24),%sp 87 movel %sp,%sp@- | stack frame pointer argument 89 addql #4,%sp 95 movel %sp,%sp@- | stack frame pointer argument 97 addql #4,%sp 104 movel %d1,%sp@- 106 addql #4,%sp [all …]
|
/linux-4.4.14/arch/m68k/coldfire/ |
D | entry.S | 75 movel %sp,%d2 /* get thread_info pointer */ 79 movel %sp,%a1@(TASK_THREAD+THREAD_ESP0) 85 movel %d0,%sp@(PT_OFF_D0) /* save the return value */ 89 movel %d2,PT_OFF_D0(%sp) /* on syscall entry */ 90 subql #4,%sp 94 addql #4,%sp 97 movel %d0,%sp@(PT_OFF_D0) /* save the return value */ 98 subql #4,%sp /* dummy return address */ 104 addql #4,%sp 108 btst #5,%sp@(PT_OFF_SR) /* check if returning to kernel */ [all …]
|
/linux-4.4.14/arch/blackfin/mach-bf561/ |
D | atomic.S | 105 [--sp] = rets; 106 [--sp] = ( r7:5 ); 107 [--sp] = r0; 108 [--sp] = p1; 109 [--sp] = p0; 135 p0 = [sp++]; 136 p1 = [sp++]; 137 r0 = [sp++]; 138 ( r7:5 ) = [sp++]; 139 rets = [sp++]; [all …]
|
D | secondary.S | 100 sp.l = lo(INITIAL_STACK); 101 sp.h = hi(INITIAL_STACK); 102 fp = sp; 103 usp = sp; 135 sp.l = lo(INITIAL_STACK); 136 sp.h = hi(INITIAL_STACK); 137 fp = sp; 138 usp = sp; 160 [--sp] = reti; 173 sp = [p0]; define [all …]
|
/linux-4.4.14/arch/m68k/68360/ |
D | entry.S | 36 movel #-ENOSYS,%sp@(PT_OFF_D0) 40 movel #-ENOSYS,%sp@(PT_OFF_D0) /* needed for strace*/ 41 subql #4,%sp 45 addql #4,%sp 46 movel %sp@(PT_OFF_ORIG_D0),%d1 54 1: movel %d0,%sp@(PT_OFF_D0) /* save the return value */ 55 subql #4,%sp /* dummy return address */ 61 addql #4,%sp 68 pea %sp@ 70 addql #4,%sp [all …]
|
/linux-4.4.14/arch/powerpc/oprofile/ |
D | backtrace.c | 28 static unsigned int user_getsp32(unsigned int sp, int is_first) in user_getsp32() argument 31 void __user *p = compat_ptr(sp); in user_getsp32() 55 static unsigned long user_getsp64(unsigned long sp, int is_first) in user_getsp64() argument 59 if (!access_ok(VERIFY_READ, (void __user *)sp, sizeof(stack_frame))) in user_getsp64() 62 if (__copy_from_user_inatomic(stack_frame, (void __user *)sp, in user_getsp64() 73 static unsigned long kernel_getsp(unsigned long sp, int is_first) in kernel_getsp() argument 75 unsigned long *stack_frame = (unsigned long *)sp; in kernel_getsp() 77 if (!validate_sp(sp, current, STACK_FRAME_OVERHEAD)) in kernel_getsp() 94 unsigned long sp = regs->gpr[1]; in op_powerpc_backtrace() local 102 sp = kernel_getsp(sp, first_frame); in op_powerpc_backtrace() [all …]
|
/linux-4.4.14/arch/avr32/kernel/ |
D | syscall-stubs.S | 20 mov r10, sp 26 mov r12, sp 33 st.w --sp, ARG6 35 sub sp, -4 42 st.w --sp, ARG6 44 sub sp, -4 51 st.w --sp, ARG6 53 sub sp, -4 60 st.w --sp, ARG6 62 sub sp, -4 [all …]
|
D | entry-avr32b.S | 151 sub sp, 4 152 stmts --sp, r0-lr 155 mov r11, sp 196 stmts --sp, r0-lr 204 stm --sp, r0-r1 229 stdsp sp[REG_R12], r12 239 ldmts sp++, r0-lr 240 sub sp, -4 /* r12_orig */ 290 mov r12, sp 318 2: sub r10, sp, -(FRAME_SIZE_FULL - REG_LR) [all …]
|
D | process.c | 118 static void show_trace_log_lvl(struct task_struct *tsk, unsigned long *sp, in show_trace_log_lvl() argument 157 static void show_trace_log_lvl(struct task_struct *tsk, unsigned long *sp, in show_trace_log_lvl() argument 164 while (!kstack_end(sp)) { in show_trace_log_lvl() 165 addr = *sp++; in show_trace_log_lvl() 179 void show_stack_log_lvl(struct task_struct *tsk, unsigned long sp, in show_stack_log_lvl() argument 184 if (sp == 0) { in show_stack_log_lvl() 186 sp = tsk->thread.cpu_context.ksp; in show_stack_log_lvl() 188 sp = (unsigned long)&tinfo; in show_stack_log_lvl() 195 if (valid_stack_ptr(tinfo, sp)) { in show_stack_log_lvl() 196 dump_mem("Stack: ", log_lvl, sp, in show_stack_log_lvl() [all …]
|
/linux-4.4.14/arch/arm64/kernel/ |
D | entry.S | 45 ldp x0, x1, [sp] 46 ldp x2, x3, [sp, #S_X2] 47 ldp x4, x5, [sp, #S_X4] 48 ldp x6, x7, [sp, #S_X6] 69 sub sp, sp, #S_FRAME_SIZE 73 stp x0, x1, [sp, #16 * 0] 74 stp x2, x3, [sp, #16 * 1] 75 stp x4, x5, [sp, #16 * 2] 76 stp x6, x7, [sp, #16 * 3] 77 stp x8, x9, [sp, #16 * 4] [all …]
|
D | sleep.S | 65 stp x29, lr, [sp, #-96]! 66 stp x19, x20, [sp,#16] 67 stp x21, x22, [sp,#32] 68 stp x23, x24, [sp,#48] 69 stp x25, x26, [sp,#64] 70 stp x27, x28, [sp,#80] 76 mov x2, sp 77 sub sp, sp, #CPU_SUSPEND_SZ // allocate cpu_suspend_ctx 78 mov x0, sp 117 add sp, sp, #CPU_SUSPEND_SZ // rewind stack pointer [all …]
|
D | entry-ftrace.S | 49 stp x29, x30, [sp, #-16]! 50 mov x29, sp 54 ldp x29, x30, [sp], #16 183 sub sp, sp, #64 184 stp x0, x1, [sp] 185 stp x2, x3, [sp, #16] 186 stp x4, x5, [sp, #32] 187 stp x6, x7, [sp, #48] 192 ldp x0, x1, [sp] 193 ldp x2, x3, [sp, #16] [all …]
|
D | process.c | 170 u64 lr, sp; in __show_regs() local 174 sp = regs->compat_sp; in __show_regs() 178 sp = regs->sp; in __show_regs() 187 printk("sp : %016llx\n", sp); in __show_regs() 271 childregs->sp = stack_start; in copy_thread() 287 p->thread.cpu_context.sp = (unsigned long)childregs; in copy_thread() 345 frame.sp = thread_saved_sp(p); in get_wchan() 349 if (frame.sp < stack_page || in get_wchan() 350 frame.sp >= stack_page + THREAD_SIZE || in get_wchan() 359 unsigned long arch_align_stack(unsigned long sp) in arch_align_stack() argument [all …]
|
D | signal.c | 109 __get_user_error(regs->sp, &sf->uc.uc_mcontext.sp, err); in restore_sigframe() 140 if (regs->sp & 15) in sys_rt_sigreturn() 143 frame = (struct rt_sigframe __user *)regs->sp; in sys_rt_sigreturn() 160 regs->pc, regs->sp); in sys_rt_sigreturn() 179 __put_user_error(regs->sp, &sf->uc.uc_mcontext.sp, err); in setup_sigframe() 215 unsigned long sp, sp_top; in get_sigframe() local 218 sp = sp_top = sigsp(regs->sp, ksig); in get_sigframe() 220 sp = (sp - sizeof(struct rt_sigframe)) & ~15; in get_sigframe() 221 frame = (struct rt_sigframe __user *)sp; in get_sigframe() 226 if (!access_ok(VERIFY_WRITE, frame, sp_top - sp)) in get_sigframe() [all …]
|
/linux-4.4.14/arch/x86/kvm/ |
D | mmu_audit.c | 37 static void __mmu_spte_walk(struct kvm_vcpu *vcpu, struct kvm_mmu_page *sp, in __mmu_spte_walk() argument 43 u64 *ent = sp->spt; in __mmu_spte_walk() 60 struct kvm_mmu_page *sp; in mmu_spte_walk() local 68 sp = page_header(root); in mmu_spte_walk() 69 __mmu_spte_walk(vcpu, sp, fn, PT64_ROOT_LEVEL); in mmu_spte_walk() 78 sp = page_header(root); in mmu_spte_walk() 79 __mmu_spte_walk(vcpu, sp, fn, 2); in mmu_spte_walk() 86 typedef void (*sp_handler) (struct kvm *kvm, struct kvm_mmu_page *sp); 90 struct kvm_mmu_page *sp; in walk_all_active_sps() local 92 list_for_each_entry(sp, &kvm->arch.active_mmu_pages, link) in walk_all_active_sps() [all …]
|
D | mmu.c | 371 struct kvm_mmu_page *sp = page_header(__pa(sptep)); in count_spte_clear() local 378 sp->clear_spte_count++; in count_spte_clear() 455 struct kvm_mmu_page *sp = page_header(__pa(sptep)); in __get_spte_lockless() local 460 count = sp->clear_spte_count; in __get_spte_lockless() 470 count != sp->clear_spte_count)) in __get_spte_lockless() 754 static gfn_t kvm_mmu_page_get_gfn(struct kvm_mmu_page *sp, int index) in kvm_mmu_page_get_gfn() argument 756 if (!sp->role.direct) in kvm_mmu_page_get_gfn() 757 return sp->gfns[index]; in kvm_mmu_page_get_gfn() 759 return sp->gfn + (index << ((sp->role.level - 1) * PT64_LEVEL_BITS)); in kvm_mmu_page_get_gfn() 762 static void kvm_mmu_page_set_gfn(struct kvm_mmu_page *sp, int index, gfn_t gfn) in kvm_mmu_page_set_gfn() argument [all …]
|
D | mmutrace.h | 17 #define KVM_MMU_PAGE_ASSIGN(sp) \ argument 18 __entry->mmu_valid_gen = sp->mmu_valid_gen; \ 19 __entry->gfn = sp->gfn; \ 20 __entry->role = sp->role.word; \ 21 __entry->root_count = sp->root_count; \ 22 __entry->unsync = sp->unsync; 149 TP_PROTO(struct kvm_mmu_page *sp, bool created), 150 TP_ARGS(sp, created), 158 KVM_MMU_PAGE_ASSIGN(sp) 168 TP_PROTO(struct kvm_mmu_page *sp), [all …]
|
D | paging_tmpl.h | 164 struct kvm_mmu_page *sp, u64 *spte, in FNAME() 454 FNAME(prefetch_gpte)(struct kvm_vcpu *vcpu, struct kvm_mmu_page *sp, in FNAME() 461 if (FNAME(prefetch_invalid_gpte)(vcpu, sp, spte, gpte)) in FNAME() 467 pte_access = sp->role.access & FNAME(gpte_access)(vcpu, gpte); in FNAME() 484 static void FNAME(update_pte)(struct kvm_vcpu *vcpu, struct kvm_mmu_page *sp, in FNAME() 489 FNAME(prefetch_gpte)(vcpu, sp, spte, gpte, false); in FNAME() 518 struct kvm_mmu_page *sp; in FNAME() local 523 sp = page_header(__pa(sptep)); in FNAME() 525 if (sp->role.level > PT_PAGE_TABLE_LEVEL) in FNAME() 528 if (sp->role.direct) in FNAME() [all …]
|
/linux-4.4.14/net/rxrpc/ |
D | ar-input.c | 45 struct rxrpc_skb_priv *sp; in rxrpc_queue_rcv_skb() local 54 sp = rxrpc_skb(skb); in rxrpc_queue_rcv_skb() 55 ASSERTCMP(sp->call, ==, call); in rxrpc_queue_rcv_skb() 63 sp->call = NULL; in rxrpc_queue_rcv_skb() 121 sp->call = NULL; in rxrpc_queue_rcv_skb() 137 struct rxrpc_skb_priv *sp; in rxrpc_fast_process_data() local 143 sp = rxrpc_skb(skb); in rxrpc_fast_process_data() 144 ASSERTCMP(sp->call, ==, NULL); in rxrpc_fast_process_data() 205 sp->call = call; in rxrpc_fast_process_data() 207 terminal = ((sp->hdr.flags & RXRPC_LAST_PACKET) && in rxrpc_fast_process_data() [all …]
|
D | ar-recvmsg.c | 49 struct rxrpc_skb_priv *sp; in rxrpc_recvmsg() local 112 sp = rxrpc_skb(skb); in rxrpc_recvmsg() 113 call = sp->call; in rxrpc_recvmsg() 116 _debug("next pkt %s", rxrpc_pkts[sp->hdr.type]); in rxrpc_recvmsg() 161 ntohl(sp->hdr.seq), skb->len, sp->offset); in rxrpc_recvmsg() 172 ASSERTCMP(ntohl(sp->hdr.seq), >=, call->rx_data_recv); in rxrpc_recvmsg() 173 ASSERTCMP(ntohl(sp->hdr.seq), <=, call->rx_data_recv + 1); in rxrpc_recvmsg() 174 call->rx_data_recv = ntohl(sp->hdr.seq); in rxrpc_recvmsg() 176 ASSERTCMP(ntohl(sp->hdr.seq), >, call->rx_data_eaten); in rxrpc_recvmsg() 178 offset = sp->offset; in rxrpc_recvmsg() [all …]
|
D | ar-skbuff.c | 55 struct rxrpc_skb_priv *sp) in rxrpc_hard_ACK_data() argument 62 _debug("hard ACK #%u", ntohl(sp->hdr.seq)); in rxrpc_hard_ACK_data() 70 seq = ntohl(sp->hdr.seq); in rxrpc_hard_ACK_data() 82 if (sp->hdr.flags & RXRPC_LAST_PACKET) { in rxrpc_hard_ACK_data() 92 __rxrpc_propose_ACK(call, RXRPC_ACK_IDLE, sp->hdr.serial, in rxrpc_hard_ACK_data() 107 struct rxrpc_skb_priv *sp = rxrpc_skb(skb); in rxrpc_packet_destructor() local 108 struct rxrpc_call *call = sp->call; in rxrpc_packet_destructor() 114 if (sp->hdr.type == RXRPC_PACKET_TYPE_DATA) in rxrpc_packet_destructor() 115 rxrpc_hard_ACK_data(call, sp); in rxrpc_packet_destructor() 117 sp->call = NULL; in rxrpc_packet_destructor()
|
D | ar-ack.c | 217 struct rxrpc_skb_priv *sp; in rxrpc_resend() local 244 sp = rxrpc_skb(txb); in rxrpc_resend() 246 if (sp->need_resend) { in rxrpc_resend() 247 sp->need_resend = false; in rxrpc_resend() 250 sp->hdr.serial = in rxrpc_resend() 254 hdr->serial = sp->hdr.serial; in rxrpc_resend() 257 ntohl(sp->hdr.serial), ntohl(sp->hdr.seq)); in rxrpc_resend() 260 sp->resend_at = jiffies + 3; in rxrpc_resend() 262 sp->resend_at = in rxrpc_resend() 267 if (time_after_eq(jiffies + 1, sp->resend_at)) { in rxrpc_resend() [all …]
|
D | ar-output.c | 453 struct rxrpc_skb_priv *sp = rxrpc_skb(skb); in rxrpc_queue_packet() local 484 ntohl(sp->hdr.serial), ntohl(sp->hdr.seq)); in rxrpc_queue_packet() 486 sp->need_resend = false; in rxrpc_queue_packet() 487 sp->resend_at = jiffies + rxrpc_resend_timeout; in rxrpc_queue_packet() 490 call->resend_timer.expires = sp->resend_at; in rxrpc_queue_packet() 508 sp->need_resend = true; in rxrpc_queue_packet() 524 struct rxrpc_skb_priv *sp; in rxrpc_send_data() local 593 sp = rxrpc_skb(skb); in rxrpc_send_data() 594 sp->remain = chunk; in rxrpc_send_data() 595 if (sp->remain > skb_tailroom(skb)) in rxrpc_send_data() [all …]
|
/linux-4.4.14/mm/ |
D | slob.c | 107 static inline int slob_page_free(struct page *sp) in slob_page_free() argument 109 return PageSlobFree(sp); in slob_page_free() 112 static void set_slob_page_free(struct page *sp, struct list_head *list) in set_slob_page_free() argument 114 list_add(&sp->lru, list); in set_slob_page_free() 115 __SetPageSlobFree(sp); in set_slob_page_free() 118 static inline void clear_slob_page_free(struct page *sp) in clear_slob_page_free() argument 120 list_del(&sp->lru); in clear_slob_page_free() 121 __ClearPageSlobFree(sp); in clear_slob_page_free() 217 static void *slob_page_alloc(struct page *sp, size_t size, int align) in slob_page_alloc() argument 222 for (prev = NULL, cur = sp->freelist; ; prev = cur, cur = slob_next(cur)) { in slob_page_alloc() [all …]
|
/linux-4.4.14/drivers/net/ethernet/neterion/ |
D | s2io.c | 124 static inline int is_s2io_card_up(const struct s2io_nic *sp) in is_s2io_card_up() argument 126 return test_bit(__S2IO_STATE_CARD_UP, &sp->state); in is_s2io_card_up() 349 static void do_s2io_copy_mac_addr(struct s2io_nic *sp, int offset, u64 mac_addr) in do_s2io_copy_mac_addr() argument 351 sp->def_mac_addr[offset].mac_addr[5] = (u8) (mac_addr); in do_s2io_copy_mac_addr() 352 sp->def_mac_addr[offset].mac_addr[4] = (u8) (mac_addr >> 8); in do_s2io_copy_mac_addr() 353 sp->def_mac_addr[offset].mac_addr[3] = (u8) (mac_addr >> 16); in do_s2io_copy_mac_addr() 354 sp->def_mac_addr[offset].mac_addr[2] = (u8) (mac_addr >> 24); in do_s2io_copy_mac_addr() 355 sp->def_mac_addr[offset].mac_addr[1] = (u8) (mac_addr >> 32); in do_s2io_copy_mac_addr() 356 sp->def_mac_addr[offset].mac_addr[0] = (u8) (mac_addr >> 40); in do_s2io_copy_mac_addr() 506 static inline void s2io_stop_all_tx_queue(struct s2io_nic *sp) in s2io_stop_all_tx_queue() argument [all …]
|
/linux-4.4.14/arch/cris/arch-v32/mm/ |
D | mmu.S | 17 subq 12, $sp 18 move $erp, [$sp] 19 subq 4, $sp 20 move $srp, [$sp] 21 subq 4, $sp 22 move $ccs, [$sp] 23 subq 4, $sp 24 move $spc, [$sp] 25 subq 4, $sp 26 move $mof, [$sp] [all …]
|
/linux-4.4.14/arch/sparc/kernel/ |
D | head_64.S | 169 stx %l1, [%sp + 2047 + 128 + 0x00] ! service, "peer" 171 stx %l3, [%sp + 2047 + 128 + 0x08] ! num_args, 1 172 stx %l3, [%sp + 2047 + 128 + 0x10] ! num_rets, 1 173 stx %l2, [%sp + 2047 + 128 + 0x18] ! arg1, 0 174 stx %g0, [%sp + 2047 + 128 + 0x20] ! ret1 176 add %sp, (2047 + 128), %o0 ! argument array 178 ldx [%sp + 2047 + 128 + 0x20], %l4 ! prom root node 193 stx %l1, [%sp + 2047 + 128 + 0x00] ! service, "getprop" 195 stx %l3, [%sp + 2047 + 128 + 0x08] ! num_args, 4 197 stx %l3, [%sp + 2047 + 128 + 0x10] ! num_rets, 1 [all …]
|
D | kstack.h | 10 static inline bool kstack_valid(struct thread_info *tp, unsigned long sp) in kstack_valid() argument 15 if (sp & (16UL - 1)) in kstack_valid() 18 if (sp >= (base + sizeof(struct thread_info)) && in kstack_valid() 19 sp <= (base + THREAD_SIZE - sizeof(struct sparc_stackf))) in kstack_valid() 24 if (sp >= base && in kstack_valid() 25 sp <= (base + THREAD_SIZE - sizeof(struct sparc_stackf))) in kstack_valid() 28 if (sp >= base && in kstack_valid() 29 sp <= (base + THREAD_SIZE - sizeof(struct sparc_stackf))) in kstack_valid() 66 void *orig_sp, *sp = hardirq_stack[smp_processor_id()]; in set_hardirq_stack() local 69 if (orig_sp < sp || in set_hardirq_stack() [all …]
|
D | syscalls.S | 31 add %sp, PTREGS_OFF, %o0 34 add %sp, PTREGS_OFF, %o0 37 add %sp, PTREGS_OFF, %o1 46 add %sp, PTREGS_OFF, %o0 52 add %sp, PTREGS_OFF, %o0 58 add %sp, PTREGS_OFF, %o0 69 add %sp, PTREGS_OFF, %o0 109 add %sp, PTREGS_OFF, %o2 117 ldx [%sp + PTREGS_OFF + PT_V9_I0], %o0 120 ldx [%sp + PTREGS_OFF + PT_V9_G1], %l1 [all …]
|
D | trampoline_64.S | 118 sub %g1, STACKFRAME_SZ + STACK_BIAS + 256, %sp 145 stx %g2, [%sp + 2047 + 128 + 0x00] 147 stx %g2, [%sp + 2047 + 128 + 0x08] 149 stx %g2, [%sp + 2047 + 128 + 0x10] 152 stx %g2, [%sp + 2047 + 128 + 0x18] 155 stx %g2, [%sp + 2047 + 128 + 0x20] 161 stx %g2, [%sp + 2047 + 128 + 0x28] ! VADDR 163 stx %g2, [%sp + 2047 + 128 + 0x30] ! TTE 167 stx %g2, [%sp + 2047 + 128 + 0x38] 173 add %sp, (2047 + 128), %o0 [all …]
|
D | trampoline_32.S | 64 sethi %hi(THREAD_SIZE - STACKFRAME_SZ), %sp 65 or %sp, %lo(THREAD_SIZE - STACKFRAME_SZ), %sp 66 add %g6, %sp, %sp 125 sethi %hi(THREAD_SIZE - STACKFRAME_SZ), %sp 126 or %sp, %lo(THREAD_SIZE - STACKFRAME_SZ), %sp 127 add %g6, %sp, %sp 181 sethi %hi(THREAD_SIZE - STACKFRAME_SZ), %sp 182 or %sp, %lo(THREAD_SIZE - STACKFRAME_SZ), %sp 183 add %g6, %sp, %sp
|
D | entry.S | 36 #define _SV save %sp, -STACKFRAME_SZ, %sp 187 add %sp, STACKFRAME_SZ, %o2 ! struct pt_regs *regs 201 add %sp, STACKFRAME_SZ, %o0 ! pt_regs 235 add %sp, STACKFRAME_SZ, %o1 ! pt_regs ptr 252 add %sp, STACKFRAME_SZ, %o0 353 add %sp, STACKFRAME_SZ, %o0 407 add %sp, STACKFRAME_SZ, %o1 ! pt_regs 445 add %sp, STACKFRAME_SZ, %o0 465 add %sp, STACKFRAME_SZ, %o0 488 add %sp, STACKFRAME_SZ, %o0 [all …]
|
D | rtrap_64.S | 47 add %sp, PTREGS_OFF, %o0 56 ldx [%sp + PTREGS_OFF + PT_V9_TSTATE], %l1 66 rtrap_nmi: ldx [%sp + PTREGS_OFF + PT_V9_TSTATE], %l1 85 ldx [%sp + PTREGS_OFF + PT_V9_TSTATE], %l1 155 rt_continue: ldx [%sp + PTREGS_OFF + PT_V9_G1], %g1 156 ldx [%sp + PTREGS_OFF + PT_V9_G2], %g2 158 ldx [%sp + PTREGS_OFF + PT_V9_G3], %g3 159 ldx [%sp + PTREGS_OFF + PT_V9_G4], %g4 160 ldx [%sp + PTREGS_OFF + PT_V9_G5], %g5 167 ldx [%sp + PTREGS_OFF + PT_V9_G6], %g6 [all …]
|
D | rtrap_32.S | 74 ld [%sp + STACKFRAME_SZ + PT_PSR], %t_psr 79 add %sp, STACKFRAME_SZ, %o0 ! pt_regs ptr 100 add %sp, STACKFRAME_SZ, %o0 109 LOAD_PT_INS(sp) 139 LOAD_PT_PRIV(sp, t_psr, t_pc, t_npc) 147 add %sp, STACKFRAME_SZ, %o0 150 LOAD_PT_YREG(sp, g1) 151 LOAD_PT_GLOBALS(sp) 160 ld [%sp + STACKFRAME_SZ + PT_PC], %o1 161 ld [%sp + STACKFRAME_SZ + PT_NPC], %o2 [all …]
|
D | etrap_64.S | 40 sub %sp, STACKFRAME_SZ+TRACEREG_SZ-STACK_BIAS, %g2 86 etrap_save: save %g2, -STACK_BIAS, %sp 125 stx %g1, [%sp + PTREGS_OFF + PT_V9_G1] 126 stx %g2, [%sp + PTREGS_OFF + PT_V9_G2] 128 stx %g3, [%sp + PTREGS_OFF + PT_V9_G3] 130 stx %g4, [%sp + PTREGS_OFF + PT_V9_G4] 131 stx %g5, [%sp + PTREGS_OFF + PT_V9_G5] 132 stx %g6, [%sp + PTREGS_OFF + PT_V9_G6] 133 stx %g7, [%sp + PTREGS_OFF + PT_V9_G7] 139 stx %i0, [%sp + PTREGS_OFF + PT_V9_I0] [all …]
|
D | process_64.c | 406 unsigned long *sp; in thread_saved_pc() local 407 sp = (unsigned long *)(ti->ksp + STACK_BIAS); in thread_saved_pc() 408 if (((unsigned long)sp & (sizeof(long) - 1)) == 0UL && in thread_saved_pc() 409 sp[14]) { in thread_saved_pc() 411 fp = (unsigned long *)(sp[14] + STACK_BIAS); in thread_saved_pc() 512 unsigned long sp; in synchronize_user_stack() local 514 sp = t->rwbuf_stkptrs[window]; in synchronize_user_stack() 516 if (test_thread_64bit_stack(sp)) in synchronize_user_stack() 517 sp += STACK_BIAS; in synchronize_user_stack() 521 if (!copy_to_user((char __user *)sp, rwin, winsize)) { in synchronize_user_stack() [all …]
|
D | wof.S | 115 STORE_WINDOW(sp) ! stash the window 167 andcc %sp, 0x7, %g0 175 STORE_WINDOW(sp) 214 st %sp, [%curptr + TI_RWIN_SPTRS] 238 sethi %hi(STACK_OFFSET), %sp 239 or %sp, %lo(STACK_OFFSET), %sp 240 add %curptr, %sp, %sp 245 STORE_PT_ALL(sp, t_psr, t_pc, t_npc, g1) 249 sub %sp, %g6, %g6 ! curptr 330 cmp %glob_tmp, %sp [all …]
|
/linux-4.4.14/arch/cris/arch-v32/kernel/ |
D | entry.S | 49 and.d $sp, $r0 69 and.d $sp, $r0 108 addoq +PT_ccs, $sp, $acr 244 addoq +PT_ccs, $sp, $acr 256 addq 4, $sp ; Skip orig_r10. 257 movem [$sp+], $r13 ; Registers R0-R13. 258 move.d [$sp+], $acr 259 move [$sp], $srs 260 addq 4, $sp 261 move [$sp+], $mof [all …]
|
/linux-4.4.14/arch/m68k/fpsp040/ |
D | skeleton.S | 67 fsave -(%sp) 69 frestore (%sp)+ 74 movel %sp,%sp@- | stack frame pointer argument 76 addql #4,%sp 104 fsave -(%sp) 105 cmpib #VER_40,(%sp) |test version number 107 fmovel %fpsr,-(%sp) 110 btstb #snan_bit,2(%sp) |test for snan 112 addl #4,%sp 113 frestore (%sp)+ [all …]
|
D | ssinh.S | 90 moveml %a1/%d1,-(%sp) 95 moveml (%sp)+,%a1/%d1 99 fmovex %fp0,-(%sp) 104 faddx (%sp)+,%fp0 105 movel %d0,-(%sp) 108 fmuls (%sp)+,%fp0 |last fp inst - possible exceptions set 117 movel #0,-(%sp) 118 movel #0x80000000,-(%sp) 122 movel %d0,-(%sp) | ...EXTENDED FMT 125 movel %d1,-(%sp) [all …]
|
/linux-4.4.14/drivers/scsi/qla2xxx/ |
D | qla_iocb.c | 23 qla2x00_get_cmd_direction(srb_t *sp) in qla2x00_get_cmd_direction() argument 26 struct scsi_cmnd *cmd = GET_CMD_SP(sp); in qla2x00_get_cmd_direction() 27 struct scsi_qla_host *vha = sp->fcport->vha; in qla2x00_get_cmd_direction() 147 qla24xx_configure_prot_mode(srb_t *sp, uint16_t *fw_prot_opts) in qla24xx_configure_prot_mode() argument 149 struct scsi_cmnd *cmd = GET_CMD_SP(sp); in qla24xx_configure_prot_mode() 192 void qla2x00_build_scsi_iocbs_32(srb_t *sp, cmd_entry_t *cmd_pkt, in qla2x00_build_scsi_iocbs_32() argument 202 cmd = GET_CMD_SP(sp); in qla2x00_build_scsi_iocbs_32() 214 vha = sp->fcport->vha; in qla2x00_build_scsi_iocbs_32() 215 cmd_pkt->control_flags |= cpu_to_le16(qla2x00_get_cmd_direction(sp)); in qla2x00_build_scsi_iocbs_32() 250 void qla2x00_build_scsi_iocbs_64(srb_t *sp, cmd_entry_t *cmd_pkt, in qla2x00_build_scsi_iocbs_64() argument [all …]
|
D | qla_inline.h | 132 qla2x00_clean_dsd_pool(struct qla_hw_data *ha, srb_t *sp, in qla2x00_clean_dsd_pool() argument 138 if (sp) in qla2x00_clean_dsd_pool() 139 ctx = (struct crc_context *)GET_CMD_CTX_SP(sp); in qla2x00_clean_dsd_pool() 178 qla2x00_hba_err_chk_enabled(srb_t *sp) in qla2x00_hba_err_chk_enabled() argument 187 switch (scsi_get_prot_op(GET_CMD_SP(sp))) { in qla2x00_hba_err_chk_enabled() 221 srb_t *sp = NULL; in qla2x00_get_sp() local 229 sp = mempool_alloc(ha->srb_mempool, flag); in qla2x00_get_sp() 230 if (!sp) in qla2x00_get_sp() 233 memset(sp, 0, sizeof(*sp)); in qla2x00_get_sp() 234 sp->fcport = fcport; in qla2x00_get_sp() [all …]
|
D | qla_isr.c | 1182 srb_t *sp; in qla2x00_process_completed_request() local 1197 sp = req->outstanding_cmds[index]; in qla2x00_process_completed_request() 1198 if (sp) { in qla2x00_process_completed_request() 1203 sp->done(ha, sp, DID_OK << 16); in qla2x00_process_completed_request() 1220 srb_t *sp = NULL; in qla2x00_get_sp_from_handle() local 1233 sp = req->outstanding_cmds[index]; in qla2x00_get_sp_from_handle() 1234 if (!sp) { in qla2x00_get_sp_from_handle() 1237 return sp; in qla2x00_get_sp_from_handle() 1239 if (sp->handle != index) { in qla2x00_get_sp_from_handle() 1241 "SRB handle (%x) mismatch %x.\n", sp->handle, index); in qla2x00_get_sp_from_handle() [all …]
|
D | qla_mr.c | 1790 srb_t *sp = (srb_t *)data; in qla2x00_fxdisc_iocb_timeout() local 1791 struct srb_iocb *lio = &sp->u.iocb_cmd; in qla2x00_fxdisc_iocb_timeout() 1799 srb_t *sp = (srb_t *)ptr; in qla2x00_fxdisc_sp_done() local 1800 struct srb_iocb *lio = &sp->u.iocb_cmd; in qla2x00_fxdisc_sp_done() 1808 srb_t *sp; in qlafx00_fx_disc() local 1817 sp = qla2x00_get_sp(vha, fcport, GFP_KERNEL); in qlafx00_fx_disc() 1818 if (!sp) in qlafx00_fx_disc() 1821 fdisc = &sp->u.iocb_cmd; in qlafx00_fx_disc() 1923 sp->type = SRB_FXIOCB_DCMD; in qlafx00_fx_disc() 1924 sp->name = "fxdisc"; in qlafx00_fx_disc() [all …]
|
/linux-4.4.14/arch/tile/kernel/ |
D | stack.c | 44 static int in_kernel_stack(struct KBacktraceIterator *kbt, unsigned long sp) in in_kernel_stack() argument 48 return sp >= PAGE_OFFSET && sp < (unsigned long)high_memory; in in_kernel_stack() 49 return sp >= kstack_base && sp < kstack_base + THREAD_SIZE; in in_kernel_stack() 83 unsigned long sp = kbt->it.sp; in valid_fault_handler() local 86 if (sp % sizeof(long) != 0) in valid_fault_handler() 88 if (!in_kernel_stack(kbt, sp)) in valid_fault_handler() 90 if (!in_kernel_stack(kbt, sp + C_ABI_SAVE_AREA_SIZE + PTREGS_SIZE-1)) in valid_fault_handler() 92 p = (struct pt_regs *)(sp + C_ABI_SAVE_AREA_SIZE); in valid_fault_handler() 104 in_kernel_stack(kbt, p->sp) && in valid_fault_handler() 105 p->sp >= sp) { in valid_fault_handler() [all …]
|
D | intvec_64.S | 33 #define PTREGS_PTR(reg, ptreg) addli reg, sp, C_ABI_SAVE_AREA_SIZE + (ptreg) 48 .macro push_reg reg, ptr=sp, delta=-8 55 .macro pop_reg reg, ptr=sp, delta=8 62 .macro pop_reg_zero reg, zreg, ptr=sp, delta=8 157 andi r2, sp, 7 174 ori sp, sp, 1 252 andi sp, sp, ~1 320 blbs sp, 2f 341 move r0, sp 368 move r0, sp [all …]
|
D | intvec_32.S | 31 #define PTREGS_PTR(reg, ptreg) addli reg, sp, C_ABI_SAVE_AREA_SIZE + (ptreg) 35 .macro push_reg reg, ptr=sp, delta=-4 42 .macro pop_reg reg, ptr=sp, delta=4 49 .macro pop_reg_zero reg, zreg, ptr=sp, delta=4 126 bz sp, 2f 147 move r0, sp 170 move r0, sp 226 sw r0, sp 227 addli sp, r0, PTREGS_OFFSET_REG(52) - PTREGS_OFFSET_SP 230 sw sp, r52 [all …]
|
D | regs_32.S | 56 move r10, sp 57 sw sp, lr 58 addi sp, sp, -FRAME_SIZE 61 addi r11, sp, 4 62 addi r12, sp, 8 74 sw r3, sp 87 move sp, r13 93 addi sp, sp, FRAME_SIZE 114 r48, r49, r50, r51, r52, tp, sp
|
D | regs_64.S | 56 move r10, sp 57 st sp, lr 60 addli r11, sp, -FRAME_SIZE + 8 61 addli sp, sp, -FRAME_SIZE 69 addi r12, sp, 16 74 st r3, sp 87 move sp, r13 93 addli sp, sp, FRAME_SIZE 114 r48, r49, r50, r51, r52, tp, sp
|
D | compat_signal.c | 132 (struct compat_rt_sigframe __user *) compat_ptr(regs->sp); in compat_sys_rt_sigreturn() 162 unsigned long sp; in compat_get_sigframe() local 165 sp = (unsigned long)compat_ptr(regs->sp); in compat_get_sigframe() 172 if (on_sig_stack(sp) && !likely(on_sig_stack(sp - frame_size))) in compat_get_sigframe() 177 if (sas_ss_flags(sp) == 0) in compat_get_sigframe() 178 sp = current->sas_ss_sp + current->sas_ss_size; in compat_get_sigframe() 181 sp -= frame_size; in compat_get_sigframe() 186 sp &= -16UL; in compat_get_sigframe() 187 return (void __user *) sp; in compat_get_sigframe() 215 err |= __compat_save_altstack(&frame->uc.uc_stack, regs->sp); in compat_setup_rt_frame() [all …]
|
D | mcount_64.S | 26 addli sp, sp, -REGSIZE 28 st sp, lr 29 addli r29, sp, - (12 * REGSIZE) 32 addli sp, sp, - (13 * REGSIZE) 33 st r29, sp 50 addli r29, sp, (2 * REGSIZE) 61 { ld r10, r29; addli lr, sp, (13 * REGSIZE) } 62 { ld lr, lr; addli sp, sp, (14 * REGSIZE) } 190 addi r0, sp, 12 * REGSIZE
|
D | signal.c | 81 (struct rt_sigframe __user *)(regs->sp); in SYSCALL_DEFINE0() 120 unsigned long sp; in get_sigframe() local 123 sp = regs->sp; in get_sigframe() 130 if (on_sig_stack(sp) && !likely(on_sig_stack(sp - frame_size))) in get_sigframe() 135 if (sas_ss_flags(sp) == 0) in get_sigframe() 136 sp = current->sas_ss_sp + current->sas_ss_size; in get_sigframe() 139 sp -= frame_size; in get_sigframe() 144 sp &= -16UL; in get_sigframe() 145 return (void __user *) sp; in get_sigframe() 173 err |= __save_altstack(&frame->uc.uc_stack, regs->sp); in setup_rt_frame() [all …]
|
/linux-4.4.14/arch/tile/mm/ |
D | migrate_32.S | 80 move r_save_sp, sp 81 sw sp, lr 82 addi sp, sp, -FRAME_SIZE 84 addi r_tmp, sp, FRAME_SP 87 addi r_tmp, sp, FRAME_R30 91 addi r_tmp, sp, FRAME_R31 95 addi r_tmp, sp, FRAME_R32 99 addi r_tmp, sp, FRAME_R33 103 addi r_tmp, sp, FRAME_R34 166 addli lr, sp, FRAME_SIZE [all …]
|
D | migrate_64.S | 77 move r_save_sp, sp 78 st sp, lr 79 addi sp, sp, -FRAME_SIZE 81 addi r_tmp, sp, FRAME_SP 84 addi r_tmp, sp, FRAME_R30 88 addi r_tmp, sp, FRAME_R31 92 addi r_tmp, sp, FRAME_R32 149 addli lr, sp, FRAME_SIZE 152 addli r_tmp, sp, FRAME_R30 156 addli r_tmp, sp, FRAME_R31 [all …]
|
/linux-4.4.14/arch/arc/include/asm/ |
D | entry-compact.h | 69 brlo sp, VMALLOC_START, 88f 88 st sp, [sp, PT_sp - SZ_PT_REGS] 98 st sp, [r9, PT_sp - SZ_PT_REGS] 101 mov sp, r9 170 sub sp, sp, 4 173 st.a r0, [sp, -8] /* orig_r0 needed for syscall (skip ECR slot) */ 174 sub sp, sp, 4 /* skip pt_regs->sp, already saved above */ 192 st r9, [sp, PT_event] /* EV_Trap expects r9 to have ECR */ 221 ld sp, [sp] /* restore original sp */ variable 244 sub sp, sp, 4 [all …]
|
D | entry-arcv2.h | 17 ; Now manually save: r12, sp, fp, gp, r25 variable 21 ; Saving pt_regs->sp correctly requires some extra work due to the way 27 mov.nz r9, sp 42 sub sp, sp, 4 46 sub sp, sp, 12 ; BTA/ECR/orig_r0 placeholder per pt_regs 55 add sp, sp, 12 ; skip BTA/ECR/orig_r0 placeholderss 61 add sp, sp, 4 115 ; Now do what ISR prologue does (manually save r12, sp, fp, gp, r25) 139 add sp, sp, 8 ; orig_r0/ECR don't need restoring
|
D | ptrace.h | 35 unsigned long sp; /* User/Kernel depending on where we came from */ member 85 unsigned long sp; /* user/kernel sp depending on where we came from */ member 116 ({ unsigned int sp; \ 118 sp = (regs)->sp;\ 120 sp = -1; \ 121 sp; \ 138 register unsigned long sp asm ("sp"); \ 139 unsigned long pg_start = (sp & ~(THREAD_SIZE - 1)); \
|
D | entry.h | 37 st.a \reg, [sp, -4] 46 ld.ab \reg, [sp, 4] 90 ld r25, [sp, 12] 140 mov r12, sp ; save SP as ref to pt_regs 165 sub sp, sp, 4 177 add sp, sp, 4 /* skip usual r25 placeholder */ 201 st.as r12, [sp, PT_user_r25] 209 add sp, sp, SZ_CALLEE_REGS
|
/linux-4.4.14/drivers/usb/mon/ |
D | mon_stat.c | 29 struct snap *sp; in mon_stat_open() local 31 sp = kmalloc(sizeof(struct snap), GFP_KERNEL); in mon_stat_open() 32 if (sp == NULL) in mon_stat_open() 37 sp->slen = snprintf(sp->str, STAT_BUF_SIZE, in mon_stat_open() 41 file->private_data = sp; in mon_stat_open() 48 struct snap *sp = file->private_data; in mon_stat_read() local 50 return simple_read_from_buffer(buf, nbytes, ppos, sp->str, sp->slen); in mon_stat_read() 55 struct snap *sp = file->private_data; in mon_stat_release() local 57 kfree(sp); in mon_stat_release()
|
/linux-4.4.14/arch/parisc/kernel/ |
D | real2.S | 65 STREG %rp, -RP_OFFSET(%sp) /* save RP */ 68 ldo 2*REG_SZ(%sp), %sp /* room for a couple more saves */ 69 STREG %r27, -1*REG_SZ(%sp) 70 STREG %r29, -2*REG_SZ(%sp) 72 STREG %sp, -REG_SZ(%arg0) /* save SP on real-mode stack */ 73 copy %arg0, %sp /* adopt the real-mode SP */ 85 tophys_r1 %sp 111 tovirt_r1 %sp 112 LDREG -REG_SZ(%sp), %sp /* restore SP */ 114 LDREG -1*REG_SZ(%sp), %r27 [all …]
|
D | hpmc.S | 125 load32 PA(hpmc_stack),sp 127 ldo 128(sp),sp /* leave room for arguments */ 160 stw %r4,-52(sp) 175 stw %r0,-52(sp) /* reserved */ 201 stw %r4,-52(sp) 203 stw %r4,-56(sp) 205 stw %r4,-60(sp) 222 stw %r4, -52(sp) 223 stw %r0, -56(sp) /* HV */ 224 stw %r0, -60(sp) /* HV */ [all …]
|
D | head.S | 130 ldo THREAD_SZ_ALGN(%r6),%sp 170 tophys_r1 %sp 173 ldd TI_TASK-THREAD_SZ_ALGN(%sp), %r10 209 ldd TI_TASK-THREAD_SZ_ALGN(%sp), %r10 212 tovirt_r1 %sp 318 load32 PA(smp_init_current_idle_task),%sp 319 LDREG 0(%sp),%sp /* load task address */ 320 tophys_r1 %sp 321 LDREG TASK_THREAD_INFO(%sp),%sp 322 mtctl %sp,%cr30 /* store in cr30 */ [all …]
|
D | unwind.c | 214 struct pt_regs *regs = (struct pt_regs *)(info->sp - frame_size - PT_SZ_ALGN); in unwind_special() 235 unsigned long sp; in unwind_frame_regs() local 251 info->prev_sp = info->sp - CALLEE_SAVE_FRAME_SIZE; in unwind_frame_regs() 273 sp = info->sp & ~63; in unwind_frame_regs() 277 info->prev_sp = sp - 64; in unwind_frame_regs() 282 sp = info->prev_sp; in unwind_frame_regs() 337 info->prev_sp = info->sp - frame_size; in unwind_frame_regs() 357 info->sp = regs->gr[30]; in unwind_frame_init() 363 t ? (int)t->pid : -1, info->sp, info->ip); in unwind_frame_init() 394 next_frame->sp = next_frame->prev_sp; in unwind_once() [all …]
|
/linux-4.4.14/arch/unicore32/kernel/ |
D | entry.S | 57 ldw sp, [\rd+], #\offset @ load sp_user 66 ldm.w (r0 - r15), [sp]+ 67 ldm.b (r16 - pc), [sp]+ @ load r0 - pc, asr 71 ldw r1, [sp+], #\offset + S_PSR @ get calling asr 72 ldw lr, [sp+], #\offset + S_PC @ get pc 75 add sp, sp, #\offset + S_R1 @ r0 is syscall return value 76 ldm.w (r1 - r15), [sp]+ @ get calling r1 - r15 77 ldur (r16 - lr), [sp]+ @ get calling r16 - lr 79 ldm.w (r0 - r15), [sp]+ @ get calling r0 - r15 80 ldur (r16 - lr), [sp]+ @ get calling r16 - lr [all …]
|
D | sleep.S | 30 mov r6, sp 31 stm.w (r3 - r6), [sp-] 37 mov r0, sp 38 stw.w lr, [sp+], #-4 42 ldw.w pc, [sp]+, #4 53 stm.w (r16 - r27, lr), [sp-] @ save registers on stack 54 stm.w (r4 - r15), [sp-] @ save registers on stack 57 sfm.w (f0 - f7 ), [sp-] 58 sfm.w (f8 - f15), [sp-] 59 sfm.w (f16 - f23), [sp-] [all …]
|
/linux-4.4.14/arch/arm/kernel/ |
D | entry-common.S | 51 str r0, [sp, #S_R0+S_OFF]! @ returned r0 62 str r0, [sp, #S_R0 + S_OFF]! @ save returned r0 76 mov r0, sp @ 'regs' 82 ldmia sp, {r0 - r6} @ have to reload r0 - r6 148 sub sp, sp, #S_FRAME_SIZE 149 stmia sp, {r0 - r12} @ Calling r0 - r12 150 ARM( add r8, sp, #S_PC ) 151 ARM( stmdb r8, {sp, lr}^ ) @ Calling sp, lr 152 THUMB( mov r8, sp ) 153 THUMB( store_user_sp_lr r8, r10, S_SP ) @ calling sp, lr [all …]
|
D | entry-header.S | 83 moveq r12, sp 93 sub sp, #S_FRAME_SIZE-S_IP 94 stmdb sp!, {r0-r11} 113 str r8, [sp, #S_IP] 114 add r8, sp, #S_SP 131 @ read original r12, sp, lr, pc and xPSR 132 add r12, sp, #S_IP 136 @ the sp to be restored is aligned or not set bit 9 of the saved xPSR 149 ldmia sp, {r1, r3-r5} 156 @ restore process sp [all …]
|
D | entry-armv.S | 44 mov r0, sp 95 sub sp, sp, #S_FRAME_SIZE 96 ARM( stmib sp, {r1 - lr} ) 97 THUMB( stmia sp, {r0 - r12} ) 98 THUMB( str sp, [sp, #S_SP] ) 99 THUMB( str lr, [sp, #S_LR] ) 132 add r0, sp, #S_PC @ here for interlock avoidance 134 str r4, [sp] @ save preserved r0 138 mov r0, sp 155 sub sp, sp, #(S_FRAME_SIZE + 8 + \stack_hole - 4) [all …]
|
D | sleep.S | 61 stmfd sp!, {r4 - r11, lr} 68 mov r5, sp @ current virtual SP 69 add r4, r4, #12 @ Space for pgd, virt sp, phys resume fn 70 sub sp, sp, r4 @ allocate CPU state on stack 72 stmfd sp!, {r0, r1} @ save suspend func arg and pointer 82 add r0, sp, #8 @ pointer to save block 85 ldmfd sp!, {r0, pc} @ call suspend fn 90 ldmia sp!, {r1 - r3} @ pop phys pgd, virt SP, phys resume fn 93 mov sp, r2 94 ldmfd sp!, {r4 - r11, pc} [all …]
|
D | entry-ftrace.S | 118 ldr r1, [sp, #16] @ instrumented routine (func) 135 stmdb sp!, {r0-r3, lr} 144 ldmia sp!, {r0-r3, pc} 149 stmdb sp!, {lr} 151 ldmia sp!, {pc} 184 stmdb sp!, {r0-r3, lr} 189 ldr \reg, [sp, #20] 193 ldmia sp!, {r0-r3, ip, lr} 201 ldmia sp!, {lr} 232 stmdb sp!, {r0-r3} [all …]
|
/linux-4.4.14/arch/avr32/include/asm/ |
D | asm.h | 22 st.w --sp, r7 25 ld.w r7, sp++ 39 mov \reg, sp 48 st.w --sp, \tmp 52 ld.w \tmp, sp++ 62 st.w --sp, \tmp 66 ld.w \tmp, sp++ 73 stmts --sp, r0,r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,sp,lr 74 st.w --sp, lr 77 st.w --sp, \tmp [all …]
|
/linux-4.4.14/arch/m68k/lib/ |
D | modsi3.S | 83 #define sp REG (sp) macro 89 movel sp@(8), d1 /* d1 = divisor */ 90 movel sp@(4), d0 /* d0 = dividend */ 91 movel d1, sp@- 92 movel d0, sp@- 94 addql IMM (8), sp 95 movel sp@(8), d1 /* d1 = divisor */ 97 movel d1, sp@- 98 movel d0, sp@- 100 addql IMM (8), sp [all …]
|
D | umodsi3.S | 83 #define sp REG (sp) macro 89 movel sp@(8), d1 /* d1 = divisor */ 90 movel sp@(4), d0 /* d0 = dividend */ 91 movel d1, sp@- 92 movel d0, sp@- 94 addql IMM (8), sp 95 movel sp@(8), d1 /* d1 = divisor */ 97 movel d1, sp@- 98 movel d0, sp@- 100 addql IMM (8), sp [all …]
|
D | divsi3.S | 83 #define sp REG (sp) macro 89 movel d2, sp@- 92 movel sp@(12), d1 /* d1 = divisor */ 100 L1: movel sp@(8), d0 /* d0 = dividend */ 109 L2: movel d1, sp@- 110 movel d0, sp@- 112 addql IMM (8), sp 118 L3: movel sp@+, d2
|
D | mulsi3.S | 83 #define sp REG (sp) macro 89 movew sp@(4), d0 /* x0 -> d0 */ 90 muluw sp@(10), d0 /* x0*y1 */ 91 movew sp@(6), d1 /* x1 -> d1 */ 92 muluw sp@(8), d1 /* x1*y0 */ 100 movew sp@(6), d1 /* x1 -> d1 */ 101 muluw sp@(10), d1 /* x1*y1 */
|
D | udivsi3.S | 83 #define sp REG (sp) macro 90 movel d2, sp@- 91 movel sp@(12), d1 /* d1 = divisor */ 92 movel sp@(8), d0 /* d0 = dividend */ 102 movew sp@(10), d2 /* get low dividend + high rest */ 127 cmpl sp@(8), d1 /* compare the sum with the dividend */ 131 L6: movel sp@+, d2 139 moveml d2-d4,sp@ 153 moveml sp@,d2-d4 | restore data registers
|
/linux-4.4.14/drivers/net/ethernet/samsung/sxgbe/ |
D | sxgbe_mdio.c | 45 static void sxgbe_mdio_ctrl_data(struct sxgbe_priv_data *sp, u32 cmd, in sxgbe_mdio_ctrl_data() argument 51 ((sp->clk_csr & 0x7) << 19) | SXGBE_MII_BUSY; in sxgbe_mdio_ctrl_data() 52 writel(reg, sp->ioaddr + sp->hw->mii.data); in sxgbe_mdio_ctrl_data() 55 static void sxgbe_mdio_c45(struct sxgbe_priv_data *sp, u32 cmd, int phyaddr, in sxgbe_mdio_c45() argument 63 writel(reg, sp->ioaddr + sp->hw->mii.addr); in sxgbe_mdio_c45() 65 sxgbe_mdio_ctrl_data(sp, cmd, phydata); in sxgbe_mdio_c45() 68 static void sxgbe_mdio_c22(struct sxgbe_priv_data *sp, u32 cmd, int phyaddr, in sxgbe_mdio_c22() argument 73 writel(1 << phyaddr, sp->ioaddr + SXGBE_MDIO_CLAUSE22_PORT_REG); in sxgbe_mdio_c22() 77 writel(reg, sp->ioaddr + sp->hw->mii.addr); in sxgbe_mdio_c22() 79 sxgbe_mdio_ctrl_data(sp, cmd, phydata); in sxgbe_mdio_c22() [all …]
|
/linux-4.4.14/arch/arm/mach-omap2/ |
D | omap-smc.S | 28 stmfd sp!, {r2-r12, lr} 33 ldmfd sp!, {r2-r12, pc} 45 stmfd sp!, {r4-r12, lr} 56 ldmfd sp!, {r4-r12, pc} 68 stmfd sp!, {r4-r11, lr} 73 ldmfd sp!, {r4-r11, pc} 77 stmfd sp!, {r1-r12, lr} 81 ldmfd sp!, {r1-r12, pc} 85 stmfd sp!, {r2-r12, lr} 89 ldmfd sp!, {r2-r12, pc} [all …]
|
/linux-4.4.14/arch/m68k/math-emu/ |
D | fp_entry.S | 57 move.l (FPS_PC2,%sp),(FPS_PC,%sp) 68 btst #7,(FPS_SR,%sp) 84 addq.l #4,%sp 86 addq.l #4,%sp 87 move.l %a0,-(%sp) 91 add.w #12,%sp 98 move.l (FPS_PC,%sp),-(%sp) 102 add.w #12,%sp 125 move.l (PT_OFF_D0+8,%sp),%d0 130 move.l (PT_OFF_D1+8,%sp),%d0 [all …]
|
/linux-4.4.14/arch/nios2/boot/compressed/ |
D | head.S | 71 movia sp, 0x10000 72 add sp, sp, r1 74 addi sp, sp, -16 75 stw r4, 0(sp) 76 stw r5, 4(sp) 77 stw r6, 8(sp) 78 stw r7, 12(sp) 82 ldw r4, 0(sp) 83 ldw r5, 4(sp) 84 ldw r6, 8(sp) [all …]
|
/linux-4.4.14/arch/openrisc/kernel/ |
D | process.c | 150 unsigned long sp = (unsigned long)task_stack_page(p) + THREAD_SIZE; in copy_thread() local 153 top_of_kernel_stack = sp; in copy_thread() 158 sp -= STACK_FRAME_OVERHEAD; /* redzone */ in copy_thread() 159 sp -= sizeof(struct pt_regs); in copy_thread() 160 userregs = (struct pt_regs *) sp; in copy_thread() 163 sp -= STACK_FRAME_OVERHEAD; /* redzone */ in copy_thread() 164 sp -= sizeof(struct pt_regs); in copy_thread() 165 kregs = (struct pt_regs *)sp; in copy_thread() 175 userregs->sp = usp; in copy_thread() 185 kregs->sp = top_of_kernel_stack; in copy_thread() [all …]
|
D | signal.c | 75 struct rt_sigframe *frame = (struct rt_sigframe __user *)regs->sp; in _sys_rt_sigreturn() 125 static inline unsigned long align_sigframe(unsigned long sp) in align_sigframe() argument 127 return sp & ~3UL; in align_sigframe() 138 unsigned long sp = regs->sp; in get_sigframe() local 141 sp -= STACK_FRAME_OVERHEAD; in get_sigframe() 142 sp = sigsp(sp, ksig); in get_sigframe() 143 sp = align_sigframe(sp - frame_size); in get_sigframe() 145 return (void __user *)sp; in get_sigframe() 174 err |= __save_altstack(&frame->uc.uc_stack, regs->sp); in setup_rt_frame() 204 regs->sp = (unsigned long)frame; in setup_rt_frame()
|
/linux-4.4.14/arch/mips/oprofile/ |
D | backtrace.c | 13 unsigned long sp; member 79 if (old_frame->pc == 0 || old_frame->sp == 0 || old_frame->ra == 0) in unwind_user_frame() 110 new_frame.ra = old_frame->sp + ra_offset; in unwind_user_frame() 116 new_frame.sp = old_frame->sp + stack_size; in unwind_user_frame() 117 if (get_mem(new_frame.sp, &(new_frame.sp))) in unwind_user_frame() 121 if (new_frame.sp > old_frame->sp) in unwind_user_frame() 140 if (frame->sp < low_addr || frame->sp > high_addr) in do_user_backtrace() 156 &(frame->sp), in do_kernel_backtrace() 166 struct stackframe frame = { .sp = regs->regs[29], in op_mips_backtrace() 170 const unsigned long low_addr = ALIGN(frame.sp, THREAD_SIZE); in op_mips_backtrace()
|
/linux-4.4.14/arch/sh/kernel/ |
D | dumpstack.c | 86 unsigned long *sp, const struct stacktrace_ops *ops, in stack_reader_dump() argument 93 ((unsigned long)sp & (~(THREAD_SIZE - 1))); in stack_reader_dump() 95 while (!kstack_end(sp)) { in stack_reader_dump() 96 unsigned long addr = *sp++; in stack_reader_dump() 127 void show_trace(struct task_struct *tsk, unsigned long *sp, in show_trace() argument 135 unwind_stack(tsk, regs, sp, &print_trace_ops, ""); in show_trace() 145 void show_stack(struct task_struct *tsk, unsigned long *sp) in show_stack() argument 152 sp = (unsigned long *)current_stack_pointer; in show_stack() 154 sp = (unsigned long *)tsk->thread.sp; in show_stack() 156 stack = (unsigned long)sp; in show_stack() [all …]
|
/linux-4.4.14/net/ipv6/ |
D | xfrm6_input.c | 66 if (!skb->sp || atomic_read(&skb->sp->refcnt) != 1) { in xfrm6_input_addr() 67 struct sec_path *sp; in xfrm6_input_addr() local 69 sp = secpath_dup(skb->sp); in xfrm6_input_addr() 70 if (!sp) { in xfrm6_input_addr() 74 if (skb->sp) in xfrm6_input_addr() 75 secpath_put(skb->sp); in xfrm6_input_addr() 76 skb->sp = sp; in xfrm6_input_addr() 79 if (1 + skb->sp->len == XFRM_MAX_DEPTH) { in xfrm6_input_addr() 131 skb->sp->xvec[skb->sp->len++] = x; in xfrm6_input_addr()
|
/linux-4.4.14/net/xfrm/ |
D | xfrm_input.c | 96 void __secpath_destroy(struct sec_path *sp) in __secpath_destroy() argument 99 for (i = 0; i < sp->len; i++) in __secpath_destroy() 100 xfrm_state_put(sp->xvec[i]); in __secpath_destroy() 101 kmem_cache_free(secpath_cachep, sp); in __secpath_destroy() 107 struct sec_path *sp; in secpath_dup() local 109 sp = kmem_cache_alloc(secpath_cachep, GFP_ATOMIC); in secpath_dup() 110 if (!sp) in secpath_dup() 113 sp->len = 0; in secpath_dup() 117 memcpy(sp, src, sizeof(*sp)); in secpath_dup() 118 for (i = 0; i < sp->len; i++) in secpath_dup() [all …]
|
/linux-4.4.14/drivers/crypto/vmx/ |
D | aesp8-ppc.pl | 56 $sp="r1"; 90 $PUSH r11,$LRSAVE($sp) 349 $STU $sp,-$FRAME($sp) 351 $PUSH r10,$FRAME+$LRSAVE($sp) 387 addi $sp,$sp,$FRAME 652 $STU $sp,-`($FRAME+21*16+6*$SIZE_T)`($sp) 655 stvx v20,r10,$sp # ABI says so 657 stvx v21,r11,$sp 659 stvx v22,r10,$sp 661 stvx v23,r11,$sp [all …]
|
/linux-4.4.14/arch/mips/lib/ |
D | uncached.c | 40 register long sp __asm__("$sp"); in run_uncached() 45 if (sp >= (long)CKSEG0 && sp < (long)CKSEG2) in run_uncached() 46 usp = CKSEG1ADDR(sp); in run_uncached() 48 else if ((long long)sp >= (long long)PHYS_TO_XKPHYS(0, 0) && in run_uncached() 49 (long long)sp < (long long)PHYS_TO_XKPHYS(8, 0)) in run_uncached() 51 XKPHYS_TO_PHYS((long long)sp)); in run_uncached() 55 usp = sp; in run_uncached()
|
/linux-4.4.14/arch/mn10300/kernel/ |
D | smp-low.S | 32 add -4,sp 33 mov d0,(sp) 44 mov (sp),d0 45 add 4,sp 59 mov (sp),d0 60 add 4,sp 63 add -4,sp 83 mov (sp),d0 84 add 4,sp 92 mov a0,sp
|
/linux-4.4.14/arch/cris/kernel/ |
D | stacktrace.c | 6 void walk_stackframe(unsigned long sp, in walk_stackframe() argument 10 unsigned long high = ALIGN(sp, THREAD_SIZE); in walk_stackframe() 12 for (; sp <= high - 4; sp += 4) { in walk_stackframe() 13 unsigned long addr = *(unsigned long *) sp; in walk_stackframe() 52 unsigned long sp; in save_stack_trace_tsk() local 59 sp = tsk->thread.ksp; in save_stack_trace_tsk() 62 sp = rdsp(); in save_stack_trace_tsk() 65 walk_stackframe(sp, save_trace, &data); in save_stack_trace_tsk()
|
D | traps.c | 102 show_stack(struct task_struct *task, unsigned long *sp) in show_stack() argument 112 if (sp == NULL) { in show_stack() 114 sp = (unsigned long*)task->thread.ksp; in show_stack() 116 sp = (unsigned long*)rdsp(); in show_stack() 119 stack = sp; in show_stack() 137 show_trace(sp); in show_stack() 146 unsigned long *sp = (unsigned long *)rdusp(); 149 pr_err("Stack dump [0x%08lx]:\n", (unsigned long)sp); 151 pr_err("sp + %d: 0x%08lx\n", i*4, sp[i]);
|
D | irq.c | 47 unsigned long sp; in do_IRQ() local 54 sp = rdsp(); in do_IRQ() 55 if (unlikely((sp & (PAGE_SIZE - 1)) < (PAGE_SIZE/8))) { in do_IRQ() 56 printk("do_IRQ: stack overflow: %lX\n", sp); in do_IRQ() 57 show_stack(NULL, (unsigned long *)sp); in do_IRQ()
|
/linux-4.4.14/arch/sparc/mm/ |
D | fault_32.c | 431 static void check_stack_aligned(unsigned long sp) in check_stack_aligned() argument 433 if (sp & 0x7UL) in check_stack_aligned() 439 unsigned long sp; in window_overflow_fault() local 441 sp = current_thread_info()->rwbuf_stkptrs[0]; in window_overflow_fault() 442 if (((sp + 0x38) & PAGE_MASK) != (sp & PAGE_MASK)) in window_overflow_fault() 443 force_user_fault(sp + 0x38, 1); in window_overflow_fault() 444 force_user_fault(sp, 1); in window_overflow_fault() 446 check_stack_aligned(sp); in window_overflow_fault() 449 void window_underflow_fault(unsigned long sp) in window_underflow_fault() argument 451 if (((sp + 0x38) & PAGE_MASK) != (sp & PAGE_MASK)) in window_underflow_fault() [all …]
|
/linux-4.4.14/fs/nfs/ |
D | nfs4state.c | 174 struct nfs4_state_owner *sp; in nfs4_get_renew_cred_server_locked() local 180 sp = rb_entry(pos, struct nfs4_state_owner, so_server_node); in nfs4_get_renew_cred_server_locked() 181 if (list_empty(&sp->so_states)) in nfs4_get_renew_cred_server_locked() 183 cred = get_rpccred(sp->so_cred); in nfs4_get_renew_cred_server_locked() 390 struct nfs4_state_owner *sp; in nfs4_find_state_owner_locked() local 394 sp = rb_entry(parent, struct nfs4_state_owner, so_server_node); in nfs4_find_state_owner_locked() 396 if (cred < sp->so_cred) in nfs4_find_state_owner_locked() 398 else if (cred > sp->so_cred) in nfs4_find_state_owner_locked() 401 if (!list_empty(&sp->so_lru)) in nfs4_find_state_owner_locked() 402 list_del_init(&sp->so_lru); in nfs4_find_state_owner_locked() [all …]
|
/linux-4.4.14/arch/xtensa/include/asm/ |
D | stacktrace.h | 17 unsigned long sp; member 22 unsigned long *sp; in stack_pointer() local 25 __asm__ __volatile__ ("mov %0, a1\n" : "=a"(sp)); in stack_pointer() 27 sp = (unsigned long *)task->thread.sp; in stack_pointer() 29 return sp; in stack_pointer() 32 void walk_stackframe(unsigned long *sp,
|
/linux-4.4.14/arch/powerpc/kernel/ |
D | stacktrace.c | 22 static void save_context_stack(struct stack_trace *trace, unsigned long sp, in save_context_stack() argument 26 unsigned long *stack = (unsigned long *) sp; in save_context_stack() 29 if (!validate_sp(sp, tsk, STACK_FRAME_OVERHEAD)) in save_context_stack() 45 sp = newsp; in save_context_stack() 51 unsigned long sp; in save_stack_trace() local 53 sp = current_stack_pointer(); in save_stack_trace() 55 save_context_stack(trace, sp, current, 1); in save_stack_trace()
|
D | process.c | 1110 static void setup_ksp_vsid(struct task_struct *p, unsigned long sp) in setup_ksp_vsid() argument 1117 sp_vsid = get_kernel_vsid(sp, MMU_SEGSIZE_1T) in setup_ksp_vsid() 1120 sp_vsid = get_kernel_vsid(sp, MMU_SEGSIZE_256M) in setup_ksp_vsid() 1141 unsigned long sp = (unsigned long)task_stack_page(p) + THREAD_SIZE; in copy_thread() local 1144 sp -= sizeof(struct pt_regs); in copy_thread() 1145 childregs = (struct pt_regs *) sp; in copy_thread() 1150 childregs->gpr[1] = sp + sizeof(struct pt_regs); in copy_thread() 1182 sp -= STACK_FRAME_OVERHEAD; in copy_thread() 1192 ((unsigned long *)sp)[0] = 0; in copy_thread() 1193 sp -= sizeof(struct pt_regs); in copy_thread() [all …]
|
D | setup_64.c | 628 unsigned long sp; in exc_lvl_early_init() local 631 sp = memblock_alloc(THREAD_SIZE, THREAD_SIZE); in exc_lvl_early_init() 632 critirq_ctx[i] = (struct thread_info *)__va(sp); in exc_lvl_early_init() 633 paca[i].crit_kstack = __va(sp + THREAD_SIZE); in exc_lvl_early_init() 635 sp = memblock_alloc(THREAD_SIZE, THREAD_SIZE); in exc_lvl_early_init() 636 dbgirq_ctx[i] = (struct thread_info *)__va(sp); in exc_lvl_early_init() 637 paca[i].dbg_kstack = __va(sp + THREAD_SIZE); in exc_lvl_early_init() 639 sp = memblock_alloc(THREAD_SIZE, THREAD_SIZE); in exc_lvl_early_init() 640 mcheckirq_ctx[i] = (struct thread_info *)__va(sp); in exc_lvl_early_init() 641 paca[i].mc_kstack = __va(sp + THREAD_SIZE); in exc_lvl_early_init() [all …]
|
/linux-4.4.14/arch/arc/kernel/ |
D | ctx_sw_asm.S | 28 st.a blink, [sp, -4] 29 st.a fp, [sp, -4] 34 st.as sp, [r0, KSP_WORD_OFF] 38 st sp, [r24] 54 ld.as sp, [r1, (TASK_THREAD + THREAD_KSP)/4] 58 ld.ab fp, [sp, 4] 59 ld.ab blink, [sp, 4]
|
/linux-4.4.14/drivers/net/fddi/skfp/ |
D | pmf.c | 708 struct smt_p_1048 *sp ; in smt_add_para() local 709 sp = (struct smt_p_1048 *) to ; in smt_add_para() 710 sp->p1048_flag = smc->mib.fddiSMTPeerWrapFlag ; in smt_add_para() 711 sp->p1048_cf_state = smc->mib.fddiSMTCF_State ; in smt_add_para() 717 struct smt_p_208c *sp ; in smt_add_para() local 718 sp = (struct smt_p_208c *) to ; in smt_add_para() 719 sp->p208c_flag = in smt_add_para() 721 sp->p208c_dupcondition = in smt_add_para() 724 sp->p208c_fddilong = in smt_add_para() 726 sp->p208c_fddiunalong = in smt_add_para() [all …]
|
/linux-4.4.14/drivers/scsi/libfc/ |
D | fc_exch.c | 466 static int fc_seq_send_locked(struct fc_lport *lport, struct fc_seq *sp, in fc_seq_send_locked() argument 475 ep = fc_seq_exch(sp); in fc_seq_send_locked() 494 sp->cnt += DIV_ROUND_UP((fr_len(fp) - sizeof(*fh)), in fc_seq_send_locked() 497 sp->cnt++; in fc_seq_send_locked() 528 static int fc_seq_send(struct fc_lport *lport, struct fc_seq *sp, in fc_seq_send() argument 533 ep = fc_seq_exch(sp); in fc_seq_send() 535 error = fc_seq_send_locked(lport, sp, fp); in fc_seq_send() 551 struct fc_seq *sp; in fc_seq_alloc() local 553 sp = &ep->seq; in fc_seq_alloc() 554 sp->ssb_stat = 0; in fc_seq_alloc() [all …]
|
/linux-4.4.14/fs/dlm/ |
D | config.c | 419 struct dlm_space *sp = NULL; in make_space() local 423 sp = kzalloc(sizeof(struct dlm_space), GFP_NOFS); in make_space() 427 if (!sp || !gps || !nds) in make_space() 430 config_group_init_type_name(&sp->group, name, &space_type); in make_space() 433 sp->group.default_groups = gps; in make_space() 434 sp->group.default_groups[0] = &nds->ns_group; in make_space() 435 sp->group.default_groups[1] = NULL; in make_space() 437 INIT_LIST_HEAD(&sp->members); in make_space() 438 mutex_init(&sp->members_lock); in make_space() 439 sp->members_count = 0; in make_space() [all …]
|
/linux-4.4.14/arch/cris/arch-v32/lib/ |
D | csumcpfruser.S | 34 movem [$sp+],$r8 46 move.d [$sp],$acr 48 subq 4,$sp 53 move.d $r13,[$sp] 54 subq 4,$sp 56 move $srp,[$sp] 60 move [$sp+],$srp 62 move.d [$sp+],$r10
|
/linux-4.4.14/net/sctp/ |
D | probe.c | 139 struct sctp_transport *sp; in jsctp_sf_eat_sack() local 143 sp = asoc->peer.primary_path; in jsctp_sf_eat_sack() 149 (full || sp->cwnd != lcwnd)) { in jsctp_sf_eat_sack() 150 lcwnd = sp->cwnd; in jsctp_sf_eat_sack() 162 list_for_each_entry(sp, &asoc->peer.transport_addr_list, in jsctp_sf_eat_sack() 164 if (sp == asoc->peer.primary_path) in jsctp_sf_eat_sack() 168 &sp->ipaddr, sp->state, sp->cwnd, sp->ssthresh, in jsctp_sf_eat_sack() 169 sp->flight_size, sp->partial_bytes_acked, in jsctp_sf_eat_sack() 170 sp->pathmtu); in jsctp_sf_eat_sack()
|
D | socket.c | 325 struct sctp_sock *sp = sctp_sk(sk); in sctp_do_bind() local 326 struct sctp_endpoint *ep = sp->ep; in sctp_do_bind() 333 af = sctp_sockaddr_af(sp, addr, len); in sctp_do_bind() 346 if (!sp->pf->bind_verify(sp, addr)) in sctp_do_bind() 370 if (sctp_bind_addr_match(bp, addr, sp)) in sctp_do_bind() 394 sp->pf->to_sk_saddr(addr, sk); in sctp_do_bind() 503 struct sctp_sock *sp; in sctp_send_asconf_add_ip() local 520 sp = sctp_sk(sk); in sctp_send_asconf_add_ip() 521 ep = sp->ep; in sctp_send_asconf_add_ip() 624 struct sctp_sock *sp = sctp_sk(sk); in sctp_bindx_rem() local [all …]
|
/linux-4.4.14/net/l2tp/ |
D | l2tp_ppp.c | 592 struct sockaddr_pppol2tp *sp = (struct sockaddr_pppol2tp *) uservaddr; in pppol2tp_connect() local 608 if (sp->sa_protocol != PX_PROTO_OL2TP) in pppol2tp_connect() 629 fd = sp->pppol2tp.fd; in pppol2tp_connect() 630 tunnel_id = sp->pppol2tp.s_tunnel; in pppol2tp_connect() 631 peer_tunnel_id = sp->pppol2tp.d_tunnel; in pppol2tp_connect() 632 session_id = sp->pppol2tp.s_session; in pppol2tp_connect() 633 peer_session_id = sp->pppol2tp.d_session; in pppol2tp_connect() 636 (struct sockaddr_pppol2tpv3 *) sp; in pppol2tp_connect() 645 (struct sockaddr_pppol2tpin6 *) sp; in pppol2tp_connect() 653 (struct sockaddr_pppol2tpv3in6 *) sp; in pppol2tp_connect() [all …]
|
/linux-4.4.14/arch/blackfin/lib/ |
D | ins.S | 16 [--sp] = rets; \ 17 [--sp] = (P5:0); \ 18 sp += -12; \ 20 sp += 12; \ 21 (P5:0) = [sp++]; 30 sp += -12; \ 32 sp += 12; \ 33 2: rets = [sp++];
|
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb3/ |
D | vsc8211.c | 134 int err, sp = -1, dplx = -1, pause = 0; in vsc8211_get_link_status() local 157 sp = SPEED_1000; in vsc8211_get_link_status() 159 sp = SPEED_100; in vsc8211_get_link_status() 161 sp = SPEED_10; in vsc8211_get_link_status() 169 sp = G_ACSR_SPEED(status); in vsc8211_get_link_status() 170 if (sp == 0) in vsc8211_get_link_status() 171 sp = SPEED_10; in vsc8211_get_link_status() 172 else if (sp == 1) in vsc8211_get_link_status() 173 sp = SPEED_100; in vsc8211_get_link_status() 175 sp = SPEED_1000; in vsc8211_get_link_status() [all …]
|
/linux-4.4.14/arch/x86/kernel/ |
D | irq_64.c | 44 if (regs->sp >= curbase + sizeof(struct thread_info) + in stack_overflow_check() 46 regs->sp <= curbase + THREAD_SIZE) in stack_overflow_check() 52 if (regs->sp >= irq_stack_top && regs->sp <= irq_stack_bottom) in stack_overflow_check() 58 if (regs->sp >= estack_top && regs->sp <= estack_bottom) in stack_overflow_check() 62 current->comm, curbase, regs->sp, in stack_overflow_check()
|
D | dumpstack_64.c | 168 stack = (unsigned long *)regs->sp; in dump_trace() 170 stack = (unsigned long *)task->thread.sp; in dump_trace() 250 unsigned long *sp, unsigned long bp, char *log_lvl) in show_stack_log_lvl() argument 268 if (sp == NULL) { in show_stack_log_lvl() 270 sp = (unsigned long *)task->thread.sp; in show_stack_log_lvl() 272 sp = (unsigned long *)&sp; in show_stack_log_lvl() 275 stack = sp; in show_stack_log_lvl() 297 show_trace_log_lvl(task, regs, sp, bp, log_lvl); in show_stack_log_lvl() 303 unsigned long sp; in show_regs() local 305 sp = regs->sp; in show_regs() [all …]
|
D | dumpstack_32.c | 57 stack = (unsigned long *)task->thread.sp; in dump_trace() 95 unsigned long *sp, unsigned long bp, char *log_lvl) in show_stack_log_lvl() argument 100 if (sp == NULL) { in show_stack_log_lvl() 102 sp = (unsigned long *)task->thread.sp; in show_stack_log_lvl() 104 sp = (unsigned long *)&sp; in show_stack_log_lvl() 107 stack = sp; in show_stack_log_lvl() 120 show_trace_log_lvl(task, regs, sp, bp, log_lvl); in show_stack_log_lvl() 142 show_stack_log_lvl(NULL, regs, ®s->sp, 0, KERN_EMERG); in show_regs()
|
D | signal.c | 83 COPY(di); COPY(si); COPY(bp); COPY(sp); COPY(bx); in restore_sigcontext() 139 put_user_ex(regs->sp, &sc->sp); in setup_sigcontext() 161 put_user_ex(regs->sp, &sc->sp_at_signal); in setup_sigcontext() 187 static unsigned long align_sigframe(unsigned long sp) in align_sigframe() argument 194 sp = ((sp + 4) & -16ul) - 4; in align_sigframe() 196 sp = round_down(sp, 16) - 8; in align_sigframe() 198 return sp; in align_sigframe() 207 unsigned long sp = regs->sp; in get_sigframe() local 209 int onsigstack = on_sig_stack(sp); in get_sigframe() 214 sp -= 128; in get_sigframe() [all …]
|
D | process_32.c | 66 return ((unsigned long *)tsk->thread.sp)[3]; in thread_saved_pc() 73 unsigned long sp; in __show_regs() local 77 sp = regs->sp; in __show_regs() 81 sp = kernel_stack_pointer(regs); in __show_regs() 94 regs->si, regs->di, regs->bp, sp); in __show_regs() 132 int copy_thread_tls(unsigned long clone_flags, unsigned long sp, in copy_thread_tls() argument 139 p->thread.sp = (unsigned long) childregs; in copy_thread_tls() 151 childregs->bx = sp; /* function */ in copy_thread_tls() 161 if (sp) in copy_thread_tls() 162 childregs->sp = sp; in copy_thread_tls() [all …]
|
D | time.c | 37 unsigned long *sp = in profile_pc() 44 if (sp[0] >> 22) in profile_pc() 45 return sp[0]; in profile_pc() 46 if (sp[1] >> 22) in profile_pc() 47 return sp[1]; in profile_pc()
|
/linux-4.4.14/arch/cris/arch-v10/kernel/ |
D | entry.S | 58 and.d $sp, $r0 108 and.d $sp, $r0 203 addq 4, $sp ; skip orig_r10, in delayslot 204 movem [$sp+], $r13 ; registers r0-r13 214 move [$sp=$sp+16], $p8; pop the SBFS frame from the sp 215 jmpu [$sp-16] ; return through the irp field in the sbfs frame 218 movem [$sp+], $r13 ; registers r0-r13, in delay slot 222 rbf [$sp+] ; return by popping the CPU status 288 move.d [$sp+PT_r9], $r9 289 move.d [$sp+PT_orig_r10], $r10 ; PT_r10 is already filled with -ENOSYS. [all …]
|
/linux-4.4.14/arch/x86/ia32/ |
D | ia32_signal.c | 92 COPY(di); COPY(si); COPY(bp); COPY(sp); COPY(bx); in ia32_restore_sigcontext() 118 struct sigframe_ia32 __user *frame = (struct sigframe_ia32 __user *)(regs->sp-8); in sys32_sigreturn() 147 frame = (struct rt_sigframe_ia32 __user *)(regs->sp - 4); in sys32_rt_sigreturn() 188 put_user_ex(regs->sp, &sc->sp); in ia32_setup_sigcontext() 198 put_user_ex(regs->sp, &sc->sp_at_signal); in ia32_setup_sigcontext() 219 unsigned long sp; in get_sigframe() local 222 sp = regs->sp; in get_sigframe() 226 sp = sigsp(sp, ksig); in get_sigframe() 231 sp = (unsigned long) ksig->ka.sa.sa_restorer; in get_sigframe() 236 sp = fpu__alloc_mathframe(sp, 1, &fx_aligned, &math_size); in get_sigframe() [all …]
|
/linux-4.4.14/arch/ia64/kernel/ |
D | mca_drv.c | 233 sal_log_section_hdr_t *sp; in mca_make_slidx() local 259 ercd_pos < record_len; ercd_pos += sp->len, sects++) { in mca_make_slidx() 260 sp = (sal_log_section_hdr_t *)((char*)buffer + ercd_pos); in mca_make_slidx() 261 if (!efi_guidcmp(sp->guid, SAL_PROC_DEV_ERR_SECT_GUID)) { in mca_make_slidx() 262 LOG_INDEX_ADD_SECT_PTR(slidx->proc_err, sp); in mca_make_slidx() 263 } else if (!efi_guidcmp(sp->guid, in mca_make_slidx() 266 LOG_INDEX_ADD_SECT_PTR(slidx->mem_dev_err, sp); in mca_make_slidx() 267 } else if (!efi_guidcmp(sp->guid, in mca_make_slidx() 270 LOG_INDEX_ADD_SECT_PTR(slidx->sel_dev_err, sp); in mca_make_slidx() 271 } else if (!efi_guidcmp(sp->guid, in mca_make_slidx() [all …]
|
/linux-4.4.14/security/selinux/ss/ |
D | conditional.c | 31 int sp = -1; in cond_evaluate_expr() local 36 if (sp == (COND_EXPR_MAXDEPTH - 1)) in cond_evaluate_expr() 38 sp++; in cond_evaluate_expr() 39 s[sp] = p->bool_val_to_struct[cur->bool - 1]->state; in cond_evaluate_expr() 42 if (sp < 0) in cond_evaluate_expr() 44 s[sp] = !s[sp]; in cond_evaluate_expr() 47 if (sp < 1) in cond_evaluate_expr() 49 sp--; in cond_evaluate_expr() 50 s[sp] |= s[sp + 1]; in cond_evaluate_expr() 53 if (sp < 1) in cond_evaluate_expr() [all …]
|
/linux-4.4.14/arch/arm/xen/ |
D | hypercall.S | 72 stmdb sp!, {r4} \ 73 ldr r4, [sp, #4] \ 76 ldm sp!, {r4} \ 95 stmdb sp!, {r4} 100 ldr r3, [sp, #8] 108 ldr r4, [sp, #4] 118 ldm sp!, {r4}
|
/linux-4.4.14/arch/m32r/kernel/ |
D | traps.c | 141 void show_stack(struct task_struct *task, unsigned long *sp) in show_stack() argument 151 if(sp==NULL) { in show_stack() 153 sp = (unsigned long *)task->thread.sp; in show_stack() 155 sp=(unsigned long*)&sp; in show_stack() 158 stack = sp; in show_stack() 167 show_trace(task, sp); in show_stack() 174 unsigned long sp; in show_registers() local 179 sp = (unsigned long) (1+regs); in show_registers() 182 sp = regs->spu; in show_registers() 183 printk("SPU: %08lx\n", sp); in show_registers() [all …]
|
/linux-4.4.14/scripts/ |
D | checkstack.pl | 50 $re = qr/^.*stp.*sp,\#-([0-9]{1,8})\]\!/o; 53 $re = qr/.*sub.*sp, sp, #(([0-9]{2}|[3-9])[0-9]{2})/o; 57 $re = qr/^.*sub.*sp.*,([0-9]{1,8})/o; 70 $re = qr/.*(?:linkw %fp,|addaw )#-([0-9]{1,4})(?:,%sp)?$/o; 77 $re = qr/.*daddiu.*sp,sp,-(([0-9]{2}|[3-9])[0-9]{2})/o; 80 $re = qr/.*addiu.*sp,sp,-(([0-9]{2}|[3-9])[0-9]{2})/o; 108 $re = qr/.*save.*%sp, -(([0-9]{2}|[3-9])[0-9]{2}), %sp/o;
|
/linux-4.4.14/arch/metag/kernel/ |
D | stacktrace.c | 83 struct metag_frame *sp = (struct metag_frame *)frame->sp; in unwind_frame() local 85 if (frame->sp & 0x7) in unwind_frame() 88 while (!kstack_end(sp)) { in unwind_frame() 89 unsigned long addr = sp->lr - 4; in unwind_frame() 90 sp--; in unwind_frame() 93 frame->sp = (unsigned long)sp; in unwind_frame() 163 frame.sp = thread_saved_sp(tsk); in save_stack_trace_tsk() 172 frame.sp = current_sp; in save_stack_trace_tsk()
|
/linux-4.4.14/arch/um/kernel/ |
D | process.c | 157 int copy_thread(unsigned long clone_flags, unsigned long sp, in copy_thread() argument 170 if (sp != 0) in copy_thread() 171 REGS_SP(p->thread.regs.regs.gp) = sp; in copy_thread() 178 p->thread.request.u.thread.proc = (int (*)(void *))sp; in copy_thread() 219 int user_context(unsigned long sp) in user_context() argument 223 stack = sp & (PAGE_MASK << CONFIG_KERNEL_STACK_ORDER); in user_context() 358 unsigned long arch_align_stack(unsigned long sp) in arch_align_stack() argument 361 sp -= get_random_int() % 8192; in arch_align_stack() 362 return sp & ~0xf; in arch_align_stack() 368 unsigned long stack_page, sp, ip; in get_wchan() local [all …]
|
D | stacktrace.c | 24 unsigned long *sp, bp, addr; in dump_trace() local 29 sp = get_stack_pointer(tsk, segv_regs); in dump_trace() 32 while (((long) sp & (THREAD_SIZE-1)) != 0) { in dump_trace() 33 addr = *sp; in dump_trace() 36 if ((unsigned long) sp == bp + sizeof(long)) { in dump_trace() 43 sp++; in dump_trace()
|
/linux-4.4.14/arch/arm/lib/ |
D | call_with_stack.S | 31 str sp, [r2, #-4]! 34 mov sp, r2 41 1: ldr lr, [sp] 42 ldr sp, [sp, #4]
|
D | backtrace.S | 31 stmfd sp!, {r4 - r8, lr} @ Save an extra register so we have a location... 41 1: stmfd sp!, {pc} @ calculate offset of PC stored 42 ldr r0, [sp], #4 @ by stmfd for this CPU 70 1003: ldr r2, [sv_pc, #-4] @ if stmfd sp!, {args} exists, 81 ldr r1, [sv_pc, #-4] @ if stmfd sp!, {args} exists, 84 ldreq r0, [frame, #-8] @ get sp 88 1004: ldr r1, [sv_pc, #0] @ if stmfd sp!, {..., fp, ip, lr, pc} 104 no_frame: ldmfd sp!, {r4 - r8, pc} 119 .Ldumpstm: stmfd sp!, {instr, reg, stack, r7, lr} 143 ldmfd sp!, {instr, reg, stack, r7, pc} [all …]
|
/linux-4.4.14/arch/xtensa/kernel/ |
D | process.c | 204 p->thread.sp = (unsigned long)childregs; in copy_thread() 286 unsigned long sp, pc; in get_wchan() local 293 sp = p->thread.sp; in get_wchan() 294 pc = MAKE_PC_FROM_RA(p->thread.ra, p->thread.sp); in get_wchan() 297 if (sp < stack_page + sizeof(struct task_struct) || in get_wchan() 298 sp >= (stack_page + THREAD_SIZE) || in get_wchan() 306 pc = MAKE_PC_FROM_RA(*(unsigned long*)sp - 4, sp); in get_wchan() 307 sp = *(unsigned long *)sp - 3; in get_wchan()
|
D | stacktrace.c | 50 frame.sp = a1; in xtensa_backtrace_user() 83 frame.sp = a1; in xtensa_backtrace_user() 120 frame.sp = a1; in xtensa_backtrace_user() 153 frame.sp = a1; in xtensa_backtrace_kernel() 182 void walk_stackframe(unsigned long *sp, in walk_stackframe() argument 189 a1 = (unsigned long)sp; in walk_stackframe() 197 sp = (unsigned long *)a1; in walk_stackframe() 199 a0 = *(sp - 4); in walk_stackframe() 200 a1 = *(sp - 3); in walk_stackframe() 202 if (a1 <= (unsigned long)sp) in walk_stackframe() [all …]
|
/linux-4.4.14/arch/mn10300/include/asm/ |
D | frame.inc | 34 add -4,sp # next exception frame ptr save area 35 movm [other],(sp) 37 mov a1,(sp) # USP in MOVM[other] dummy slot 38 movm [d2,d3,a2,a3,exreg0,exreg1,exother],(sp) 39 mov sp,fp # FRAME pointer in A3 40 add -12,sp # allow for calls to be made 67 mov fp,sp 83 movm (sp),[d2,d3,a2,a3,exreg0,exreg1,exother] 87 mov (sp),a1 # USP in MOVM[other] dummy slot 90 movm (sp),[other] [all …]
|
/linux-4.4.14/arch/m32r/mm/ |
D | mmu.S | 30 st r0, @-sp 31 st r1, @-sp 32 st r2, @-sp 33 st r3, @-sp 59 and r1, sp 92 and r1, sp 186 ld r3, @sp+ 187 ld r2, @sp+ 188 ld r1, @sp+ 189 ld r0, @sp+ [all …]
|
/linux-4.4.14/arch/powerpc/platforms/maple/ |
D | setup.c | 101 struct device_node *sp; in maple_restart() local 108 sp = of_find_node_by_name(NULL, "service-processor"); in maple_restart() 109 if (!sp) { in maple_restart() 113 maple_nvram_offset = of_get_property(sp, "restart-addr", NULL); in maple_restart() 114 maple_nvram_command = of_get_property(sp, "restart-value", NULL); in maple_restart() 115 of_node_put(sp); in maple_restart() 128 struct device_node *sp; in maple_power_off() local 135 sp = of_find_node_by_name(NULL, "service-processor"); in maple_power_off() 136 if (!sp) { in maple_power_off() 140 maple_nvram_offset = of_get_property(sp, "power-off-addr", NULL); in maple_power_off() [all …]
|
/linux-4.4.14/arch/score/kernel/ |
D | traps.c | 38 void show_stack(struct task_struct *task, unsigned long *sp) in show_stack() argument 43 sp = sp ? sp : (unsigned long *)&sp; in show_stack() 47 while ((long) sp & (PAGE_SIZE - 1)) { in show_stack() 55 if (__get_user(stackdata, sp++)) { in show_stack() 66 static void show_trace(long *sp) in show_trace() argument 71 sp = sp ? sp : (long *) &sp; in show_trace() 75 while ((long) sp & (PAGE_SIZE - 1)) { in show_trace() 76 if (__get_user(addr, sp++)) { in show_trace()
|
/linux-4.4.14/fs/ |
D | binfmt_aout.c | 148 unsigned long __user *sp; in create_aout_tables() local 152 sp = (void __user *)((-(unsigned long)sizeof(char *)) & (unsigned long) p); in create_aout_tables() 155 put_user(0, --sp); in create_aout_tables() 156 put_user(0, --sp); in create_aout_tables() 158 put_user(0, --sp); in create_aout_tables() 159 put_user(1003, --sp); in create_aout_tables() 160 put_user(bprm->loader, --sp); in create_aout_tables() 161 put_user(1002, --sp); in create_aout_tables() 163 put_user(bprm->exec, --sp); in create_aout_tables() 164 put_user(1001, --sp); in create_aout_tables() [all …]
|
/linux-4.4.14/arch/arm/crypto/ |
D | sha256-core.S_shipped | 103 stmdb sp!,{r0,r1,r2,r4-r11,lr} 106 sub sp,sp,#16*4 @ alloca(X[16]) 118 str r1,[sp,#17*4] @ make room for r1 135 str r1,[sp,#17*4] @ make room for r1 143 str r2,[sp,#0*4] 163 ldr r2,[sp,#2*4] @ from future BODY_16_xx 165 ldr r1,[sp,#15*4] @ from future BODY_16_xx 176 str r1,[sp,#17*4] @ make room for r1 193 str r1,[sp,#17*4] @ make room for r1 201 str r2,[sp,#1*4] [all …]
|
/linux-4.4.14/arch/xtensa/mm/ |
D | misc.S | 251 entry sp, 16 275 entry sp, 16 299 entry sp, 16 328 entry sp, 16 343 entry sp, 16 358 entry sp, 16 373 entry sp, 16 388 entry sp, 16 403 entry sp, 16 418 entry sp, 16 [all …]
|
/linux-4.4.14/arch/mips/math-emu/ |
D | ieee754sp.h | 39 #define SPSIGN(sp) (sp.sign) argument 40 #define SPBEXP(sp) (sp.bexp) argument 41 #define SPMANT(sp) (sp.mant) argument
|
/linux-4.4.14/arch/sparc/lib/ |
D | mcount.S | 34 save %sp, -176, %sp 56 save %sp, -176, %sp 82 save %sp, -176, %sp 117 save %sp, -176, %sp
|
/linux-4.4.14/arch/m68k/ifpsp060/ |
D | fskeleton.S | 80 fsave -(%sp) 81 move.w #0x6000,0x2(%sp) 82 frestore (%sp)+ 99 fsave -(%sp) 100 move.w #0x6000,0x2(%sp) 101 frestore (%sp)+ 118 fsave -(%sp) 119 move.w #0x6000,0x2(%sp) 120 frestore (%sp)+ 137 fsave -(%sp) [all …]
|
/linux-4.4.14/arch/unicore32/lib/ |
D | clear_user.S | 24 stm.w (lr), [sp-] 25 stm.w (r1), [sp-] 48 ldm.w (r1), [sp]+ 49 ldm.w (pc), [sp]+ 54 9001: ldm.w (r0), [sp]+ 55 ldm.w (pc), [sp]+
|
/linux-4.4.14/arch/frv/include/asm/ |
D | math-emu.h | 170 move.l (FPS_PC+4,%sp),\dest 174 move.l \src,(FPS_PC+4,%sp) 178 getuser \f,%sp@(FPS_PC+4)@(0),\dest,\label,%sp@(FPS_PC+4) 179 addq.l #\s,%sp@(FPS_PC+4) 233 move.l \arg1,-(%sp) 244 movem.l %d0/%d1/%a0/%a1,-(%sp) 258 lea ((\nr+1)*4,%sp),%sp 260 movem.l (%sp)+,%d0/%d1/%a0/%a1 266 movem.l %d0/%a0,-(%sp) 287 movem.l (%sp)+,%d0/%a0
|