/linux-4.4.14/drivers/usb/host/ |
D | u132-hcd.c | 207 struct u132_endp *endp[MAX_U132_ENDPS]; member 335 struct u132_endp *endp = kref_to_u132_endp(kref); in u132_endp_delete() local 336 struct u132 *u132 = endp->u132; in u132_endp_delete() 337 u8 usb_addr = endp->usb_addr; in u132_endp_delete() 338 u8 usb_endp = endp->usb_endp; in u132_endp_delete() 341 u8 endp_number = endp->endp_number; in u132_endp_delete() 342 struct usb_host_endpoint *hep = endp->hep; in u132_endp_delete() 343 struct u132_ring *ring = endp->ring; in u132_endp_delete() 344 struct list_head *head = &endp->endp_ring; in u132_endp_delete() 346 if (endp == ring->curr_endp) { in u132_endp_delete() [all …]
|
/linux-4.4.14/drivers/usb/misc/ |
D | usb_u132.h | 72 void *endp, struct urb *urb, u8 address, u8 ep_number, u8 toggle_bits, 73 void (*callback) (void *endp, struct urb *urb, u8 *buf, int len, 77 void *endp, struct urb *urb, u8 address, u8 ep_number, u8 toggle_bits, 78 void (*callback) (void *endp, struct urb *urb, u8 *buf, int len, 82 void *endp, struct urb *urb, u8 address, u8 ep_number, u8 toggle_bits, 83 void (*callback) (void *endp, struct urb *urb, u8 *buf, int len, 87 void *endp, struct urb *urb, u8 address, u8 ep_number, u8 toggle_bits, 88 void (*callback) (void *endp, struct urb *urb, u8 *buf, int len, 92 void *endp, struct urb *urb, u8 address, u8 ep_number, u8 toggle_bits, 93 void (*callback) (void *endp, struct urb *urb, u8 *buf, int len, [all …]
|
D | ftdi-elan.c | 133 void *endp; member 145 void (*callback)(void *endp, struct urb *urb, u8 *buf, int len, 852 (*callback) (target->endp, urb, buffer, length, toggle_bits, in ftdi_elan_do_callback() 1488 void *endp, struct urb *urb, u8 address, u8 ep_number, u8 toggle_bits, in ftdi_elan_edset_setup() argument 1489 void (*callback) (void *endp, struct urb *urb, u8 *buf, int len, in ftdi_elan_edset_setup() 1516 target->endp = endp; in ftdi_elan_edset_setup() 1532 void *endp, struct urb *urb, u8 address, u8 ep_number, u8 toggle_bits, in usb_ftdi_elan_edset_setup() argument 1533 void (*callback) (void *endp, struct urb *urb, u8 *buf, int len, in usb_ftdi_elan_edset_setup() 1538 return ftdi_elan_edset_setup(ftdi, ed_number, endp, urb, address, in usb_ftdi_elan_edset_setup() 1545 void *endp, struct urb *urb, u8 address, u8 ep_number, u8 toggle_bits, in ftdi_elan_edset_input() argument [all …]
|
/linux-4.4.14/arch/mips/pmcs-msp71xx/ |
D | msp_time.c | 48 char *endp, *s; in plat_time_init() local 53 cpu_rate = simple_strtoul(s, &endp, 10); in plat_time_init() 54 if (endp != NULL && *endp != 0) { in plat_time_init() 63 cpu_rate = 1000 * simple_strtoul(s, &endp, 10); in plat_time_init() 64 if (endp != NULL && *endp != 0) { in plat_time_init()
|
D | msp_serial.c | 94 char *endp; in msp_serial_setup() local 102 if(!(s && *s && (uartclk = simple_strtoul(s, &endp, 10)) && *endp == 0)) in msp_serial_setup()
|
/linux-4.4.14/drivers/staging/media/lirc/ |
D | lirc_zilog.c | 140 unsigned char *endp; member 511 unsigned char *endp, unsigned int *val) in read_uint32() argument 513 if (*data + 4 > endp) in read_uint32() 523 unsigned char *endp, unsigned char *val) in read_uint8() argument 525 if (*data + 1 > endp) in read_uint8() 533 unsigned char *endp, unsigned int distance) in skip() argument 535 if (*data + distance > endp) in skip() 545 unsigned char *data, *endp, *diffs, *key_block; in get_key_data() local 554 if (!read_uint32(&data, tx_data->endp, &i)) in get_key_data() 569 endp = pos < tx_data->num_code_sets - 1 ? in get_key_data() [all …]
|
/linux-4.4.14/drivers/mtd/devices/ |
D | block2mtd.c | 331 static int ustrtoul(const char *cp, char **endp, unsigned int base) in ustrtoul() argument 333 unsigned long result = simple_strtoul(cp, endp, base); in ustrtoul() 334 switch (**endp) { in ustrtoul() 343 if ((*endp)[1] == 'i') { in ustrtoul() 344 if ((*endp)[2] == 'B') in ustrtoul() 345 (*endp) += 3; in ustrtoul() 347 (*endp) += 2; in ustrtoul() 356 char *endp; in parse_num() local 359 n = (size_t) ustrtoul(token, &endp, 0); in parse_num() 360 if (*endp) in parse_num()
|
/linux-4.4.14/arch/powerpc/platforms/pseries/ |
D | lparcfg.c | 608 char *endp; in lparcfg_write() local 609 *new_entitled_ptr = (u64) simple_strtoul(tmp, &endp, 10); in lparcfg_write() 610 if (endp == tmp) in lparcfg_write() 615 char *endp; in lparcfg_write() local 616 *new_weight_ptr = (u8) simple_strtoul(tmp, &endp, 10); in lparcfg_write() 617 if (endp == tmp) in lparcfg_write() 622 char *endp; in lparcfg_write() local 623 *new_entitled_ptr = (u64) simple_strtoul(tmp, &endp, 10); in lparcfg_write() 624 if (endp == tmp) in lparcfg_write() 629 char *endp; in lparcfg_write() local [all …]
|
D | iommu.c | 124 __be64 *startp, __be64 *endp) in tce_invalidate_pSeries_sw() argument 130 end = __pa(endp); in tce_invalidate_pSeries_sw()
|
/linux-4.4.14/arch/arc/mm/ |
D | init.c | 75 char *endp; in early_initrd() local 77 start = memparse(p, &endp); in early_initrd() 78 if (*endp == ',') { in early_initrd() 79 size = memparse(endp + 1, NULL); in early_initrd()
|
/linux-4.4.14/drivers/macintosh/ |
D | windfarm_core.c | 197 char *endp; in wf_store_control() local 199 val = simple_strtoul(buf, &endp, 0); in wf_store_control() 200 while (endp < buf + count && (*endp == ' ' || *endp == '\n')) in wf_store_control() 201 ++endp; in wf_store_control() 202 if (endp - buf < count) in wf_store_control()
|
/linux-4.4.14/arch/x86/boot/ |
D | string.c | 99 unsigned long long simple_strtoull(const char *cp, char **endp, unsigned int base) in simple_strtoull() argument 118 if (endp) in simple_strtoull() 119 *endp = (char *)cp; in simple_strtoull()
|
D | boot.h | 332 unsigned long long simple_strtoull(const char *cp, char **endp, unsigned int base);
|
/linux-4.4.14/tools/power/cpupower/utils/helpers/ |
D | topology.c | 26 char *endp; in sysfs_topology_read_file() local 33 *result = strtol(linebuf, &endp, 0); in sysfs_topology_read_file() 34 if (endp == linebuf || errno == ERANGE) in sysfs_topology_read_file()
|
D | sysfs.c | 55 char *endp; in sysfs_is_cpu_online() local 83 value = strtoull(linebuf, &endp, 0); in sysfs_is_cpu_online() 211 char *endp; in sysfs_idlestate_get_one_value() local 222 value = strtoull(linebuf, &endp, 0); in sysfs_idlestate_get_one_value() 224 if (endp == linebuf || errno == ERANGE) in sysfs_idlestate_get_one_value()
|
/linux-4.4.14/drivers/s390/char/ |
D | sclp_cpi_sys.c | 334 char *endp; in system_level_store() local 336 level = simple_strtoull(buf, &endp, 16); in system_level_store() 338 if (endp == buf) in system_level_store() 340 if (*endp == '\n') in system_level_store() 341 endp++; in system_level_store() 342 if (*endp) in system_level_store()
|
/linux-4.4.14/drivers/s390/block/ |
D | dasd_devmap.c | 191 dasd_feature_list(char *str, char **endp) in dasd_feature_list() argument 197 *endp = str; in dasd_feature_list() 232 *endp = str; in dasd_feature_list() 731 char *endp; in dasd_ff_store() local 737 val = simple_strtoul(buf, &endp, 0); in dasd_ff_store() 738 if (((endp + 1) < (buf + count)) || (val > 1)) in dasd_ff_store() 778 char *endp; in dasd_ro_store() local 784 val = simple_strtoul(buf, &endp, 0); in dasd_ro_store() 785 if (((endp + 1) < (buf + count)) || (val > 1)) in dasd_ro_store() 829 char *endp; in dasd_erplog_store() local [all …]
|
/linux-4.4.14/arch/arm/mach-shmobile/ |
D | setup-rcar-gen2.c | 143 const __be32 *reg, *endp; in rcar_gen2_scan_mem() local 158 endp = reg + (l / sizeof(__be32)); in rcar_gen2_scan_mem() 159 while ((endp - reg) >= (dt_root_addr_cells + dt_root_size_cells)) { in rcar_gen2_scan_mem()
|
/linux-4.4.14/arch/arm/mach-mvebu/ |
D | board-v7.c | 74 const __be32 *reg, *endp; in mvebu_scan_mem() local 86 endp = reg + (l / sizeof(__be32)); in mvebu_scan_mem() 87 while ((endp - reg) >= (dt_root_addr_cells + dt_root_size_cells)) { in mvebu_scan_mem()
|
/linux-4.4.14/arch/cris/arch-v10/lib/ |
D | usercopy.c | 365 char *endp; in __copy_user_zeroing() local 366 for (endp = dst + n; dst < endp; dst++) in __copy_user_zeroing()
|
/linux-4.4.14/arch/cris/arch-v32/lib/ |
D | usercopy.c | 316 char *endp; in __copy_user_zeroing() local 317 for (endp = dst + n; dst < endp; dst++) in __copy_user_zeroing()
|
/linux-4.4.14/drivers/staging/lustre/lustre/libcfs/ |
D | libcfs_string.c | 232 char *endp; in cfs_str2num_check() local 235 *num = simple_strtoul(str, &endp, 0); in cfs_str2num_check() 236 if (endp == str) in cfs_str2num_check() 239 for (; endp < str + nob; endp++) { in cfs_str2num_check() 240 if (!isspace(*endp)) in cfs_str2num_check()
|
/linux-4.4.14/arch/unicore32/kernel/ |
D | setup.c | 172 char *endp; in early_mem() local 185 size = memparse(p, &endp); in early_mem() 186 if (*endp == '@') in early_mem() 187 start = memparse(endp + 1, NULL); in early_mem()
|
/linux-4.4.14/arch/arm64/mm/ |
D | init.c | 55 char *endp; in early_initrd() local 57 start = memparse(p, &endp); in early_initrd() 58 if (*endp == ',') { in early_initrd() 59 size = memparse(endp + 1, NULL); in early_initrd()
|
/linux-4.4.14/lib/ |
D | parser.c | 130 char *endp; in match_number() local 143 val = simple_strtol(buf, &endp, base); in match_number() 144 if (endp == buf) in match_number()
|
D | digsig.c | 83 const uint8_t *endp; in digsig_verify_rsa() local 105 endp = ukp->data + ukp->datalen; in digsig_verify_rsa() 110 unsigned int remaining = endp - datap; in digsig_verify_rsa()
|
D | vsprintf.c | 50 unsigned long long simple_strtoull(const char *cp, char **endp, unsigned int base) in simple_strtoull() argument 60 if (endp) in simple_strtoull() 61 *endp = (char *)cp; in simple_strtoull() 75 unsigned long simple_strtoul(const char *cp, char **endp, unsigned int base) in simple_strtoul() argument 77 return simple_strtoull(cp, endp, base); in simple_strtoul() 89 long simple_strtol(const char *cp, char **endp, unsigned int base) in simple_strtol() argument 92 return -simple_strtoul(cp + 1, endp, base); in simple_strtol() 94 return simple_strtoul(cp, endp, base); in simple_strtol() 106 long long simple_strtoll(const char *cp, char **endp, unsigned int base) in simple_strtoll() argument 109 return -simple_strtoull(cp + 1, endp, base); in simple_strtoll() [all …]
|
/linux-4.4.14/drivers/media/tuners/ |
D | tuner-xc2028.c | 303 const unsigned char *p, *endp; in load_all_firmwares() local 311 endp = p + fw->size; in load_all_firmwares() 342 while (p < endp) { in load_all_firmwares() 355 if (endp - p < sizeof(type) + sizeof(id) + sizeof(size)) in load_all_firmwares() 367 if (endp - p < sizeof(size)) in load_all_firmwares() 374 if (!size || size > endp - p) { in load_all_firmwares() 380 (unsigned)(endp - p), size); in load_all_firmwares() 545 unsigned char *p, *endp, buf[MAX_XFER_SIZE]; in load_firmware() local 562 endp = p + priv->firm[pos].size; in load_firmware() 564 while (p < endp) { in load_firmware() [all …]
|
D | xc4000.c | 728 const unsigned char *p, *endp; in xc4000_fwupload() local 765 endp = p + fw->size; in xc4000_fwupload() 796 while (p < endp) { in xc4000_fwupload() 809 if (endp - p < sizeof(type) + sizeof(id) + sizeof(size)) in xc4000_fwupload() 821 if (endp - p < sizeof(size)) in xc4000_fwupload() 828 if (!size || size > endp - p) { in xc4000_fwupload() 831 (unsigned)(endp - p), size); in xc4000_fwupload()
|
/linux-4.4.14/arch/x86/lib/ |
D | atomic64_386_32.S | 26 .macro endp; \ 28 .purgem endp; \ 33 #define ENDP endp
|
/linux-4.4.14/arch/unicore32/mm/ |
D | init.c | 40 char *endp; in early_initrd() local 42 start = memparse(p, &endp); in early_initrd() 43 if (*endp == ',') { in early_initrd() 44 size = memparse(endp + 1, NULL); in early_initrd()
|
/linux-4.4.14/drivers/net/usb/ |
D | ipheth.c | 476 struct usb_endpoint_descriptor *endp; in ipheth_probe() local 504 endp = &hintf->endpoint[i].desc; in ipheth_probe() 505 if (usb_endpoint_is_bulk_in(endp)) in ipheth_probe() 506 dev->bulk_in = endp->bEndpointAddress; in ipheth_probe() 507 else if (usb_endpoint_is_bulk_out(endp)) in ipheth_probe() 508 dev->bulk_out = endp->bEndpointAddress; in ipheth_probe()
|
D | hso.c | 211 struct usb_endpoint_descriptor *endp; member 1456 tiocmget->endp-> in tiocmget_submit_urb() 1461 tiocmget->endp->bInterval); in tiocmget_submit_urb() 2657 tiocmget->endp = hso_get_ep( in hso_create_bulk_serial_device() 3153 struct usb_endpoint_descriptor *endp; in hso_get_ep() local 3156 endp = &iface->endpoint[i].desc; in hso_get_ep() 3157 if (((endp->bEndpointAddress & USB_ENDPOINT_DIR_MASK) == dir) && in hso_get_ep() 3158 (usb_endpoint_type(endp) == type)) in hso_get_ep() 3159 return endp; in hso_get_ep()
|
/linux-4.4.14/net/bridge/ |
D | br_sysfs_br.c | 36 char *endp; in store_bridge_parm() local 43 val = simple_strtoul(buf, &endp, 0); in store_bridge_parm() 44 if (endp == buf) in store_bridge_parm() 137 char *endp; in stp_state_store() local 143 val = simple_strtoul(buf, &endp, 0); in stp_state_store() 144 if (endp == buf) in stp_state_store() 171 char *endp; in group_fwd_mask_store() local 177 val = simple_strtoul(buf, &endp, 0); in group_fwd_mask_store() 178 if (endp == buf) in group_fwd_mask_store()
|
D | br_sysfs_if.c | 242 char *endp; in brport_store() local 248 val = simple_strtoul(buf, &endp, 0); in brport_store() 249 if (endp != buf) { in brport_store()
|
/linux-4.4.14/drivers/mtd/ubi/ |
D | build.c | 1185 char *endp; in open_mtd_device() local 1187 mtd_num = simple_strtoul(mtd_dev, &endp, 0); in open_mtd_device() 1188 if (*endp != '\0' || mtd_dev == endp) { in open_mtd_device() 1344 char *endp; in bytes_str_to_int() local 1347 result = simple_strtoul(str, &endp, 0); in bytes_str_to_int() 1348 if (str == endp || result >= INT_MAX) { in bytes_str_to_int() 1353 switch (*endp) { in bytes_str_to_int() 1360 if (endp[1] == 'i' && endp[2] == 'B') in bytes_str_to_int() 1361 endp += 2; in bytes_str_to_int()
|
/linux-4.4.14/arch/hexagon/mm/ |
D | init.c | 168 char *endp; in early_mem() local 170 size = memparse(p, &endp); in early_mem()
|
/linux-4.4.14/arch/ia64/scripts/ |
D | check-text-align.S | 6 .endp foo
|
/linux-4.4.14/drivers/video/fbdev/ |
D | sh_mobile_lcdcfb.c | 1344 char *endp; in overlay_alpha_store() local 1346 alpha = simple_strtoul(buf, &endp, 10); in overlay_alpha_store() 1347 if (isspace(*endp)) in overlay_alpha_store() 1348 endp++; in overlay_alpha_store() 1350 if (endp - buf != count) in overlay_alpha_store() 1382 char *endp; in overlay_mode_store() local 1384 mode = simple_strtoul(buf, &endp, 10); in overlay_mode_store() 1385 if (isspace(*endp)) in overlay_mode_store() 1386 endp++; in overlay_mode_store() 1388 if (endp - buf != count) in overlay_mode_store() [all …]
|
/linux-4.4.14/kernel/debug/kdb/ |
D | kdb_main.c | 337 char *endp; in kdbgetularg() local 340 val = simple_strtoul(arg, &endp, 0); in kdbgetularg() 342 if (endp == arg) { in kdbgetularg() 347 val = simple_strtoul(arg, &endp, 16); in kdbgetularg() 348 if (endp == arg) in kdbgetularg() 359 char *endp; in kdbgetu64arg() local 362 val = simple_strtoull(arg, &endp, 0); in kdbgetu64arg() 364 if (endp == arg) { in kdbgetu64arg() 366 val = simple_strtoull(arg, &endp, 16); in kdbgetu64arg() 367 if (endp == arg) in kdbgetu64arg() [all …]
|
/linux-4.4.14/drivers/spi/ |
D | spi-tle62x0.c | 157 char *endp; in tle62x0_gpio_store() local 159 val = simple_strtoul(buf, &endp, 0); in tle62x0_gpio_store() 160 if (buf == endp) in tle62x0_gpio_store()
|
/linux-4.4.14/drivers/media/usb/tm6000/ |
D | tm6000-input.c | 356 dev->int_in.endp->desc.bEndpointAddress in __tm6000_ir_int_start() 367 dprintk(1, "int interval: %d\n", dev->int_in.endp->desc.bInterval); in __tm6000_ir_int_start() 372 dev->int_in.endp->desc.bInterval); in __tm6000_ir_int_start() 449 if (dev->int_in.endp) { in tm6000_ir_init()
|
D | tm6000-video.c | 137 u8 *ptr = data, *endp = data+len; in copy_streams() local 157 for (ptr = data; ptr < endp;) { in copy_streams() 172 if (ptr + 3 >= endp) { in copy_streams() 174 dev->isoc_ctl.tmp_buf_len = endp - ptr; in copy_streams() 180 for (; ptr < endp - 3; ptr++) { in copy_streams() 248 cpysize = (endp - ptr > size) ? size : endp - ptr; in copy_streams() 278 if (ptr + pktsize > endp) { in copy_streams() 287 dev->isoc_ctl.pktsize = pktsize - (endp - ptr); in copy_streams() 288 ptr += endp - ptr; in copy_streams() 588 dev->isoc_in.endp->desc.bEndpointAddress & in tm6000_prepare_isoc() [all …]
|
D | tm6000.h | 166 struct usb_host_endpoint *endp; member
|
D | tm6000-dvb.c | 137 pipe = usb_rcvbulkpipe(dev->udev, dev->bulk_in.endp->desc.bEndpointAddress in tm6000_start_stream()
|
D | tm6000-cards.c | 1172 tm_ep->endp = curr_e; in get_max_endpoint() 1317 if (!dev->isoc_in.endp) { in tm6000_usb_probe()
|
/linux-4.4.14/fs/lockd/ |
D | svc.c | 527 char *endp; \ 528 __typeof__(type) num = which_strtol(val, &endp, 0); \ 529 if (endp == val || *endp || num < (min) || num > (max)) \
|
/linux-4.4.14/fs/xfs/libxfs/ |
D | xfs_dir2_data.c | 54 char *endp; /* end of useful data */ in __xfs_dir3_data_check() local 84 endp = (char *)lep; in __xfs_dir3_data_check() 98 endp = (char *)hdr + geo->blksize; in __xfs_dir3_data_check() 130 while (p < endp) { in __xfs_dir3_data_check() 517 char *endp; /* end of block's data */ in xfs_dir2_data_freescan() local 539 endp = (char *)xfs_dir2_block_leaf_p(btp); in xfs_dir2_data_freescan() 541 endp = (char *)hdr + geo->blksize; in xfs_dir2_data_freescan() 545 while (p < endp) { in xfs_dir2_data_freescan()
|
/linux-4.4.14/arch/tile/kernel/ |
D | setup.c | 141 char *endp; in setup_maxnodemem() local 145 node = str ? simple_strtoul(str, &endp, 0) : INT_MAX; in setup_maxnodemem() 146 if (node >= MAX_NUMNODES || *endp != ':') in setup_maxnodemem() 149 maxnodemem = memparse(endp+1, NULL); in setup_maxnodemem() 1147 char *endp; in setup_initrd() local 1150 initrd_size = str ? simple_strtoul(str, &endp, 0) : 0; in setup_initrd() 1151 if (initrd_size == 0 || *endp != '@') in setup_initrd() 1154 initrd_start = simple_strtoul(endp+1, &endp, 0); in setup_initrd()
|
/linux-4.4.14/arch/arm/mm/ |
D | init.c | 57 char *endp; in early_initrd() local 59 start = memparse(p, &endp); in early_initrd() 60 if (*endp == ',') { in early_initrd() 61 size = memparse(endp + 1, NULL); in early_initrd()
|
/linux-4.4.14/drivers/staging/lustre/lustre/obdclass/ |
D | obd_config.c | 123 char *endp; in class_parse_value() local 135 endp = strpbrk(buf, ",: /"); in class_parse_value() 136 if (!endp) in class_parse_value() 137 endp = buf + strlen(buf); in class_parse_value() 139 tmp = *endp; in class_parse_value() 140 *endp = '\0'; in class_parse_value() 151 *endp = tmp; in class_parse_value() 155 *endh = endp; in class_parse_value()
|
/linux-4.4.14/drivers/mtd/ |
D | mtdoops.c | 401 char *endp; in mtdoops_init() local 418 mtd_index = simple_strtoul(mtddev, &endp, 0); in mtdoops_init() 419 if (*endp == '\0') in mtdoops_init()
|
/linux-4.4.14/arch/ia64/include/asm/ |
D | asmmacro.h | 25 .endp name
|
/linux-4.4.14/arch/arm/mach-davinci/ |
D | devices-da8xx.c | 805 char *endp; in early_rproc_mem() local 810 rproc_size = memparse(p, &endp); in early_rproc_mem() 811 if (*endp == '@') in early_rproc_mem() 812 rproc_base = memparse(endp + 1, NULL); in early_rproc_mem()
|
/linux-4.4.14/arch/arm/kernel/ |
D | setup.c | 745 char *endp; in early_mem() local 759 size = memparse(p, &endp); in early_mem() 760 if (*endp == '@') in early_mem() 761 start = memparse(endp + 1, NULL); in early_mem()
|
/linux-4.4.14/scripts/kconfig/ |
D | conf.c | 533 char *endp; in main() local 534 int tmp = (int)strtol(seed_env, &endp, 0); in main() 535 if (*endp == '\0') { in main()
|
D | confdata.c | 1137 char *endp; in conf_set_all_new_symbols() local 1138 int tmp = strtol( env, &endp, 10 ); in conf_set_all_new_symbols() 1146 env = (*endp == ':') ? endp+1 : endp; in conf_set_all_new_symbols()
|
/linux-4.4.14/tools/power/cpupower/lib/ |
D | sysfs.c | 120 char *endp; in sysfs_cpufreq_get_one_value() local 131 value = strtoul(linebuf, &endp, 0); in sysfs_cpufreq_get_one_value() 133 if (endp == linebuf || errno == ERANGE) in sysfs_cpufreq_get_one_value()
|
/linux-4.4.14/arch/ia64/sn/kernel/sn2/ |
D | ptc_deadlock.S | 92 .endp sn2_ptc_deadlock_recovery_core
|
/linux-4.4.14/arch/s390/mm/ |
D | cmm.c | 244 static int cmm_skip_blanks(char *cp, char **endp) in cmm_skip_blanks() argument 250 *endp = str; in cmm_skip_blanks()
|
/linux-4.4.14/arch/metag/lib/ |
D | usercopy.c | 934 char *endp; in __copy_user_zeroing() local 935 for (endp = dst + n; dst < endp; dst++) in __copy_user_zeroing()
|
/linux-4.4.14/drivers/scsi/ |
D | scsi_transport_spi.c | 458 char *endp; in store_spi_transport_period_helper() local 460 picosec = simple_strtoul(buf, &endp, 10) * 1000; in store_spi_transport_period_helper() 461 if (*endp == '.') { in store_spi_transport_period_helper() 464 endp++; in store_spi_transport_period_helper() 465 if (!isdigit(*endp)) in store_spi_transport_period_helper() 467 picosec += (*endp - '0') * mult; in store_spi_transport_period_helper()
|
/linux-4.4.14/drivers/usb/storage/ |
D | transport.c | 238 int endp = usb_pipeendpoint(pipe); in usb_stor_clear_halt() local 241 endp |= USB_DIR_IN; in usb_stor_clear_halt() 245 USB_ENDPOINT_HALT, endp, in usb_stor_clear_halt() 249 usb_reset_endpoint(us->pusb_dev, endp); in usb_stor_clear_halt()
|
/linux-4.4.14/arch/powerpc/platforms/powernv/ |
D | pci.h | 233 __be64 *startp, __be64 *endp, bool rm);
|
/linux-4.4.14/net/irda/irnet/ |
D | irnet_ppp.c | 135 char * endp; in irnet_ctrl_write() local 141 addr = simple_strtoul(begp, &endp, 16); in irnet_ctrl_write() 143 DABORT(endp <= (start + 5), -EINVAL, in irnet_ctrl_write()
|
/linux-4.4.14/drivers/char/ipmi/ |
D | ipmi_watchdog.c | 197 char *endp; in set_param_timeout() local 203 l = simple_strtoul(val, &endp, 0); in set_param_timeout() 204 if (endp == val) in set_param_timeout()
|
/linux-4.4.14/drivers/of/ |
D | fdt.c | 900 const __be32 *reg, *endp; in early_init_dt_scan_memory() local 920 endp = reg + (l / sizeof(__be32)); in early_init_dt_scan_memory() 924 while ((endp - reg) >= (dt_root_addr_cells + dt_root_size_cells)) { in early_init_dt_scan_memory()
|
/linux-4.4.14/net/netfilter/ |
D | nf_conntrack_sip.c | 135 const char **endp, union nf_inet_addr *addr, in sip_parse_addr() argument 170 if (endp) in sip_parse_addr() 171 *endp = end; in sip_parse_addr() 639 const char **endp, union nf_inet_addr *addr, in sdp_parse_addr() argument 659 if (endp) in sdp_parse_addr() 660 *endp = end; in sdp_parse_addr()
|
/linux-4.4.14/kernel/printk/ |
D | printk.c | 646 char *endp = NULL; in devkmsg_write() local 649 u = simple_strtoul(line + 1, &endp, 10); in devkmsg_write() 650 if (endp && endp[0] == '>') { in devkmsg_write() 654 endp++; in devkmsg_write() 655 len -= endp - line; in devkmsg_write() 656 line = endp; in devkmsg_write()
|
/linux-4.4.14/drivers/usb/serial/ |
D | keyspan.c | 2402 int endp; in keyspan_port_probe() local 2441 endp = d_details->indat_endpoints[port_num]; in keyspan_port_probe() 2442 for (i = 0; i <= d_details->indat_endp_flip; ++i, ++endp) { in keyspan_port_probe() 2443 p_priv->in_urbs[i] = keyspan_setup_urb(serial, endp, in keyspan_port_probe() 2450 endp = d_details->outdat_endpoints[port_num]; in keyspan_port_probe() 2451 for (i = 0; i <= d_details->outdat_endp_flip; ++i, ++endp) { in keyspan_port_probe() 2452 p_priv->out_urbs[i] = keyspan_setup_urb(serial, endp, in keyspan_port_probe()
|
/linux-4.4.14/arch/powerpc/kernel/ |
D | prom_init.c | 531 static unsigned long prom_strtoul(const char *cp, const char **endp) in prom_strtoul() argument 550 if (endp) in prom_strtoul() 551 *endp = cp; in prom_strtoul() 1140 cell_t *p, *endp; in prom_init_mem() local 1181 endp = p + (plen / sizeof(cell_t)); in prom_init_mem() 1189 while ((endp - p) >= (rac + rsc)) { in prom_init_mem()
|
/linux-4.4.14/drivers/isdn/capi/ |
D | capidrv.c | 1720 char *endp; in decodeFVteln() local 1722 digit1 = simple_strtoul(s, &endp, 10); in decodeFVteln() 1723 if (s == endp) in decodeFVteln() 1725 s = endp; in decodeFVteln() 1737 digit2 = simple_strtoul(s, &endp, 10); in decodeFVteln() 1738 if (s == endp) in decodeFVteln() 1740 s = endp; in decodeFVteln()
|
/linux-4.4.14/drivers/usb/core/ |
D | message.c | 991 int endp = usb_pipeendpoint(pipe); in usb_clear_halt() local 994 endp |= USB_DIR_IN; in usb_clear_halt() 1002 USB_ENDPOINT_HALT, endp, NULL, 0, in usb_clear_halt() 1017 usb_reset_endpoint(dev, endp); in usb_clear_halt()
|
/linux-4.4.14/drivers/pci/hotplug/ |
D | cpqphp_core.c | 100 void __iomem *endp; in detect_SMBIOS_pointer() local 104 endp = (end - sizeof(u32) + 1); in detect_SMBIOS_pointer() 106 for (fp = begin; fp <= endp; fp += 16) { in detect_SMBIOS_pointer()
|
D | cpqphp_pci.c | 56 void __iomem *endp; in detect_HRT_floating_pointer() local 60 endp = (end - sizeof(struct hrt) + 1); in detect_HRT_floating_pointer() 62 for (fp = begin; fp <= endp; fp += 16) { in detect_HRT_floating_pointer()
|
/linux-4.4.14/drivers/block/ |
D | amiflop.c | 664 ushort *ptr = (ushort *)raw, *endp = (ushort *)end; in scan_sync() local 666 while (ptr < endp && *ptr++ != 0x4489) in scan_sync() 668 if (ptr < endp) { in scan_sync() 669 while (*ptr == 0x4489 && ptr < endp) in scan_sync()
|
/linux-4.4.14/fs/fat/ |
D | dir.c | 1001 struct msdos_dir_entry *de, *endp; in __fat_remove_entries() local 1012 endp = (struct msdos_dir_entry *)(bh->b_data + sb->s_blocksize); in __fat_remove_entries() 1013 while (nr_slots && de < endp) { in __fat_remove_entries()
|
/linux-4.4.14/mm/ |
D | memcontrol.c | 3897 char *endp; in memcg_write_event_control() local 3902 efd = simple_strtoul(buf, &endp, 10); in memcg_write_event_control() 3903 if (*endp != ' ') in memcg_write_event_control() 3905 buf = endp + 1; in memcg_write_event_control() 3907 cfd = simple_strtoul(buf, &endp, 10); in memcg_write_event_control() 3908 if ((*endp != ' ') && (*endp != '\0')) in memcg_write_event_control() 3910 buf = endp + 1; in memcg_write_event_control()
|
/linux-4.4.14/tools/perf/util/ |
D | machine.c | 802 char *endp; in machines__create_guest_kernel_maps() local 819 pid = (pid_t)strtol(namelist[i]->d_name, &endp, 10); in machines__create_guest_kernel_maps() 820 if ((*endp != '\0') || in machines__create_guest_kernel_maps() 821 (endp == namelist[i]->d_name) || in machines__create_guest_kernel_maps()
|
D | evsel.c | 1569 static inline bool overflow(const void *endp, u16 max_size, const void *offset, in overflow() argument 1572 return size > max_size || offset + size > endp; in overflow() 1577 if (overflow(endp, (max_size), (offset), (size))) \ 1591 const void *endp = (void *)event + max_size; in perf_evsel__parse_sample() local
|
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb3/ |
D | cxgb3_main.c | 704 char *endp; in attr_store() local 711 val = simple_strtoul(buf, &endp, 0); in attr_store() 712 if (endp == buf || val < min_val || val > max_val) in attr_store() 832 char *endp; in tm_attr_store() local 838 val = simple_strtoul(buf, &endp, 0); in tm_attr_store() 839 if (endp == buf || val > 10000000) in tm_attr_store()
|
/linux-4.4.14/drivers/ata/ |
D | libata-core.c | 6515 char *id, *val, *endp; in ata_parse_force_one() local 6545 force_ent->device = simple_strtoul(p, &endp, 10); in ata_parse_force_one() 6546 if (p == endp || *endp != '\0') { in ata_parse_force_one() 6552 force_ent->port = simple_strtoul(id, &endp, 10); in ata_parse_force_one() 6553 if (p == endp || *endp != '\0') { in ata_parse_force_one()
|
/linux-4.4.14/fs/gfs2/ |
D | bmap.c | 277 const __be64 *endp = (const __be64 *)(bh->b_data + bh->b_size); in gfs2_metapath_ra() local 280 for (t = pos; t < endp; t++) { in gfs2_metapath_ra()
|
/linux-4.4.14/drivers/usb/gadget/ |
D | composite.c | 1468 u8 endp; in composite_setup() local 1809 endp = ((w_index & 0x80) >> 3) | (w_index & 0x0f); in composite_setup() 1811 if (test_bit(endp, f->endpoints)) in composite_setup()
|
/linux-4.4.14/drivers/net/ |
D | xen-netfront.c | 2119 char *endp; in store_rxbuf() local 2125 target = simple_strtoul(buf, &endp, 0); in store_rxbuf() 2126 if (endp == buf) in store_rxbuf()
|
/linux-4.4.14/scripts/mod/ |
D | modpost.c | 787 const char *endp = p + strlen(p) - 1; in match() local 790 if (*p == '*' && *endp == '*') { in match() 804 else if (*endp == '*') { in match()
|
/linux-4.4.14/arch/powerpc/xmon/ |
D | xmon.c | 1344 unsigned long *endp) in get_function_bounds() argument 1349 *startp = *endp = 0; in get_function_bounds() 1358 *endp = pc - offset + size; in get_function_bounds()
|
/linux-4.4.14/drivers/platform/x86/ |
D | thinkpad_acpi.c | 1069 char *endp; in parse_strtoul() local 1071 *value = simple_strtoul(skip_spaces(buf), &endp, 0); in parse_strtoul() 1072 endp = skip_spaces(endp); in parse_strtoul() 1073 if (*endp || *value > max) in parse_strtoul()
|
/linux-4.4.14/block/ |
D | cfq-iosched.c | 2153 char *endp; in cfq_set_weight_on_dfl() local 2160 v = simple_strtoull(buf, &endp, 0); in cfq_set_weight_on_dfl() 2161 if (*endp == '\0' || sscanf(buf, "default %llu", &v) == 1) { in cfq_set_weight_on_dfl()
|