| /illumos-gate/usr/src/uts/common/fs/zfs/sys/ |
| H A D | refcount.h | 95 #define refcount_add(rc, holder) atomic_inc_64_nv(&(rc)->rc_count) 96 #define refcount_remove(rc, holder) atomic_dec_64_nv(&(rc)->rc_count) 97 #define refcount_add_many(rc, number, holder) \ 99 #define refcount_remove_many(rc, number, holder) \ 107 #define refcount_held(rc, holder) ((rc)->rc_count > 0) 108 #define refcount_not_held(rc, holder) (B_TRUE)
|
| /illumos-gate/usr/src/uts/common/fs/zfs/ |
| H A D | refcount.c | 125 refcount_add_many(refcount_t *rc, uint64_t number, void *holder) argument 132 ref->ref_holder = holder; 147 refcount_add(refcount_t *rc, void *holder) argument 149 return (refcount_add_many(rc, 1, holder)); 153 refcount_remove_many(refcount_t *rc, uint64_t number, void *holder) argument 170 if (ref->ref_holder == holder && ref->ref_number == number) { 195 panic("No such hold %p on refcount %llx", holder, 201 refcount_remove(refcount_t *rc, void *holder) argument 203 return (refcount_remove_many(rc, 1, holder)); 264 * the "holder" ta 268 refcount_held(refcount_t *rc, void *holder) argument 296 refcount_not_held(refcount_t *rc, void *holder) argument [all...] |
| /illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipsecutils/ |
| H A D | ipsecalgs.c | 543 char *holder = NULL; local 545 while ((holder = strtok((holder == NULL) ? args : NULL, comma)) != 551 rc[(*num_args) - 1] = atoi(holder); 566 char *holder = NULL; local 614 while ((holder = strtok((holder == NULL) ? flag_string : NULL, 616 alg_flags = parse_flag(holder, 0); 618 warnx(gettext("Invalid flag: %s\n"), holder); 624 while ((holder [all...] |
| /illumos-gate/usr/src/uts/sun4u/io/i2c/clients/ |
| H A D | lm75.c | 224 int8_t holder; local 256 holder = (temp16 & LM75_COMP_MASK_UPPER); 257 holder = -holder; 258 holder = holder/2; 259 temp16 = 0 - holder;
|
| /illumos-gate/usr/src/cmd/sendmail/db/lock/ |
| H A D | lock.c | 148 lp->holder = txn->parent->txnid; 155 if (lp->holder != locker) { 474 newl->holder = locker; 499 * this happens is when the holder has a WRITE lock and a READ lock 511 if (locker == lp->holder || 512 __lock_is_parent(lp->holder, txn)) { 553 locker != lp->holder) 691 if (lp->holder == locker && lp->mode == mode) 765 (u_long)lp->holder, mode, (u_long)lp->refcount, status); 903 if (__lock_getobj(lt, lockp->holder, NUL [all...] |
| H A D | lock_deadlock.c | 276 * for each waiter/holder combination. 292 if (__lock_getobj(lt, lp->holder, 298 id_array[lockerp->dd_id].id = lp->holder; 302 * If the holder has already been aborted, then 318 if (__lock_getobj(lt, lp->holder, 324 id_array[lockerp->dd_id].id = lp->holder;
|
| H A D | lock_region.c | 655 (u_long)lp->holder, (u_long)lp->mode,
|
| /illumos-gate/usr/src/lib/libmalloc/common/ |
| H A D | mallint.h | 83 struct holdblk *holder; member in union:lblk::__anon3575
|
| H A D | malloc.c | 415 lblk->header.holder = (struct holdblk *)SETALL(holdblk); 437 lblk->header.holder = (struct holdblk *)SETALL(newhold); 441 assert(((struct holdblk *)CLRALL(lblk->header.holder))->blksz >= 656 /* queue containing blk's holder */ 668 holdblk = lblk->header.holder; 754 header.holder)) { 770 CLRALL(lblk->header.holder))->blksz;
|
| /illumos-gate/usr/src/uts/common/rpcsvc/ |
| H A D | nlm_prot.x | 69 * The holder of a conflicting lock. 82 struct nlm_holder holder; 220 * The holder of a conflicting lock. 233 struct nlm4_holder holder;
|
| /illumos-gate/usr/src/uts/common/klm/ |
| H A D | nlm_rpc_clnt.c | 112 &res->stat.nlm4_testrply_u.holder, 113 &res1.stat.nlm_testrply_u.holder);
|
| H A D | nlm_rpc_svc.c | 168 &resp->stat.nlm_testrply_u.holder, 169 &res4.stat.nlm4_testrply_u.holder); 348 &res1.stat.nlm_testrply_u.holder, 349 &res4->stat.nlm4_testrply_u.holder);
|
| H A D | nlm_service.c | 418 lh = &resp->stat.nlm4_testrply_u.holder;
|
| H A D | nlm_client.c | 1148 bcopy(&res.stat.nlm4_testrply_u.holder, &h, sizeof (h));
|
| /illumos-gate/usr/src/lib/libipsecutil/common/ |
| H A D | algs.c | 487 struct ipsecalgent *clone, **holder; local 552 holder = realloc(current_proto->proto_algs, 554 if (holder == NULL) { 560 free(holder); 565 current_proto->proto_algs = holder;
|
| H A D | ipsec_util.c | 698 char ibuf[IBUF_SIZE], holder[IBUF_SIZE]; local 742 (void) strcpy(holder, ibuf); 743 hptr = &(holder[strlen(holder)]); 755 (size_t)(&(holder[IBUF_SIZE]) - hptr)); 756 if (holder[IBUF_SIZE - 1] != '\0') { 775 (void) strcpy(ibuf, holder); 3301 static struct ipsecalgent *holder = NULL; /* we're single-threaded */ local 3303 if (holder != NULL) 3304 freeipsecalgent(holder); [all...] |
| /illumos-gate/usr/src/cmd/avs/dscfglockd/ |
| H A D | dscfglockd.c | 115 daemonaddr_t holder; member in struct:__anon27 497 DPF((stderr, "local locker, 1 lock holder\n")); 527 the_lock.holder = lock_wanted.remote; 530 find_lockdaemon(&the_lock.holder); 653 spcs_log("cfglockd", NULL, "holder daemon was %s port %hu, remote %x", 654 dp_addr(&the_lock.holder), the_lock.holder.sin_port, 818 DPF((stderr, "when %s holds lock\n", dp_addr(&the_lock.holder))); 884 send_lockmsg(GRANTED, (pid_t)0, &the_lock.holder, 0);
|
| /illumos-gate/usr/src/cmd/sendmail/db/include/ |
| H A D | lock.h | 138 u_int32_t holder; /* Who holds this lock. */ member in struct:__db_lock 139 SH_TAILQ_ENTRY links; /* Free or holder/waiter list. */
|
| /illumos-gate/usr/src/cmd/fwflash/plugins/hdrs/ |
| H A D | tavor_ib.h | 53 uint32_t holder; member in struct:fw_rev_s
|
| /illumos-gate/usr/src/lib/libdladm/common/ |
| H A D | libdllink.c | 422 datalink_id_t holder; member in struct:link_hold_arg_s 440 hold_arg->holder = aggrid; 459 hold_arg->holder = vlanid; 490 arg.holder = DATALINK_INVALID_LINKID; 494 if (arg.holder != DATALINK_INVALID_LINKID) 500 if (arg.holder != DATALINK_INVALID_LINKID)
|
| H A D | libdlflow.c | 512 char *holder, *lasts; local 519 holder = strtok_r(line, " \t", &lasts); 520 if (holder == NULL) 524 if (strcmp(holder, attr->fi_flowname) == 0) {
|
| /illumos-gate/usr/src/lib/storage/libg_fc/common/ |
| H A D | genf.c | 233 char holder[MAXPATHLEN]; local 252 strcpy(holder, &path[3]); /* strip "/.." */ 253 strcpy(path, holder);
|
| /illumos-gate/usr/src/cmd/luxadm/ |
| H A D | lux_util.c | 1120 char holder[MAXPATHLEN]; local 1139 strcpy(holder, &path[3]); /* strip "/.." */ 1140 strcpy(path, holder);
|
| H A D | hotplug.c | 1003 char holder[MAXPATHLEN]; local 1022 strcpy(holder, &path[3]); /* strip "/.." */ 1023 strcpy(path, holder);
|
| /illumos-gate/usr/src/uts/common/inet/ip/ |
| H A D | spd.c | 714 uint8_t holder, swap; local 722 holder = algid; 732 if ((holder != algid) || (ai->alg_minbits > alt->alg_minbits)) { 733 /* Swap sortlist[i] and holder. */ 735 ipss->ipsec_sortlist[at][i] = holder; 736 holder = swap; 741 /* Store holder in last slot. */ 742 ipss->ipsec_sortlist[at][i] = holder;
|