/linux-4.1.27/arch/score/kernel/ |
D | ptrace.c | 129 read_tsk_long(struct task_struct *child, in read_tsk_long() argument 134 copied = access_process_vm(child, addr, res, sizeof(*res), 0); in read_tsk_long() 140 read_tsk_short(struct task_struct *child, in read_tsk_short() argument 145 copied = access_process_vm(child, addr, res, sizeof(*res), 0); in read_tsk_short() 151 write_tsk_short(struct task_struct *child, in write_tsk_short() argument 156 copied = access_process_vm(child, addr, &val, sizeof(val), 1); in write_tsk_short() 162 write_tsk_long(struct task_struct *child, in write_tsk_long() argument 167 copied = access_process_vm(child, addr, &val, sizeof(val), 1); in write_tsk_long() 172 void user_enable_single_step(struct task_struct *child) in user_enable_single_step() argument 179 struct pt_regs *regs = task_pt_regs(child); in user_enable_single_step() [all …]
|
/linux-4.1.27/arch/x86/kernel/ |
D | step.c | 10 unsigned long convert_ip_to_linear(struct task_struct *child, struct pt_regs *regs) in convert_ip_to_linear() argument 33 mutex_lock(&child->mm->context.lock); in convert_ip_to_linear() 34 if (unlikely(!child->mm->context.ldt || in convert_ip_to_linear() 35 seg >= child->mm->context.ldt->size)) in convert_ip_to_linear() 38 desc = &child->mm->context.ldt->entries[seg]; in convert_ip_to_linear() 46 mutex_unlock(&child->mm->context.lock); in convert_ip_to_linear() 52 static int is_setting_trap_flag(struct task_struct *child, struct pt_regs *regs) in is_setting_trap_flag() argument 56 unsigned long addr = convert_ip_to_linear(child, regs); in is_setting_trap_flag() 58 copied = access_process_vm(child, addr, opcode, sizeof(opcode), 0); in is_setting_trap_flag() 106 static int enable_single_step(struct task_struct *child) in enable_single_step() argument [all …]
|
D | ptrace.c | 413 static int putreg(struct task_struct *child, in putreg() argument 423 return set_segment_reg(child, offset, value); in putreg() 426 return set_flags(child, value); in putreg() 430 if (value >= TASK_SIZE_OF(child)) in putreg() 437 if (child->thread.fs != value) in putreg() 438 return do_arch_prctl(child, ARCH_SET_FS, value); in putreg() 444 if (value >= TASK_SIZE_OF(child)) in putreg() 446 if (child->thread.gs != value) in putreg() 447 return do_arch_prctl(child, ARCH_SET_GS, value); in putreg() 452 *pt_regs_access(task_pt_regs(child), offset) = value; in putreg() [all …]
|
/linux-4.1.27/kernel/ |
D | ptrace.c | 37 void __ptrace_link(struct task_struct *child, struct task_struct *new_parent) in __ptrace_link() argument 39 BUG_ON(!list_empty(&child->ptrace_entry)); in __ptrace_link() 40 list_add(&child->ptrace_entry, &new_parent->ptraced); in __ptrace_link() 41 child->parent = new_parent; in __ptrace_link() 72 void __ptrace_unlink(struct task_struct *child) in __ptrace_unlink() argument 74 BUG_ON(!child->ptrace); in __ptrace_unlink() 76 child->ptrace = 0; in __ptrace_unlink() 77 child->parent = child->real_parent; in __ptrace_unlink() 78 list_del_init(&child->ptrace_entry); in __ptrace_unlink() 80 spin_lock(&child->sighand->siglock); in __ptrace_unlink() [all …]
|
D | resource.c | 69 if (p->child) in next_resource() 70 return p->child; in next_resource() 93 for (p = p->child; p && l < *pos; p = r_next(m, p, &l)) in r_start() 220 p = &root->child; in __request_resource() 240 p = &old->parent->child; in __release_resource() 260 p = r->child; in __release_child_resources() 261 r->child = NULL; in __release_child_resources() 360 for (p = iomem_resource.child; p; p = next_resource(p, sibling_only)) { in find_next_iomem_res() 512 for (p = iomem_resource.child; p ; p = p->sibling) { in region_is_ram() 561 struct resource *this = root->child; in __find_resource() [all …]
|
/linux-4.1.27/drivers/mfd/ |
D | twl-core.c | 727 struct device *child; in add_children() local 730 child = add_child(TWL4030_MODULE_GPIO, "twl4030_gpio", in add_children() 733 if (IS_ERR(child)) in add_children() 734 return PTR_ERR(child); in add_children() 738 child = add_child(TWL4030_MODULE_KEYPAD, "twl4030_keypad", in add_children() 741 if (IS_ERR(child)) in add_children() 742 return PTR_ERR(child); in add_children() 747 child = add_child(TWL4030_MODULE_MADC, "twl4030_madc", in add_children() 750 if (IS_ERR(child)) in add_children() 751 return PTR_ERR(child); in add_children() [all …]
|
D | dm355evm_msp.c | 257 struct device *child; in add_children() local 300 child = add_child(client, "leds-gpio", in add_children() 303 if (IS_ERR(child)) in add_children() 304 return PTR_ERR(child); in add_children() 326 child = add_child(client, "rtc-dm355evm", in add_children() 328 if (IS_ERR(child)) in add_children() 329 return PTR_ERR(child); in add_children() 334 child = add_child(client, "dm355evm_keys", in add_children() 336 if (IS_ERR(child)) in add_children() 337 return PTR_ERR(child); in add_children()
|
D | omap-usb-host.c | 181 struct platform_device *child; in omap_usbhs_alloc_child() local 184 child = platform_device_alloc(name, 0); in omap_usbhs_alloc_child() 186 if (!child) { in omap_usbhs_alloc_child() 191 ret = platform_device_add_resources(child, res, num_resources); in omap_usbhs_alloc_child() 197 ret = platform_device_add_data(child, pdata, pdata_size); in omap_usbhs_alloc_child() 203 child->dev.dma_mask = &usbhs_dmamask; in omap_usbhs_alloc_child() 204 dma_set_coherent_mask(&child->dev, DMA_BIT_MASK(32)); in omap_usbhs_alloc_child() 205 child->dev.parent = dev; in omap_usbhs_alloc_child() 207 ret = platform_device_add(child); in omap_usbhs_alloc_child() 213 return child; in omap_usbhs_alloc_child() [all …]
|
/linux-4.1.27/arch/m32r/kernel/ |
D | ptrace.c | 216 check_condition_bit(struct task_struct *child) in check_condition_bit() argument 218 return (int)((get_stack_long(child, PT_PSW) >> 8) & 1); in check_condition_bit() 223 unsigned long regno2, struct task_struct *child) in check_condition_src() argument 227 reg2 = get_stack_long(child, reg_offset[regno2]); in check_condition_src() 231 reg1 = get_stack_long(child, reg_offset[regno1]); in check_condition_src() 234 reg1 = get_stack_long(child, reg_offset[regno1]); in check_condition_src() 257 struct task_struct *child) in compute_next_pc_for_16bit_insn() argument 279 if (!check_condition_bit(child)) { in compute_next_pc_for_16bit_insn() 287 if (check_condition_bit(child)) { in compute_next_pc_for_16bit_insn() 320 *next_pc = get_stack_long(child, PT_BPC); in compute_next_pc_for_16bit_insn() [all …]
|
/linux-4.1.27/arch/m68k/kernel/ |
D | ptrace.c | 126 static inline void singlestep_disable(struct task_struct *child) in singlestep_disable() argument 128 unsigned long tmp = get_reg(child, PT_SR) & ~TRACE_BITS; in singlestep_disable() 129 put_reg(child, PT_SR, tmp); in singlestep_disable() 130 clear_tsk_thread_flag(child, TIF_DELAYED_TRACE); in singlestep_disable() 136 void ptrace_disable(struct task_struct *child) in ptrace_disable() argument 138 singlestep_disable(child); in ptrace_disable() 141 void user_enable_single_step(struct task_struct *child) in user_enable_single_step() argument 143 unsigned long tmp = get_reg(child, PT_SR) & ~TRACE_BITS; in user_enable_single_step() 144 put_reg(child, PT_SR, tmp | T1_BIT); in user_enable_single_step() 145 set_tsk_thread_flag(child, TIF_DELAYED_TRACE); in user_enable_single_step() [all …]
|
/linux-4.1.27/arch/mips/kernel/ |
D | ptrace32.c | 42 long compat_arch_ptrace(struct task_struct *child, compat_long_t request, in compat_arch_ptrace() argument 72 copied = access_process_vm(child, (u64)addrOthers, &tmp, in compat_arch_ptrace() 86 regs = task_pt_regs(child); in compat_arch_ptrace() 94 if (!tsk_used_math(child)) { in compat_arch_ptrace() 99 fregs = get_fpu_regs(child); in compat_arch_ptrace() 128 tmp = child->thread.fpu.fcr31; in compat_arch_ptrace() 142 dregs = __get_dsp_regs(child); in compat_arch_ptrace() 152 tmp = child->thread.dsp.dspcontrol; in compat_arch_ptrace() 181 if (access_process_vm(child, (u64)addrOthers, &data, in compat_arch_ptrace() 191 regs = task_pt_regs(child); in compat_arch_ptrace() [all …]
|
D | ptrace.c | 74 void ptrace_disable(struct task_struct *child) in ptrace_disable() argument 77 clear_tsk_thread_flag(child, TIF_LOAD_WATCH); in ptrace_disable() 85 static void ptrace_setfcr31(struct task_struct *child, u32 value) in ptrace_setfcr31() argument 91 fcr31 = child->thread.fpu.fcr31; in ptrace_setfcr31() 93 child->thread.fpu.fcr31 = (value & ~mask) | (fcr31 & mask); in ptrace_setfcr31() 101 int ptrace_getregs(struct task_struct *child, struct user_pt_regs __user *data) in ptrace_getregs() argument 109 regs = task_pt_regs(child); in ptrace_getregs() 128 int ptrace_setregs(struct task_struct *child, struct user_pt_regs __user *data) in ptrace_setregs() argument 136 regs = task_pt_regs(child); in ptrace_setregs() 149 int ptrace_getfpregs(struct task_struct *child, __u32 __user *data) in ptrace_getfpregs() argument [all …]
|
/linux-4.1.27/arch/um/kernel/ |
D | ptrace.c | 12 void user_enable_single_step(struct task_struct *child) in user_enable_single_step() argument 14 child->ptrace |= PT_DTRACE; in user_enable_single_step() 15 child->thread.singlestep_syscall = 0; in user_enable_single_step() 18 SUBARCH_SET_SINGLESTEPPING(child, 1); in user_enable_single_step() 22 void user_disable_single_step(struct task_struct *child) in user_disable_single_step() argument 24 child->ptrace &= ~PT_DTRACE; in user_disable_single_step() 25 child->thread.singlestep_syscall = 0; in user_disable_single_step() 28 SUBARCH_SET_SINGLESTEPPING(child, 0); in user_disable_single_step() 35 void ptrace_disable(struct task_struct *child) in ptrace_disable() argument 37 user_disable_single_step(child); in ptrace_disable() [all …]
|
/linux-4.1.27/drivers/pwm/ |
D | sysfs.c | 27 struct device child; member 31 static struct pwm_export *child_to_pwm_export(struct device *child) in child_to_pwm_export() argument 33 return container_of(child, struct pwm_export, child); in child_to_pwm_export() 36 static struct pwm_device *child_to_pwm_device(struct device *child) in child_to_pwm_device() argument 38 struct pwm_export *export = child_to_pwm_export(child); in child_to_pwm_device() 43 static ssize_t pwm_period_show(struct device *child, in pwm_period_show() argument 47 const struct pwm_device *pwm = child_to_pwm_device(child); in pwm_period_show() 52 static ssize_t pwm_period_store(struct device *child, in pwm_period_store() argument 56 struct pwm_device *pwm = child_to_pwm_device(child); in pwm_period_store() 69 static ssize_t pwm_duty_cycle_show(struct device *child, in pwm_duty_cycle_show() argument [all …]
|
/linux-4.1.27/arch/powerpc/kernel/ |
D | ptrace.c | 1064 void ptrace_disable(struct task_struct *child) in ptrace_disable() argument 1067 user_disable_single_step(child); in ptrace_disable() 1071 static long set_instruction_bp(struct task_struct *child, in set_instruction_bp() argument 1075 int slot1_in_use = ((child->thread.debug.dbcr0 & DBCR0_IAC1) != 0); in set_instruction_bp() 1076 int slot2_in_use = ((child->thread.debug.dbcr0 & DBCR0_IAC2) != 0); in set_instruction_bp() 1077 int slot3_in_use = ((child->thread.debug.dbcr0 & DBCR0_IAC3) != 0); in set_instruction_bp() 1078 int slot4_in_use = ((child->thread.debug.dbcr0 & DBCR0_IAC4) != 0); in set_instruction_bp() 1080 if (dbcr_iac_range(child) & DBCR_IAC12MODE) in set_instruction_bp() 1082 if (dbcr_iac_range(child) & DBCR_IAC34MODE) in set_instruction_bp() 1097 child->thread.debug.iac1 = bp_info->addr; in set_instruction_bp() [all …]
|
D | ptrace32.c | 47 long compat_arch_ptrace(struct task_struct *child, compat_long_t request, in compat_arch_ptrace() argument 76 copied = access_process_vm(child, (u64)addrOthers, &tmp, in compat_arch_ptrace() 95 CHECK_FULL_REGS(child->thread.regs); in compat_arch_ptrace() 97 ret = ptrace_get_reg(child, index, &tmp); in compat_arch_ptrace() 101 flush_fp_to_thread(child); in compat_arch_ptrace() 107 tmp = ((unsigned int *)child->thread.fp_state.fpr) in compat_arch_ptrace() 145 CHECK_FULL_REGS(child->thread.regs); in compat_arch_ptrace() 147 flush_fp_to_thread(child); in compat_arch_ptrace() 149 tmp = child->thread.fp_state.fpr[numReg - PT_FPR0][0]; in compat_arch_ptrace() 152 ret = ptrace_get_reg(child, numReg, &tmp2); in compat_arch_ptrace() [all …]
|
D | eeh_pe.c | 78 INIT_LIST_HEAD(&pe->child); in eeh_pe_alloc() 105 list_add_tail(&pe->child, &eeh_phb_pe); in eeh_phb_pe_create() 124 list_for_each_entry(pe, &eeh_phb_pe, child) { in eeh_phb_pe_get() 154 next = pe->child.next; in eeh_pe_next() 161 return list_entry(next, struct eeh_pe, child); in eeh_pe_next() 416 list_add_tail(&pe->child, &parent->child_list); in eeh_add_to_parent_pe() 441 struct eeh_pe *pe, *parent, *child; in eeh_rmv_from_parent_pe() local 472 list_del(&pe->child); in eeh_rmv_from_parent_pe() 480 list_for_each_entry(child, &pe->child_list, child) { in eeh_rmv_from_parent_pe() 481 if (!(child->type & EEH_PE_INVALID)) { in eeh_rmv_from_parent_pe()
|
/linux-4.1.27/arch/cris/arch-v32/kernel/ |
D | ptrace.c | 31 static unsigned long get_pseudo_pc(struct task_struct *child); 80 void user_enable_single_step(struct task_struct *child) in user_enable_single_step() argument 88 if (!get_reg(child, PT_SPC)) { in user_enable_single_step() 90 tmp = get_reg(child, PT_ERP) & ~1; in user_enable_single_step() 91 put_reg(child, PT_SPC, tmp); in user_enable_single_step() 93 tmp = get_reg(child, PT_CCS) | SBIT_USER; in user_enable_single_step() 94 put_reg(child, PT_CCS, tmp); in user_enable_single_step() 97 void user_disable_single_step(struct task_struct *child) in user_disable_single_step() argument 99 put_reg(child, PT_SPC, 0); in user_disable_single_step() 101 if (!get_debugreg(child->pid, PT_BP_CTRL)) { in user_disable_single_step() [all …]
|
/linux-4.1.27/arch/alpha/kernel/ |
D | ptrace.c | 175 ptrace_set_bpt(struct task_struct * child) in ptrace_set_bpt() argument 181 pc = get_reg(child, REG_PC); in ptrace_set_bpt() 182 res = read_int(child, pc, (int *) &insn); in ptrace_set_bpt() 197 task_thread_info(child)->bpt_addr[nsaved++] = pc + 4; in ptrace_set_bpt() 199 task_thread_info(child)->bpt_addr[nsaved++] in ptrace_set_bpt() 204 task_thread_info(child)->bpt_addr[nsaved++] = get_reg(child, reg_b); in ptrace_set_bpt() 207 task_thread_info(child)->bpt_addr[nsaved++] = pc + 4; in ptrace_set_bpt() 213 res = read_int(child, task_thread_info(child)->bpt_addr[i], in ptrace_set_bpt() 217 task_thread_info(child)->bpt_insn[i] = insn; in ptrace_set_bpt() 219 task_thread_info(child)->bpt_addr[i])); in ptrace_set_bpt() [all …]
|
D | gct.c | 43 if (node->child) in gct6_find_nodes() 44 status |= gct6_find_nodes(GCT_NODE_PTR(node->child), search); in gct6_find_nodes()
|
/linux-4.1.27/arch/x86/um/ |
D | ptrace_32.c | 72 int putreg(struct task_struct *child, int regno, unsigned long value) in putreg() argument 108 child->thread.regs.regs.gp[HOST_EFLAGS] |= value; in putreg() 111 child->thread.regs.regs.syscall = value; in putreg() 116 child->thread.regs.regs.gp[reg_offsets[regno]] = value; in putreg() 120 int poke_user(struct task_struct *child, long addr, long data) in poke_user() argument 126 return putreg(child, addr, data); in poke_user() 133 child->thread.arch.debugregs[addr] = data; in poke_user() 139 unsigned long getreg(struct task_struct *child, int regno) in getreg() argument 146 return child->thread.regs.regs.syscall; in getreg() 169 return mask & child->thread.regs.regs.gp[reg_offsets[regno]]; in getreg() [all …]
|
D | ptrace_64.c | 52 int putreg(struct task_struct *child, int regno, unsigned long value) in putreg() argument 59 if (test_tsk_thread_flag(child, TIF_IA32)) in putreg() 102 child->thread.regs.regs.gp[HOST_EFLAGS] |= value; in putreg() 109 child->thread.regs.regs.gp[reg_offsets[regno >> 3]] = value; in putreg() 113 int poke_user(struct task_struct *child, long addr, long data) in poke_user() argument 119 return putreg(child, addr, data); in poke_user() 126 child->thread.arch.debugregs[addr] = data; in poke_user() 132 unsigned long getreg(struct task_struct *child, int regno) in getreg() argument 136 if (test_tsk_thread_flag(child, TIF_IA32)) in getreg() 173 return mask & child->thread.regs.regs.gp[reg_offsets[regno >> 3]]; in getreg() [all …]
|
/linux-4.1.27/include/linux/ |
D | ptrace.h | 44 extern long arch_ptrace(struct task_struct *child, long request, 49 extern int ptrace_request(struct task_struct *child, long request, 52 extern void __ptrace_link(struct task_struct *child, 54 extern void __ptrace_unlink(struct task_struct *child); 84 static inline int ptrace_reparented(struct task_struct *child) in ptrace_reparented() argument 86 return !same_thread_group(child->real_parent, child->parent); in ptrace_reparented() 89 static inline void ptrace_unlink(struct task_struct *child) in ptrace_unlink() argument 91 if (unlikely(child->ptrace)) in ptrace_unlink() 92 __ptrace_unlink(child); in ptrace_unlink() 195 static inline void ptrace_init_task(struct task_struct *child, bool ptrace) in ptrace_init_task() argument [all …]
|
D | of_graph.h | 38 #define for_each_endpoint_of_node(parent, child) \ argument 39 for (child = of_graph_get_next_endpoint(parent, NULL); child != NULL; \ 40 child = of_graph_get_next_endpoint(parent, child))
|
D | rbtree_augmented.h | 140 struct rb_node *child = node->rb_right, *tmp = node->rb_left; in __rb_erase_augmented() local 154 __rb_change_child(node, child, parent, root); in __rb_erase_augmented() 155 if (child) { in __rb_erase_augmented() 156 child->__rb_parent_color = pc; in __rb_erase_augmented() 161 } else if (!child) { in __rb_erase_augmented() 169 struct rb_node *successor = child, *child2; in __rb_erase_augmented() 170 tmp = child->rb_left; in __rb_erase_augmented() 205 successor->rb_right = child; in __rb_erase_augmented() 206 rb_set_parent(child, successor); in __rb_erase_augmented()
|
D | property.h | 64 struct fwnode_handle *child); 66 #define device_for_each_child_node(dev, child) \ argument 67 for (child = device_get_next_child_node(dev, NULL); child; \ 68 child = device_get_next_child_node(dev, child))
|
D | of.h | 59 struct device_node *child; member 893 #define for_each_child_of_node(parent, child) \ argument 894 for (child = of_get_next_child(parent, NULL); child != NULL; \ 895 child = of_get_next_child(parent, child)) 896 #define for_each_available_child_of_node(parent, child) \ argument 897 for (child = of_get_next_available_child(parent, NULL); child != NULL; \ 898 child = of_get_next_available_child(parent, child)) 906 struct device_node *child; in of_get_child_count() local 909 for_each_child_of_node(np, child) in of_get_child_count() 917 struct device_node *child; in of_get_available_child_count() local [all …]
|
/linux-4.1.27/tools/testing/selftests/ptrace/ |
D | peeksiginfo.c | 43 static int check_error_paths(pid_t child) in check_error_paths() argument 72 ret = sys_ptrace(PTRACE_PEEKSIGINFO, child, &arg, addr_rw); in check_error_paths() 82 ret = sys_ptrace(PTRACE_PEEKSIGINFO, child, &arg, in check_error_paths() 90 ret = sys_ptrace(PTRACE_PEEKSIGINFO, child, &arg, addr_ro); in check_error_paths() 104 int check_direct_path(pid_t child, int shared, int nr) in check_direct_path() argument 121 ret = sys_ptrace(PTRACE_PEEKSIGINFO, child, &arg, siginfo); in check_direct_path() 156 pid_t child; in main() local 162 child = fork(); in main() 163 if (child == -1) { in main() 166 } else if (child == 0) { in main() [all …]
|
/linux-4.1.27/arch/frv/kernel/ |
D | ptrace.c | 241 void user_enable_single_step(struct task_struct *child) in user_enable_single_step() argument 243 child->thread.frame0->__status |= REG__STATUS_STEP; in user_enable_single_step() 246 void user_disable_single_step(struct task_struct *child) in user_disable_single_step() argument 248 child->thread.frame0->__status &= ~REG__STATUS_STEP; in user_disable_single_step() 251 void ptrace_disable(struct task_struct *child) in ptrace_disable() argument 253 user_disable_single_step(child); in ptrace_disable() 256 long arch_ptrace(struct task_struct *child, long request, in arch_ptrace() argument 275 tmp = get_reg(child, regno); in arch_ptrace() 279 tmp = child->mm->end_code - child->mm->start_code; in arch_ptrace() 283 tmp = child->mm->end_data - child->mm->start_data; in arch_ptrace() [all …]
|
/linux-4.1.27/arch/tile/kernel/ |
D | ptrace.c | 32 void user_enable_single_step(struct task_struct *child) in user_enable_single_step() argument 34 set_tsk_thread_flag(child, TIF_SINGLESTEP); in user_enable_single_step() 37 void user_disable_single_step(struct task_struct *child) in user_disable_single_step() argument 39 clear_tsk_thread_flag(child, TIF_SINGLESTEP); in user_disable_single_step() 45 void ptrace_disable(struct task_struct *child) in ptrace_disable() argument 47 clear_tsk_thread_flag(child, TIF_SINGLESTEP); in ptrace_disable() 53 clear_tsk_thread_flag(child, TIF_SYSCALL_TRACE); in ptrace_disable() 63 static char *getregs(struct task_struct *child, struct pt_regs *uregs) in getregs() argument 65 *uregs = *task_pt_regs(child); in getregs() 70 if (task_thread_info(child)->status & TS_COMPAT) in getregs() [all …]
|
/linux-4.1.27/arch/xtensa/kernel/ |
D | ptrace.c | 33 void user_enable_single_step(struct task_struct *child) in user_enable_single_step() argument 35 child->ptrace |= PT_SINGLESTEP; in user_enable_single_step() 38 void user_disable_single_step(struct task_struct *child) in user_disable_single_step() argument 40 child->ptrace &= ~PT_SINGLESTEP; in user_disable_single_step() 47 void ptrace_disable(struct task_struct *child) in ptrace_disable() argument 52 int ptrace_getregs(struct task_struct *child, void __user *uregs) in ptrace_getregs() argument 54 struct pt_regs *regs = task_pt_regs(child); in ptrace_getregs() 78 int ptrace_setregs(struct task_struct *child, void __user *uregs) in ptrace_setregs() argument 80 struct pt_regs *regs = task_pt_regs(child); in ptrace_setregs() 127 int ptrace_getxregs(struct task_struct *child, void __user *uregs) in ptrace_getxregs() argument [all …]
|
/linux-4.1.27/arch/s390/kernel/ |
D | ptrace.c | 147 static inline unsigned long __peek_user_per(struct task_struct *child, in __peek_user_per() argument 155 PER_EVENT_IFETCH : child->thread.per_user.control; in __peek_user_per() 159 0 : child->thread.per_user.start; in __peek_user_per() 163 PSW_ADDR_INSN : child->thread.per_user.end; in __peek_user_per() 170 return child->thread.per_user.start; in __peek_user_per() 173 return child->thread.per_user.end; in __peek_user_per() 177 child->thread.per_event.cause << (BITS_PER_LONG - 16); in __peek_user_per() 180 return child->thread.per_event.address; in __peek_user_per() 184 child->thread.per_event.paid << (BITS_PER_LONG - 8); in __peek_user_per() 197 static unsigned long __peek_user(struct task_struct *child, addr_t addr) in __peek_user() argument [all …]
|
/linux-4.1.27/scripts/kconfig/ |
D | conf.c | 238 struct menu *child; in conf_choice() local 273 for (child = menu->list; child; child = child->next) { in conf_choice() 274 if (!menu_is_visible(child)) in conf_choice() 276 if (!child->sym) { in conf_choice() 277 printf("%*c %s\n", indent, '*', _(menu_get_prompt(child))); in conf_choice() 281 if (child->sym == def_sym) { in conf_choice() 286 printf(" %d. %s", cnt, _(menu_get_prompt(child))); in conf_choice() 287 if (child->sym->name) in conf_choice() 288 printf(" (%s)", child->sym->name); in conf_choice() 289 if (!sym_has_value(child->sym)) in conf_choice() [all …]
|
D | mconf.c | 470 struct menu *child; in build_conf() local 535 for (child = menu->list; child; child = child->next) { in build_conf() 536 if (menu_is_visible(child) && child->sym == def_sym) in build_conf() 537 def_menu = child; in build_conf() 640 for (child = menu->list; child; child = child->next) in build_conf() 641 build_conf(child); in build_conf() 803 struct menu *child; in conf_choice() local 813 for (child = menu->list; child; child = child->next) { in conf_choice() 814 if (!menu_is_visible(child)) in conf_choice() 816 if (child->sym) in conf_choice() [all …]
|
D | nconf.c | 737 struct menu *child; in build_conf() local 798 for (child = menu->list; child; child = child->next) { in build_conf() 799 if (menu_is_visible(child) && child->sym == def_sym) in build_conf() 800 def_menu = child; in build_conf() 914 for (child = menu->list; child; child = child->next) in build_conf() 915 build_conf(child); in build_conf() 1235 struct menu *child = 0; in conf_choice() local 1251 for (i = 0, child = menu->list; child; child = child->next) { in conf_choice() 1252 if (!show_all_items && !menu_is_visible(child)) in conf_choice() 1255 if (child->sym == sym_get_choice_value(menu->sym)) in conf_choice() [all …]
|
D | gconf.c | 1091 struct menu *child; in fill_row() local 1097 for (child = menu->list; child; child = child->next) { in fill_row() 1098 if (menu_is_visible(child) in fill_row() 1099 && child->sym == def_sym) in fill_row() 1100 def_menu = child; in fill_row() 1218 GtkTreeIter *child = &iter; in gtktree_iter_find_node() local 1222 valid = gtk_tree_model_iter_children(model2, child, parent); in gtktree_iter_find_node() 1226 gtk_tree_model_get(model2, child, 6, &menu, -1); in gtktree_iter_find_node() 1229 memcpy(&found, child, sizeof(GtkTreeIter)); in gtktree_iter_find_node() 1233 ret = gtktree_iter_find_node(child, tofind); in gtktree_iter_find_node() [all …]
|
D | kxgettext.c | 173 struct menu *child; in menu_build_message_list() local 184 for (child = menu->list; child != NULL; child = child->next) in menu_build_message_list() 185 if (child->prompt != NULL) in menu_build_message_list() 186 menu_build_message_list(child); in menu_build_message_list()
|
D | qconf.cc | 603 struct menu* child; in updateMenuList() local 618 for (child = menu->list; child; child = child->next) { in updateMenuList() 620 type = child->prompt ? child->prompt->type : P_UNKNOWN; in updateMenuList() 624 if (!(child->flags & MENU_ROOT)) in updateMenuList() 628 if (child->flags & MENU_ROOT) in updateMenuList() 635 visible = menu_is_visible(child); in updateMenuList() 636 if (!menuSkip(child)) { in updateMenuList() 637 if (!child->sym && !child->list && !child->prompt) in updateMenuList() 639 if (!item || item->menu != child) in updateMenuList() 640 item = new ConfigItem(parent, last, child, visible); in updateMenuList() [all …]
|
D | menu.c | 460 struct menu *child; in menu_is_empty() local 462 for (child = menu->list; child; child = child->next) { in menu_is_empty() 463 if (menu_is_visible(child)) in menu_is_empty() 471 struct menu *child; in menu_is_visible() local 496 for (child = menu->list; child; child = child->next) { in menu_is_visible() 497 if (menu_is_visible(child)) { in menu_is_visible()
|
/linux-4.1.27/arch/avr32/kernel/ |
D | ocd.c | 28 void ocd_enable(struct task_struct *child) in ocd_enable() argument 32 if (child) in ocd_enable() 34 child->comm, child->pid); in ocd_enable() 38 if (!child || !test_and_set_tsk_thread_flag(child, TIF_DEBUG)) { in ocd_enable() 59 void ocd_disable(struct task_struct *child) in ocd_disable() argument 63 if (!child) in ocd_disable() 65 else if (test_tsk_thread_flag(child, TIF_DEBUG)) in ocd_disable() 67 child->comm, child->pid); in ocd_disable() 69 if (!child || test_and_clear_tsk_thread_flag(child, TIF_DEBUG)) { in ocd_disable()
|
D | ptrace.c | 52 void user_disable_single_step(struct task_struct *child) in user_disable_single_step() argument 62 void ptrace_disable(struct task_struct *child) in ptrace_disable() argument 64 clear_tsk_thread_flag(child, TIF_SINGLE_STEP); in ptrace_disable() 65 clear_tsk_thread_flag(child, TIF_BREAKPOINT); in ptrace_disable() 66 ocd_disable(child); in ptrace_disable() 149 long arch_ptrace(struct task_struct *child, long request, in arch_ptrace() argument 159 ret = generic_ptrace_peekdata(child, addr, data); in arch_ptrace() 163 ret = ptrace_read_user(child, addr, datap); in arch_ptrace() 169 ret = generic_ptrace_pokedata(child, addr, data); in arch_ptrace() 173 ret = ptrace_write_user(child, addr, data); in arch_ptrace() [all …]
|
/linux-4.1.27/drivers/scsi/libsas/ |
D | sas_expander.c | 739 struct domain_device *child, in sas_ex_get_linkrate() argument 746 child->pathways = 0; in sas_ex_get_linkrate() 758 SAS_ADDR(child->sas_addr)) { in sas_ex_get_linkrate() 760 child->min_linkrate = min(parent->min_linkrate, in sas_ex_get_linkrate() 762 child->max_linkrate = max(parent->max_linkrate, in sas_ex_get_linkrate() 764 child->pathways++; in sas_ex_get_linkrate() 768 child->linkrate = min(parent_phy->linkrate, child->max_linkrate); in sas_ex_get_linkrate() 769 child->pathways = min(child->pathways, parent->pathways); in sas_ex_get_linkrate() 777 struct domain_device *child = NULL; in sas_ex_discover_end_dev() local 784 child = sas_alloc_device(); in sas_ex_discover_end_dev() [all …]
|
/linux-4.1.27/fs/ |
D | pnode.c | 212 struct mount *child; in propagate_one() local 249 child = copy_tree(last_source, last_source->mnt.mnt_root, type); in propagate_one() 250 if (IS_ERR(child)) in propagate_one() 251 return PTR_ERR(child); in propagate_one() 252 child->mnt.mnt_flags &= ~MNT_LOCKED; in propagate_one() 253 mnt_set_mountpoint(m, mp, child); in propagate_one() 255 last_source = child; in propagate_one() 261 hlist_add_head(&child->mnt_hash, list); in propagate_one() 347 struct mount *m, *child; in propagate_mount_busy() local 364 child = __lookup_mnt_last(&m->mnt, mnt->mnt_mountpoint); in propagate_mount_busy() [all …]
|
/linux-4.1.27/arch/sh/kernel/ |
D | ptrace_32.c | 114 void user_enable_single_step(struct task_struct *child) in user_enable_single_step() argument 116 unsigned long pc = get_stack_long(child, offsetof(struct pt_regs, pc)); in user_enable_single_step() 118 set_tsk_thread_flag(child, TIF_SINGLESTEP); in user_enable_single_step() 120 set_single_step(child, pc); in user_enable_single_step() 123 void user_disable_single_step(struct task_struct *child) in user_disable_single_step() argument 125 clear_tsk_thread_flag(child, TIF_SINGLESTEP); in user_disable_single_step() 133 void ptrace_disable(struct task_struct *child) in ptrace_disable() argument 135 user_disable_single_step(child); in ptrace_disable() 370 long arch_ptrace(struct task_struct *child, long request, in arch_ptrace() argument 387 tmp = get_stack_long(child, addr); in arch_ptrace() [all …]
|
D | ptrace_64.c | 130 void user_enable_single_step(struct task_struct *child) in user_enable_single_step() argument 132 struct pt_regs *regs = child->thread.uregs; in user_enable_single_step() 136 set_tsk_thread_flag(child, TIF_SINGLESTEP); in user_enable_single_step() 139 void user_disable_single_step(struct task_struct *child) in user_disable_single_step() argument 141 struct pt_regs *regs = child->thread.uregs; in user_disable_single_step() 145 clear_tsk_thread_flag(child, TIF_SINGLESTEP); in user_disable_single_step() 386 long arch_ptrace(struct task_struct *child, long request, in arch_ptrace() argument 402 tmp = get_stack_long(child, addr); in arch_ptrace() 406 ret = init_fpu(child); in arch_ptrace() 410 tmp = get_fpu_long(child, index); in arch_ptrace() [all …]
|
/linux-4.1.27/crypto/ |
D | ecb.c | 22 struct crypto_cipher *child; member 29 struct crypto_cipher *child = ctx->child; in crypto_ecb_setkey() local 32 crypto_cipher_clear_flags(child, CRYPTO_TFM_REQ_MASK); in crypto_ecb_setkey() 33 crypto_cipher_set_flags(child, crypto_tfm_get_flags(parent) & in crypto_ecb_setkey() 35 err = crypto_cipher_setkey(child, key, keylen); in crypto_ecb_setkey() 36 crypto_tfm_set_flags(parent, crypto_cipher_get_flags(child) & in crypto_ecb_setkey() 76 struct crypto_cipher *child = ctx->child; in crypto_ecb_encrypt() local 79 return crypto_ecb_crypt(desc, &walk, child, in crypto_ecb_encrypt() 80 crypto_cipher_alg(child)->cia_encrypt); in crypto_ecb_encrypt() 90 struct crypto_cipher *child = ctx->child; in crypto_ecb_decrypt() local [all …]
|
D | ctr.c | 25 struct crypto_cipher *child; member 29 struct crypto_ablkcipher *child; member 42 struct crypto_cipher *child = ctx->child; in crypto_ctr_setkey() local 45 crypto_cipher_clear_flags(child, CRYPTO_TFM_REQ_MASK); in crypto_ctr_setkey() 46 crypto_cipher_set_flags(child, crypto_tfm_get_flags(parent) & in crypto_ctr_setkey() 48 err = crypto_cipher_setkey(child, key, keylen); in crypto_ctr_setkey() 49 crypto_tfm_set_flags(parent, crypto_cipher_get_flags(child) & in crypto_ctr_setkey() 134 struct crypto_cipher *child = ctx->child; in crypto_ctr_crypt() local 135 unsigned int bsize = crypto_cipher_blocksize(child); in crypto_ctr_crypt() 143 nbytes = crypto_ctr_crypt_inplace(&walk, child); in crypto_ctr_crypt() [all …]
|
D | cryptd.c | 61 struct crypto_blkcipher *child; member 69 struct crypto_shash *child; member 78 struct crypto_aead *child; member 189 struct crypto_blkcipher *child = ctx->child; in cryptd_blkcipher_setkey() local 192 crypto_blkcipher_clear_flags(child, CRYPTO_TFM_REQ_MASK); in cryptd_blkcipher_setkey() 193 crypto_blkcipher_set_flags(child, crypto_ablkcipher_get_flags(parent) & in cryptd_blkcipher_setkey() 195 err = crypto_blkcipher_setkey(child, key, keylen); in cryptd_blkcipher_setkey() 196 crypto_ablkcipher_set_flags(parent, crypto_blkcipher_get_flags(child) & in cryptd_blkcipher_setkey() 202 struct crypto_blkcipher *child, in cryptd_blkcipher_crypt() argument 217 desc.tfm = child; in cryptd_blkcipher_crypt() [all …]
|
D | xts.c | 29 struct crypto_cipher *child; member 37 struct crypto_cipher *child = ctx->tweak; in setkey() local 54 crypto_cipher_clear_flags(child, CRYPTO_TFM_REQ_MASK); in setkey() 55 crypto_cipher_set_flags(child, crypto_tfm_get_flags(parent) & in setkey() 57 err = crypto_cipher_setkey(child, key + keylen/2, keylen/2); in setkey() 61 crypto_tfm_set_flags(parent, crypto_cipher_get_flags(child) & in setkey() 64 child = ctx->child; in setkey() 67 crypto_cipher_clear_flags(child, CRYPTO_TFM_REQ_MASK); in setkey() 68 crypto_cipher_set_flags(child, crypto_tfm_get_flags(parent) & in setkey() 70 err = crypto_cipher_setkey(child, key, keylen/2); in setkey() [all …]
|
D | cbc.c | 23 struct crypto_cipher *child; member 30 struct crypto_cipher *child = ctx->child; in crypto_cbc_setkey() local 33 crypto_cipher_clear_flags(child, CRYPTO_TFM_REQ_MASK); in crypto_cbc_setkey() 34 crypto_cipher_set_flags(child, crypto_tfm_get_flags(parent) & in crypto_cbc_setkey() 36 err = crypto_cipher_setkey(child, key, keylen); in crypto_cbc_setkey() 37 crypto_tfm_set_flags(parent, crypto_cipher_get_flags(child) & in crypto_cbc_setkey() 97 struct crypto_cipher *child = ctx->child; in crypto_cbc_encrypt() local 105 nbytes = crypto_cbc_encrypt_inplace(desc, &walk, child); in crypto_cbc_encrypt() 107 nbytes = crypto_cbc_encrypt_segment(desc, &walk, child); in crypto_cbc_encrypt() 176 struct crypto_cipher *child = ctx->child; in crypto_cbc_decrypt() local [all …]
|
D | pcbc.c | 26 struct crypto_cipher *child; member 33 struct crypto_cipher *child = ctx->child; in crypto_pcbc_setkey() local 36 crypto_cipher_clear_flags(child, CRYPTO_TFM_REQ_MASK); in crypto_pcbc_setkey() 37 crypto_cipher_set_flags(child, crypto_tfm_get_flags(parent) & in crypto_pcbc_setkey() 39 err = crypto_cipher_setkey(child, key, keylen); in crypto_pcbc_setkey() 40 crypto_tfm_set_flags(parent, crypto_cipher_get_flags(child) & in crypto_pcbc_setkey() 104 struct crypto_cipher *child = ctx->child; in crypto_pcbc_encrypt() local 113 child); in crypto_pcbc_encrypt() 116 child); in crypto_pcbc_encrypt() 184 struct crypto_cipher *child = ctx->child; in crypto_pcbc_decrypt() local [all …]
|
D | cts.c | 54 struct crypto_blkcipher *child; member 61 struct crypto_blkcipher *child = ctx->child; in crypto_cts_setkey() local 64 crypto_blkcipher_clear_flags(child, CRYPTO_TFM_REQ_MASK); in crypto_cts_setkey() 65 crypto_blkcipher_set_flags(child, crypto_tfm_get_flags(parent) & in crypto_cts_setkey() 67 err = crypto_blkcipher_setkey(child, key, keylen); in crypto_cts_setkey() 68 crypto_tfm_set_flags(parent, crypto_blkcipher_get_flags(child) & in crypto_cts_setkey() 100 lcldesc.tfm = ctx->child; in cts_cbc_encrypt() 136 lcldesc.tfm = ctx->child; in crypto_cts_encrypt() 183 lcldesc.tfm = ctx->child; in cts_cbc_decrypt() 231 lcldesc.tfm = ctx->child; in crypto_cts_decrypt() [all …]
|
D | xcbc.c | 41 struct crypto_cipher *child; member 71 if ((err = crypto_cipher_setkey(ctx->child, inkey, keylen))) in crypto_xcbc_digest_setkey() 74 crypto_cipher_encrypt_one(ctx->child, consts, (u8 *)ks + bs); in crypto_xcbc_digest_setkey() 75 crypto_cipher_encrypt_one(ctx->child, consts + bs, (u8 *)ks + bs * 2); in crypto_xcbc_digest_setkey() 76 crypto_cipher_encrypt_one(ctx->child, key1, (u8 *)ks); in crypto_xcbc_digest_setkey() 78 return crypto_cipher_setkey(ctx->child, key1, bs); in crypto_xcbc_digest_setkey() 102 struct crypto_cipher *tfm = tctx->child; in crypto_xcbc_digest_update() 148 struct crypto_cipher *tfm = tctx->child; in crypto_xcbc_digest_final() 188 ctx->child = cipher; in xcbc_init_tfm() 196 crypto_free_cipher(ctx->child); in xcbc_exit_tfm()
|
D | lrw.c | 33 struct crypto_cipher *child; member 83 struct crypto_cipher *child = ctx->child; in setkey() local 87 crypto_cipher_clear_flags(child, CRYPTO_TFM_REQ_MASK); in setkey() 88 crypto_cipher_set_flags(child, crypto_tfm_get_flags(parent) & in setkey() 90 err = crypto_cipher_setkey(child, key, keylen - bsize); in setkey() 93 crypto_tfm_set_flags(parent, crypto_cipher_get_flags(child) & in setkey() 146 .tfm = crypto_cipher_tfm(ctx->child), in crypt() 203 crypto_cipher_alg(ctx->child)->cia_encrypt); in encrypt() 214 crypto_cipher_alg(ctx->child)->cia_decrypt); in decrypt() 314 ctx->child = cipher; in init_tfm() [all …]
|
D | ablk_helper.c | 41 struct crypto_ablkcipher *child = &ctx->cryptd_tfm->base; in ablk_set_key() local 44 crypto_ablkcipher_clear_flags(child, CRYPTO_TFM_REQ_MASK); in ablk_set_key() 45 crypto_ablkcipher_set_flags(child, crypto_ablkcipher_get_flags(tfm) in ablk_set_key() 47 err = crypto_ablkcipher_setkey(child, key, key_len); in ablk_set_key() 48 crypto_ablkcipher_set_flags(tfm, crypto_ablkcipher_get_flags(child) in ablk_set_key()
|
D | mcryptd.c | 287 ctx->child = hash; in mcryptd_hash_init_tfm() 298 crypto_free_shash(ctx->child); in mcryptd_hash_exit_tfm() 305 struct crypto_shash *child = ctx->child; in mcryptd_hash_setkey() local 308 crypto_shash_clear_flags(child, CRYPTO_TFM_REQ_MASK); in mcryptd_hash_setkey() 309 crypto_shash_set_flags(child, crypto_ahash_get_flags(parent) & in mcryptd_hash_setkey() 311 err = crypto_shash_setkey(child, key, keylen); in mcryptd_hash_setkey() 312 crypto_ahash_set_flags(parent, crypto_shash_get_flags(child) & in mcryptd_hash_setkey() 338 struct crypto_shash *child = ctx->child; in mcryptd_hash_init() local 346 desc->tfm = child; in mcryptd_hash_init() 446 struct crypto_shash *child = ctx->child; in mcryptd_hash_digest() local [all …]
|
D | cmac.c | 34 struct crypto_cipher *child; member 65 err = crypto_cipher_setkey(ctx->child, inkey, keylen); in crypto_cmac_digest_setkey() 71 crypto_cipher_encrypt_one(ctx->child, (u8 *)consts, (u8 *)consts); in crypto_cmac_digest_setkey() 128 struct crypto_cipher *tfm = tctx->child; in crypto_cmac_digest_update() 174 struct crypto_cipher *tfm = tctx->child; in crypto_cmac_digest_final() 214 ctx->child = cipher; in cmac_init_tfm() 222 crypto_free_cipher(ctx->child); in cmac_exit_tfm()
|
D | gcm.c | 36 struct crypto_aead *child; member 46 struct crypto_aead *child; member 862 struct crypto_aead *child = ctx->child; in crypto_rfc4106_setkey() local 871 crypto_aead_clear_flags(child, CRYPTO_TFM_REQ_MASK); in crypto_rfc4106_setkey() 872 crypto_aead_set_flags(child, crypto_aead_get_flags(parent) & in crypto_rfc4106_setkey() 874 err = crypto_aead_setkey(child, key, keylen); in crypto_rfc4106_setkey() 875 crypto_aead_set_flags(parent, crypto_aead_get_flags(child) & in crypto_rfc4106_setkey() 895 return crypto_aead_setauthsize(ctx->child, authsize); in crypto_rfc4106_setauthsize() 903 struct crypto_aead *child = ctx->child; in crypto_rfc4106_crypt() local 904 u8 *iv = PTR_ALIGN((u8 *)(subreq + 1) + crypto_aead_reqsize(child), in crypto_rfc4106_crypt() [all …]
|
D | ccm.c | 35 struct crypto_aead *child; member 642 struct crypto_aead *child = ctx->child; in crypto_rfc4309_setkey() local 651 crypto_aead_clear_flags(child, CRYPTO_TFM_REQ_MASK); in crypto_rfc4309_setkey() 652 crypto_aead_set_flags(child, crypto_aead_get_flags(parent) & in crypto_rfc4309_setkey() 654 err = crypto_aead_setkey(child, key, keylen); in crypto_rfc4309_setkey() 655 crypto_aead_set_flags(parent, crypto_aead_get_flags(child) & in crypto_rfc4309_setkey() 675 return crypto_aead_setauthsize(ctx->child, authsize); in crypto_rfc4309_setauthsize() 683 struct crypto_aead *child = ctx->child; in crypto_rfc4309_crypt() local 684 u8 *iv = PTR_ALIGN((u8 *)(subreq + 1) + crypto_aead_reqsize(child), in crypto_rfc4309_crypt() 685 crypto_aead_alignmask(child) + 1); in crypto_rfc4309_crypt() [all …]
|
D | pcrypt.c | 68 struct crypto_aead *child; member 106 return crypto_aead_setkey(ctx->child, key, keylen); in pcrypt_aead_setkey() 114 return crypto_aead_setauthsize(ctx->child, authsize); in pcrypt_aead_setauthsize() 173 aead_request_set_tfm(creq, ctx->child); in pcrypt_aead_encrypt() 215 aead_request_set_tfm(creq, ctx->child); in pcrypt_aead_decrypt() 258 aead_givcrypt_set_tfm(creq, ctx->child); in pcrypt_aead_givencrypt() 294 ctx->child = cipher; in pcrypt_aead_init_tfm() 306 crypto_free_aead(ctx->child); in pcrypt_aead_exit_tfm()
|
/linux-4.1.27/fs/ceph/ |
D | export.c | 125 struct dentry *child, u64 ino) in __get_parent() argument 138 if (child) { in __get_parent() 139 req->r_inode = d_inode(child); in __get_parent() 140 ihold(d_inode(child)); in __get_parent() 167 child ? ceph_ino(d_inode(child)) : ino, in __get_parent() 172 static struct dentry *ceph_get_parent(struct dentry *child) in ceph_get_parent() argument 175 if (ceph_snap(d_inode(child)) != CEPH_NOSNAP) in ceph_get_parent() 179 child, ceph_vinop(d_inode(child))); in ceph_get_parent() 180 return __get_parent(child->d_sb, child, 0); in ceph_get_parent() 206 struct dentry *child) in ceph_get_name() argument [all …]
|
D | snap.c | 408 struct ceph_snap_realm *child; in rebuild_snap_realms() local 413 list_for_each_entry(child, &realm->children, child_item) in rebuild_snap_realms() 414 rebuild_snap_realms(child); in rebuild_snap_realms() 603 struct ceph_snap_realm *child; in queue_realm_cap_snaps() local 622 list_for_each_entry(child, &realm->children, child_item) { in queue_realm_cap_snaps() 624 realm, realm->ino, child, child->ino); in queue_realm_cap_snaps() 625 list_del_init(&child->dirty_item); in queue_realm_cap_snaps() 626 list_add(&child->dirty_item, &realm->dirty_item); in queue_realm_cap_snaps() 929 struct ceph_snap_realm *child = in ceph_handle_snap() local 932 if (!child) in ceph_handle_snap() [all …]
|
/linux-4.1.27/arch/cris/arch-v10/kernel/ |
D | ptrace.c | 64 ptrace_disable(struct task_struct *child) in ptrace_disable() argument 67 clear_tsk_thread_flag(child, TIF_SYSCALL_TRACE); in ptrace_disable() 78 long arch_ptrace(struct task_struct *child, long request, in arch_ptrace() argument 89 ret = generic_ptrace_peekdata(child, addr, data); in arch_ptrace() 100 tmp = get_reg(child, regno); in arch_ptrace() 108 ret = generic_ptrace_pokedata(child, addr, data); in arch_ptrace() 122 data |= get_reg(child, PT_DCCR) & ~DCCR_MASK; in arch_ptrace() 124 if (put_reg(child, regno, data)) in arch_ptrace() 136 tmp = get_reg(child, i); in arch_ptrace() 163 tmp |= get_reg(child, PT_DCCR) & ~DCCR_MASK; in arch_ptrace() [all …]
|
/linux-4.1.27/arch/x86/crypto/ |
D | fpu.c | 24 struct crypto_blkcipher *child; member 31 struct crypto_blkcipher *child = ctx->child; in crypto_fpu_setkey() local 34 crypto_blkcipher_clear_flags(child, CRYPTO_TFM_REQ_MASK); in crypto_fpu_setkey() 35 crypto_blkcipher_set_flags(child, crypto_tfm_get_flags(parent) & in crypto_fpu_setkey() 37 err = crypto_blkcipher_setkey(child, key, keylen); in crypto_fpu_setkey() 38 crypto_tfm_set_flags(parent, crypto_blkcipher_get_flags(child) & in crypto_fpu_setkey() 49 struct crypto_blkcipher *child = ctx->child; in crypto_fpu_encrypt() local 51 .tfm = child, in crypto_fpu_encrypt() 68 struct crypto_blkcipher *child = ctx->child; in crypto_fpu_decrypt() local 70 .tfm = child, in crypto_fpu_decrypt() [all …]
|
D | ghash-clmulni-intel_glue.c | 178 struct crypto_shash *child = cryptd_ahash_child(cryptd_tfm); in ghash_async_init() local 180 desc->tfm = child; in ghash_async_init() 235 struct crypto_shash *child = cryptd_ahash_child(cryptd_tfm); in ghash_async_digest() local 237 desc->tfm = child; in ghash_async_digest() 247 struct crypto_ahash *child = &ctx->cryptd_tfm->base; in ghash_async_setkey() local 250 crypto_ahash_clear_flags(child, CRYPTO_TFM_REQ_MASK); in ghash_async_setkey() 251 crypto_ahash_set_flags(child, crypto_ahash_get_flags(tfm) in ghash_async_setkey() 253 err = crypto_ahash_setkey(child, key, keylen); in ghash_async_setkey() 254 crypto_ahash_set_flags(tfm, crypto_ahash_get_flags(child) in ghash_async_setkey()
|
/linux-4.1.27/arch/blackfin/kernel/ |
D | ptrace.c | 118 is_user_addr_valid(struct task_struct *child, unsigned long start, unsigned long len) in is_user_addr_valid() argument 128 down_read(&child->mm->mmap_sem); in is_user_addr_valid() 129 vma = find_vma(child->mm, start); in is_user_addr_valid() 131 up_read(&child->mm->mmap_sem); in is_user_addr_valid() 135 for (sraml = child->mm->context.sram_list; sraml; sraml = sraml->next) in is_user_addr_valid() 144 if (child->mm->context.l1_stack_save) in is_user_addr_valid() 231 void user_enable_single_step(struct task_struct *child) in user_enable_single_step() argument 233 struct pt_regs *regs = task_pt_regs(child); in user_enable_single_step() 236 set_tsk_thread_flag(child, TIF_SINGLESTEP); in user_enable_single_step() 239 void user_disable_single_step(struct task_struct *child) in user_disable_single_step() argument [all …]
|
/linux-4.1.27/drivers/pci/ |
D | remove.c | 65 struct pci_dev *child, *tmp; in pci_stop_bus_device() local 74 list_for_each_entry_safe_reverse(child, tmp, in pci_stop_bus_device() 76 pci_stop_bus_device(child); in pci_stop_bus_device() 85 struct pci_dev *child, *tmp; in pci_remove_bus_device() local 88 list_for_each_entry_safe(child, tmp, in pci_remove_bus_device() 90 pci_remove_bus_device(child); in pci_remove_bus_device() 128 struct pci_dev *child, *tmp; in pci_stop_root_bus() local 135 list_for_each_entry_safe_reverse(child, tmp, in pci_stop_root_bus() 137 pci_stop_bus_device(child); in pci_stop_root_bus() 146 struct pci_dev *child, *tmp; in pci_remove_root_bus() local [all …]
|
D | probe.c | 338 static void pci_read_bridge_io(struct pci_bus *child) in pci_read_bridge_io() argument 340 struct pci_dev *dev = child->self; in pci_read_bridge_io() 354 res = child->resource[0]; in pci_read_bridge_io() 378 static void pci_read_bridge_mmio(struct pci_bus *child) in pci_read_bridge_mmio() argument 380 struct pci_dev *dev = child->self; in pci_read_bridge_mmio() 386 res = child->resource[1]; in pci_read_bridge_mmio() 400 static void pci_read_bridge_mmio_pref(struct pci_bus *child) in pci_read_bridge_mmio_pref() argument 402 struct pci_dev *dev = child->self; in pci_read_bridge_mmio_pref() 409 res = child->resource[2]; in pci_read_bridge_mmio_pref() 453 void pci_read_bridge_bases(struct pci_bus *child) in pci_read_bridge_bases() argument [all …]
|
/linux-4.1.27/drivers/pci/pcie/ |
D | aspm.c | 128 struct pci_dev *child; in pcie_set_clkpm_nocheck() local 131 list_for_each_entry(child, &linkbus->devices, bus_list) { in pcie_set_clkpm_nocheck() 133 pcie_capability_set_word(child, PCI_EXP_LNKCTL, in pcie_set_clkpm_nocheck() 136 pcie_capability_clear_word(child, PCI_EXP_LNKCTL, in pcie_set_clkpm_nocheck() 158 struct pci_dev *child; in pcie_clkpm_cap_init() local 162 list_for_each_entry(child, &linkbus->devices, bus_list) { in pcie_clkpm_cap_init() 163 pcie_capability_read_dword(child, PCI_EXP_LNKCAP, ®32); in pcie_clkpm_cap_init() 169 pcie_capability_read_word(child, PCI_EXP_LNKCTL, ®16); in pcie_clkpm_cap_init() 188 struct pci_dev *child, *parent = link->pdev; in pcie_aspm_configure_common_clock() local 194 child = list_entry(linkbus->devices.next, struct pci_dev, bus_list); in pcie_aspm_configure_common_clock() [all …]
|
/linux-4.1.27/arch/ia64/kernel/ |
D | ptrace.c | 402 ia64_peek (struct task_struct *child, struct switch_stack *child_stack, in ia64_peek() argument 412 child_regs = task_pt_regs(child); in ia64_peek() 414 krbs = (unsigned long *) child + IA64_RBS_OFFSET/8; in ia64_peek() 424 ret = get_rnat(child, child_stack, krbs, rnat_addr, urbs_end); in ia64_peek() 456 copied = access_process_vm(child, addr, &ret, sizeof(ret), 0); in ia64_peek() 464 ia64_poke (struct task_struct *child, struct switch_stack *child_stack, in ia64_poke() argument 472 child_regs = task_pt_regs(child); in ia64_poke() 474 krbs = (unsigned long *) child + IA64_RBS_OFFSET/8; in ia64_poke() 484 put_rnat(child, child_stack, krbs, laddr, val, in ia64_poke() 492 } else if (access_process_vm(child, addr, &val, sizeof(val), 1) in ia64_poke() [all …]
|
/linux-4.1.27/drivers/regulator/ |
D | of_regulator.c | 216 struct device_node *child; in of_regulator_match() local 239 for_each_child_of_node(node, child) { in of_regulator_match() 240 name = of_get_property(child, in of_regulator_match() 243 name = child->name; in of_regulator_match() 253 of_get_regulator_init_data(dev, child, in of_regulator_match() 258 child->name); in of_regulator_match() 261 match->of_node = of_node_get(child); in of_regulator_match() 276 struct device_node *search, *child; in regulator_of_get_init_data() local 295 for_each_child_of_node(search, child) { in regulator_of_get_init_data() 296 name = of_get_property(child, "regulator-compatible", NULL); in regulator_of_get_init_data() [all …]
|
D | mc13xxx-regulator-core.c | 168 struct device_node *parent, *child; in mc13xxx_parse_regulators_dt() local 187 for_each_child_of_node(parent, child) { in mc13xxx_parse_regulators_dt() 193 if (!of_node_cmp(child->name, in mc13xxx_parse_regulators_dt() 197 &pdev->dev, child, in mc13xxx_parse_regulators_dt() 199 p->node = child; in mc13xxx_parse_regulators_dt() 210 "Unknown regulator: %s\n", child->name); in mc13xxx_parse_regulators_dt()
|
/linux-4.1.27/drivers/of/ |
D | of_mdio.c | 43 static int of_mdiobus_register_phy(struct mii_bus *mdio, struct device_node *child, in of_mdiobus_register_phy() argument 51 is_c45 = of_device_is_compatible(child, in of_mdiobus_register_phy() 54 if (!is_c45 && !of_get_phy_id(child, &phy_id)) in of_mdiobus_register_phy() 61 rc = irq_of_parse_and_map(child, 0); in of_mdiobus_register_phy() 73 of_node_get(child); in of_mdiobus_register_phy() 74 phy->dev.of_node = child; in of_mdiobus_register_phy() 81 of_node_put(child); in of_mdiobus_register_phy() 86 child->name, addr); in of_mdiobus_register_phy() 123 struct device_node *child; in of_mdiobus_register() local 145 for_each_available_child_of_node(np, child) { in of_mdiobus_register() [all …]
|
D | resolver.c | 32 struct device_node *child, *found; in __of_find_node_by_full_name() local 41 for_each_child_of_node(node, child) { in __of_find_node_by_full_name() 42 found = __of_find_node_by_full_name(child, full_name); in __of_find_node_by_full_name() 80 struct device_node *child; in __of_adjust_tree_phandles() local 110 for_each_child_of_node(node, child) in __of_adjust_tree_phandles() 111 __of_adjust_tree_phandles(child, phandle_delta); in __of_adjust_tree_phandles() 214 struct device_node *child, *childtarget; in __of_adjust_tree_phandle_references() local 270 for_each_child_of_node(node, child) { in __of_adjust_tree_phandle_references() 273 if (__of_node_name_cmp(child, childtarget) == 0) in __of_adjust_tree_phandle_references() 278 __func__, child->name, node->full_name); in __of_adjust_tree_phandle_references() [all …]
|
D | overlay.c | 86 struct device_node *target, struct device_node *child) in of_overlay_apply_single_device_node() argument 92 cname = kbasename(child->full_name); in of_overlay_apply_single_device_node() 100 ret = of_overlay_apply_one(ov, tchild, child); in of_overlay_apply_single_device_node() 104 tchild = __of_node_dup(child, "%s/%s", target->full_name, cname); in of_overlay_apply_single_device_node() 115 ret = of_overlay_apply_one(ov, tchild, child); in of_overlay_apply_single_device_node() 133 struct device_node *child; in of_overlay_apply_one() local 146 for_each_child_of_node(overlay, child) { in of_overlay_apply_one() 147 ret = of_overlay_apply_single_device_node(ov, target, child); in of_overlay_apply_one() 151 child->name); in of_overlay_apply_one() 413 struct device_node *child; in overlay_subtree_check() local [all …]
|
D | platform.c | 333 struct device_node *child; in of_platform_bus_create() local 365 for_each_child_of_node(bus, child) { in of_platform_bus_create() 366 pr_debug(" create child: %s\n", child->full_name); in of_platform_bus_create() 367 rc = of_platform_bus_create(child, matches, lookup, &dev->dev, strict); in of_platform_bus_create() 369 of_node_put(child); in of_platform_bus_create() 390 struct device_node *child; in of_platform_bus_probe() local 403 } else for_each_child_of_node(root, child) { in of_platform_bus_probe() 404 if (!of_match_node(matches, child)) in of_platform_bus_probe() 406 rc = of_platform_bus_create(child, matches, NULL, parent, false); in of_platform_bus_probe() 440 struct device_node *child; in of_platform_populate() local [all …]
|
D | unittest.c | 201 struct device_node *child; in of_unittest_check_node_linkage() local 204 for_each_child_of_node(np, child) { in of_unittest_check_node_linkage() 205 if (child->parent != np) { in of_unittest_check_node_linkage() 207 child->name, np->name); in of_unittest_check_node_linkage() 211 rc = of_unittest_check_node_linkage(child); in of_unittest_check_node_linkage() 517 n2->child = n21; in of_unittest_changeset() 762 struct device_node *np, *child, *grandchild; in of_unittest_platform_populate() local 800 for_each_child_of_node(np, child) { in of_unittest_platform_populate() 801 for_each_child_of_node(child, grandchild) in of_unittest_platform_populate() 808 for_each_child_of_node(np, child) { in of_unittest_platform_populate() [all …]
|
D | base.c | 252 } else if (prev->child) { in __of_find_all_nodes() 253 np = prev->child; in __of_find_all_nodes() 648 next = prev ? prev->sibling : node->child; in __of_get_next_child() 655 #define __for_each_child_of_node(parent, child) \ argument 656 for (child = __of_get_next_child(parent, NULL); child != NULL; \ 657 child = __of_get_next_child(parent, child)) 699 next = prev ? prev->sibling : node->child; in of_get_next_available_child() 726 struct device_node *child; in of_get_child_by_name() local 728 for_each_child_of_node(node, child) in of_get_child_by_name() 729 if (child->name && (of_node_cmp(child->name, name) == 0)) in of_get_child_by_name() [all …]
|
D | fdt.c | 248 np->sibling = dad->child; in unflatten_dt_node() 249 dad->child = np; in unflatten_dt_node() 352 if (!dryrun && np->child) { in unflatten_dt_node() 353 struct device_node *child = np->child; in unflatten_dt_node() local 354 np->child = NULL; in unflatten_dt_node() 355 while (child) { in unflatten_dt_node() 356 struct device_node *next = child->sibling; in unflatten_dt_node() 357 child->sibling = np->child; in unflatten_dt_node() 358 np->child = child; in unflatten_dt_node() 359 child = next; in unflatten_dt_node()
|
/linux-4.1.27/fs/openpromfs/ |
D | inode.c | 182 struct device_node *dp, *child; in openpromfs_lookup() local 200 child = dp->child; in openpromfs_lookup() 201 while (child) { in openpromfs_lookup() 202 int n = strlen(child->path_component_name); in openpromfs_lookup() 205 !strncmp(child->path_component_name, name, len)) { in openpromfs_lookup() 207 ent_data.node = child; in openpromfs_lookup() 208 ino = child->unique_id; in openpromfs_lookup() 211 child = child->sibling; in openpromfs_lookup() 268 struct device_node *child; in openpromfs_readdir() local 290 child = dp->child; in openpromfs_readdir() [all …]
|
/linux-4.1.27/drivers/thermal/ |
D | of-thermal.c | 459 struct device_node *np, *child, *sensor_np; in thermal_zone_of_sensor_register() local 473 for_each_child_of_node(np, child) { in thermal_zone_of_sensor_register() 478 if (!of_device_is_available(child)) in thermal_zone_of_sensor_register() 482 ret = of_parse_phandle_with_args(child, "thermal-sensors", in thermal_zone_of_sensor_register() 498 tzd = thermal_zone_of_add_sensor(child, sensor_np, in thermal_zone_of_sensor_register() 504 of_node_put(child); in thermal_zone_of_sensor_register() 727 struct device_node *child = NULL, *gchild; in thermal_of_build_thermal_zone() local 756 child = of_get_child_by_name(np, "trips"); in thermal_of_build_thermal_zone() 759 if (!child) in thermal_of_build_thermal_zone() 762 tz->ntrips = of_get_child_count(child); in thermal_of_build_thermal_zone() [all …]
|
/linux-4.1.27/arch/parisc/kernel/ |
D | ptrace.c | 114 long arch_ptrace(struct task_struct *child, long request, in arch_ptrace() argument 128 tmp = *(unsigned long *) ((char *) task_regs(child) + addr); in arch_ptrace() 150 task_regs(child)->gr[0] &= ~USER_PSW_BITS; in arch_ptrace() 151 task_regs(child)->gr[0] |= data; in arch_ptrace() 163 *(unsigned long *) ((char *) task_regs(child) + addr) = data; in arch_ptrace() 169 ret = ptrace_request(child, request, addr, data); in arch_ptrace() 204 long compat_arch_ptrace(struct task_struct *child, compat_long_t request, in compat_arch_ptrace() argument 219 tmp = *(compat_uint_t *) ((char *) task_regs(child) + addr); in compat_arch_ptrace() 238 ret = arch_ptrace(child, request, addr, data); in compat_arch_ptrace() 247 *(__u64 *) ((char *) task_regs(child) + addr) = data; in compat_arch_ptrace() [all …]
|
/linux-4.1.27/net/dccp/ |
D | minisocks.c | 144 struct sock *child = NULL; in dccp_check_req() local 185 child = inet_csk(sk)->icsk_af_ops->syn_recv_sock(sk, skb, req, NULL); in dccp_check_req() 186 if (child == NULL) in dccp_check_req() 190 inet_csk_reqsk_queue_add(sk, req, child); in dccp_check_req() 192 return child; in dccp_check_req() 211 int dccp_child_process(struct sock *parent, struct sock *child, in dccp_child_process() argument 215 const int state = child->sk_state; in dccp_child_process() 217 if (!sock_owned_by_user(child)) { in dccp_child_process() 218 ret = dccp_rcv_state_process(child, skb, dccp_hdr(skb), in dccp_child_process() 222 if (state == DCCP_RESPOND && child->sk_state != state) in dccp_child_process() [all …]
|
/linux-4.1.27/net/ipv4/ |
D | tcp_fastopen.c | 134 struct sock *child; in tcp_fastopen_create_child() local 141 child = inet_csk(sk)->icsk_af_ops->syn_recv_sock(sk, skb, req, NULL); in tcp_fastopen_create_child() 142 if (!child) in tcp_fastopen_create_child() 153 tp = tcp_sk(child); in tcp_fastopen_create_child() 167 inet_csk_reset_xmit_timer(child, ICSK_TIME_RETRANS, in tcp_fastopen_create_child() 172 inet_csk_reqsk_queue_add(sk, req, child); in tcp_fastopen_create_child() 175 inet_csk(child)->icsk_af_ops->rebuild_header(child); in tcp_fastopen_create_child() 176 tcp_init_congestion_control(child); in tcp_fastopen_create_child() 177 tcp_mtup_init(child); in tcp_fastopen_create_child() 178 tcp_init_metrics(child); in tcp_fastopen_create_child() [all …]
|
D | tcp_minisocks.c | 563 struct sock *child; in tcp_check_req() local 756 child = inet_csk(sk)->icsk_af_ops->syn_recv_sock(sk, skb, req, NULL); in tcp_check_req() 757 if (!child) in tcp_check_req() 761 inet_csk_reqsk_queue_add(sk, req, child); in tcp_check_req() 765 return child; in tcp_check_req() 805 int tcp_child_process(struct sock *parent, struct sock *child, in tcp_child_process() argument 809 int state = child->sk_state; in tcp_child_process() 811 if (!sock_owned_by_user(child)) { in tcp_child_process() 812 ret = tcp_rcv_state_process(child, skb, tcp_hdr(skb), in tcp_child_process() 815 if (state == TCP_SYN_RECV && child->sk_state != state) in tcp_child_process() [all …]
|
/linux-4.1.27/arch/mn10300/kernel/ |
D | ptrace.c | 262 void user_enable_single_step(struct task_struct *child) in user_enable_single_step() argument 268 tmp = get_stack_long(child, (unsigned long) &dummy->regs.epsw); in user_enable_single_step() 270 put_stack_long(child, (unsigned long) &dummy->regs.epsw, tmp); in user_enable_single_step() 277 void user_disable_single_step(struct task_struct *child) in user_disable_single_step() argument 283 tmp = get_stack_long(child, (unsigned long) &dummy->regs.epsw); in user_disable_single_step() 285 put_stack_long(child, (unsigned long) &dummy->regs.epsw, tmp); in user_disable_single_step() 289 void ptrace_disable(struct task_struct *child) in ptrace_disable() argument 291 user_disable_single_step(child); in ptrace_disable() 297 long arch_ptrace(struct task_struct *child, long request, in arch_ptrace() argument 313 tmp = get_stack_long(child, in arch_ptrace() [all …]
|
/linux-4.1.27/arch/microblaze/kernel/ |
D | ptrace.c | 77 long arch_ptrace(struct task_struct *child, long request, in arch_ptrace() argument 95 val = child->mm->start_code; in arch_ptrace() 97 val = child->mm->start_data; in arch_ptrace() 99 val = child->mm->end_code in arch_ptrace() 100 - child->mm->start_code; in arch_ptrace() 105 microblaze_reg_t *reg_addr = reg_save_addr(addr, child); in arch_ptrace() 130 rval = ptrace_request(child, request, addr, data); in arch_ptrace() 166 void ptrace_disable(struct task_struct *child) in ptrace_disable() argument
|
/linux-4.1.27/drivers/leds/ |
D | leds-syscon.c | 73 struct device_node *child; in syscon_leds_spawn() local 76 for_each_available_child_of_node(np, child) { in syscon_leds_spawn() 81 if (of_property_match_string(child, "compatible", in syscon_leds_spawn() 91 if (of_property_read_u32(child, "offset", &sled->offset)) in syscon_leds_spawn() 93 if (of_property_read_u32(child, "mask", &sled->mask)) in syscon_leds_spawn() 96 of_get_property(child, "label", NULL) ? : child->name; in syscon_leds_spawn() 98 of_get_property(child, "linux,default-trigger", NULL); in syscon_leds_spawn() 100 state = of_get_property(child, "default-state", NULL); in syscon_leds_spawn()
|
D | leds-pwm.c | 100 struct led_pwm *led, struct device_node *child) in led_pwm_add() argument 113 if (child) in led_pwm_add() 114 led_data->pwm = devm_of_pwm_get(dev, child, NULL); in led_pwm_add() 145 struct device_node *child; in led_pwm_create_of() local 151 for_each_child_of_node(dev->of_node, child) { in led_pwm_create_of() 152 led.name = of_get_property(child, "label", NULL) ? : in led_pwm_create_of() 153 child->name; in led_pwm_create_of() 155 led.default_trigger = of_get_property(child, in led_pwm_create_of() 157 led.active_low = of_property_read_bool(child, "active-low"); in led_pwm_create_of() 158 of_property_read_u32(child, "max-brightness", in led_pwm_create_of() [all …]
|
D | leds-gpio.c | 170 struct fwnode_handle *child; in gpio_leds_create() local 183 device_for_each_child_node(dev, child) { in gpio_leds_create() 187 led.gpiod = devm_get_gpiod_from_child(dev, NULL, child); in gpio_leds_create() 189 fwnode_handle_put(child); in gpio_leds_create() 194 np = of_node(child); in gpio_leds_create() 196 if (fwnode_property_present(child, "label")) { in gpio_leds_create() 197 fwnode_property_read_string(child, "label", &led.name); in gpio_leds_create() 204 fwnode_property_read_string(child, "linux,default-trigger", in gpio_leds_create() 207 if (!fwnode_property_read_string(child, "default-state", in gpio_leds_create() 217 if (fwnode_property_present(child, "retain-state-suspended")) in gpio_leds_create() [all …]
|
D | leds-ns2.c | 261 struct device_node *child; in ns2_leds_get_of_pdata() local 275 for_each_child_of_node(np, child) { in ns2_leds_get_of_pdata() 279 ret = of_get_named_gpio(child, "cmd-gpio", 0); in ns2_leds_get_of_pdata() 283 ret = of_get_named_gpio(child, "slow-gpio", 0); in ns2_leds_get_of_pdata() 287 ret = of_property_read_string(child, "label", &string); in ns2_leds_get_of_pdata() 288 leds[i].name = (ret == 0) ? string : child->name; in ns2_leds_get_of_pdata() 289 ret = of_property_read_string(child, "linux,default-trigger", in ns2_leds_get_of_pdata()
|
/linux-4.1.27/net/sched/ |
D | sch_red.c | 62 struct Qdisc *child = q->qdisc; in red_enqueue() local 67 child->qstats.backlog); in red_enqueue() 98 ret = qdisc_enqueue(skb, child); in red_enqueue() 116 struct Qdisc *child = q->qdisc; in red_dequeue() local 118 skb = child->dequeue(child); in red_dequeue() 132 struct Qdisc *child = q->qdisc; in red_peek() local 134 return child->ops->peek(child); in red_peek() 140 struct Qdisc *child = q->qdisc; in red_drop() local 143 if (child->ops->drop && (len = child->ops->drop(child)) > 0) { in red_drop() 184 struct Qdisc *child = NULL; in red_change() local [all …]
|
D | sch_prio.c | 191 struct Qdisc *child = q->queues[i]; in prio_tune() local 193 if (child != &noop_qdisc) { in prio_tune() 194 qdisc_tree_decrease_qlen(child, child->q.qlen); in prio_tune() 195 qdisc_destroy(child); in prio_tune() 202 struct Qdisc *child, *old; in prio_tune() local 204 child = qdisc_create_dflt(sch->dev_queue, in prio_tune() 207 if (child) { in prio_tune() 210 q->queues[i] = child; in prio_tune()
|
D | sch_multiq.c | 219 struct Qdisc *child = q->queues[i]; in multiq_tune() local 221 qdisc_tree_decrease_qlen(child, child->q.qlen); in multiq_tune() 222 qdisc_destroy(child); in multiq_tune() 230 struct Qdisc *child, *old; in multiq_tune() local 231 child = qdisc_create_dflt(sch->dev_queue, in multiq_tune() 235 if (child) { in multiq_tune() 238 q->queues[i] = child; in multiq_tune()
|
D | sch_sfb.c | 283 struct Qdisc *child = q->qdisc; in sfb_enqueue() local 408 ret = qdisc_enqueue(skb, child); in sfb_enqueue() 431 struct Qdisc *child = q->qdisc; in sfb_dequeue() local 434 skb = child->dequeue(q->qdisc); in sfb_dequeue() 448 struct Qdisc *child = q->qdisc; in sfb_peek() local 450 return child->ops->peek(child); in sfb_peek() 494 struct Qdisc *child; in sfb_change() local 515 child = fifo_create_dflt(sch, &pfifo_qdisc_ops, limit); in sfb_change() 516 if (IS_ERR(child)) in sfb_change() 517 return PTR_ERR(child); in sfb_change() [all …]
|
/linux-4.1.27/tools/testing/selftests/mount/ |
D | unprivileged-remount-test.c | 184 pid_t child; in test_unpriv_remount() local 186 child = fork(); in test_unpriv_remount() 187 if (child == -1) { in test_unpriv_remount() 191 if (child != 0) { /* parent */ in test_unpriv_remount() 194 pid = waitpid(child, &status, 0); in test_unpriv_remount() 199 if (pid != child) { in test_unpriv_remount() 201 child, pid); in test_unpriv_remount() 258 pid_t child; in test_priv_mount_unpriv_remount() local 264 child = fork(); in test_priv_mount_unpriv_remount() 265 if (child == -1) { in test_priv_mount_unpriv_remount() [all …]
|
/linux-4.1.27/drivers/net/wireless/ti/wlcore/ |
D | spi.c | 86 static void wl12xx_spi_reset(struct device *child) in wl12xx_spi_reset() argument 88 struct wl12xx_spi_glue *glue = dev_get_drvdata(child->parent); in wl12xx_spi_reset() 95 dev_err(child->parent, in wl12xx_spi_reset() 114 static void wl12xx_spi_init(struct device *child) in wl12xx_spi_init() argument 116 struct wl12xx_spi_glue *glue = dev_get_drvdata(child->parent); in wl12xx_spi_init() 122 dev_err(child->parent, in wl12xx_spi_init() 168 static int wl12xx_spi_read_busy(struct device *child) in wl12xx_spi_read_busy() argument 170 struct wl12xx_spi_glue *glue = dev_get_drvdata(child->parent); in wl12xx_spi_read_busy() 171 struct wl1271 *wl = dev_get_drvdata(child); in wl12xx_spi_read_busy() 199 dev_err(child->parent, "SPI read busy-word timeout!\n"); in wl12xx_spi_read_busy() [all …]
|
D | sdio.c | 64 static void wl1271_sdio_set_block_size(struct device *child, in wl1271_sdio_set_block_size() argument 67 struct wl12xx_sdio_glue *glue = dev_get_drvdata(child->parent); in wl1271_sdio_set_block_size() 75 static int __must_check wl12xx_sdio_raw_read(struct device *child, int addr, in wl12xx_sdio_raw_read() argument 79 struct wl12xx_sdio_glue *glue = dev_get_drvdata(child->parent); in wl12xx_sdio_raw_read() 93 dev_dbg(child->parent, "sdio read 52 addr 0x%x, byte 0x%02x\n", in wl12xx_sdio_raw_read() 101 dev_dbg(child->parent, "sdio read 53 addr 0x%x, %zu bytes\n", in wl12xx_sdio_raw_read() 108 dev_err(child->parent, "sdio read failed (%d)\n", ret); in wl12xx_sdio_raw_read() 113 static int __must_check wl12xx_sdio_raw_write(struct device *child, int addr, in wl12xx_sdio_raw_write() argument 117 struct wl12xx_sdio_glue *glue = dev_get_drvdata(child->parent); in wl12xx_sdio_raw_write() 131 dev_dbg(child->parent, "sdio write 52 addr 0x%x, byte 0x%02x\n", in wl12xx_sdio_raw_write() [all …]
|
D | wlcore_i.h | 193 int __must_check (*read)(struct device *child, int addr, void *buf, 195 int __must_check (*write)(struct device *child, int addr, void *buf, 197 void (*reset)(struct device *child); 198 void (*init)(struct device *child); 199 int (*power)(struct device *child, bool enable); 200 void (*set_block_size) (struct device *child, unsigned int blksz);
|
/linux-4.1.27/arch/hexagon/kernel/ |
D | ptrace.c | 37 void user_enable_single_step(struct task_struct *child) in user_enable_single_step() argument 39 pt_set_singlestep(task_pt_regs(child)); in user_enable_single_step() 40 set_tsk_thread_flag(child, TIF_SINGLESTEP); in user_enable_single_step() 43 void user_disable_single_step(struct task_struct *child) in user_disable_single_step() argument 45 pt_clr_singlestep(task_pt_regs(child)); in user_disable_single_step() 46 clear_tsk_thread_flag(child, TIF_SINGLESTEP); in user_disable_single_step() 195 void ptrace_disable(struct task_struct *child) in ptrace_disable() argument 198 user_disable_single_step(child); in ptrace_disable() 201 long arch_ptrace(struct task_struct *child, long request, in arch_ptrace() argument 204 return ptrace_request(child, request, addr, data); in arch_ptrace()
|
/linux-4.1.27/scripts/dtc/ |
D | livetree.c | 103 struct node *child; in build_node() local 110 for_each_child(new, child) { in build_node() 111 child->parent = new; in build_node() 259 void add_child(struct node *parent, struct node *child) in add_child() argument 263 child->next_sibling = NULL; in add_child() 264 child->parent = parent; in add_child() 270 *p = child; in add_child() 289 struct node *child; in delete_node() local 292 for_each_child(node, child) in delete_node() 293 delete_node(child); in delete_node() [all …]
|
/linux-4.1.27/arch/arm/mach-mvebu/ |
D | mvebu-soc-id.c | 64 struct device_node *child; in get_soc_id_by_pci() local 74 child = of_get_next_child(np, NULL); in get_soc_id_by_pci() 75 if (child == NULL) { in get_soc_id_by_pci() 81 clk = of_clk_get_by_name(child, NULL); in get_soc_id_by_pci() 94 pci_base = of_iomap(child, 0); in get_soc_id_by_pci() 122 if (!of_device_is_available(child) || !IS_ENABLED(CONFIG_PCI_MVEBU)) { in get_soc_id_by_pci() 128 of_node_put(child); in get_soc_id_by_pci()
|
/linux-4.1.27/drivers/pinctrl/freescale/ |
D | pinctrl-mxs.c | 400 struct device_node *child; in mxs_pinctrl_probe_dt() local 408 child = of_get_next_child(np, NULL); in mxs_pinctrl_probe_dt() 409 if (!child) { in mxs_pinctrl_probe_dt() 416 for_each_child_of_node(np, child) { in mxs_pinctrl_probe_dt() 417 if (of_device_is_compatible(child, gpio_compat)) in mxs_pinctrl_probe_dt() 421 if (of_property_read_u32(child, "reg", &val)) in mxs_pinctrl_probe_dt() 423 if (strcmp(fn, child->name)) { in mxs_pinctrl_probe_dt() 424 fn = child->name; in mxs_pinctrl_probe_dt() 442 for_each_child_of_node(np, child) { in mxs_pinctrl_probe_dt() 443 if (of_device_is_compatible(child, gpio_compat)) in mxs_pinctrl_probe_dt() [all …]
|
D | pinctrl-imx1-core.c | 514 struct device_node *child; in imx1_pinctrl_parse_functions() local 537 for_each_child_of_node(np, child) { in imx1_pinctrl_parse_functions() 538 func->groups[i] = child->name; in imx1_pinctrl_parse_functions() 540 ret = imx1_pinctrl_parse_groups(child, grp, info, i++); in imx1_pinctrl_parse_functions() 552 struct device_node *child; in imx1_pinctrl_parse_dt() local 561 for_each_child_of_node(np, child) { in imx1_pinctrl_parse_dt() 563 ngroups += of_get_child_count(child); in imx1_pinctrl_parse_dt() 583 for_each_child_of_node(np, child) { in imx1_pinctrl_parse_dt() 584 ret = imx1_pinctrl_parse_functions(child, info, ifunc++); in imx1_pinctrl_parse_dt()
|
/linux-4.1.27/arch/mips/include/asm/ |
D | ptrace.h | 50 extern int ptrace_getregs(struct task_struct *child, 52 extern int ptrace_setregs(struct task_struct *child, 55 extern int ptrace_getfpregs(struct task_struct *child, __u32 __user *data); 56 extern int ptrace_setfpregs(struct task_struct *child, __u32 __user *data); 58 extern int ptrace_get_watch_regs(struct task_struct *child, 60 extern int ptrace_set_watch_regs(struct task_struct *child,
|
/linux-4.1.27/Documentation/devicetree/bindings/i2c/ |
D | i2c-mux-pinctrl.txt | 12 | +---+ +------+ | child bus A, on first set of pins 14 | +---+ +------+ | child bus B, on second set of pins 28 * Standard pinctrl properties that specify the pin mux state for each child 33 * I2C child bus nodes. See mux.txt in this directory. 35 For each named state defined in the pinctrl-names property, an I2C child bus 36 will be created. I2C child bus numbers are assigned based on the index into 47 Whenever an access is made to a device on a child bus, the relevant pinctrl 51 on a child bus, the idle pinctrl state will be programmed into hardware. 55 a child bus.
|
D | i2c-mux-gpio.txt | 11 | +------+ | +------+ child bus A, on GPIO value set to 0 13 | +------+ | +--+---+ child bus B, on GPIO value set to 1 26 * I2C child bus nodes. See mux.txt in this directory. 32 For each i2c child node, an I2C child bus will be created. They will 35 Whenever an access is made to a device on a child bus, the value set 40 whenever an access is not being made to a device on a child bus, the 45 device on a child bus.
|
D | i2c-mux.txt | 3 An i2c bus multiplexer/switch will have several child busses that are 5 multiplexer/switch will have one child node for each child 12 Required properties for child nodes: 17 Optional properties for child nodes:
|
/linux-4.1.27/arch/unicore32/kernel/ |
D | ptrace.c | 56 void ptrace_disable(struct task_struct *child) in ptrace_disable() argument 87 long arch_ptrace(struct task_struct *child, long request, in arch_ptrace() argument 95 ret = ptrace_read_user(child, addr, datap); in arch_ptrace() 99 ret = ptrace_write_user(child, addr, data); in arch_ptrace() 103 ret = put_user(task_pt_regs(child)->UCreg_16, in arch_ptrace() 108 ret = ptrace_request(child, request, addr, data); in arch_ptrace()
|
/linux-4.1.27/tools/perf/util/ |
D | callchain.c | 299 struct callchain_node *child; in __sort_chain_flat() local 303 child = rb_entry(n, struct callchain_node, rb_node_in); in __sort_chain_flat() 306 __sort_chain_flat(rb_root, child, min_hit); in __sort_chain_flat() 328 struct callchain_node *child; in __sort_chain_graph_abs() local 334 child = rb_entry(n, struct callchain_node, rb_node_in); in __sort_chain_graph_abs() 337 __sort_chain_graph_abs(child, min_hit); in __sort_chain_graph_abs() 338 if (callchain_cumul_hits(child) >= min_hit) in __sort_chain_graph_abs() 339 rb_insert_callchain(&node->rb_root, child, in __sort_chain_graph_abs() 356 struct callchain_node *child; in __sort_chain_graph_rel() local 364 child = rb_entry(n, struct callchain_node, rb_node_in); in __sort_chain_graph_rel() [all …]
|
/linux-4.1.27/Documentation/devicetree/bindings/pwm/ |
D | pwm-tipwmss.txt | 6 - address-cells: Specify the number of u32 entries needed in child nodes. 8 - size-cells: specify number of u32 entries needed to specify child nodes size 11 physical address map of child's base address, physical address within 13 3 set of child register maps present, ECAP register space, EQEP 16 Also child nodes should also populated under PWMSS DT node. 30 /* child nodes go here */
|
/linux-4.1.27/drivers/md/persistent-data/ |
D | dm-btree-remove.c | 136 struct child { struct 144 unsigned index, struct child *result) in init_child() argument 168 static int exit_child(struct dm_btree_info *info, struct child *c) in exit_child() 200 struct child *l, struct child *r) in __rebalance2() 236 struct child left, right; in rebalance2() 267 struct child *l, struct child *c, struct child *r, in delete_center_node() 298 struct child *l, struct child *c, struct child *r, in redistribute3() 345 struct child *l, struct child *c, struct child *r) in __rebalance3() 373 struct child left, center, right; in rebalance3() 445 struct dm_block *child; in rebalance_children() local [all …]
|
/linux-4.1.27/fs/ext4/ |
D | crypto_policy.c | 127 struct inode *child) in ext4_is_child_context_consistent_with_parent() argument 132 if ((parent == NULL) || (child == NULL)) { in ext4_is_child_context_consistent_with_parent() 133 pr_err("parent %p child %p\n", parent, child); in ext4_is_child_context_consistent_with_parent() 145 if (!ext4_encrypted_inode(child)) in ext4_is_child_context_consistent_with_parent() 147 res = ext4_xattr_get(child, EXT4_XATTR_INDEX_ENCRYPTION, in ext4_is_child_context_consistent_with_parent() 168 int ext4_inherit_context(struct inode *parent, struct inode *child) in ext4_inherit_context() argument 191 res = ext4_xattr_set(child, EXT4_XATTR_INDEX_ENCRYPTION, in ext4_inherit_context() 196 ext4_set_inode_flag(child, EXT4_INODE_ENCRYPT); in ext4_inherit_context()
|
/linux-4.1.27/drivers/acpi/acpica/ |
D | nsalloc.c | 175 next_node = parent_node->child; in acpi_ns_remove_node() 194 parent_node->child = node->peer; in acpi_ns_remove_node() 256 child_node = parent_node->child; in acpi_ns_install_node() 259 parent_node->child = node; in acpi_ns_install_node() 312 next_node = parent_node->child; in acpi_ns_delete_children() 317 if (next_node->child) { in acpi_ns_delete_children() 333 parent_node->child = NULL; in acpi_ns_delete_children() 386 if (child_node->child) { in acpi_ns_delete_namespace_subtree() 491 if (child_node->child) { in acpi_ns_delete_namespace_by_owner()
|
D | pstree.c | 274 union acpi_parse_object *child = NULL; in acpi_ps_get_child() local 285 child = acpi_ps_get_arg(op, 0); in acpi_ps_get_child() 295 child = acpi_ps_get_arg(op, 1); in acpi_ps_get_child() 301 child = acpi_ps_get_arg(op, 2); in acpi_ps_get_child() 307 child = acpi_ps_get_arg(op, 3); in acpi_ps_get_child() 317 return (child); in acpi_ps_get_child()
|
D | nsxfobj.c | 188 acpi_handle child, acpi_handle * ret_handle) in ACPI_EXPORT_SYMBOL() 208 if (!child) { in ACPI_EXPORT_SYMBOL() 221 child_node = acpi_ns_validate_handle(child); in ACPI_EXPORT_SYMBOL()
|
D | dsfield.c | 292 union acpi_parse_object *child; in acpi_ds_get_field_names() local 369 child = arg->common.value.arg; in acpi_ds_get_field_names() 370 if (child->common.aml_opcode == AML_INT_BYTELIST_OP) { in acpi_ds_get_field_names() 371 info->resource_buffer = child->named.data; in acpi_ds_get_field_names() 373 (u16)child->named.value.integer; in acpi_ds_get_field_names() 378 child->common.value. in acpi_ds_get_field_names() 385 ACPI_ERROR_NAMESPACE(child->common. in acpi_ds_get_field_names()
|
/linux-4.1.27/drivers/phy/ |
D | phy-rockchip-usb.c | 98 struct device_node *child; in rockchip_usb_phy_probe() local 108 for_each_available_child_of_node(dev->of_node, child) { in rockchip_usb_phy_probe() 113 if (of_property_read_u32(child, "reg", ®_offset)) { in rockchip_usb_phy_probe() 115 child->name); in rockchip_usb_phy_probe() 122 rk_phy->clk = of_clk_get_by_name(child, "phyclk"); in rockchip_usb_phy_probe() 126 rk_phy->phy = devm_phy_create(dev, child, &ops); in rockchip_usb_phy_probe()
|
D | phy-berlin-sata.c | 193 struct device_node *child; in phy_berlin_sata_probe() local 234 for_each_available_child_of_node(dev->of_node, child) { in phy_berlin_sata_probe() 237 if (of_property_read_u32(child, "reg", &phy_id)) { in phy_berlin_sata_probe() 239 child->name); in phy_berlin_sata_probe() 244 dev_err(dev, "invalid reg in node %s\n", child->name); in phy_berlin_sata_probe()
|
/linux-4.1.27/arch/sparc/kernel/ |
D | ptrace_32.c | 38 void ptrace_disable(struct task_struct *child) in ptrace_disable() argument 340 long arch_ptrace(struct task_struct *child, long request, in arch_ptrace() argument 357 ret = copy_regset_to_user(child, view, REGSET_GENERAL, in arch_ptrace() 362 copy_regset_to_user(child, view, REGSET_GENERAL, in arch_ptrace() 370 ret = copy_regset_from_user(child, view, REGSET_GENERAL, in arch_ptrace() 375 copy_regset_from_user(child, view, REGSET_GENERAL, in arch_ptrace() 383 ret = copy_regset_to_user(child, view, REGSET_FP, in arch_ptrace() 388 ret = copy_regset_to_user(child, view, REGSET_FP, in arch_ptrace() 404 ret = copy_regset_from_user(child, view, REGSET_FP, in arch_ptrace() 409 ret = copy_regset_from_user(child, view, REGSET_FP, in arch_ptrace() [all …]
|
D | ptrace_64.c | 54 void ptrace_disable(struct task_struct *child) in ptrace_disable() argument 863 long compat_arch_ptrace(struct task_struct *child, compat_long_t request, in compat_arch_ptrace() argument 884 ret = copy_regset_to_user(child, view, REGSET_GENERAL, in compat_arch_ptrace() 889 ret = copy_regset_to_user(child, view, REGSET_GENERAL, in compat_arch_ptrace() 896 ret = copy_regset_from_user(child, view, REGSET_GENERAL, in compat_arch_ptrace() 901 ret = copy_regset_from_user(child, view, REGSET_GENERAL, in compat_arch_ptrace() 908 ret = copy_regset_to_user(child, view, REGSET_FP, in compat_arch_ptrace() 913 ret = copy_regset_to_user(child, view, REGSET_FP, in compat_arch_ptrace() 927 ret = copy_regset_from_user(child, view, REGSET_FP, in compat_arch_ptrace() 932 ret = copy_regset_from_user(child, view, REGSET_FP, in compat_arch_ptrace() [all …]
|
D | of_device_common.h | 20 void of_bus_sbus_count_cells(struct device_node *child, int *addrc, int *sizec); 29 void (*count_cells)(struct device_node *child,
|
/linux-4.1.27/drivers/i2c/busses/ |
D | i2c-pxa-pci.c | 25 struct device_node *child; in add_i2c_device() local 40 for_each_child_of_node(dev->dev.of_node, child) { in add_i2c_device() 45 ret = of_address_to_resource(child, 0, &r); in add_i2c_device() 55 prop = of_get_property(child, "fast-mode", NULL); in add_i2c_device() 62 if (!child) { in add_i2c_device() 71 of_node_put(child); in add_i2c_device() 76 pdev->dev.of_node = child; in add_i2c_device()
|
/linux-4.1.27/drivers/parport/ |
D | procfs.c | 236 #define PARPORT_PORT_DIR(CHILD) { .procname = NULL, .mode = 0555, .child = CHILD } 238 .mode = 0555, .child = CHILD } 239 #define PARPORT_DEV_DIR(CHILD) { .procname = "dev", .mode = 0555, .child = CHILD } 241 .mode = 0555, .child = NULL } 400 .child = NULL 459 .child = parport_default_sysctl_table.vars 489 t->vars[5].child = t->device_dir; in parport_proc_register() 496 t->port_dir[0].child = t->vars; in parport_proc_register() 497 t->parport_dir[0].child = t->port_dir; in parport_proc_register() 498 t->dev_dir[0].child = t->parport_dir; in parport_proc_register() [all …]
|
/linux-4.1.27/security/yama/ |
D | yama_lsm.c | 215 struct task_struct *child) in task_is_descendant() argument 218 struct task_struct *walker = child; in task_is_descendant() 220 if (!parent || !child) in task_is_descendant() 282 int yama_ptrace_access_check(struct task_struct *child, in yama_ptrace_access_check() argument 290 rc = cap_ptrace_access_check(child, mode); in yama_ptrace_access_check() 302 if (!task_is_descendant(current, child) && in yama_ptrace_access_check() 303 !ptracer_exception_found(current, child) && in yama_ptrace_access_check() 304 !ns_capable(__task_cred(child)->user_ns, CAP_SYS_PTRACE)) in yama_ptrace_access_check() 310 if (!ns_capable(__task_cred(child)->user_ns, CAP_SYS_PTRACE)) in yama_ptrace_access_check() 324 child->pid, current->comm, current->pid); in yama_ptrace_access_check()
|
/linux-4.1.27/arch/x86/pci/ |
D | i386.c | 234 struct pci_bus *child; in pcibios_allocate_bus_resources() local 239 list_for_each_entry(child, &bus->children, node) in pcibios_allocate_bus_resources() 240 pcibios_allocate_bus_resources(child); in pcibios_allocate_bus_resources() 309 struct pci_bus *child; in pcibios_allocate_resources() local 314 child = dev->subordinate; in pcibios_allocate_resources() 315 if (child) in pcibios_allocate_resources() 316 pcibios_allocate_resources(child, pass); in pcibios_allocate_resources() 343 struct pci_bus *child; in pcibios_allocate_rom_resources() local 348 child = dev->subordinate; in pcibios_allocate_rom_resources() 349 if (child) in pcibios_allocate_rom_resources() [all …]
|
/linux-4.1.27/drivers/firewire/ |
D | core-topology.c | 186 struct fw_node *node, *child, *local_node, *irm_node; in build_tree() local 233 child = fw_node(h); in build_tree() 267 node->ports[i] = child; in build_tree() 272 child->ports[child->color] = node; in build_tree() 273 child->color = card->color; in build_tree() 274 child = fw_node(child->link.next); in build_tree() 329 struct fw_node *node, *next, *child, *parent; in for_each_fw_node() local 341 child = node->ports[i]; in for_each_fw_node() 342 if (!child) in for_each_fw_node() 344 if (child->color == card->color) in for_each_fw_node() [all …]
|
/linux-4.1.27/drivers/input/keyboard/ |
D | gpio_keys_polled.c | 107 struct fwnode_handle *child; in gpio_keys_polled_get_devtree_pdata() local 125 device_for_each_child_node(dev, child) { in gpio_keys_polled_get_devtree_pdata() 128 desc = devm_get_gpiod_from_child(dev, NULL, child); in gpio_keys_polled_get_devtree_pdata() 135 fwnode_handle_put(child); in gpio_keys_polled_get_devtree_pdata() 142 if (fwnode_property_read_u32(child, "linux,code", &button->code)) { in gpio_keys_polled_get_devtree_pdata() 145 fwnode_handle_put(child); in gpio_keys_polled_get_devtree_pdata() 149 fwnode_property_read_string(child, "label", &button->desc); in gpio_keys_polled_get_devtree_pdata() 151 if (fwnode_property_read_u32(child, "linux,input-type", in gpio_keys_polled_get_devtree_pdata() 155 button->wakeup = fwnode_property_present(child, "gpio-key,wakeup"); in gpio_keys_polled_get_devtree_pdata() 157 if (fwnode_property_read_u32(child, "debounce-interval", in gpio_keys_polled_get_devtree_pdata()
|
/linux-4.1.27/Documentation/networking/ |
D | fib_trie.txt | 11 An internal node, holding an array of child (leaf or tnode) pointers, 18 child array - the "child index". See Level Compression. 22 the child array. See Path Compression. 25 Any given tnode is linked to from the child array of its parent, using 35 Level Compression / child arrays 37 children of a full child (see "full_children") up one level, so that 40 Conversely, a tnode with a mostly empty child array (see empty_children) 42 in order to avoid ever-increasing child arrays. 45 the number of positions in the child array of a given tnode that are 81 Analyzes a tnode and optimizes the child array size by either inflating [all …]
|
/linux-4.1.27/arch/powerpc/platforms/pseries/ |
D | pci_dlpar.c | 41 struct pci_bus *child = NULL; in find_bus_among_children() local 50 child = find_bus_among_children(tmp, dn); in find_bus_among_children() 51 if (child) in find_bus_among_children() 54 return child; in find_bus_among_children() 87 if (dn->child) in init_phb_dynamic()
|
D | dlpar.c | 113 if (dn->child) in dlpar_free_cc_nodes() 114 dlpar_free_cc_nodes(dn->child); in dlpar_free_cc_nodes() 198 last_dn->child = dn; in dlpar_configure_connector() 291 struct device_node *child; in dlpar_detach_node() local 294 child = of_get_next_child(dn, NULL); in dlpar_detach_node() 295 while (child) { in dlpar_detach_node() 296 dlpar_detach_node(child); in dlpar_detach_node() 297 child = of_get_next_child(dn, child); in dlpar_detach_node()
|
/linux-4.1.27/scripts/tracing/ |
D | draw_functrace.py | 49 child = CallTree(func, calltime, self) 50 self._children.append(child) 51 return child 63 child = CallTree.ROOT.calls(func, None) 64 return child
|
/linux-4.1.27/Documentation/devicetree/bindings/spmi/ |
D | spmi.txt | 4 controller is modelled in device tree as a node with zero or more child nodes, 13 An SPMI controller node can contain zero or more child nodes representing slave 20 Each child node must have one and only one 'reg' entry of type SPMI_USID. 31 child@0 { 36 child@7 {
|
/linux-4.1.27/include/linux/mfd/ |
D | smsc.h | 42 static inline int smsc_read(struct device *child, unsigned int reg, in smsc_read() argument 45 struct smsc *smsc = dev_get_drvdata(child->parent); in smsc_read() 50 static inline int smsc_write(struct device *child, unsigned int reg, in smsc_write() argument 53 struct smsc *smsc = dev_get_drvdata(child->parent); in smsc_write()
|
/linux-4.1.27/sound/soc/fsl/ |
D | imx-audmux.c | 258 struct device_node *child; in imx_audmux_parse_dt_defaults() local 260 for_each_available_child_of_node(of_node, child) { in imx_audmux_parse_dt_defaults() 269 ret = of_property_read_u32(child, "fsl,audmux-port", &port); in imx_audmux_parse_dt_defaults() 272 child->full_name); in imx_audmux_parse_dt_defaults() 275 if (!of_property_read_bool(child, "fsl,port-config")) { in imx_audmux_parse_dt_defaults() 277 child->full_name); in imx_audmux_parse_dt_defaults() 281 for (i = 0; (ret = of_property_read_u32_index(child, in imx_audmux_parse_dt_defaults() 296 i, child->full_name); in imx_audmux_parse_dt_defaults() 303 child->full_name); in imx_audmux_parse_dt_defaults()
|
/linux-4.1.27/arch/arm/kernel/ |
D | ptrace.c | 195 void ptrace_disable(struct task_struct *child) in ptrace_disable() argument 798 long arch_ptrace(struct task_struct *child, long request, in arch_ptrace() argument 806 ret = ptrace_read_user(child, addr, datap); in arch_ptrace() 810 ret = ptrace_write_user(child, addr, data); in arch_ptrace() 814 ret = copy_regset_to_user(child, in arch_ptrace() 821 ret = copy_regset_from_user(child, in arch_ptrace() 828 ret = copy_regset_to_user(child, in arch_ptrace() 835 ret = copy_regset_from_user(child, in arch_ptrace() 843 ret = ptrace_getwmmxregs(child, datap); in arch_ptrace() 847 ret = ptrace_setwmmxregs(child, datap); in arch_ptrace() [all …]
|
D | isa.c | 51 .child = ctl_isa_vars, 59 .child = ctl_isa,
|
/linux-4.1.27/tools/lib/traceevent/ |
D | plugin_function.c | 59 static void add_child(struct func_stack *stack, const char *child, int pos) in add_child() argument 63 if (!child) in add_child() 85 stack->stack[pos] = strdup(child); in add_child() 88 static int add_and_get_index(const char *parent, const char *child, int cpu) in add_and_get_index() argument 114 add_child(&fstack[cpu], child, i+1); in add_and_get_index() 121 add_child(&fstack[cpu], child, 1); in add_and_get_index()
|
/linux-4.1.27/arch/blackfin/include/asm/ |
D | ptrace.h | 19 #define ptrace_disable(child) user_disable_single_step(child) argument 22 extern int is_user_addr_valid(struct task_struct *child,
|
/linux-4.1.27/arch/mips/pci/ |
D | pci-rt3883.c | 420 struct device_node *child; in rt3883_pci_probe() local 435 for_each_child_of_node(np, child) { in rt3883_pci_probe() 436 if (of_get_property(child, "interrupt-controller", NULL) && in rt3883_pci_probe() 437 of_node_get(child)) { in rt3883_pci_probe() 438 rpc->intc_of_node = child; in rt3883_pci_probe() 451 for_each_child_of_node(np, child) { in rt3883_pci_probe() 452 if (child->type && in rt3883_pci_probe() 453 of_node_cmp(child->type, "pci") == 0 && in rt3883_pci_probe() 454 of_node_get(child)) { in rt3883_pci_probe() 455 rpc->pci_controller.of_node = child; in rt3883_pci_probe() [all …]
|
/linux-4.1.27/drivers/memory/ |
D | omap-gpmc.c | 1781 struct device_node *child) in gpmc_probe_nand_child() argument 1788 if (of_property_read_u32(child, "reg", &val) < 0) { in gpmc_probe_nand_child() 1790 child->full_name); in gpmc_probe_nand_child() 1800 gpmc_nand_data->of_node = child; in gpmc_probe_nand_child() 1803 gpmc_nand_data->elm_of_node = of_parse_phandle(child, "ti,elm-id", 0); in gpmc_probe_nand_child() 1806 of_parse_phandle(child, "elm_id", 0); in gpmc_probe_nand_child() 1809 if (of_property_read_string(child, "ti,nand-ecc-opt", &s)) { in gpmc_probe_nand_child() 1844 if (!of_property_read_string(child, "ti,nand-xfer-type", &s)) in gpmc_probe_nand_child() 1851 gpmc_nand_data->flash_bbt = of_get_nand_on_flash_bbt(child); in gpmc_probe_nand_child() 1853 val = of_get_nand_bus_width(child); in gpmc_probe_nand_child() [all …]
|
D | jz4780-nemc.c | 271 struct device_node *child; in jz4780_nemc_probe() local 318 for_each_child_of_node(nemc->dev->of_node, child) { in jz4780_nemc_probe() 321 while ((prop = of_get_address(child, i++, NULL, NULL))) { in jz4780_nemc_probe() 326 child->full_name, bank); in jz4780_nemc_probe() 338 child->full_name); in jz4780_nemc_probe() 342 child->full_name); in jz4780_nemc_probe() 348 if (!jz4780_nemc_configure_bank(nemc, bank, child)) { in jz4780_nemc_probe() 355 if (of_platform_device_create(child, NULL, nemc->dev)) in jz4780_nemc_probe()
|
/linux-4.1.27/arch/openrisc/kernel/ |
D | ptrace.c | 151 void ptrace_disable(struct task_struct *child) in ptrace_disable() argument 155 user_disable_single_step(child); in ptrace_disable() 156 clear_tsk_thread_flag(child, TIF_SYSCALL_TRACE); in ptrace_disable() 159 long arch_ptrace(struct task_struct *child, long request, unsigned long addr, in arch_ptrace() argument 166 ret = ptrace_request(child, request, addr, data); in arch_ptrace()
|
/linux-4.1.27/drivers/staging/lustre/lustre/ldlm/ |
D | interval_tree.c | 511 struct interval_node *child, *parent; in interval_erase() local 517 child = node->in_right; in interval_erase() 519 child = node->in_left; in interval_erase() 524 child = node->in_right; in interval_erase() 528 if (child) in interval_erase() 529 child->in_parent = parent; in interval_erase() 531 parent->in_right = child; in interval_erase() 533 parent->in_left = child; in interval_erase() 552 update_maxhigh(child ? : parent, node->in_max_high); in interval_erase() 561 if (child) in interval_erase() [all …]
|
/linux-4.1.27/arch/arm/crypto/ |
D | ghash-ce-glue.c | 164 struct crypto_shash *child = cryptd_ahash_child(cryptd_tfm); in ghash_async_init() local 166 desc->tfm = child; in ghash_async_init() 221 struct crypto_shash *child = cryptd_ahash_child(cryptd_tfm); in ghash_async_digest() local 223 desc->tfm = child; in ghash_async_digest() 233 struct crypto_ahash *child = &ctx->cryptd_tfm->base; in ghash_async_setkey() local 236 crypto_ahash_clear_flags(child, CRYPTO_TFM_REQ_MASK); in ghash_async_setkey() 237 crypto_ahash_set_flags(child, crypto_ahash_get_flags(tfm) in ghash_async_setkey() 239 err = crypto_ahash_setkey(child, key, keylen); in ghash_async_setkey() 240 crypto_ahash_set_flags(tfm, crypto_ahash_get_flags(child) in ghash_async_setkey()
|
/linux-4.1.27/fs/notify/ |
D | fsnotify.c | 67 struct dentry *child; in __fsnotify_update_child_dentry_flags() local 73 list_for_each_entry(child, &alias->d_subdirs, d_child) { in __fsnotify_update_child_dentry_flags() 74 if (!child->d_inode) in __fsnotify_update_child_dentry_flags() 77 spin_lock_nested(&child->d_lock, DENTRY_D_LOCK_NESTED); in __fsnotify_update_child_dentry_flags() 79 child->d_flags |= DCACHE_FSNOTIFY_PARENT_WATCHED; in __fsnotify_update_child_dentry_flags() 81 child->d_flags &= ~DCACHE_FSNOTIFY_PARENT_WATCHED; in __fsnotify_update_child_dentry_flags() 82 spin_unlock(&child->d_lock); in __fsnotify_update_child_dentry_flags()
|
/linux-4.1.27/fs/nfs/blocklayout/ |
D | dev.c | 135 struct pnfs_block_dev *child = &dev->children[i]; in bl_map_concat() local 137 if (child->start > offset || in bl_map_concat() 138 child->start + child->len <= offset) in bl_map_concat() 141 child->map(child, offset - child->start, map); in bl_map_concat() 152 struct pnfs_block_dev *child; in bl_map_stripe() local 173 child = &dev->children[chunk_idx]; in bl_map_stripe() 174 child->map(child, disk_offset, map); in bl_map_stripe()
|
/linux-4.1.27/Documentation/devicetree/bindings/soc/qcom/ |
D | qcom,gsbi.txt | 3 The GSBI controller is modeled as a node with zero or more child nodes, each 20 - syscon-tcsr: indicates phandle of TCSR syscon node. Required if child uses 23 Required properties if child node exists: 30 A GSBI controller node can contain 0 or more child nodes representing serial 34 See the following for child node definitions: 57 /* child nodes go under here */
|
/linux-4.1.27/arch/um/include/asm/ |
D | ptrace-generic.h | 33 extern long subarch_ptrace(struct task_struct *child, long request, 35 extern unsigned long getreg(struct task_struct *child, int regno); 36 extern int putreg(struct task_struct *child, int regno, unsigned long value);
|
/linux-4.1.27/drivers/clk/ |
D | clk.c | 185 struct clk_core *child; in clk_summary_show_subtree() local 192 hlist_for_each_entry(child, &c->children, child_node) in clk_summary_show_subtree() 193 clk_summary_show_subtree(s, child, level + 1); in clk_summary_show_subtree() 244 struct clk_core *child; in clk_dump_subtree() local 251 hlist_for_each_entry(child, &c->children, child_node) { in clk_dump_subtree() 253 clk_dump_subtree(s, child, level + 1); in clk_dump_subtree() 485 struct clk_core *child; in clk_unprepare_unused_subtree() local 489 hlist_for_each_entry(child, &clk->children, child_node) in clk_unprepare_unused_subtree() 490 clk_unprepare_unused_subtree(child); in clk_unprepare_unused_subtree() 511 struct clk_core *child; in clk_disable_unused_subtree() local [all …]
|
/linux-4.1.27/tools/testing/selftests/exec/ |
D | execveat.c | 69 pid_t child; in check_execveat_invoked_rc() local 78 child = fork(); in check_execveat_invoked_rc() 79 if (child < 0) { in check_execveat_invoked_rc() 83 if (child == 0) { in check_execveat_invoked_rc() 91 rc = waitpid(child, &status, 0); in check_execveat_invoked_rc() 92 if (rc != child) { in check_execveat_invoked_rc() 93 printf("[FAIL] (waitpid(%d,...) returned %d)\n", child, rc); in check_execveat_invoked_rc() 98 child, status); in check_execveat_invoked_rc() 104 child, WEXITSTATUS(status), expected_rc, expected_rc2); in check_execveat_invoked_rc()
|
/linux-4.1.27/drivers/input/gameport/ |
D | gameport.c | 439 struct gameport *gameport, *child = NULL; in gameport_get_pending_child() local 448 child = gameport; in gameport_get_pending_child() 455 return child; in gameport_get_pending_child() 559 gameport->parent->child = gameport; in gameport_add_port() 587 struct gameport *child; in gameport_destroy_port() local 589 child = gameport_get_pending_child(gameport); in gameport_destroy_port() 590 if (child) { in gameport_destroy_port() 591 gameport_remove_pending_events(child); in gameport_destroy_port() 592 put_device(&child->dev); in gameport_destroy_port() 596 gameport->parent->child = NULL; in gameport_destroy_port() [all …]
|
/linux-4.1.27/drivers/gpu/drm/imx/ |
D | imx-ldb.c | 60 struct device_node *child; member 218 int mux = imx_drm_encoder_get_mux_id(imx_ldb_ch->child, encoder); in imx_ldb_encoder_commit() 268 int mux = imx_drm_encoder_get_mux_id(imx_ldb_ch->child, encoder); in imx_ldb_encoder_mode_set() 408 imx_ldb_ch->child); in imx_ldb_register() 512 struct device_node *child; in imx_ldb_bind() local 561 for_each_child_of_node(np, child) { in imx_ldb_bind() 565 ret = of_property_read_u32(child, "reg", &i); in imx_ldb_bind() 574 if (!of_device_is_available(child)) in imx_ldb_bind() 580 channel->child = child; in imx_ldb_bind() 586 port = of_graph_get_port_by_id(child, imx_ldb->lvds_mux ? 4 : 2); in imx_ldb_bind() [all …]
|
/linux-4.1.27/arch/powerpc/platforms/44x/ |
D | warp.c | 175 struct device_node *np, *child; in pika_setup_leds() local 183 for_each_child_of_node(np, child) in pika_setup_leds() 184 if (strcmp(child->name, "green") == 0) in pika_setup_leds() 185 green_led = of_get_gpio(child, 0); in pika_setup_leds() 186 else if (strcmp(child->name, "red") == 0) in pika_setup_leds() 187 red_led = of_get_gpio(child, 0); in pika_setup_leds()
|
/linux-4.1.27/arch/x86/um/asm/ |
D | ptrace.h | 50 extern int ptrace_get_thread_area(struct task_struct *child, int idx, 53 extern int ptrace_set_thread_area(struct task_struct *child, int idx, 69 static inline int ptrace_get_thread_area(struct task_struct *child, int idx, in ptrace_get_thread_area() argument 75 static inline int ptrace_set_thread_area(struct task_struct *child, int idx, in ptrace_set_thread_area() argument
|
/linux-4.1.27/Documentation/devicetree/bindings/usb/ |
D | samsung-usbphy.txt | 27 - #address-cells: should be '1' when usbphy node has a child node with 'reg' 29 - #size-cells: should be '1' when usbphy node has a child node with 'reg' 31 - ranges: allows valid translation between child's address space and parent's 34 - The child node 'usbphy-sys' to the node 'usbphy' is for the system controller 83 - #address-cells: should be '1' when usbphy node has a child node with 'reg' 85 - #size-cells: should be '1' when usbphy node has a child node with 'reg' 87 - ranges: allows valid translation between child's address space and parent's 90 - The child node 'usbphy-sys' to the node 'usbphy' is for the system controller
|
/linux-4.1.27/drivers/macintosh/ |
D | windfarm_smu_sat.c | 213 struct device_node *child; in wf_sat_probe() local 231 child = NULL; in wf_sat_probe() 232 while ((child = of_get_next_child(dev, child)) != NULL) { in wf_sat_probe() 233 reg = of_get_property(child, "reg", NULL); in wf_sat_probe() 234 type = of_get_property(child, "device_type", NULL); in wf_sat_probe() 235 loc = of_get_property(child, "location", NULL); in wf_sat_probe() 251 "location %s for %s\n", loc, child->full_name); in wf_sat_probe()
|
/linux-4.1.27/drivers/video/fbdev/omap2/dss/ |
D | omapdss-boot-init.c | 190 struct device_node *dss, *child; in omapdss_boot_init() local 201 for_each_available_child_of_node(dss, child) { in omapdss_boot_init() 202 if (!of_find_property(child, "compatible", NULL)) { in omapdss_boot_init() 203 of_node_put(child); in omapdss_boot_init() 207 omapdss_walk_device(child, true); in omapdss_boot_init()
|
/linux-4.1.27/drivers/clk/ux500/ |
D | u8500_of_clk.c | 62 struct device_node *child = NULL; in u8500_of_clk_init() local 540 for_each_child_of_node(np, child) { in u8500_of_clk_init() 543 if (!of_node_cmp(child->name, "prcmu-clock")) { in u8500_of_clk_init() 546 of_clk_add_provider(child, of_clk_src_onecell_get, &clk_data); in u8500_of_clk_init() 548 if (!of_node_cmp(child->name, "prcc-periph-clock")) in u8500_of_clk_init() 549 of_clk_add_provider(child, ux500_twocell_get, prcc_pclk); in u8500_of_clk_init() 551 if (!of_node_cmp(child->name, "prcc-kernel-clock")) in u8500_of_clk_init() 552 of_clk_add_provider(child, ux500_twocell_get, prcc_kclk); in u8500_of_clk_init() 554 if (!of_node_cmp(child->name, "rtc32k-clock")) in u8500_of_clk_init() 555 of_clk_add_provider(child, of_clk_src_simple_get, rtc_clk); in u8500_of_clk_init() [all …]
|
/linux-4.1.27/arch/c6x/kernel/ |
D | ptrace.c | 25 void ptrace_disable(struct task_struct *child) in ptrace_disable() argument 142 long arch_ptrace(struct task_struct *child, long request, in arch_ptrace() argument 152 ret = generic_ptrace_pokedata(child, addr, data); in arch_ptrace() 157 ret = ptrace_request(child, request, addr, data); in arch_ptrace()
|
/linux-4.1.27/drivers/bus/ |
D | imx-weim.c | 144 struct device_node *child; in weim_parse_dt() local 153 for_each_available_child_of_node(pdev->dev.of_node, child) { in weim_parse_dt() 154 if (!child->name) in weim_parse_dt() 157 ret = weim_timing_setup(child, base, devtype); in weim_parse_dt() 160 child->full_name); in weim_parse_dt()
|
/linux-4.1.27/drivers/irqchip/ |
D | irq-gic-v2m.c | 318 struct device_node *child; in gicv2m_of_init() local 320 for (child = of_find_matching_node(node, gicv2m_device_id); child; in gicv2m_of_init() 321 child = of_find_matching_node(child, gicv2m_device_id)) { in gicv2m_of_init() 322 if (!of_find_property(child, "msi-controller", NULL)) in gicv2m_of_init() 325 ret = gicv2m_init_one(child, parent); in gicv2m_of_init()
|
/linux-4.1.27/drivers/usb/host/ |
D | ohci-exynos.c | 44 struct device_node *child; in exynos_ohci_get_phy() local 50 for_each_available_child_of_node(dev->of_node, child) { in exynos_ohci_get_phy() 51 ret = of_property_read_u32(child, "reg", &phy_number); in exynos_ohci_get_phy() 54 of_node_put(child); in exynos_ohci_get_phy() 60 of_node_put(child); in exynos_ohci_get_phy() 64 phy = devm_of_phy_get(dev, child, NULL); in exynos_ohci_get_phy()
|
D | ehci-exynos.c | 55 struct device_node *child; in exynos_ehci_get_phy() local 61 for_each_available_child_of_node(dev->of_node, child) { in exynos_ehci_get_phy() 62 ret = of_property_read_u32(child, "reg", &phy_number); in exynos_ehci_get_phy() 65 of_node_put(child); in exynos_ehci_get_phy() 71 of_node_put(child); in exynos_ehci_get_phy() 75 phy = devm_of_phy_get(dev, child, NULL); in exynos_ehci_get_phy()
|
/linux-4.1.27/drivers/misc/ |
D | sram.c | 62 struct device_node *np = pdev->dev.of_node, *child; in sram_probe() local 115 for_each_available_child_of_node(np, child) { in sram_probe() 118 ret = of_address_to_resource(child, 0, &child_res); in sram_probe() 122 child->full_name); in sram_probe() 129 child->full_name); in sram_probe()
|
/linux-4.1.27/Documentation/devicetree/bindings/sound/ |
D | imx-audmux.txt | 11 An initial configuration can be setup using child nodes. 13 Required properties of optional child nodes: 16 child node.
|
/linux-4.1.27/Documentation/devicetree/bindings/pinctrl/ |
D | samsung-pinctrl.txt | 26 - Pin banks as child nodes: Pin banks of the controller are represented by child 45 - Pin mux/config groups as child nodes: The pin mux (selecting pin function 47 as child nodes of the pin-controller node. There should be atleast one 48 child node and there is no limit on the count of these child nodes. It is 49 also possible for a child node to consist of several further child nodes 51 level child nodes is exactly the same as for first level ones and is 54 The child node should contain a list of pin(s) on which a particular pin 66 child node is specified using the "samsung,pin-function" property. The value 69 for the specified pin group. This property is optional in the child node if 70 no specific function selection is desired for the pins listed in the child [all …]
|
/linux-4.1.27/fs/ocfs2/ |
D | export.c | 145 static struct dentry *ocfs2_get_parent(struct dentry *child) in ocfs2_get_parent() argument 150 struct inode *dir = d_inode(child); in ocfs2_get_parent() 152 trace_ocfs2_get_parent(child, child->d_name.len, child->d_name.name, in ocfs2_get_parent()
|
/linux-4.1.27/Documentation/devicetree/bindings/memory-controllers/ |
D | ingenic,jz4780-nemc.txt | 18 Each child of the NEMC node describes a device connected to the NEMC. 20 Required child node properties: 30 Optional child node properties: 38 If a child node references multiple banks in its "reg" property, the same value 45 Example (NEMC node with a NAND child device attached at CS1):
|
/linux-4.1.27/drivers/acpi/ |
D | container.c | 49 struct acpi_device *child; in acpi_container_offline() local 52 list_for_each_entry(child, &adev->children, node) in acpi_container_offline() 53 if (!acpi_scan_is_offline(child, false)) in acpi_container_offline()
|
/linux-4.1.27/fs/tracefs/ |
D | inode.c | 565 struct dentry *child, *parent; in tracefs_remove_recursive() local 584 list_for_each_entry(child, &parent->d_subdirs, d_child) { in tracefs_remove_recursive() 585 if (!tracefs_positive(child)) in tracefs_remove_recursive() 589 if (!list_empty(&child->d_subdirs)) { in tracefs_remove_recursive() 592 parent = child; in tracefs_remove_recursive() 598 if (!__tracefs_remove(child, parent)) in tracefs_remove_recursive() 613 child = parent; in tracefs_remove_recursive() 617 if (child != dentry) in tracefs_remove_recursive() 621 if (!__tracefs_remove(child, parent)) in tracefs_remove_recursive()
|
/linux-4.1.27/Documentation/devicetree/bindings/dma/xilinx/ |
D | xilinx_dma.txt | 10 - dma-channel child node: Should have atleast one channel and can have upto 12 DMA channel (see child node properties below). 18 Required child node properties: 25 Option child node properties:
|
D | xilinx_vdma.txt | 11 - dma-channel child node: Should have at least one channel and can have up to 13 DMA channel (see child node properties below). 24 Required child node properties: 31 Optional child node properties:
|
/linux-4.1.27/drivers/firmware/ |
D | dmi-sysfs.c | 38 struct kobject *child; member 451 entry->child = kzalloc(sizeof(*entry->child), GFP_KERNEL); in dmi_system_event_log() 452 if (!entry->child) in dmi_system_event_log() 454 ret = kobject_init_and_add(entry->child, in dmi_system_event_log() 461 ret = sysfs_create_bin_file(entry->child, &dmi_sel_raw_attr); in dmi_system_event_log() 468 kobject_del(entry->child); in dmi_system_event_log() 470 kfree(entry->child); in dmi_system_event_log() 633 kobject_put(entry->child); in dmi_sysfs_register_handle() 644 kobject_put(entry->child); in cleanup_entry_list()
|
/linux-4.1.27/arch/arc/kernel/ |
D | ptrace.c | 137 void ptrace_disable(struct task_struct *child) in ptrace_disable() argument 141 long arch_ptrace(struct task_struct *child, long request, in arch_ptrace() argument 150 ret = put_user(task_thread_info(child)->thr_ptr, in arch_ptrace() 154 ret = ptrace_request(child, request, addr, data); in arch_ptrace()
|
/linux-4.1.27/drivers/scsi/ |
D | scsi_sysctl.c | 27 .child = scsi_table }, 34 .child = scsi_dir_table },
|
/linux-4.1.27/arch/avr32/include/asm/ |
D | ptrace.h | 19 #define arch_ptrace_attach(child) ocd_enable(child) argument
|
/linux-4.1.27/fs/debugfs/ |
D | inode.c | 589 struct dentry *child, *parent; in debugfs_remove_recursive() local 608 list_for_each_entry(child, &parent->d_subdirs, d_child) { in debugfs_remove_recursive() 609 if (!debugfs_positive(child)) in debugfs_remove_recursive() 613 if (!list_empty(&child->d_subdirs)) { in debugfs_remove_recursive() 616 parent = child; in debugfs_remove_recursive() 622 if (!__debugfs_remove(child, parent)) in debugfs_remove_recursive() 637 child = parent; in debugfs_remove_recursive() 641 if (child != dentry) in debugfs_remove_recursive() 645 if (!__debugfs_remove(child, parent)) in debugfs_remove_recursive()
|
/linux-4.1.27/arch/arm64/kernel/ |
D | ptrace.c | 59 void ptrace_disable(struct task_struct *child) in ptrace_disable() argument 66 user_disable_single_step(child); in ptrace_disable() 1036 long compat_arch_ptrace(struct task_struct *child, compat_long_t request, in compat_arch_ptrace() argument 1046 ret = compat_ptrace_read_user(child, addr, datap); in compat_arch_ptrace() 1050 ret = compat_ptrace_write_user(child, addr, data); in compat_arch_ptrace() 1054 ret = copy_regset_to_user(child, in compat_arch_ptrace() 1062 ret = copy_regset_from_user(child, in compat_arch_ptrace() 1070 ret = put_user((compat_ulong_t)child->thread.tp_value, in compat_arch_ptrace() 1075 task_pt_regs(child)->syscallno = data; in compat_arch_ptrace() 1080 ret = copy_regset_to_user(child, in compat_arch_ptrace() [all …]
|
/linux-4.1.27/drivers/i2c/muxes/ |
D | i2c-arb-gpio-challenge.c | 46 struct i2c_adapter *child; member 206 arb->child = i2c_add_mux_adapter(arb->parent, dev, arb, 0, 0, 0, in i2c_arbitrator_probe() 209 if (!arb->child) { in i2c_arbitrator_probe() 222 i2c_del_mux_adapter(arb->child); in i2c_arbitrator_remove()
|
/linux-4.1.27/fs/nfs/ |
D | sysctl.c | 38 .child = nfs_cb_sysctls, 47 .child = nfs_cb_sysctl_dir,
|
D | nfs4sysctl.c | 43 .child = nfs4_cb_sysctls, 52 .child = nfs4_cb_sysctl_dir,
|
/linux-4.1.27/drivers/staging/lustre/lustre/llite/ |
D | statahead.c | 437 struct ll_inode_info *child = ll_i2info(inode); in ll_agl_add() local 441 spin_lock(&child->lli_agl_lock); in ll_agl_add() 442 if (child->lli_agl_index == 0) { in ll_agl_add() 443 child->lli_agl_index = index; in ll_agl_add() 444 spin_unlock(&child->lli_agl_lock); in ll_agl_add() 446 LASSERT(list_empty(&child->lli_agl_list)); in ll_agl_add() 452 list_add_tail(&child->lli_agl_list, &sai->sai_entries_agl); in ll_agl_add() 455 spin_unlock(&child->lli_agl_lock); in ll_agl_add() 614 struct inode *child; in ll_post_statahead() local 644 child = entry->se_inode; in ll_post_statahead() [all …]
|
/linux-4.1.27/drivers/soc/ti/ |
D | knav_qmss_queue.c | 1063 struct device_node *child; in knav_queue_setup_regions() local 1067 for_each_child_of_node(regions, child) { in knav_queue_setup_regions() 1074 region->name = knav_queue_find_name(child); in knav_queue_setup_regions() 1075 of_property_read_u32(child, "id", ®ion->id); in knav_queue_setup_regions() 1076 ret = of_property_read_u32_array(child, "region-spec", temp, 2); in knav_queue_setup_regions() 1086 if (!of_get_property(child, "link-index", NULL)) { in knav_queue_setup_regions() 1091 ret = of_property_read_u32(child, "link-index", in knav_queue_setup_regions() 1362 struct device_node *child; in knav_queue_init_qmgrs() local 1366 for_each_child_of_node(qmgrs, child) { in knav_queue_init_qmgrs() 1373 ret = of_property_read_u32_array(child, "managed-queues", in knav_queue_init_qmgrs() [all …]
|
/linux-4.1.27/drivers/staging/lustre/lustre/lov/ |
D | lovsub_lock.c | 274 struct cl_lock *child, struct lov_lock *lov) in lovsub_lock_delete_one() argument 358 cl_lock_mutex_put(env, child); in lovsub_lock_delete_one() 384 struct cl_lock *child = slice->cls_lock; in lovsub_lock_delete() local 388 LASSERT(cl_lock_is_mutexed(child)); in lovsub_lock_delete() 411 restart = lovsub_lock_delete_one(env, child, lov); in lovsub_lock_delete() 415 cl_lock_mutex_get(env, child); in lovsub_lock_delete()
|
/linux-4.1.27/Documentation/devicetree/ |
D | of_unittest.txt | 64 struct device_node *child; 70 considering only child and sibling pointers. There exists another pointer, 72 a particular level the child node and all the sibling nodes will have a parent 133 In the function of_attach_node(), the new node is attached as the child of the 134 given parent in live tree. But, if parent already has a child then the new node 135 replaces the current child and turns it into its sibling. So, when the testcase 177 test-child0 the test-sibling1 is attached that pushes the child node 178 (i.e. test-child0) to become a sibling and makes itself a child node, 195 To detach a node, of_detach_node() either updates the child pointer of given
|
/linux-4.1.27/arch/m32r/include/asm/ |
D | ptrace.h | 22 #define arch_ptrace_attach(child) \ argument 23 init_debug_traps(child)
|
/linux-4.1.27/security/apparmor/ |
D | apparmorfs.c | 354 struct aa_profile *child; in __aa_fs_profile_rmdir() local 360 list_for_each_entry(child, &profile->base.profiles, base.list) in __aa_fs_profile_rmdir() 361 __aa_fs_profile_rmdir(child); in __aa_fs_profile_rmdir() 403 struct aa_profile *child; in __aa_fs_profile_mkdir() local 460 list_for_each_entry(child, &profile->base.profiles, base.list) { in __aa_fs_profile_mkdir() 461 error = __aa_fs_profile_mkdir(child, prof_child_dir(profile)); in __aa_fs_profile_mkdir() 480 struct aa_profile *child; in __aa_fs_namespace_rmdir() local 486 list_for_each_entry(child, &ns->base.profiles, base.list) in __aa_fs_namespace_rmdir() 487 __aa_fs_profile_rmdir(child); in __aa_fs_namespace_rmdir() 505 struct aa_profile *child; in __aa_fs_namespace_mkdir() local [all …]
|
/linux-4.1.27/tools/testing/selftests/powerpc/pmu/ebb/ |
D | fork_cleanup_test.c | 27 static int child(void) in child() function 65 exit(child()); in fork_cleanup()
|
/linux-4.1.27/fs/proc/ |
D | proc_sysctl.c | 30 return head->ctl_table[0].child == sysctl_mount_point; in is_empty_dir() 35 dir->header.ctl_table[0].child = sysctl_mount_point; in set_empty_dir() 41 dir->header.ctl_table[0].child = NULL; in clear_empty_dir() 618 struct dentry *child, *dir = file->f_path.dentry; in proc_sys_fill_cache() local 628 child = d_lookup(dir, &qname); in proc_sys_fill_cache() 629 if (!child) { in proc_sys_fill_cache() 630 child = d_alloc(dir, &qname); in proc_sys_fill_cache() 631 if (child) { in proc_sys_fill_cache() 634 dput(child); in proc_sys_fill_cache() 637 d_set_d_op(child, &proc_sys_dentry_operations); in proc_sys_fill_cache() [all …]
|
/linux-4.1.27/fs/efs/ |
D | namei.c | 109 struct dentry *efs_get_parent(struct dentry *child) in efs_get_parent() argument 114 ino = efs_find_entry(d_inode(child), "..", 2); in efs_get_parent() 116 parent = d_obtain_alias(efs_iget(d_inode(child)->i_sb, ino)); in efs_get_parent()
|
/linux-4.1.27/fs/gfs2/ |
D | export.c | 89 struct dentry *child) in gfs2_get_name() argument 92 struct inode *inode = d_inode(child); in gfs2_get_name() 129 static struct dentry *gfs2_get_parent(struct dentry *child) in gfs2_get_parent() argument 131 return d_obtain_alias(gfs2_lookupi(d_inode(child), &gfs2_qdotdot, 1)); in gfs2_get_parent()
|
/linux-4.1.27/arch/ia64/sn/kernel/ |
D | io_acpi_init.c | 243 acpi_handle child; in get_host_devfn() local 257 child = device_handle; in get_host_devfn() 258 while (child) { in get_host_devfn() 259 status = acpi_get_parent(child, &parent); in get_host_devfn() 268 child = parent; in get_host_devfn() 270 if (!child) { in get_host_devfn() 276 status = acpi_evaluate_integer(child, METHOD_NAME__ADR, NULL, &adr); in get_host_devfn()
|
/linux-4.1.27/fs/configfs/ |
D | dir.c | 612 struct dentry *child; in detach_groups() local 625 child = sd->s_dentry; in detach_groups() 627 mutex_lock(&d_inode(child)->i_mutex); in detach_groups() 630 d_inode(child)->i_flags |= S_DEAD; in detach_groups() 631 dont_mount(child); in detach_groups() 633 mutex_unlock(&d_inode(child)->i_mutex); in detach_groups() 635 d_delete(child); in detach_groups() 636 dput(child); in detach_groups() 659 struct dentry *child, *parent = parent_group->cg_item.ci_dentry; in create_default_group() local 665 child = d_alloc_name(parent, group->cg_item.ci_name); in create_default_group() [all …]
|
/linux-4.1.27/drivers/base/ |
D | property.c | 474 struct fwnode_handle *child) in device_get_next_child_node() argument 479 node = of_get_next_available_child(dev->of_node, of_node(child)); in device_get_next_child_node() 485 node = acpi_get_next_child(dev, acpi_node(child)); in device_get_next_child_node() 514 struct fwnode_handle *child; in device_get_child_node_count() local 517 device_for_each_child_node(dev, child) in device_get_child_node_count()
|
/linux-4.1.27/Documentation/devicetree/bindings/crypto/ |
D | fsl-sec4.txt | 69 for representing physical addresses in child nodes. 76 child nodes. 90 triplet that includes the child address, parent address, & 106 to the interrupt parent to which the child domain 169 to the interrupt parent to which the child domain 202 for representing physical addresses in child nodes. Must 210 child nodes. Must have a value of 1. 224 triplet that includes the child address, parent address, & 238 A child node that defines individual RTIC memory regions that are used to 309 for representing physical addresses in child nodes. Must [all …]
|
/linux-4.1.27/Documentation/devicetree/bindings/net/ |
D | mdio-mux.txt | 3 An MDIO bus multiplexer/switch will have several child busses that are 5 bus multiplexer/switch will have one child node for each child bus. 15 Required properties for child nodes:
|
/linux-4.1.27/drivers/i2c/ |
D | i2c-mux.c | 162 struct device_node *child; in i2c_add_mux_adapter() local 165 for_each_child_of_node(mux_dev->of_node, child) { in i2c_add_mux_adapter() 166 ret = of_property_read_u32(child, "reg", ®); in i2c_add_mux_adapter() 170 priv->adap.dev.of_node = child; in i2c_add_mux_adapter()
|
/linux-4.1.27/drivers/ata/ |
D | libahci_platform.c | 352 struct device_node *child; in ahci_platform_get_resources() local 419 for_each_child_of_node(dev->of_node, child) { in ahci_platform_get_resources() 423 if (!of_device_is_available(child)) in ahci_platform_get_resources() 426 if (of_property_read_u32(child, "reg", &port)) { in ahci_platform_get_resources() 438 of_platform_device_create(child, NULL, NULL); in ahci_platform_get_resources() 440 port_dev = of_find_device_by_node(child); in ahci_platform_get_resources() 450 rc = ahci_platform_get_phy(hpriv, port, dev, child); in ahci_platform_get_resources()
|
/linux-4.1.27/drivers/hid/ |
D | hid-elo.c | 185 struct usb_device *child = NULL; in elo_broken_firmware() local 196 usb_hub_for_each_child(hub, i, child) { in elo_broken_firmware() 197 child_vid = le16_to_cpu(child->descriptor.idVendor); in elo_broken_firmware() 198 child_pid = le16_to_cpu(child->descriptor.idProduct); in elo_broken_firmware()
|