dev 1022 daemons/fenced/fenced_commands.c xml2device_params(const char *name, const xmlNode *dev) dev 1024 daemons/fenced/fenced_commands.c GHashTable *params = xml2list(dev); dev 1059 daemons/fenced/fenced_commands.c target_list_type(stonith_device_t * dev) dev 1063 daemons/fenced/fenced_commands.c check_type = g_hash_table_lookup(dev->params, PCMK_STONITH_HOST_CHECK); dev 1067 daemons/fenced/fenced_commands.c if (g_hash_table_lookup(dev->params, PCMK_STONITH_HOST_LIST)) { dev 1069 daemons/fenced/fenced_commands.c } else if (g_hash_table_lookup(dev->params, PCMK_STONITH_HOST_MAP)) { dev 1071 daemons/fenced/fenced_commands.c } else if (pcmk_is_set(dev->flags, st_device_supports_list)) { dev 1073 daemons/fenced/fenced_commands.c } else if (pcmk_is_set(dev->flags, st_device_supports_status)) { dev 1084 daemons/fenced/fenced_commands.c build_device_from_xml(xmlNode *dev) dev 1088 daemons/fenced/fenced_commands.c char *agent = crm_element_value_copy(dev, PCMK_XA_AGENT); dev 1094 daemons/fenced/fenced_commands.c device->id = crm_element_value_copy(dev, PCMK_XA_ID); dev 1096 daemons/fenced/fenced_commands.c device->namespace = crm_element_value_copy(dev, PCMK__XA_NAMESPACE); dev 1097 daemons/fenced/fenced_commands.c device->params = xml2device_params(device->id, dev); dev 1143 daemons/fenced/fenced_commands.c value = crm_element_value(dev, PCMK__XA_RSC_PROVIDES); dev 1208 daemons/fenced/fenced_commands.c stonith_device_t *dev = cmd_device(cmd); dev 1213 daemons/fenced/fenced_commands.c if (!dev) { dev 1218 daemons/fenced/fenced_commands.c mainloop_set_trigger(dev->work); dev 1223 daemons/fenced/fenced_commands.c dev->id, search->host, dev 1228 daemons/fenced/fenced_commands.c search_devices_record_result(search, dev->id, FALSE); dev 1234 daemons/fenced/fenced_commands.c crm_trace("%s reported it cannot fence %s", dev->id, search->host); dev 1239 daemons/fenced/fenced_commands.c crm_trace("%s reported it can fence %s", dev->id, search->host); dev 1246 daemons/fenced/fenced_commands.c dev->id, search->host, result->exit_status); dev 1249 daemons/fenced/fenced_commands.c search_devices_record_result(search, dev->id, can); dev 1258 daemons/fenced/fenced_commands.c stonith_device_t *dev = cmd_device(cmd); dev 1268 daemons/fenced/fenced_commands.c if (!dev) { dev 1273 daemons/fenced/fenced_commands.c mainloop_set_trigger(dev->work); dev 1276 daemons/fenced/fenced_commands.c crm_info("Refreshing target list for %s", dev->id); dev 1277 daemons/fenced/fenced_commands.c g_list_free_full(dev->targets, free); dev 1278 daemons/fenced/fenced_commands.c dev->targets = stonith__parse_targets(result->action_stdout); dev 1279 daemons/fenced/fenced_commands.c dev->targets_age = time(NULL); dev 1281 daemons/fenced/fenced_commands.c } else if (dev->targets != NULL) { dev 1285 daemons/fenced/fenced_commands.c dev->id, result->exit_status); dev 1289 daemons/fenced/fenced_commands.c dev->id, pcmk_exec_status_str(result->execution_status), dev 1299 daemons/fenced/fenced_commands.c dev->id, search->host, result->exit_status); dev 1303 daemons/fenced/fenced_commands.c dev->id, search->host, dev 1313 daemons/fenced/fenced_commands.c if (g_hash_table_lookup(dev->params, PCMK_STONITH_HOST_CHECK) == NULL) { dev 1314 daemons/fenced/fenced_commands.c crm_notice("Switching to pcmk_host_check='status' for %s", dev->id); dev 1315 daemons/fenced/fenced_commands.c pcmk__insert_dup(dev->params, PCMK_STONITH_HOST_CHECK, dev 1320 daemons/fenced/fenced_commands.c if (dev->targets) { dev 1321 daemons/fenced/fenced_commands.c const char *alias = g_hash_table_lookup(dev->aliases, search->host); dev 1326 daemons/fenced/fenced_commands.c if (pcmk__str_in_list(alias, dev->targets, pcmk__str_casei)) { dev 1330 daemons/fenced/fenced_commands.c search_devices_record_result(search, dev->id, can_fence); dev 1392 daemons/fenced/fenced_commands.c stonith_device_register(xmlNode *dev, gboolean from_cib) dev 1395 daemons/fenced/fenced_commands.c stonith_device_t *device = build_device_from_xml(dev); dev 1962 daemons/fenced/fenced_commands.c xmlNode *dev = get_xpath_object("//" PCMK__XE_ST_DEVICE_ID, msg, LOG_ERR); dev 1965 daemons/fenced/fenced_commands.c const char *id = crm_element_value(dev, PCMK__XA_ST_DEVICE_ID); dev 2034 daemons/fenced/fenced_commands.c stonith_device_t *dev = g_hash_table_lookup(device_list, device); dev 2035 daemons/fenced/fenced_commands.c if (dev && !pcmk_is_set(dev->flags, search->support_action_only)) { dev 2135 daemons/fenced/fenced_commands.c can_fence_host_with_device(stonith_device_t *dev, dev 2145 daemons/fenced/fenced_commands.c CRM_CHECK((dev != NULL) && (action != NULL), goto search_report_results); dev 2147 daemons/fenced/fenced_commands.c if (dev->id != NULL) { dev 2148 daemons/fenced/fenced_commands.c dev_id = dev->id; dev 2162 daemons/fenced/fenced_commands.c && !pcmk_is_set(dev->flags, st_device_supports_on)) { dev 2166 daemons/fenced/fenced_commands.c } else if (!localhost_is_eligible_with_remap(dev, action, target, dev 2173 daemons/fenced/fenced_commands.c check_type = target_list_type(dev); dev 2174 daemons/fenced/fenced_commands.c alias = g_hash_table_lookup(dev->aliases, target); dev 2181 daemons/fenced/fenced_commands.c if (pcmk__str_in_list(target, dev->targets, pcmk__str_casei)) { dev 2183 daemons/fenced/fenced_commands.c } else if (g_hash_table_lookup(dev->params, PCMK_STONITH_HOST_MAP) dev 2184 daemons/fenced/fenced_commands.c && g_hash_table_lookup(dev->aliases, target)) { dev 2192 daemons/fenced/fenced_commands.c if (dev->targets == NULL || dev->targets_age + 60 < now) { dev 2193 daemons/fenced/fenced_commands.c int device_timeout = get_action_timeout(dev, PCMK_ACTION_LIST, dev 2206 daemons/fenced/fenced_commands.c schedule_internal_command(__func__, dev, PCMK_ACTION_LIST, NULL, dev 2213 daemons/fenced/fenced_commands.c if (pcmk__str_in_list(((alias == NULL)? target : alias), dev->targets, dev 2219 daemons/fenced/fenced_commands.c int device_timeout = get_action_timeout(dev, check_type, search->per_device_timeout); dev 2230 daemons/fenced/fenced_commands.c schedule_internal_command(__func__, dev, PCMK_ACTION_STATUS, target, dev 2245 daemons/fenced/fenced_commands.c search_devices_record_result(search, ((dev == NULL)? NULL : dev_id), can); dev 2251 daemons/fenced/fenced_commands.c stonith_device_t *dev = value; dev 2254 daemons/fenced/fenced_commands.c can_fence_host_with_device(dev, search); dev 2460 daemons/fenced/fenced_commands.c xmlNode *dev = NULL; dev 2470 daemons/fenced/fenced_commands.c dev = pcmk__xe_create(list, PCMK__XE_ST_DEVICE_ID); dev 2471 daemons/fenced/fenced_commands.c crm_xml_add(dev, PCMK_XA_ID, device->id); dev 2472 daemons/fenced/fenced_commands.c crm_xml_add(dev, PCMK__XA_NAMESPACE, device->namespace); dev 2473 daemons/fenced/fenced_commands.c crm_xml_add(dev, PCMK_XA_AGENT, device->agent); dev 2476 daemons/fenced/fenced_commands.c crm_xml_add_int(dev, PCMK__XA_ST_MONITOR_VERIFIED, device->verified); dev 2478 daemons/fenced/fenced_commands.c crm_xml_add_int(dev, PCMK__XA_ST_DEVICE_SUPPORT_FLAGS, device->flags); dev 2492 daemons/fenced/fenced_commands.c add_action_specific_attributes(dev, action, device, query->target); dev 2505 daemons/fenced/fenced_commands.c add_disallowed(dev, action, device, query->target, dev 2508 daemons/fenced/fenced_commands.c add_action_reply(dev, PCMK_ACTION_OFF, device, query->target, dev 2511 daemons/fenced/fenced_commands.c add_action_reply(dev, PCMK_ACTION_ON, device, query->target, FALSE); dev 2516 daemons/fenced/fenced_commands.c xmlNode *attrs = pcmk__xe_create(dev, PCMK__XE_ATTRIBUTES); dev 2919 daemons/fenced/fenced_commands.c xmlNode *dev = NULL; dev 2923 daemons/fenced/fenced_commands.c dev = get_xpath_object("//@" PCMK__XA_ST_TARGET, msg, LOG_ERR); dev 2932 daemons/fenced/fenced_commands.c device_id = crm_element_value(dev, PCMK__XA_ST_DEVICE_ID); dev 2944 daemons/fenced/fenced_commands.c const char *host = crm_element_value(dev, PCMK__XA_ST_TARGET); dev 3118 daemons/fenced/fenced_commands.c xmlNode *dev = get_xpath_object("//@" PCMK__XE_ST_DEVICE_ACTION, request, dev 3126 daemons/fenced/fenced_commands.c if (dev) { dev 3127 daemons/fenced/fenced_commands.c target = crm_element_value(dev, PCMK__XA_ST_TARGET); dev 3241 daemons/fenced/fenced_commands.c xmlNode *dev = NULL; dev 3258 daemons/fenced/fenced_commands.c dev = get_xpath_object("//@" PCMK__XE_ST_DEVICE_ACTION, request->xml, dev 3260 daemons/fenced/fenced_commands.c if (dev != NULL) { dev 3261 daemons/fenced/fenced_commands.c const char *device = crm_element_value(dev, PCMK__XA_ST_DEVICE_ID); dev 3266 daemons/fenced/fenced_commands.c target = crm_element_value(dev, PCMK__XA_ST_TARGET); dev 3267 daemons/fenced/fenced_commands.c action = crm_element_value(dev, PCMK__XA_ST_DEVICE_ACTION); dev 3322 daemons/fenced/fenced_commands.c xmlNode *dev = get_xpath_object("//@" PCMK__XA_ST_TARGET, request->xml, dev 3329 daemons/fenced/fenced_commands.c crm_element_value(dev, PCMK__XA_ST_DEVICE_ACTION), dev 3330 daemons/fenced/fenced_commands.c crm_element_value(dev, PCMK__XA_ST_TARGET)); dev 3366 daemons/fenced/fenced_commands.c xmlNode *dev = get_xpath_object("//@" PCMK__XA_ST_TARGET, request->xml, dev 3368 daemons/fenced/fenced_commands.c const char *target = crm_element_value(dev, PCMK__XA_ST_TARGET); dev 3369 daemons/fenced/fenced_commands.c const char *action = crm_element_value(dev, PCMK__XA_ST_DEVICE_ACTION); dev 3370 daemons/fenced/fenced_commands.c const char *device = crm_element_value(dev, PCMK__XA_ST_DEVICE_ID); dev 3378 daemons/fenced/fenced_commands.c crm_element_value_int(dev, PCMK__XA_ST_TOLERANCE, &tolerance); dev 3461 daemons/fenced/fenced_commands.c xmlNode *dev = get_xpath_object("//" PCMK__XE_ST_DEVICE_ID, request->xml, dev 3465 daemons/fenced/fenced_commands.c int rc = stonith_device_register(dev, FALSE); dev 3477 daemons/fenced/fenced_commands.c (dev == NULL)? NULL : pcmk__xe_id(dev)); dev 3485 daemons/fenced/fenced_commands.c xmlNode *dev = get_xpath_object("//" PCMK__XE_ST_DEVICE_ID, request->xml, dev 3487 daemons/fenced/fenced_commands.c const char *device_id = crm_element_value(dev, PCMK_XA_ID); dev 479 daemons/fenced/fenced_history.c xmlNode *dev = get_xpath_object("//@" PCMK__XA_ST_TARGET, msg, LOG_NEVER); dev 482 daemons/fenced/fenced_history.c if (dev) { dev 483 daemons/fenced/fenced_history.c target = crm_element_value(dev, PCMK__XA_ST_TARGET); dev 1112 daemons/fenced/fenced_remote.c xmlNode *dev = get_xpath_object("//@" PCMK__XA_ST_TARGET, msg, LOG_ERR); dev 1114 daemons/fenced/fenced_remote.c CRM_CHECK(dev != NULL, return EPROTO); dev 1117 daemons/fenced/fenced_remote.c pcmk__s(crm_element_value(dev, PCMK__XA_ST_TARGET), dev 1152 daemons/fenced/fenced_remote.c xmlNode *dev = get_xpath_object("//@" PCMK__XA_ST_TARGET, request, dev 1161 daemons/fenced/fenced_remote.c if (peer && dev) { dev 1162 daemons/fenced/fenced_remote.c const char *op_id = crm_element_value(dev, PCMK__XA_ST_REMOTE_OP); dev 1180 daemons/fenced/fenced_remote.c if (peer && dev) { dev 1181 daemons/fenced/fenced_remote.c op->id = crm_element_value_copy(dev, PCMK__XA_ST_REMOTE_OP); dev 1190 daemons/fenced/fenced_remote.c op->action = crm_element_value_copy(dev, PCMK__XA_ST_DEVICE_ACTION); dev 1198 daemons/fenced/fenced_remote.c op->originator = crm_element_value_copy(dev, PCMK__XA_ST_ORIGIN); dev 1205 daemons/fenced/fenced_remote.c op->delegate = crm_element_value_copy(dev, PCMK__XA_ST_DELEGATE); dev 1222 daemons/fenced/fenced_remote.c op->target = crm_element_value_copy(dev, PCMK__XA_ST_TARGET); dev 1238 daemons/fenced/fenced_remote.c (peer && dev)? "Recorded" : "Generated", op->id, op->action, dev 2338 daemons/fenced/fenced_remote.c xmlNode *dev = get_xpath_object("//@" PCMK__XA_ST_REMOTE_OP, msg, LOG_ERR); dev 2340 daemons/fenced/fenced_remote.c CRM_CHECK(dev != NULL, return -EPROTO); dev 2342 daemons/fenced/fenced_remote.c id = crm_element_value(dev, PCMK__XA_ST_REMOTE_OP); dev 2345 daemons/fenced/fenced_remote.c dev = get_xpath_object("//@" PCMK__XA_ST_AVAILABLE_DEVICES, msg, LOG_ERR); dev 2346 daemons/fenced/fenced_remote.c CRM_CHECK(dev != NULL, return -EPROTO); dev 2347 daemons/fenced/fenced_remote.c crm_element_value_int(dev, PCMK__XA_ST_AVAILABLE_DEVICES, &ndevices); dev 2370 daemons/fenced/fenced_remote.c peer = add_result(op, host, ndevices, dev); dev 2436 daemons/fenced/fenced_remote.c xmlNode *dev = get_xpath_object("//@" PCMK__XA_ST_REMOTE_OP, msg, LOG_ERR); dev 2439 daemons/fenced/fenced_remote.c CRM_CHECK(dev != NULL, return); dev 2441 daemons/fenced/fenced_remote.c id = crm_element_value(dev, PCMK__XA_ST_REMOTE_OP); dev 2444 daemons/fenced/fenced_remote.c dev = stonith__find_xe_with_result(msg); dev 2445 daemons/fenced/fenced_remote.c CRM_CHECK(dev != NULL, return); dev 2447 daemons/fenced/fenced_remote.c stonith__xe_get_result(dev, &result); dev 2449 daemons/fenced/fenced_remote.c device = crm_element_value(dev, PCMK__XA_ST_DEVICE_ID); dev 2457 daemons/fenced/fenced_remote.c const char *client_id = crm_element_value(dev, PCMK__XA_ST_CLIENTID); dev 2459 daemons/fenced/fenced_remote.c op = create_remote_stonith_op(client_id, dev, TRUE); dev 54 maint/gnulib/lib/di-set.c dev_t dev; dev 79 maint/gnulib/lib/di-set.c dev_t dev = p->dev; dev 84 maint/gnulib/lib/di-set.c size_t h = dev; dev 86 maint/gnulib/lib/di-set.c unsigned int n_words = sizeof dev / sizeof h + (sizeof dev % sizeof h != 0); dev 88 maint/gnulib/lib/di-set.c h ^= dev >> CHAR_BIT * sizeof h * i; dev 99 maint/gnulib/lib/di-set.c return a->dev == b->dev; dev 155 maint/gnulib/lib/di-set.c map_device (struct di_set *dis, dev_t dev) dev 163 maint/gnulib/lib/di-set.c if (probe->dev == dev) dev 174 maint/gnulib/lib/di-set.c probe->dev = dev; dev 222 maint/gnulib/lib/di-set.c di_set_insert (struct di_set *dis, dev_t dev, ino_t ino) dev 227 maint/gnulib/lib/di-set.c struct hash_table *ino_set = map_device (dis, dev); dev 244 maint/gnulib/lib/di-set.c di_set_lookup (struct di_set *dis, dev_t dev, ino_t ino) dev 249 maint/gnulib/lib/di-set.c struct hash_table *ino_set = map_device (dis, dev); dev 33 maint/gnulib/lib/di-set.h int di_set_lookup (struct di_set *dis, dev_t dev, ino_t ino) dev 26 maint/gnulib/lib/fts-cycle.c dev_t dev; dev 37 maint/gnulib/lib/fts-cycle.c && ax->dev == ay->dev; dev 85 maint/gnulib/lib/fts-cycle.c ad->dev = st->st_dev; dev 132 maint/gnulib/lib/fts-cycle.c obj.dev = st->st_dev; dev 685 maint/gnulib/lib/fts.c uintmax_t dev = ax->st_dev; dev 686 maint/gnulib/lib/fts.c return dev % table_size; dev 1630 maint/gnulib/lib/fts.c && ad->dev == ent->fts_statp->st_dev) dev 1639 maint/gnulib/lib/fts.c (uintmax_t) ad->dev, dev 1660 maint/gnulib/lib/fts.c ad.dev = t->fts_statp->st_dev; dev 31 maint/gnulib/lib/mknod.c _GL_UNUSED dev_t dev) dev 47 maint/gnulib/lib/mknod.c rpl_mknod (char const *name, mode_t mode, dev_t dev) dev 68 maint/gnulib/lib/mknod.c if (S_ISFIFO (mode) && dev == 0) dev 71 maint/gnulib/lib/mknod.c return mknod (name, mode, dev); dev 33 maint/gnulib/lib/mknodat.c rpl_mknodat (int fd, char const *file, mode_t mode, dev_t dev) dev 57 maint/gnulib/lib/mknodat.c return mknodat (fd, file, mode, dev); dev 70 maint/gnulib/lib/mknodat.c _GL_UNUSED mode_t mode, _GL_UNUSED dev_t dev) dev 88 maint/gnulib/lib/mknodat.c # define AT_FUNC_POST_FILE_PARAM_DECLS , mode_t mode, dev_t dev dev 89 maint/gnulib/lib/mknodat.c # define AT_FUNC_POST_FILE_ARGS , mode, dev dev 393 maint/gnulib/lib/mountlist.c unsigned long int dev; dev 395 maint/gnulib/lib/mountlist.c dev = strtoul (optval, &optvalend, 16); dev 398 maint/gnulib/lib/mountlist.c && ! (dev == ULONG_MAX && errno == ERANGE) dev 399 maint/gnulib/lib/mountlist.c && dev == (dev_t) dev) dev 400 maint/gnulib/lib/mountlist.c return dev; dev 669 maint/gnulib/lib/mountlist.c dev_t dev; dev 676 maint/gnulib/lib/mountlist.c dev_t dev; dev 708 maint/gnulib/lib/mountlist.c re->dev = statbuf.st_dev; dev 722 maint/gnulib/lib/mountlist.c for (pos = 0; (dev = next_dev (&pos)) >= 0; ) dev 723 maint/gnulib/lib/mountlist.c if (fs_stat_dev (dev, &fi) >= 0) dev 729 maint/gnulib/lib/mountlist.c if (re->dev == fi.dev && re->ino == fi.root) dev 739 maint/gnulib/lib/mountlist.c me->me_dev = fi.dev; dev 1055 maint/gnulib/lib/mountlist.c struct statvfs dev; dev 1067 maint/gnulib/lib/mountlist.c if (statvfs (node, &dev) == 0) dev 1070 maint/gnulib/lib/mountlist.c me->me_devname = xstrdup (dev.f_mntfromname); dev 1071 maint/gnulib/lib/mountlist.c me->me_mountdir = xstrdup (dev.f_mntonname); dev 1073 maint/gnulib/lib/mountlist.c me->me_type = xstrdup (dev.f_fstypename); dev 166 maint/gnulib/lib/ptsname_r.c int dev; dev 170 maint/gnulib/lib/ptsname_r.c ret = ioctl (fd, ISPTM, &dev); dev 174 maint/gnulib/lib/ptsname_r.c dev = ret; dev 181 maint/gnulib/lib/ptsname_r.c n = sprintf (tmpbuf, "/dev/pts/%u", minor (dev)); dev 747 maint/gnulib/lib/sys_stat.in.h _GL_FUNCDECL_RPL (mknod, int, (char const *file, mode_t mode, dev_t dev) dev 749 maint/gnulib/lib/sys_stat.in.h _GL_CXXALIAS_RPL (mknod, int, (char const *file, mode_t mode, dev_t dev)); dev 752 maint/gnulib/lib/sys_stat.in.h _GL_FUNCDECL_SYS (mknod, int, (char const *file, mode_t mode, dev_t dev) dev 756 maint/gnulib/lib/sys_stat.in.h _GL_CXXALIAS_SYS_CAST (mknod, int, (char const *file, mode_t mode, dev_t dev)); dev 775 maint/gnulib/lib/sys_stat.in.h (int fd, char const *file, mode_t mode, dev_t dev) dev 778 maint/gnulib/lib/sys_stat.in.h (int fd, char const *file, mode_t mode, dev_t dev)); dev 782 maint/gnulib/lib/sys_stat.in.h (int fd, char const *file, mode_t mode, dev_t dev) dev 786 maint/gnulib/lib/sys_stat.in.h (int fd, char const *file, mode_t mode, dev_t dev)); dev 69 maint/gnulib/lib/utimecmp.c dev_t dev; dev 92 maint/gnulib/lib/utimecmp.c uintmax_t dev = p->dev; dev 93 maint/gnulib/lib/utimecmp.c return dev % table_size; dev 96 maint/gnulib/lib/utimecmp.c return p->dev % table_size; dev 105 maint/gnulib/lib/utimecmp.c return a->dev == b->dev; dev 208 maint/gnulib/lib/utimecmp.c new_dst_res->dev = dst_stat->st_dev; dev 225 maint/gnulib/lib/utimecmp.c tmp_dst_res.dev = dst_stat->st_dev;