Searched refs:ub (Results 1 - 25 of 43) sorted by relevance

12

/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Duberblock.c31 uberblock_verify(uberblock_t *ub) argument
33 if (ub->ub_magic == BSWAP_64((uint64_t)UBERBLOCK_MAGIC))
34 byteswap_uint64_array(ub, sizeof (uberblock_t));
36 if (ub->ub_magic != UBERBLOCK_MAGIC)
47 uberblock_update(uberblock_t *ub, vdev_t *rvd, uint64_t txg) argument
49 ASSERT(ub->ub_txg < txg);
55 ub->ub_magic = UBERBLOCK_MAGIC;
56 ub->ub_txg = txg;
57 ub->ub_guid_sum = rvd->vdev_guid_sum;
58 ub
[all...]
H A Dvdev_label.c761 uberblock_t *ub; local
931 ub = abd_to_buf(ub_abd);
932 ub->ub_txg = 0;
1070 uberblock_t *ub = abd_to_buf(zio->io_abd); local
1075 if (zio->io_error == 0 && uberblock_verify(ub) == 0) {
1077 if (ub->ub_txg <= spa->spa_load_max_txg &&
1078 vdev_uberblock_compare(ub, cbp->ubl_ubbest) > 0) {
1085 *cbp->ubl_ubbest = *ub;
1121 vdev_uberblock_load(vdev_t *rvd, uberblock_t *ub, nvlist_t **config) argument
1129 ASSERT(ub);
1183 vdev_uberblock_sync(zio_t *zio, uint64_t *good_writes, uberblock_t *ub, vdev_t *vd, int flags) argument
1215 vdev_uberblock_sync_list(vdev_t **svd, int svdcount, uberblock_t *ub, int flags) argument
1388 uberblock_t *ub = &spa->spa_uberblock; local
[all...]
/freebsd-11-stable/lib/libc/quad/
H A Dmoddi3.c52 u_quad_t ua, ub, ur; local
60 ub = -(u_quad_t)b;
62 ub = b;
63 (void)__qdivrem(ua, ub, &ur);
H A Ddivdi3.c50 u_quad_t ua, ub, uq; local
58 ub = -(u_quad_t)b, neg ^= 1;
60 ub = b;
61 uq = __qdivrem(ua, ub, (u_quad_t *)0);
/freebsd-11-stable/sys/libkern/
H A Dmoddi3.c49 u_quad_t ua, ub, ur; local
57 ub = -(u_quad_t)b;
59 ub = b;
60 (void)__qdivrem(ua, ub, &ur);
H A Ddivdi3.c47 u_quad_t ua, ub, uq; local
55 ub = -(u_quad_t)b, neg ^= 1;
57 ub = b;
58 uq = __qdivrem(ua, ub, (u_quad_t *)0);
/freebsd-11-stable/crypto/openssh/openbsd-compat/regress/
H A Dstrtonumtest.c41 test(const char *p, long long lb, long long ub, int ok) argument
46 val = strtonum(p, lb, ub, &q);
48 fprintf(stderr, "%s [%lld-%lld] ", p, lb, ub);
52 fprintf(stderr, "%s [%lld-%lld] %lld ", p, lb, ub, val);
/freebsd-11-stable/tools/tools/umastat/
H A Dumastat.c216 struct uma_bucket *ubp, ub; local
225 LIST_NEXT(&ub, ub_link)) {
226 ret = kread(kvm, ubp, &ub, sizeof(ub), 0);
231 uma_print_bucket(&ub, "");
233 total_entries += ub.ub_entries;
234 total_cnt += ub.ub_cnt;
247 struct uma_bucket ub; local
255 ret = kread(kvm, cache->uc_freebucket, &ub, sizeof(ub),
[all...]
/freebsd-11-stable/contrib/blacklist/lib/
H A Dbl.c370 } ub; local
378 iov.iov_base = ub.buf;
380 ub.bl.bl_len = (uint32_t)iov.iov_len;
381 ub.bl.bl_version = BL_VERSION;
382 ub.bl.bl_type = (uint32_t)e;
384 if (bl_getsock(b, &ub.bl.bl_ss, sa, slen, ctx) == -1)
388 ub.bl.bl_salen = slen;
389 memcpy(ub.bl.bl_data, ctx, ctxlen);
434 } ub; local
442 iov.iov_base = ub
[all...]
/freebsd-11-stable/sys/kern/
H A Dsubr_unit.c196 ub_empty(struct unrb *ub, int len) { argument
199 bit_ffs(ub->map, len, &first_set);
205 ub_full(struct unrb *ub, int len) argument
209 bit_ffc(ub->map, len, &first_clear);
226 struct unrb *ub; local
235 ub = up->ptr;
241 bit_count(ub->map, 0, up->len, &w);
388 struct unrb *ub, *ubf; local
434 ub = (void *)us;
435 bit_nclear(ub
501 struct unrb *ub; local
573 struct unrb *ub; local
633 struct unrb *ub; local
763 struct unrb *ub; local
899 struct unrb *ub; local
[all...]
H A Dsys_pipe.c1498 pipe_stat(fp, ub, active_cred, td)
1500 struct stat *ub;
1523 return (vnops.fo_stat(fp, ub, active_cred, td));
1545 bzero(ub, sizeof(*ub));
1546 ub->st_mode = S_IFIFO;
1547 ub->st_blksize = PAGE_SIZE;
1549 ub->st_size = pipe->pipe_map.cnt;
1551 ub->st_size = pipe->pipe_buffer.cnt;
1552 ub
[all...]
H A Dsys_socket.c280 soo_stat(struct file *fp, struct stat *ub, struct ucred *active_cred, argument
289 bzero((caddr_t)ub, sizeof (*ub));
290 ub->st_mode = S_IFSOCK;
303 ub->st_mode |= S_IRUSR | S_IRGRP | S_IROTH;
304 ub->st_size = sbavail(sb) - sb->sb_ctl;
310 ub->st_mode |= S_IWUSR | S_IWGRP | S_IWOTH;
312 ub->st_uid = so->so_cred->cr_uid;
313 ub->st_gid = so->so_cred->cr_gid;
314 return (*so->so_proto->pr_usrreqs->pru_sense)(so, ub);
[all...]
/freebsd-11-stable/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_gsupport.cpp488 // "end - incr" 5th argument to KMP_DISPATCH_INIT (and the " ub - str" 11th
515 int func(long lb, long ub, long str, long chunk_sz, long *p_lb, \
524 func) ": T#%d, lb 0x%lx, ub 0x%lx, str 0x%lx, chunk_sz 0x%lx\n", \
525 gtid, lb, ub, str, chunk_sz)); \
527 if ((str > 0) ? (lb < ub) : (lb > ub)) { \
530 (str > 0) ? (ub - 1) : (ub + 1), str, chunk_sz, \
552 int func(long lb, long ub, long str, long *p_lb, long *p_ub) { \
560 (KMP_STR(func) ": T#%d, lb 0x%lx, ub
1251 kmp_int lb, ub, stride; local
1274 kmp_int lb, ub, stride; local
[all...]
H A Dkmp_dispatch.cpp87 // ub (upper bound), and st (stride). nproc is the number of threads relevant
98 enum sched_type schedule, T lb, T ub,
121 "pr:%%p lb:%%%s ub:%%%s st:%%%s "
126 KD_TRACE(10, (buff, gtid, pr, lb, ub, st, schedule, chunk, nproc, tid));
292 if (ub >= lb) {
293 tc = ub - lb + 1;
294 } else { // ub < lb
298 if (lb >= ub) {
301 tc = (UT)(lb - ub) / (-st) + 1;
302 } else { // lb < ub
96 __kmp_dispatch_init_algorithm(ident_t *loc, int gtid, dispatch_private_info_template<T> *pr, enum sched_type schedule, T lb, T ub, typename traits_t<T>::signed_t st, kmp_uint64 *cur_chunk, typename traits_t<T>::signed_t chunk, T nproc, T tid) argument
709 __kmp_dispatch_init_hier_runtime(ident_t *loc, kmp_int32 lb, kmp_int32 ub, kmp_int32 st) argument
717 __kmp_dispatch_init_hier_runtime(ident_t *loc, kmp_uint32 lb, kmp_uint32 ub, kmp_int32 st) argument
725 __kmp_dispatch_init_hier_runtime(ident_t *loc, kmp_int64 lb, kmp_int64 ub, kmp_int64 st) argument
733 __kmp_dispatch_init_hier_runtime(ident_t *loc, kmp_uint64 lb, kmp_uint64 ub, kmp_int64 st) argument
760 __kmp_dispatch_init(ident_t *loc, int gtid, enum sched_type schedule, T lb, T ub, typename traits_t<T>::signed_t st, typename traits_t<T>::signed_t chunk, int push_ws) argument
1282 T ub; member in struct:__anon2960::__anon2961
[all...]
H A Dkmp_dispatch_hier.h143 T ub[2];
150 ub[0] = ub[1] = 0;
157 ub[1 - index] = nub;
163 ub[1 - index] = nub;
173 T get_next_ub(kmp_uint64 index) const { return ub[1 - index]; }
181 T get_curr_ub(kmp_uint64 index) const { return ub[index]; }
412 void set_next_hand_thread(T lb, T ub, ST st, kmp_int32 status,
414 hier_barrier.set_next_hand_thread(lb, ub, st, status, index);
416 void set_next(T lb, T ub, S
[all...]
H A Dkmp_tasking.cpp3970 kmp_taskloop_bounds_t(kmp_task_t *_task, kmp_uint64 *lb, kmp_uint64 *ub) argument
3973 upper_offset((char *)ub - (char *)task) {
3975 KMP_DEBUG_ASSERT((char *)ub > (char *)_task);
4012 kmp_int32 *ub = RCAST(kmp_int32 *, task->shareds) + 1; local
4013 retval = (kmp_int64)*ub;
4015 kmp_int64 *ub = RCAST(kmp_int64 *, task->shareds) + 1; local
4016 retval = (kmp_int64)*ub;
4043 void set_ub(kmp_uint64 ub) { argument
4047 *(kmp_uint64 *)((char *)task + upper_offset) = ub;
4052 *upper = (kmp_uint32)ub;
4079 __kmp_taskloop_linear(ident_t *loc, int gtid, kmp_task_t *task, kmp_uint64 *lb, kmp_uint64 *ub, kmp_int64 st, kmp_uint64 ub_glob, kmp_uint64 num_tasks, kmp_uint64 grainsize, kmp_uint64 extras, kmp_uint64 tc, void *codeptr_ra, void *task_dup) argument
4175 kmp_uint64 *ub; member in struct:__taskloop_params
4203 kmp_uint64 *ub = p->ub; local
4261 __kmp_taskloop_recur(ident_t *loc, int gtid, kmp_task_t *task, kmp_uint64 *lb, kmp_uint64 *ub, kmp_int64 st, kmp_uint64 ub_glob, kmp_uint64 num_tasks, kmp_uint64 grainsize, kmp_uint64 extras, kmp_uint64 tc, kmp_uint64 num_t_min, void *codeptr_ra, void *task_dup) argument
4383 __kmpc_taskloop(ident_t *loc, int gtid, kmp_task_t *task, int if_val, kmp_uint64 *lb, kmp_uint64 *ub, kmp_int64 st, int nogroup, int sched, kmp_uint64 grainsize, void *task_dup) argument
[all...]
H A Dkmp_dispatch.h48 enum sched_type schedule, T lb, T ub,
72 T ub; member in struct:dispatch_private_infoXX_template
77 T static_steal_counter; // for static_steal only; maybe better to put after ub
109 T ub; member in struct:dispatch_private_infoXX_template
/freebsd-11-stable/contrib/subversion/subversion/libsvn_fs_x/
H A Dlock.c976 unlock_baton_t *ub,
982 *fs_err = get_lock(&lock, ub->fs, path, TRUE, TRUE, pool);
983 if (!*fs_err && !ub->break_lock)
986 *fs_err = SVN_FS__ERR_NO_SUCH_LOCK(ub->fs, path);
987 else if (strcmp(ub->fs->access_ctx->username, lock->owner) != 0)
988 *fs_err = SVN_FS__ERR_LOCK_OWNER_MISMATCH(ub->fs,
989 ub->fs->access_ctx->username,
1017 unlock_baton_t *ub = baton;
1026 SVN_ERR(ub->fs->vtable->youngest_rev(&youngest, ub
970 check_unlock(svn_error_t **fs_err, const char *path, const char *token, unlock_baton_t *ub, svn_fs_root_t *root, apr_pool_t *pool) argument
1014 unlock_baton_t *ub = baton; local
1093 unlock_baton_t ub; local
1230 unlock_baton_t ub; local
[all...]
/freebsd-11-stable/contrib/subversion/subversion/libsvn_fs_fs/
H A Dlock.c955 struct unlock_baton *ub,
961 *fs_err = get_lock(&lock, ub->fs, path, TRUE, TRUE, pool);
962 if (!*fs_err && !ub->break_lock)
965 *fs_err = SVN_FS__ERR_NO_SUCH_LOCK(ub->fs, path);
966 else if (strcmp(ub->fs->access_ctx->username, lock->owner) != 0)
967 *fs_err = SVN_FS__ERR_LOCK_OWNER_MISMATCH(ub->fs,
968 ub->fs->access_ctx->username,
995 struct unlock_baton *ub = baton;
1004 SVN_ERR(ub->fs->vtable->youngest_rev(&youngest, ub
949 check_unlock(svn_error_t **fs_err, const char *path, const char *token, struct unlock_baton *ub, svn_fs_root_t *root, apr_pool_t *pool) argument
992 struct unlock_baton *ub = baton; local
1071 struct unlock_baton ub; local
1208 struct unlock_baton ub; local
[all...]
/freebsd-11-stable/lib/libmemstat/
H A Dmemstat_uma.c301 struct uma_bucket *ubp, ub; local
416 &ub, sizeof(ub), 0);
423 mtp->mt_free += ub.ub_cnt;
427 &ub, sizeof(ub), 0);
434 mtp->mt_free += ub.ub_cnt;
452 NULL; ubp = LIST_NEXT(&ub, ub_link)) {
453 ret = kread(kvm, ubp, &ub, sizeof(ub),
[all...]
/freebsd-11-stable/crypto/openssh/openbsd-compat/
H A Dbsd-misc.c110 struct utimbuf ub; local
112 ub.actime = tvp[0].tv_sec;
113 ub.modtime = tvp[1].tv_sec;
115 return (utime(filename, &ub));
/freebsd-11-stable/sys/compat/svr4/
H A Dsvr4_stat.c183 return (copyout(&svr4_st, uap->ub, sizeof svr4_st));
209 return (copyout(&svr4_st, uap->ub, sizeof svr4_st));
255 return (copyout(&svr4_st, uap->ub, sizeof svr4_st));
282 return (copyout(&svr4_st, uap->ub, sizeof svr4_st));
571 struct svr4_utimbuf ub; local
577 error = copyin(uap->ubuf, &ub, sizeof(ub));
580 tbuf[0].tv_sec = ub.actime;
582 tbuf[1].tv_sec = ub.modtime;
/freebsd-11-stable/contrib/flex/
H A Dnfa.c536 * new = mkrep( mach, lb, ub );
539 * number of times to "ub" number of times
542 * if "ub" is INFINITE_REPEAT then "new" matches "lb" or more occurrences of "mach"
545 int mkrep (mach, lb, ub)
546 int mach, lb, ub;
552 if (ub == INFINITE_REPEAT) {
562 for (i = lb; i < ub; ++i) {
/freebsd-11-stable/contrib/llvm-project/compiler-rt/include/sanitizer/
H A Dnetbsd_syscall_hooks.h230 #define __sanitizer_syscall_pre_compat_43_stat43(path, ub) \
232 (long long)(ub))
233 #define __sanitizer_syscall_post_compat_43_stat43(res, path, ub) \
235 (long long)(ub))
239 #define __sanitizer_syscall_pre_compat_43_lstat43(path, ub) \
241 (long long)(ub))
242 #define __sanitizer_syscall_post_compat_43_lstat43(res, path, ub) \
244 (long long)(ub))
960 #define __sanitizer_syscall_pre_compat_12_stat12(path, ub) \
962 (long long)(ub))
[all...]
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/
H A DPdbIndex.cpp166 auto ub = cci.m_symbols_by_va.upper_bound(va); local
168 for (auto iter = cci.m_symbols_by_va.begin(); iter != ub; ++iter) {

Completed in 315 milliseconds

12