Searched refs:loopinfo (Results 1 – 8 of 8) sorted by relevance
/third_party/ltp/testcases/kernel/syscalls/ioctl/ |
D | ioctl_loop05.c | 57 struct loop_info loopinfo; in verify_ioctl_loop() local 59 memset(&loopinfo, 0, sizeof(loopinfo)); in verify_ioctl_loop() 60 TST_RETRY_FUNC(ioctl(dev_fd, LOOP_SET_STATUS, &loopinfo), TST_RETVAL_EQ0); in verify_ioctl_loop() 70 loopinfo.lo_offset = logical_block_size; in verify_ioctl_loop() 71 TST_RETRY_FUNC(ioctl(dev_fd, LOOP_SET_STATUS, &loopinfo), TST_RETVAL_EQ0); in verify_ioctl_loop() 82 loopinfo.lo_offset = logical_block_size / 2; in verify_ioctl_loop() 83 TST_RETRY_FUNC(ioctl(dev_fd, LOOP_SET_STATUS, &loopinfo), TST_RETVAL_EQ0); in verify_ioctl_loop()
|
D | ioctl_loop07.c | 50 struct loop_info64 loopinfo, loopinfoget; in verify_ioctl_loop() local 52 memset(&loopinfo, 0, sizeof(loopinfo)); in verify_ioctl_loop() 58 loopinfo.lo_sizelimit = tc->set_sizelimit; in verify_ioctl_loop() 59 TST_RETRY_FUNC(ioctl(dev_fd, LOOP_SET_STATUS64, &loopinfo), TST_RETVAL_EQ0); in verify_ioctl_loop() 74 loopinfo.lo_sizelimit = 0; in verify_ioctl_loop() 75 TST_RETRY_FUNC(ioctl(dev_fd, LOOP_SET_STATUS, &loopinfo), TST_RETVAL_EQ0); in verify_ioctl_loop()
|
D | ioctl09.c | 70 struct loop_info loopinfo = {0}; in verify_ioctl() local 76 loopinfo.lo_flags = LO_FLAGS_PARTSCAN; in verify_ioctl() 77 SAFE_IOCTL(dev_fd, LOOP_SET_STATUS, &loopinfo); in verify_ioctl()
|
D | ioctl_loop01.c | 47 struct loop_info loopinfo = {0}, loopinfoget = {0}; in check_loop_value() local 50 loopinfo.lo_flags = set_flag; in check_loop_value() 51 SAFE_IOCTL(dev_fd, LOOP_SET_STATUS, &loopinfo); in check_loop_value()
|
/third_party/ltp/lib/ |
D | tst_device.c | 76 struct loop_info loopinfo; in tst_find_free_loopdev() local 122 if (ioctl(dev_fd, LOOP_GET_STATUS, &loopinfo) == 0) { in tst_find_free_loopdev() 147 struct loop_info loopinfo; in tst_attach_device() local 174 memset(&loopinfo, 0, sizeof(loopinfo)); in tst_attach_device() 175 strcpy(loopinfo.lo_name, file); in tst_attach_device() 177 if (ioctl(dev_fd, LOOP_SET_STATUS, &loopinfo)) { in tst_attach_device()
|
/third_party/mesa3d/src/gallium/drivers/r300/compiler/ |
D | radeon_dataflow_deadcode.c | 46 struct loopinfo { struct 69 struct loopinfo * LoopStack; argument 93 struct loopinfo * loop = &s->LoopStack[s->LoopStackSize - 1]; in push_break() 102 memory_pool_array_reserve(&s->C->Pool, struct loopinfo, s->LoopStack, in push_loop() 104 memset(&s->LoopStack[s->LoopStackSize++], 0, sizeof(struct loopinfo)); in push_loop() 280 struct loopinfo * loop = &s.LoopStack[s.LoopStackSize-1]; in rc_dataflow_deadcode()
|
/third_party/e2fsprogs/lib/ext2fs/ |
D | ismounted.c | 70 struct loop_info64 loopinfo = {0, }; in check_loop_mounted() local 78 ret = ioctl(loop_fd, LOOP_GET_STATUS64, &loopinfo); in check_loop_mounted() 83 if (file_dev == loopinfo.lo_device && in check_loop_mounted() 84 file_ino == loopinfo.lo_inode) in check_loop_mounted()
|
/third_party/openssl/ |
D | Configure | 2338 my %loopinfo = ( "lib" => [ @{$unified_info{libraries}} ], 2342 foreach my $type (keys %loopinfo) { 2343 foreach my $product (@{$loopinfo{$type}}) {
|