Home
last modified time | relevance | path

Searched refs:loopinfo (Results 1 – 7 of 7) sorted by relevance

/third_party/ltp/testcases/kernel/syscalls/ioctl/
Dioctl_loop05.c57 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()
Dioctl_loop07.c50 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()
Dioctl09.c70 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()
Dioctl_loop01.c47 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/
Dtst_device.c76 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/
Dradeon_dataflow_deadcode.c46 struct loopinfo { struct
69 struct loopinfo * LoopStack; argument
93 memory_pool_array_reserve(&s->C->Pool, struct loopinfo, s->LoopStack, in push_loop()
95 memset(&s->LoopStack[s->LoopStackSize++], 0, sizeof(struct loopinfo)); in push_loop()
266 struct loopinfo * loop = &s.LoopStack[s.LoopStackSize-1]; in rc_dataflow_deadcode()
/third_party/openssl/
DConfigure2760 my %loopinfo = ( "lib" => [ @{$unified_info{libraries}} ],
2770 foreach my $type (sort keys %loopinfo) {
2771 foreach my $product (@{$loopinfo{$type}}) {