Lines Matching defs:cbp
82 zfs_mount_data_t *cbp;
104 cbp = (zfs_mount_data_t *)data;
120 if (strcmp(entry.mnt_mountp, cbp->match_name)
123 cbp->match_handle = zhp;
131 } else if (strcmp(mp, cbp->match_name) == 0) {
132 cbp->match_handle = zhp;
230 zfs_snapshot_data_t *cbp;
237 cbp = (zfs_snapshot_data_t *)data;
239 if (strncmp(zfs_get_name(zhp), cbp->match_name, cbp->len) == 0) {
243 cbp->num++;
244 nump = (char *)(zfs_get_name(zhp) + cbp->len);
246 if (num > cbp->max)
247 cbp->max = num;
669 zfs_snapshot_data_t *cbp;
672 cbp = (zfs_snapshot_data_t *)data;
680 if (cbp->cntr >= cbp->num) {
691 if (strncmp(zfs_get_name(zhp), cbp->match_name, cbp->len) != 0) {
696 (void) snprintf(template, sizeof (template), "%s%d", cbp->match_name,
697 cbp->max++);
705 cbp->cntr++;