token 388 src/core/automount.c static int autofs_send_ready(int dev_autofs_fd, int ioctl_fd, uint32_t token, int status) { token 398 src/core/automount.c param.fail.token = token; token 401 src/core/automount.c param.ready.token = token; token 411 src/core/automount.c unsigned token; token 432 src/core/automount.c while ((token = PTR_TO_UINT(set_steal_first(a->tokens)))) { token 442 src/core/automount.c token, token 682 src/core/automount.c unsigned token; token 684 src/core/automount.c if (safe_atou(value, &token) < 0) token 691 src/core/automount.c r = set_put(a->tokens, UINT_TO_PTR(token)); token 267 src/libsystemd/sd-bus/bus-socket.c _cleanup_free_ char *token = NULL; token 280 src/libsystemd/sd-bus/bus-socket.c token = unhexmem(p, l); token 281 src/libsystemd/sd-bus/bus-socket.c if (!token) token 284 src/libsystemd/sd-bus/bus-socket.c if (memchr(token, 0, l/2)) token 287 src/libsystemd/sd-bus/bus-socket.c return !!utf8_is_valid(token); token 291 src/libsystemd/sd-bus/bus-socket.c _cleanup_free_ char *token = NULL; token 311 src/libsystemd/sd-bus/bus-socket.c token = unhexmem(p, l); token 312 src/libsystemd/sd-bus/bus-socket.c if (!token) token 315 src/libsystemd/sd-bus/bus-socket.c if (memchr(token, 0, l/2)) token 318 src/libsystemd/sd-bus/bus-socket.c r = parse_uid(token, &u); token 47 src/shared/linux/auto_dev-ioctl.h __u32 token; token 51 src/shared/linux/auto_dev-ioctl.h __u32 token; token 61 src/udev/udev-rules.c struct token *tokens; token 214 src/udev/udev-rules.c struct token rule; token 215 src/udev/udev-rules.c struct token token[MAX_TK]; token 313 src/udev/udev-rules.c static void dump_token(struct udev_rules *rules, struct token *token) { token 314 src/udev/udev-rules.c enum token_type type = token->type; token 315 src/udev/udev-rules.c enum operation_type op = token->key.op; token 316 src/udev/udev-rules.c enum string_glob_type glob = token->key.glob; token 317 src/udev/udev-rules.c const char *value = str(rules, token->key.value_off); token 318 src/udev/udev-rules.c const char *attr = &rules->buf[token->key.attr_off]; token 324 src/udev/udev-rules.c const char *tk_ptr = (char *)token; token 325 src/udev/udev-rules.c unsigned int idx = (tk_ptr - tks_ptr) / sizeof(struct token); token 328 src/udev/udev-rules.c &rules->buf[token->rule.filename_off], token->rule.filename_line, token 329 src/udev/udev-rules.c idx, token->rule.token_count, token 330 src/udev/udev-rules.c &rules->buf[token->rule.label_off]); token 363 src/udev/udev-rules.c log_debug("%s %i '%s'", token_str(type), token->key.builtin_cmd, value); token 384 src/udev/udev-rules.c token_str(type), operation_str(op), value, string_glob_str(glob), token->key.mode); token 387 src/udev/udev-rules.c log_debug("%s %u", token_str(type), token->key.watch); token 390 src/udev/udev-rules.c log_debug("%s %u", token_str(type), token->key.devlink_prio); token 393 src/udev/udev-rules.c log_debug("%s %s %u", token_str(type), operation_str(op), token->key.uid); token 396 src/udev/udev-rules.c log_debug("%s %s %u", token_str(type), operation_str(op), token->key.gid); token 399 src/udev/udev-rules.c log_debug("%s %s %#o", token_str(type), operation_str(op), token->key.mode); token 408 src/udev/udev-rules.c log_debug("%s '%s' %u", token_str(type), value, token->key.rule_goto); token 427 src/udev/udev-rules.c rules->token_cur * sizeof(struct token), token 434 src/udev/udev-rules.c static inline void dump_token(struct udev_rules *rules, struct token *token) {} token 438 src/udev/udev-rules.c static int add_token(struct udev_rules *rules, struct token *token) { token 441 src/udev/udev-rules.c struct token *tokens; token 449 src/udev/udev-rules.c tokens = realloc(rules->tokens, (rules->token_max + add ) * sizeof(struct token)); token 455 src/udev/udev-rules.c memcpy(&rules->tokens[rules->token_cur], token, sizeof(struct token)); token 867 src/udev/udev-rules.c struct token *token = &rule_tmp->token[rule_tmp->token_cur]; token 870 src/udev/udev-rules.c memzero(token, sizeof(struct token)); token 901 src/udev/udev-rules.c token->key.value_off = rules_add_string(rule_tmp->rules, value); token 904 src/udev/udev-rules.c token->key.value_off = rules_add_string(rule_tmp->rules, value); token 905 src/udev/udev-rules.c token->key.builtin_cmd = *(enum udev_builtin_cmd *)data; token 914 src/udev/udev-rules.c token->key.value_off = rules_add_string(rule_tmp->rules, value); token 915 src/udev/udev-rules.c token->key.attr_off = rules_add_string(rule_tmp->rules, attr); token 918 src/udev/udev-rules.c token->key.value_off = rules_add_string(rule_tmp->rules, value); token 920 src/udev/udev-rules.c token->key.mode = *(mode_t *)data; token 928 src/udev/udev-rules.c token->key.builtin_cmd = *(enum udev_builtin_cmd *)data; token 929 src/udev/udev-rules.c token->key.value_off = rules_add_string(rule_tmp->rules, value); token 933 src/udev/udev-rules.c token->key.devlink_prio = *(int *)data; token 936 src/udev/udev-rules.c token->key.uid = *(uid_t *)data; token 939 src/udev/udev-rules.c token->key.gid = *(gid_t *)data; token 942 src/udev/udev-rules.c token->key.mode = *(mode_t *)data; token 974 src/udev/udev-rules.c token->key.glob = glob; token 980 src/udev/udev-rules.c token->key.subst = SB_SUBSYS; token 982 src/udev/udev-rules.c token->key.subst = SB_FORMAT; token 984 src/udev/udev-rules.c token->key.subst = SB_NONE; token 990 src/udev/udev-rules.c token->key.attrsubst = SB_SUBSYS; token 992 src/udev/udev-rules.c token->key.attrsubst = SB_FORMAT; token 994 src/udev/udev-rules.c token->key.attrsubst = SB_NONE; token 997 src/udev/udev-rules.c token->key.type = type; token 998 src/udev/udev-rules.c token->key.op = op; token 1000 src/udev/udev-rules.c if (rule_tmp->token_cur >= ELEMENTSOF(rule_tmp->token)) { token 1019 src/udev/udev-rules.c if (rule_tmp->token[j].type == TK_UNSET) token 1021 src/udev/udev-rules.c if (next_val == TK_UNSET || rule_tmp->token[j].type < next_val) { token 1022 src/udev/udev-rules.c next_val = rule_tmp->token[j].type; token 1028 src/udev/udev-rules.c if (add_token(rules, &rule_tmp->token[next_idx]) != 0) token 1030 src/udev/udev-rules.c rule_tmp->token[next_idx].type = TK_UNSET; token 1663 src/udev/udev-rules.c struct token end_token; token 1675 src/udev/udev-rules.c rules->tokens = malloc(PREALLOC_TOKEN * sizeof(struct token)); token 1704 src/udev/udev-rules.c memzero(&end_token, sizeof(struct token)); token 1708 src/udev/udev-rules.c rules->token_max * sizeof(struct token), rules->token_max, sizeof(struct token), rules->strbuf->len); token 1748 src/udev/udev-rules.c static int match_key(struct udev_rules *rules, struct token *token, const char *val) { token 1749 src/udev/udev-rules.c char *key_value = rules_str(rules, token->key.value_off); token 1756 src/udev/udev-rules.c switch (token->key.glob) { token 1768 src/udev/udev-rules.c s = rules_str(rules, token->key.value_off); token 1792 src/udev/udev-rules.c strscpy(value, sizeof(value), rules_str(rules, token->key.value_off)); token 1814 src/udev/udev-rules.c if (match && (token->key.op == OP_MATCH)) token 1816 src/udev/udev-rules.c if (!match && (token->key.op == OP_NOMATCH)) token 1821 src/udev/udev-rules.c static int match_attr(struct udev_rules *rules, struct udev_device *dev, struct udev_event *event, struct token *cur) { token 1880 src/udev/udev-rules.c struct token *cur; token 1881 src/udev/udev-rules.c struct token *rule; token 1991 src/udev/udev-rules.c struct token *next; token 2001 src/udev/udev-rules.c struct token *key; token 2572 src/udev/udev-rules.c struct token *cur; token 2573 src/udev/udev-rules.c struct token *rule;