Home
last modified time | relevance | path

Searched refs:ndevs (Results 1 – 11 of 11) sorted by relevance

/external/f2fs-tools/mkfs/
Df2fs_format_main.c150 if (c.ndevs >= MAX_DEVICES) { in f2fs_parse_options()
160 c.devices[c.ndevs++].path = strdup(optarg); in f2fs_parse_options()
297 if (c.ndevs > 1) { in f2fs_parse_options()
369 for (i = 0; i < c.ndevs; i++) in f2fs_check_overwrite()
Df2fs_format_utils.c165 for (i = 0; i < c.ndevs; i++) { in f2fs_trim_devices()
Df2fs_format.c267 if (c.zoned_mode && c.ndevs > 1) in f2fs_prepare_super_block()
278 ((c.ndevs == 1 && in f2fs_prepare_super_block()
281 (c.ndevs > 1 && in f2fs_prepare_super_block()
288 for (i = 0; i < c.ndevs; i++) { in f2fs_prepare_super_block()
308 if (c.ndevs > 1) { in f2fs_prepare_super_block()
/external/blktrace/
Dblktrace.c207 int connects, ndevs, cl_opens; member
276 static int ndevs; variable
1274 ndevs++; in add_devpath()
1295 ndevs--; in rel_devpaths()
1657 tp->ios = calloc(ndevs, sizeof(struct io_info)); in open_ios()
1658 memset(tp->ios, 0, ndevs * sizeof(struct io_info)); in open_ios()
1660 tp->pfds = calloc(ndevs, sizeof(struct pollfd)); in open_ios()
1661 memset(tp->pfds, 0, ndevs * sizeof(struct pollfd)); in open_ios()
1724 for (i = 0; nevs > 0 && i < ndevs; i++, pfd++, iop++) { in handle_pfds_file()
1767 for (i = 0; i < ndevs; i++, pfd++, iop++) { in handle_pfds_netclient()
[all …]
/external/f2fs-tools/lib/
Dlibf2fs.c670 c.ndevs = 1; in f2fs_init_configuration()
813 for (i = 0; i < c.ndevs; i++) in f2fs_devs_are_umounted()
1176 for (i = 0; i < c.ndevs; i++) in f2fs_get_device_info()
1201 for (i = 0; i < c.ndevs; i++) { in f2fs_get_device_info()
1221 for (i = 0; i < c.ndevs; i++) { in f2fs_get_device_info()
Dlibf2fs_io.c55 for (i = 0; i < c.ndevs; i++) { in __get_device_fd()
640 for (i = 0; i < c.ndevs; i++) { in f2fs_fsync_device()
785 for (i = 0; i < c.ndevs; i++) { in f2fs_finalize_device()
Dlibf2fs_zoned.c501 for (i = 0; i < c.ndevs; i++) { in f2fs_get_usable_segments()
/external/adhd/cras/src/server/
Dcras_dbus_control.c590 int ndevs, nnodes; in append_nodes() local
594 ndevs = cras_system_state_get_output_devs(&devs); in append_nodes()
597 ndevs = cras_system_state_get_input_devs(&devs); in append_nodes()
606 for (j = 0; j < ndevs; j++) in append_nodes()
609 if (j == ndevs) in append_nodes()
/external/adhd/cras/src/libcras/
Dcras_client.c2984 size_t ndevs, nnodes; in cras_client_find_output_node() local
3003 ndevs = CRAS_MAX_IODEVS; in cras_client_find_output_node()
3005 rc = cras_client_get_output_devices(client, devs, nodes, &ndevs, in cras_client_find_output_node()
3010 for (i = 0; i < ndevs; i++) in cras_client_find_output_node()
3039 size_t ndevs, nnodes; in cras_client_get_node_by_id() local
3064 ndevs = CRAS_MAX_IODEVS; in cras_client_get_node_by_id()
3067 rc = cras_client_get_input_devices(client, devs, nodes, &ndevs, in cras_client_get_node_by_id()
3070 rc = cras_client_get_output_devices(client, devs, nodes, &ndevs, in cras_client_get_node_by_id()
3354 size_t ndevs, nnodes; in cras_client_get_max_supported_channels() local
3379 ndevs = CRAS_MAX_IODEVS; in cras_client_get_max_supported_channels()
[all …]
/external/f2fs-tools/include/
Df2fs_fs.h475 int ndevs; member
/external/f2fs-tools/fsck/
Dmount.c40 for (i = 0; i < c.ndevs; i++) in get_device_idx()
1045 c.ndevs = i + 1; in init_sb_info()