• Home
  • Raw
  • Download

Lines Matching refs:set_size

80 	unsigned int set_size;  in main()  local
82 for (set_size = big_size; set_size; set_size >>= 1) { in main()
83 if (!k_sigprocmask(SIG_SETMASK, NULL, NULL, set_size)) in main()
86 " = -1 EINVAL (%m)\n", set_size); in main()
88 if (!set_size) in main()
91 set_size); in main()
93 void *const k_set = tail_alloc(set_size); in main()
94 void *const old_set = tail_alloc(set_size); in main()
97 memset(k_set, 0, set_size); in main()
98 if (k_sigprocmask(SIG_SETMASK, k_set, NULL, set_size)) in main()
100 tprintf("rt_sigprocmask(SIG_SETMASK, [], NULL, %u) = 0\n", set_size); in main()
102 if (k_sigprocmask(SIG_UNBLOCK, k_set - set_size, old_set, set_size)) in main()
104 tprintf("rt_sigprocmask(SIG_UNBLOCK, ~[], [], %u) = 0\n", set_size); in main()
106 assert(k_sigprocmask(SIG_SETMASK, k_set - set_size, in main()
107 old_set, set_size << 1) == -1); in main()
109 k_set - set_size, old_set, set_size << 1); in main()
111 iterate("~[]", k_set - set_size, old_set, set_size >> 1); in main()
115 memcpy(k_set, libc_set, set_size); in main()
117 if (k_sigprocmask(SIG_BLOCK, k_set, old_set, set_size)) in main()
119 tprintf("rt_sigprocmask(SIG_BLOCK, [HUP], [], %u) = 0\n", set_size); in main()
123 memcpy(k_set, libc_set, set_size); in main()
125 if (k_sigprocmask(SIG_UNBLOCK, k_set, old_set, set_size)) in main()
128 set_size); in main()
131 memcpy(k_set, libc_set, set_size); in main()
133 if (k_sigprocmask(SIG_UNBLOCK, k_set, old_set, set_size)) in main()
136 set_size); in main()
144 memcpy(k_set, libc_set, set_size); in main()
146 if (k_sigprocmask(SIG_BLOCK, k_set, old_set, set_size)) in main()
149 "[HUP INT QUIT ALRM TERM]", set_size); in main()
151 if (k_sigprocmask(SIG_SETMASK, NULL, old_set, set_size)) in main()
154 "[HUP INT QUIT ALRM TERM]", set_size); in main()
156 assert(k_sigprocmask(SIG_SETMASK, k_set + (set_size >> 1), NULL, in main()
157 set_size) == -1); in main()
159 k_set + (set_size >> 1), set_size); in main()
161 assert(k_sigprocmask(SIG_SETMASK, k_set, old_set + (set_size >> 1), in main()
162 set_size) == -1); in main()
165 old_set + (set_size >> 1), set_size); in main()