Home
last modified time | relevance | path

Searched refs:n_src (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/comedi/drivers/
H A Dni_routes.c158 for (j = 0; j < R->n_src; ++j) { in ni_count_valid_routes()
212 for (j = 0; j < R->n_src; ++j) { in ni_get_valid_routes()
323 rs->n_src = 0; in ni_sort_device_routes()
324 while (rs->src[rs->n_src]) in ni_sort_device_routes()
325 ++rs->n_src; in ni_sort_device_routes()
328 sort(valid_routes->routes[n].src, valid_routes->routes[n].n_src, in ni_sort_device_routes()
396 if (!bsearch(&source, routes->src, routes->n_src, sizeof(int), in ni_route_set_has_source()
H A Dni_routes.h40 int n_src; member
/linux/drivers/comedi/drivers/tests/
H A Dni_routes_test.c204 for (j = 0; j < devroutes->routes[i].n_src; ++j) { in route_set_sources_in_order()
230 unittest(devroutes->routes->n_src == 1, in test_ni_assign_device_routes()
236 unittest(devroutes->routes[10].n_src == 10, in test_ni_assign_device_routes()
/linux/sound/pci/ctxfi/
H A Dctatc.h136 unsigned char n_src; member
H A Dctatc.c1190 for (i = 0; i < atc->n_src; i++) in atc_release_resources()
1413 for (i = 0, atc->n_src = 0; i < num_srcs; i++) { in atc_get_resources()
1419 atc->n_src++; in atc_get_resources()
/linux/fs/reiserfs/
H A Ddo_balan.c1553 struct buffer_head *src, int n_src) in replace_key() argument
1562 RFALSE(n_dest < 0 || n_src < 0, in replace_key()
1563 "vs-12315: src(%d) or dest(%d) key number < 0", n_src, n_dest); in replace_key()
1564 RFALSE(n_dest >= B_NR_ITEMS(dest) || n_src >= B_NR_ITEMS(src), in replace_key()
1566 n_src, B_NR_ITEMS(src), n_dest, B_NR_ITEMS(dest)); in replace_key()
1570 memcpy(internal_key(dest, n_dest), item_head(src, n_src), in replace_key()
1573 memcpy(internal_key(dest, n_dest), internal_key(src, n_src), in replace_key()