/freebsd-current/sys/opencrypto/ |
H A D | criov.c | 127 int ind, len; local 129 ind = 0; 130 while (loc >= 0 && ind < uio->uio_iovcnt) { 131 len = uio->uio_iov[ind].iov_len; 134 return (ind); 137 ind++; 140 if (ind > 0 && loc == 0) { 141 ind--; 142 *off = uio->uio_iov[ind].iov_len; 143 return (ind); [all...] |
H A D | cryptosoft.c | 1236 int ind; local 1239 ind = uio->uio_iovcnt - 1; 1241 while (adj > 0 && ind >= 0) { 1242 if (adj < uio->uio_iov[ind].iov_len) { 1243 uio->uio_iov[ind].iov_len -= adj; 1247 adj -= uio->uio_iov[ind].iov_len; 1248 uio->uio_iov[ind].iov_len = 0; 1249 ind--;
|
/freebsd-current/contrib/jemalloc/src/ |
H A D | jemalloc.c | 301 arena_set(unsigned ind, arena_t *arena) { argument 302 atomic_store_p(&arenas[ind], arena, ATOMIC_RELEASE); 320 /* Create a new arena and insert it into the arenas array at index ind. */ 322 arena_init_locked(tsdn_t *tsdn, unsigned ind, extent_hooks_t *extent_hooks) { argument 325 assert(ind <= narenas_total_get()); 326 if (ind >= MALLOCX_ARENA_LIMIT) { 329 if (ind == narenas_total_get()) { 334 * Another thread may have already initialized arenas[ind] if it's an 337 arena = arena_get(tsdn, ind, false); 344 arena = arena_new(tsdn, ind, extent_hook 350 arena_new_create_background_thread(tsdn_t *tsdn, unsigned ind) argument 368 arena_init(tsdn_t *tsdn, unsigned ind, extent_hooks_t *extent_hooks) argument 381 arena_bind(tsd_t *tsd, unsigned ind, bool internal) argument 412 arena_unbind(tsd_t *tsd, unsigned ind, bool internal) argument 426 arena_tdata_get_hard(tsd_t *tsd, unsigned ind) argument 1916 imalloc_no_sample(static_opts_t *sopts, dynamic_opts_t *dopts, tsd_t *tsd, size_t size, size_t usize, szind_t ind) argument 1958 imalloc_sample(static_opts_t *sopts, dynamic_opts_t *dopts, tsd_t *tsd, size_t usize, szind_t ind) argument 2046 szind_t ind = 0; local 2345 szind_t ind = sz_size2index_lookup(size); local [all...] |
H A D | background_thread.c | 286 background_work_sleep_once(tsdn_t *tsdn, background_thread_info_t *info, unsigned ind) { 290 for (unsigned i = ind; i < narenas; i += max_background_threads) { 483 background_work(tsd_t *tsd, unsigned ind) { 484 background_thread_info_t *info = &background_thread_info[ind]; 489 if (ind == 0) { 497 background_work_sleep_once(tsd_tsdn(tsd), info, ind);
|
H A D | arena.c | 219 #define READ_ARENA_MUTEX_PROF_DATA(mtx, ind) \ 221 malloc_mutex_prof_read(tsdn, &astats->mutex_prof_data[ind], \ 1514 arena_malloc_hard(tsdn_t *tsdn, arena_t *arena, size_t size, szind_t ind, argument 1526 return arena_malloc_small(tsdn, arena, ind, zero); 1528 return large_malloc(tsdn, arena, sz_index2size(ind), zero); 1942 arena_new(tsdn_t *tsdn, unsigned ind, extent_hooks_t *extent_hooks) { argument 1947 if (ind == 0) { 1950 base = base_new(tsdn, ind, extent_hooks); 1997 atomic_store_zu(&arena->offset_state, config_debug ? ind : 2083 arena_set(ind, aren [all...] |
H A D | tcache.c | 709 tcaches_flush(tsd_t *tsd, unsigned ind) { argument 711 tcache_t *tcache = tcaches_elm_remove(tsd, &tcaches[ind], true); 720 tcaches_destroy(tsd_t *tsd, unsigned ind) { argument 722 tcaches_t *elm = &tcaches[ind];
|
/freebsd-current/usr.bin/m4/ |
H A D | eval.c | 861 int ind; local 865 for (ind = 2; ind < argc; ind++) { 867 n = strtonum(argv[ind], 1, INT_MAX, &errstr); 870 getdivfile(argv[ind]);
|
/freebsd-current/contrib/ofed/libmlx5/ |
H A D | qp.c | 1068 int ind; local 1074 ind = rwq->rq.head & (rwq->rq.wqe_cnt - 1); 1090 scat = get_wq_recv_wqe(rwq, ind); 1113 rwq->rq.wrid[ind] = wr->wr_id; 1115 ind = (ind + 1) & (rwq->rq.wqe_cnt - 1); 1141 int ind; local 1147 ind = qp->rq.head & (qp->rq.wqe_cnt - 1); 1163 scat = get_recv_wqe(qp, ind); 1186 qp->rq.wrid[ind] [all...] |
/freebsd-current/contrib/ofed/libmlx4/ |
H A D | srq.c | 49 void mlx4_free_srq_wqe(struct mlx4_srq *srq, int ind) argument 56 next->next_wqe_index = htobe16(ind); 57 srq->tail = ind;
|
/freebsd-current/contrib/jemalloc/include/jemalloc/internal/ |
H A D | arena_inlines_b.h | 159 arena_malloc(tsdn_t *tsdn, arena_t *arena, size_t size, szind_t ind, bool zero, argument 166 tcache, size, ind, zero, slow_path); 170 tcache, size, ind, zero, slow_path); 176 return arena_malloc_hard(tsdn, arena, size, ind, zero);
|
H A D | arena_externs.h | 60 szind_t ind, bool zero); 86 arena_t *arena_new(tsdn_t *tsdn, unsigned ind, extent_hooks_t *extent_hooks);
|
H A D | sz.h | 14 * ind: Index 69 pszind_t ind = grp + mod; local 70 return ind;
|
/freebsd-current/sys/contrib/dpdk_rte_lpm/ |
H A D | rte_lpm6.c | 1216 uint32_t ind; local 1221 ind = first_3bytes; 1222 *from = &lpm->tbl24[ind]; 1223 ind += (1 << (24 - depth)) - 1; 1224 *to = &lpm->tbl24[ind]; 1254 ind = ip[byte] & depth_to_mask_1b(depth); 1255 *from = &tbl[ind]; 1256 ind += (1 << (8 - depth)) - 1; 1257 *to = &tbl[ind];
|
/freebsd-current/sys/dev/mthca/ |
H A D | mthca_mr.c | 385 static inline u32 tavor_hw_index_to_key(u32 ind) argument 387 return ind; 395 static inline u32 arbel_hw_index_to_key(u32 ind) argument 397 return (ind >> 24) | (ind << 8); 405 static inline u32 hw_index_to_key(struct mthca_dev *dev, u32 ind) argument 408 return arbel_hw_index_to_key(ind); 410 return tavor_hw_index_to_key(ind);
|
/freebsd-current/sys/dev/mlx4/mlx4_ib/ |
H A D | mlx4_ib_qp.c | 221 int ind; local 229 ind = (i >> qp->sq.wqe_shift) + n; 230 stamp = ind & qp->sq.wqe_cnt ? cpu_to_be32(0x7fffffff) : 232 buf = get_send_wqe(qp, ind & (qp->sq.wqe_cnt - 1)); 284 static inline unsigned pad_wraparound(struct mlx4_ib_qp *qp, int ind) argument 286 unsigned s = qp->sq.wqe_cnt - (ind & (qp->sq.wqe_cnt - 1)); 288 post_nop_wqe(qp, ind, s << qp->sq.wqe_shift); 289 ind += s; 291 return ind; 2941 unsigned ind; local 3274 int ind; local [all...] |
/freebsd-current/usr.sbin/makefs/zfs/ |
H A D | zfs.h | 154 void vdev_label_write(zfs_opt_t *zfs, int ind, const vdev_label_t *labelp);
|
/freebsd-current/sys/dev/iwm/ |
H A D | if_iwm_scan.c | 193 int i, ind; local 195 for (i = 0, ind = sc->sc_scan_last_antenna; 197 ind = (ind + 1) % IWM_RATE_MCS_ANT_NUM; 198 if (iwm_get_valid_tx_ant(sc) & (1 << ind)) { 199 sc->sc_scan_last_antenna = ind;
|
/freebsd-current/contrib/unifdef/ |
H A D | unifdef.c | 1493 struct macro *sym, *ind; local 1501 ind = findsym(&cp); 1502 if (ind == NULL || ind == sym || 1504 ind->value == NULL || 1505 ind->value == sym->value) 1508 sym->value = ind->value;
|
/freebsd-current/sys/contrib/dev/iwlwifi/mvm/ |
H A D | utils.c | 233 u8 ind = last_idx; local 237 ind = (ind + 1) % MAX_ANT_NUM; 238 if (valid & BIT(ind)) 239 return ind;
|
/freebsd-current/usr.bin/sort/ |
H A D | coll.c | 121 get_key_from_keys_array(struct keys_array *ka, size_t ind) argument 125 ind * (sizeof(struct key_value) + key_hint_size()))); 132 set_key_on_keys_array(struct keys_array *ka, struct bwstring *s, size_t ind) argument 135 if (ka && keys_num > ind) { 138 kv = get_key_from_keys_array(ka, ind);
|
/freebsd-current/crypto/openssl/crypto/bn/ |
H A D | bn_local.h | 464 int ind = (a)->dmax - (a)->top; \ 466 for (; ind != 0; ind--) \
|
/freebsd-current/crypto/openssh/ |
H A D | sshd.c | 733 get_hostkey_by_index(int ind) argument 735 if (ind < 0 || (u_int)ind >= options.num_host_key_files) 737 return (sensitive_data.host_keys[ind]); 741 get_hostkey_public_by_index(int ind, struct ssh *ssh) argument 743 if (ind < 0 || (u_int)ind >= options.num_host_key_files) 745 return (sensitive_data.host_pubkeys[ind]);
|
/freebsd-current/sys/contrib/openzfs/module/lua/ |
H A D | lparser.c | 1118 if (lh->v.u.ind.vt == v->k && lh->v.u.ind.t == v->u.info) { 1120 lh->v.u.ind.vt = VLOCAL; 1121 lh->v.u.ind.t = extra; /* previous assignment will use safe copy */ 1124 if (v->k == VLOCAL && lh->v.u.ind.idx == v->u.info) { 1126 lh->v.u.ind.idx = extra; /* previous assignment will use safe copy */
|
/freebsd-current/contrib/wpa/hostapd/ |
H A D | hlr_auc_gw.c | 714 u64 val, seq, ind; local 727 ind = (val + 1) & ((1 << ind_len) - 1); 728 val = (seq << ind_len) | ind;
|
/freebsd-current/tools/tools/shlib-compat/ |
H A D | shlib-compat.py | 278 ind = (long(a.id) << 32) + b.id 279 r = Dwarf.cmpcache.get(ind) 283 ind = 0 285 if ind != 0: 286 Dwarf.cmpcache.put(ind, r)
|