/illumos-gate/usr/src/cmd/filesync/ |
H A D | rename.c | 84 * for files that have been newly created on one side, 86 * file that has been newly deleted on the same side. 92 int stype, dtype, btype, side; local 104 /* a rename must be a file that is new on only one side */ 106 side = stype ? OPT_SRC : OPT_DST; 107 rp = find_oldname(fp, np, side); 109 errs |= note_rename(fp, np, rp, side); 131 * which side the rename is believed to have happened on 142 side_t side) 147 side_t otherside = (side 141 find_oldname(struct file *dirp, struct file *new, side_t side) argument 218 note_rename(struct file *dirp, struct file *new, struct file *old, side_t side) argument [all...] |
/illumos-gate/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_namespace.c | 62 nm.side = sideno; 105 nm.side = sideno; 145 nm.side = sideno; 188 nm.side = sideno; 217 nm.side = sideno; 270 nm.side = sideno; 282 * a reference count for each side. Need to do this after 286 * get the devid. If the wrong side is used then it would 288 * the requirement to process the local side first of all. 293 * fail with ENOENT if the side doe 733 side_t myside, side; local 841 side_t side; local [all...] |
H A D | meta_set_tkr.c | 116 /* We already locked this side in the caller */ 143 /* We already locked this side in the caller */ 214 /* We will unlocked this side in the caller */ 242 /* We will unlocked this side in the caller */ 513 side_t side; local 582 /* Lock the set on our side */ 589 * Find the "side" value so that it can be used to deal with 592 side = getnodeside(mynode(), sd); 594 if (side == MD_SIDEWILD) { 602 * A local sets' side [all...] |
H A D | meta_devadm.c | 251 nm.side = sideno; 288 nm.side = sideno; 433 mda_debug("Failed to find the side number\n"); 639 mda_debug("Failed to find the side number\n"); 647 nm.side = sideno; 846 ds.side = sideno; 892 * device specified by lp. A side effect is to update the value of 1001 side_t side; local 1013 side = getmyside(*spp, ep); 1014 if (side [all...] |
H A D | meta_metad_subr.c | 468 * their side in the local set. Verify 470 * this node's side. 481 nm.side = nr->nr_nodeid; 528 nm.side = i + SKEW; 579 add_key_to_lst(key_lst_t **klpp, side_t side, mdkey_t key) argument 591 klp->kl_side = side; 603 md_eprintf("side=%d, key=%lu\n", tklp->kl_side, tklp->kl_key); 608 key_in_key_lst(key_lst_t *klp, side_t side, mdkey_t key) argument 613 if (tklp->kl_side == side && tklp->kl_key == key) 649 * the key/side pair [all...] |
/illumos-gate/usr/src/lib/libcmd/common/ |
H A D | wclib.c | 180 unsigned char side[32]; local 192 if ((o = endbuff-cp) < sizeof(side)) 197 memcpy(side, cp, o); 202 cp = side + o; 210 if ((c = sizeof(side) - o) > n) 215 cp = side; 217 if ((cp-side) < o) 220 nchars += (cp-side) - 1; 223 cp = buff + (cp-side) - o; 346 start = (endbuff = side) [all...] |
/illumos-gate/usr/src/cmd/sf880drd/ |
H A D | sf880drd.c | 235 int side = 0; local 239 /* It's a PCI slot; left side of chassis */ 240 side = 1; 243 old = fault_leds[side]; 245 assert(fdi <= sizeof (fault_leds[side]) * BITSPERBYTE); 249 fault_leds[side] |= (1<<fdi); 253 fault_leds[side] &= ~(1<<fdi); 259 old, side, fault_leds[side])); 261 if ((old == 0) != (fault_leds[side] 276 int side = 0; local [all...] |
/illumos-gate/usr/src/uts/common/io/lvm/trans/ |
H A D | trans_log.c | 490 side_t side = mddb_getsidenum(setno); local 505 md_devid_found(setno, side, ul->un_key) == 1) {
|
H A D | mdtrans.c | 256 side_t side = mddb_getsidenum(setno); local 262 md_devid_found(setno, side, un->un_m_key) == 1) {
|
/illumos-gate/usr/src/uts/common/io/lvm/raid/ |
H A D | raid_resync.c | 330 side_t side = mddb_getsidenum(setno); local 346 md_devid_found(setno, side, column->un_orig_key) == 1) {
|
H A D | raid_ioctl.c | 1121 side_t side; local 1131 side = mddb_getsidenum(setno); 1158 if (md_getkeyfromdev(setno, side, odev, &devkey, &nkeys) != 0) { 1364 tmpdev = md_getdevnum(setno, side, raidkey, 1371 if (md_getkeyfromdev(setno, side, tmpdev, &devkey, 1409 (md_devid_found(setno, side, raidkey) 1411 if (md_update_namespace_did(setno, side,
|
H A D | raid.c | 3832 side_t side = mddb_getsidenum(setno); local 3858 md_devid_found(setno, side, key) == 1) {
|
/illumos-gate/usr/src/uts/common/io/lvm/softpart/ |
H A D | sp_ioctl.c | 236 side_t side; local 240 side = mddb_getsidenum(setno); 292 (md_devid_found(setno, side, un->un_key) == 1)) {
|
H A D | sp.c | 1455 side_t side = mddb_getsidenum(setno); local 1462 md_devid_found(setno, side, un->un_key) == 1) {
|
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/ |
H A D | m_cc.c | 922 __m_cc_expand(WINDOW *w, int y, int x, int side) argument 929 if (side < 0) 931 else if (0 < side)
|
/illumos-gate/usr/src/uts/common/io/usb/clients/usbinput/usbwcm/ |
H A D | usbwcm.c | 341 int left, middle, right, extra, side, wheel; local 349 side = PACKET_BIT(6, 3); 359 side = PACKET_BIT(8, 6); 368 uwacom_event(usbwcmp, EVT_BTN, BTN_SIDE, side); 1616 /* read side queue */ 1627 /* write side queue */ 1631 NULL, /* open not used on write side */ 1632 NULL, /* close not used on write side */
|
/illumos-gate/usr/src/uts/common/io/lvm/md/ |
H A D | md_ioctl.c | 214 side_t side; local 280 if (nm->side == -1) 281 side = mddb_getsidenum(nm->setno); 283 side = nm->side; 291 nm->key = md_setdevname(nm->setno, side, nm->key, nm->drvnm, 320 side_t side; local 338 if (nm->side == -1) 339 side = mddb_getsidenum(nm->setno); 341 side 441 side_t side; local 629 side_t side; local 661 side_t side; local 694 side_t side; local 727 side_t side; local 753 side_t side; local [all...] |
H A D | md.c | 1020 side_t side = 0; local 1031 odev = md_getdevnum(setno, side, key, MD_NOTRUST_DEVT); 1034 if (lookup_entry(did_nh, setno, side, key, odev, NM_DEVID) == 1055 side_t side = 0; local 1310 if (lookup_entry(nh, setno, side, key, NODEV64, 0L) != 1323 side, key, 0L);
|
H A D | md_names.c | 822 side_t side, /* (key 1) side number */ 863 if ((side == n_side) && (key == n_key)) { 896 side_t side, /* (key 1) side number */ 936 if ((side == n_side) && (key == n_key)) 1104 side_t side, /* (key 1) side number */ 1166 if ((side == n_side) || (side 820 update_entry( struct nm_next_hdr *nh, side_t side, mdkey_t key, int devid_nm) argument 894 remove_entry( struct nm_next_hdr *nh, side_t side, mdkey_t key, int devid_nm) argument 1101 lookup_entry( struct nm_next_hdr *nh, set_t setno, side_t side, mdkey_t key, md_dev64_t dev, int devid_nm ) argument 1227 lookup_deventry( struct nm_next_hdr *nh, set_t setno, side_t side, mdkey_t key, char *drvnm, minor_t mnum, char *dirnm, char *filenm, struct nm_name **ret_rec ) argument 1516 lookup_hspentry( struct nm_next_hdr *nh, set_t setno, side_t side, mdkey_t key, char *name ) argument 1750 md_setdevname( set_t setno, side_t side, mdkey_t key, char *drvnm, minor_t mnum, char *devname, int imp_flag, ddi_devid_t imp_devid, char *imp_mname, set_t imp_setno, md_error_t *ep ) argument 2229 md_get_invdid( set_t setno, side_t side, int count, int size, void *ctdptr ) argument 2358 md_validate_devid( set_t setno, side_t side, int *rmaxsz ) argument 2471 md_getdevname( set_t setno, side_t side, mdkey_t key, md_dev64_t dev, char *devname, size_t max_size ) argument 2493 md_getdevname_common( set_t setno, side_t side, mdkey_t key, md_dev64_t dev, char *devname, size_t max_size, int try_lock ) argument 2553 md_gethspinfo( set_t setno, side_t side, mdkey_t key, char *drvnm, hsp_t *ret_hspid, char *hspname ) argument 2636 md_devid_found( set_t setno, side_t side, mdkey_t key ) argument 2684 md_getkeyfromdev( set_t setno, side_t side, md_dev64_t dev, mdkey_t *firstkey, int *numkeysmatch ) argument 2748 md_getnment( set_t setno, side_t side, mdkey_t key, md_dev64_t dev, char *drvnm, uint_t max_size, major_t *major, minor_t *mnum, mdkey_t *retkey ) argument 2815 md_getdevnum( set_t setno, side_t side, mdkey_t key, int flag) argument 3152 md_getnextkey( set_t setno, side_t side, mdkey_t key, uint_t *cnt) argument 3204 md_update_namespace_did( set_t setno, side_t side, mdkey_t key, md_error_t *ep ) argument 3312 md_update_namespace( set_t setno, side_t side, mdkey_t key, char *devname, char *pathname, major_t major, minor_t mnum ) argument 3444 md_getdevidminor( set_t setno, side_t side, mdkey_t key, char *minorname, size_t max_size ) argument 3504 md_getdevid( set_t setno, side_t side, mdkey_t key, ddi_devid_t did, ushort_t *did_size ) argument 3580 md_remdevname( set_t setno, side_t side, mdkey_t key ) argument 3982 side_t side = MD_SIDEWILD; local [all...] |
H A D | md_subr.c | 2988 side_t side; local 3016 side = mddb_getsidenum(setno); 3018 if (md_getdevname(setno, side, MD_KEYWILD,
|
H A D | md_mddb.c | 1034 * This allows the side locator driver name index to get 4493 * Checking side locator structure. First, check if 4494 * there is already an entry for this side. If so, 4596 * if this is not the first side added to the set. 5041 * in and set when the locators and side locators 5183 /* update l_dev and side mnum */ 5277 * - side locator for this 5278 * node's side 5279 * - side locator minor number 5280 * - side locato 7611 update_valid_replica( side_t side, mddb_locator_t *lp, mddb_set_t *s, int li, char *devname, char *pathname, md_dev64_t devt ) argument 7711 md_update_locator_namespace( set_t setno, side_t side, char *dname, char *pname, md_dev64_t devt ) argument 12264 md_update_minor( set_t setno, side_t side, mdkey_t key ) argument 12335 md_update_top_device_minor( set_t setno, side_t side, md_dev64_t dev ) argument 12732 side_t side = MD_SIDEWILD; local [all...] |
/illumos-gate/usr/src/uts/common/io/lvm/mirror/ |
H A D | mirror_ioctl.c | 506 side_t side; local 509 side = mddb_getsidenum(setno); 511 if (md_getkeyfromdev(setno, side, dev, &devkey, &nkeys) != 0) 597 side_t side; local 675 side = mddb_getsidenum(setno); 698 this_dev = md_getdevnum(setno, side, 706 if (md_getkeyfromdev(setno, side, this_dev, 728 (md_devid_found(setno, side, this_key) == 1)) { 729 if (md_update_namespace_did(setno, side,
|
H A D | mirror.c | 1001 side_t side; local 1011 side = mddb_getsidenum(setno); 1016 if (md_devid_found(setno, side, 1671 * For directed mirror read (DMR) we only use the specified side and 1674 * first mirror side (this prevents unnecessary ownership switching). 4223 * specified side (in un->un_dmr_last_read) for the source of the data. 4546 * side to start reading from. If it isn't set we increment to the 4572 /* Set the side to read from */ 4618 * Update the DMR parameters with the side and name of submirror that 4631 * next computed submirror (side) equal [all...] |
/illumos-gate/usr/src/uts/common/io/lvm/stripe/ |
H A D | stripe.c | 183 side_t side = mddb_getsidenum(setno); local 228 md_devid_found(setno, side, key) == 1) { 1282 side_t side; local 1289 side = mddb_getsidenum(setno); 1392 this_dev = md_getdevnum(setno, side, comp->un_key,
|
/illumos-gate/usr/src/uts/common/sys/lvm/ |
H A D | mdvar.h | 421 side_t side; member in struct:sv_dev 807 extern int md_getdevid(set_t setno, side_t side, mdkey_t key, 809 extern int md_getdevidminor(set_t setno, side_t side, mdkey_t key, 811 extern int md_update_namespace(set_t setno, side_t side, mdkey_t key, 814 extern int md_update_locator_namespace(set_t setno, side_t side, 816 extern int md_update_namespace_did(set_t setno, side_t side, mdkey_t key, 818 extern int md_validate_devid(set_t setno, side_t side, int *maxsz); 819 extern int md_get_invdid(set_t setno, side_t side, int cnt, int maxsz,
|