Searched refs:sret (Results 1 – 4 of 4) sorted by relevance
/linux-3.4.99/tools/power/cpupower/utils/helpers/ |
D | bitmask.c | 98 static int scan_was_ok(int sret, char nextc, const char *ok_next_chars) in scan_was_ok() argument 100 return sret == 1 || in scan_was_ok() 101 (sret == 2 && strchr(ok_next_chars, nextc) != NULL); in scan_was_ok() 204 int sret; /* sscanf return (number of matches) */ in bitmask_parselist() local 206 sret = sscanf(p, "%u%c", &a, &nextc); in bitmask_parselist() 207 if (!scan_was_ok(sret, nextc, ",-")) in bitmask_parselist() 214 sret = sscanf(c1, "%u%c", &b, &nextc); in bitmask_parselist() 215 if (!scan_was_ok(sret, nextc, ",:")) in bitmask_parselist() 219 sret = sscanf(c1, "%u%c", &s, &nextc); in bitmask_parselist() 220 if (!scan_was_ok(sret, nextc, ",")) in bitmask_parselist()
|
/linux-3.4.99/drivers/i2c/busses/ |
D | i2c-diolan-u2c.c | 351 int ret, sret; in diolan_usb_xfer() local 409 sret = diolan_i2c_stop(dev); in diolan_usb_xfer() 410 if (sret < 0 && ret >= 0) in diolan_usb_xfer() 411 ret = sret; in diolan_usb_xfer()
|
/linux-3.4.99/fs/btrfs/ |
D | ctree.c | 1596 int sret; in setup_nodes_for_search() local 1604 sret = reada_for_balance(root, p, level); in setup_nodes_for_search() 1605 if (sret) in setup_nodes_for_search() 1609 sret = split_node(trans, root, p, level); in setup_nodes_for_search() 1612 BUG_ON(sret > 0); in setup_nodes_for_search() 1613 if (sret) { in setup_nodes_for_search() 1614 ret = sret; in setup_nodes_for_search() 1620 int sret; in setup_nodes_for_search() local 1628 sret = reada_for_balance(root, p, level); in setup_nodes_for_search() 1629 if (sret) in setup_nodes_for_search() [all …]
|
/linux-3.4.99/kernel/trace/ |
D | trace.c | 3439 ssize_t sret; in tracing_read_pipe() local 3442 sret = trace_seq_to_user(&iter->seq, ubuf, cnt); in tracing_read_pipe() 3443 if (sret != -EBUSY) in tracing_read_pipe() 3444 return sret; in tracing_read_pipe() 3463 sret = iter->trace->read(iter, filp, ubuf, cnt, ppos); in tracing_read_pipe() 3464 if (sret) in tracing_read_pipe() 3469 sret = tracing_wait_pipe(filp); in tracing_read_pipe() 3470 if (sret <= 0) in tracing_read_pipe() 3475 sret = 0; in tracing_read_pipe() 3519 sret = trace_seq_to_user(&iter->seq, ubuf, cnt); in tracing_read_pipe() [all …]
|