Home
last modified time | relevance | path

Searched refs:page_num (Results 1 – 4 of 4) sorted by relevance

/external/e2fsprogs/misc/
De4defrag.c359 unsigned char **vec, unsigned int *page_num) in page_in_core() argument
383 *page_num = 0; in page_in_core()
384 *page_num = (length + pagesize - 1) / pagesize; in page_in_core()
385 *vec = (unsigned char *)calloc(*page_num, 1); in page_in_core()
410 unsigned char *vec, unsigned int page_num) in defrag_fadvise() argument
430 (loff_t)pagesize * page_num, sync_flag) < 0) in defrag_fadvise()
437 for (i = 0; i < page_num; i++) { in defrag_fadvise()
1305 unsigned int page_num; in call_defrag() local
1326 ret = page_in_core(fd, move_data, &vec, &page_num); in call_defrag()
1343 ret = defrag_fadvise(fd, move_data, vec, page_num); in call_defrag()
/external/fio/
Dgfio.h125 gint page_num; member
Dgfio.c398 g_hash_table_remove(ge->ui->ge_hash, &ge->page_num); in ge_destroy()
747 ge->page_num = gtk_notebook_append_page(GTK_NOTEBOOK(ui->notebook), ge->vbox, ge->page_label); in get_new_ge_with_tab()
749 g_hash_table_insert(ui->ge_hash, &ge->page_num, ge); in get_new_ge_with_tab()
761 gtk_notebook_set_current_page(GTK_NOTEBOOK(ui->notebook), ge->page_num); in file_new()
888 gtk_notebook_set_current_page(GTK_NOTEBOOK(ui->notebook), ge->page_num); in do_file_open_with_tab()
/external/ltp/testcases/kernel/fs/scsi/ltpscsi/
Dscsimain.c3595 const char *find_page_code_desc(int page_num, int scsi_ptype) in find_page_code_desc() argument
3604 if (page_num == pcdp->page_code) in find_page_code_desc()
3606 else if (page_num < pcdp->page_code) in find_page_code_desc()
3613 if (page_num == pcdp->page_code) in find_page_code_desc()
3615 else if (page_num < pcdp->page_code) in find_page_code_desc()
3661 int sg_fd, k, num, len, md_len, bd_len, longlba, page_num; in show_scsi_modes() local
3788 page_num = ucp[0] & 0x3f; in show_scsi_modes()
3793 find_page_code_desc(page_num, scsi_ptype); in show_scsi_modes()
3796 "vendor[0x%x]", page_num); in show_scsi_modes()
3803 "page_control=%d\n", page_num, in show_scsi_modes()
[all …]