Lines Matching refs:set_size

79 	unsigned int set_size;  in main()  local
81 for (set_size = big_size; set_size; set_size >>= 1) { in main()
82 if (!k_sigprocmask(SIG_SETMASK, NULL, NULL, set_size)) in main()
85 " = -1 EINVAL (%m)\n", set_size); in main()
87 if (!set_size) in main()
90 set_size); in main()
92 void *const k_set = tail_alloc(set_size); in main()
93 void *const old_set = tail_alloc(set_size); in main()
96 memset(k_set, 0, set_size); in main()
97 if (k_sigprocmask(SIG_SETMASK, k_set, NULL, set_size)) in main()
99 tprintf("rt_sigprocmask(SIG_SETMASK, [], NULL, %u) = 0\n", set_size); in main()
101 if (k_sigprocmask(SIG_UNBLOCK, k_set - set_size, old_set, set_size)) in main()
103 tprintf("rt_sigprocmask(SIG_UNBLOCK, ~[], [], %u) = 0\n", set_size); in main()
105 assert(k_sigprocmask(SIG_SETMASK, k_set - set_size, in main()
106 old_set, set_size << 1) == -1); in main()
108 k_set - set_size, old_set, set_size << 1); in main()
110 iterate("~[]", k_set - set_size, old_set, set_size >> 1); in main()
114 memcpy(k_set, libc_set, set_size); in main()
116 if (k_sigprocmask(SIG_BLOCK, k_set, old_set, set_size)) in main()
118 tprintf("rt_sigprocmask(SIG_BLOCK, [HUP], [], %u) = 0\n", set_size); in main()
122 memcpy(k_set, libc_set, set_size); in main()
124 if (k_sigprocmask(SIG_UNBLOCK, k_set, old_set, set_size)) in main()
127 set_size); in main()
130 memcpy(k_set, libc_set, set_size); in main()
132 if (k_sigprocmask(SIG_UNBLOCK, k_set, old_set, set_size)) in main()
135 set_size); in main()
143 memcpy(k_set, libc_set, set_size); in main()
145 if (k_sigprocmask(SIG_BLOCK, k_set, old_set, set_size)) in main()
148 "[HUP INT QUIT ALRM TERM]", set_size); in main()
150 if (k_sigprocmask(SIG_SETMASK, NULL, old_set, set_size)) in main()
153 "[HUP INT QUIT ALRM TERM]", set_size); in main()
155 assert(k_sigprocmask(SIG_SETMASK, k_set + (set_size >> 1), NULL, in main()
156 set_size) == -1); in main()
158 k_set + (set_size >> 1), set_size); in main()
160 assert(k_sigprocmask(SIG_SETMASK, k_set, old_set + (set_size >> 1), in main()
161 set_size) == -1); in main()
164 old_set + (set_size >> 1), set_size); in main()