/systemd/src/core/ |
H A D | loopback-setup.c | 50 unsigned flags; local 61 r = sd_rtnl_message_link_get_flags(reply, &flags); 65 return flags & IFF_UP;
|
/systemd/src/network/ |
H A D | networkd-wait-online-link.h | 32 unsigned flags; member in struct:Link
|
H A D | networkd-address.h | 44 uint32_t flags; member in struct:Address 64 int address_update(Address *address, unsigned char flags, unsigned char scope, struct ifa_cacheinfo *cinfo);
|
H A D | networkd-ndisc.c | 90 address->flags = IFA_F_NOPREFIXROUTE|IFA_F_MANAGETEMPADDR; 127 route->flags = RTM_F_PREFIX; 142 static void ndisc_router_handler(sd_ndisc *nd, uint8_t flags, const struct in6_addr *gateway, unsigned lifetime, int pref, void *userdata) { argument 155 if (flags & (ND_RA_FLAG_MANAGED | ND_RA_FLAG_OTHER)) { 156 if (flags & ND_RA_FLAG_MANAGED)
|
H A D | networkd-netdev-tunnel.h | 50 unsigned flags; member in struct:Tunnel
|
H A D | networkd-route.h | 42 unsigned flags; member in struct:Route
|
/systemd/src/basic/ |
H A D | verbs.h | 29 unsigned flags; member in struct:__anon30
|
H A D | rm-rf.c | 39 int rm_rf_children(int fd, RemoveFlags flags, struct stat *root_dev) { argument 48 if (!(flags & REMOVE_PHYSICAL)) { 92 (de->d_type == DT_DIR && (root_dev || (flags & REMOVE_SUBVOLUME)))) { 131 if ((flags & REMOVE_SUBVOLUME) && st.st_ino == 256) { 158 r = rm_rf_children(subdir_fd, flags | REMOVE_PHYSICAL, root_dev); 167 } else if (!(flags & REMOVE_ONLY_DIRECTORIES)) { 177 int rm_rf(const char *path, RemoveFlags flags) { argument 191 if ((flags & (REMOVE_SUBVOLUME|REMOVE_ROOT|REMOVE_PHYSICAL)) == (REMOVE_SUBVOLUME|REMOVE_ROOT|REMOVE_PHYSICAL)) { 209 if (!(flags & REMOVE_PHYSICAL)) { 219 if ((flags [all...] |
H A D | strv.h | 82 int strv_split_extract(char ***t, const char *s, const char *separators, ExtractFlags flags); 157 bool strv_fnmatch(char* const* patterns, const char *s, int flags); 159 static inline bool strv_fnmatch_or_empty(char* const* patterns, const char *s, int flags) { argument 162 strv_fnmatch(patterns, s, flags);
|
H A D | socket-label.c | 41 int flags, 70 fd = socket(socket_address_family(a), a->type | flags, a->protocol); 148 int make_socket_fd(int log_level, const char* address, int type, int flags) { argument 158 fd = socket_address_listen(&a, type | flags, SOMAXCONN, SOCKET_ADDRESS_DEFAULT, 39 socket_address_listen( const SocketAddress *a, int flags, int backlog, SocketAddressBindIPv6Only only, const char *bind_to_device, bool reuse_port, bool free_bind, bool transparent, mode_t directory_mode, mode_t socket_mode, const char *label) argument
|
H A D | xattr-util.c | 106 ssize_t fgetxattrat_fake(int dirfd, const char *filename, const char *attribute, void *value, size_t size, int flags) { argument 113 fd = openat(dirfd, filename, O_RDONLY|O_CLOEXEC|O_NOCTTY|O_PATH|(flags & AT_SYMLINK_NOFOLLOW ? O_NOFOLLOW : 0)); 158 int fd_getcrtime_at(int dirfd, const char *name, usec_t *usec, int flags) { argument 162 n = fgetxattrat_fake(dirfd, name, "user.crtime_usec", &le, sizeof(le), flags);
|
H A D | extract-word.c | 37 int extract_first_word(const char **p, char **ret, const char *separators, ExtractFlags flags) { argument 62 if (flags & EXTRACT_DONT_COALESCE_SEPARATORS) 70 if (flags & EXTRACT_DONT_COALESCE_SEPARATORS) { 90 if ((flags & EXTRACT_CUNESCAPE_RELAX) && 91 (!quote || flags & EXTRACT_RELAX)) { 102 if (flags & EXTRACT_RELAX) 107 if (flags & EXTRACT_CUNESCAPE) { 113 if (flags & EXTRACT_CUNESCAPE_RELAX) { 134 if (flags & EXTRACT_RELAX) 140 } else if (c == '\\' && !(flags 202 extract_first_word_and_warn( const char **p, char **ret, const char *separators, ExtractFlags flags, const char *unit, const char *filename, unsigned line, const char *rvalue) argument 244 extract_many_words(const char **p, const char *separators, ExtractFlags flags, ...) argument [all...] |
H A D | escape.c | 307 int cunescape_length_with_prefix(const char *s, size_t length, const char *prefix, UnescapeFlags flags, char **ret) { argument 342 if (flags & UNESCAPE_RELAX) { 354 if (flags & UNESCAPE_RELAX) { 379 int cunescape_length(const char *s, size_t length, UnescapeFlags flags, char **ret) { argument 380 return cunescape_length_with_prefix(s, length, NULL, flags, ret); 383 int cunescape(const char *s, UnescapeFlags flags, char **ret) { argument 384 return cunescape_length(s, strlen(s), flags, ret);
|
/systemd/ |
H A D | .ycm_extra_conf.py | 18 def MakeRelativePathsInFlagsAbsolute(flags, working_directory): 20 return flags 24 for flag in flags: 51 'flags': MakeRelativePathsInFlagsAbsolute(flags, relative_to), 55 flags = Flatten(map(GetFlagsFromMakefile, [ variable 62 # these flags cause crashes in libclang, so remove them 63 flags.remove('-Wlogical-op') 64 flags.remove('-Wsuggest-attribute=noreturn') 65 flags [all...] |
/systemd/src/libudev/ |
H A D | libudev-hwdb.c | 119 * @flags: (unused) 128 _public_ struct udev_list_entry *udev_hwdb_get_properties_list_entry(struct udev_hwdb *hwdb, const char *modalias, unsigned int flags) { argument
|
/systemd/src/shared/ |
H A D | watchdog.c | 44 int flags; local 46 flags = WDIOS_DISABLECARD; 47 r = ioctl(watchdog_fd, WDIOC_SETOPTIONS, &flags); 51 int sec, flags; local 62 flags = WDIOS_ENABLECARD; 63 r = ioctl(watchdog_fd, WDIOC_SETOPTIONS, &flags); 141 int flags; local 144 flags = WDIOS_DISABLECARD; 145 r = ioctl(watchdog_fd, WDIOC_SETOPTIONS, &flags);
|
/systemd/src/libsystemd/sd-bus/ |
H A D | bus-introspect.c | 77 static void introspect_write_flags(struct introspect *i, int type, int flags) { argument 78 if (flags & SD_BUS_VTABLE_DEPRECATED) 81 if (type == _SD_BUS_VTABLE_METHOD && (flags & SD_BUS_VTABLE_METHOD_NO_REPLY)) 85 if (flags & SD_BUS_VTABLE_PROPERTY_EXPLICIT) 88 if (flags & SD_BUS_VTABLE_PROPERTY_CONST) 90 else if (flags & SD_BUS_VTABLE_PROPERTY_EMITS_INVALIDATION) 92 else if (!(flags & SD_BUS_VTABLE_PROPERTY_EMITS_CHANGE)) 98 !(flags & SD_BUS_VTABLE_UNPRIVILEGED)) 136 if (v->type != _SD_BUS_VTABLE_START && (v->flags & SD_BUS_VTABLE_HIDDEN)) 142 if (v->flags [all...] |
/systemd/src/libsystemd/sd-netlink/ |
H A D | local-addresses.c | 84 unsigned char flags; local 110 r = sd_rtnl_message_addr_get_flags(m, &flags); 113 if (flags & IFA_F_DEPRECATED)
|
/systemd/src/resolve/ |
H A D | resolved-dns-answer.h | 44 DnsAnswerFlags flags; member in struct:DnsAnswerItem 57 int dns_answer_add(DnsAnswer *a, DnsResourceRecord *rr, int ifindex, DnsAnswerFlags flags); 58 int dns_answer_add_extend(DnsAnswer **a, DnsResourceRecord *rr, int ifindex, DnsAnswerFlags flags); 67 int dns_answer_find_soa(DnsAnswer *a, const DnsResourceKey *key, DnsResourceRecord **ret, DnsAnswerFlags *flags); 68 int dns_answer_find_cname_or_dname(DnsAnswer *a, const DnsResourceKey *key, DnsResourceRecord **ret, DnsAnswerFlags *flags); 120 (fl) = ((a) && (a)->n_rrs > 0) ? (a)->items[0].flags : 0; \ 126 (fl) = ((UNIQ_T(i, q) < (a)->n_rrs) ? (a)->items[UNIQ_T(i, q)].flags : 0)) 128 #define DNS_ANSWER_FOREACH_FLAGS(kk, flags, a) _DNS_ANSWER_FOREACH_FLAGS(UNIQ, kk, flags, a) 134 (fl) = ((a) && (a)->n_rrs > 0) ? (a)->items[0].flags [all...] |
H A D | resolved-dns-query.h | 67 uint64_t flags; member in struct:DnsQuery 117 int dns_query_new(Manager *m, DnsQuery **q, DnsQuestion *question_utf8, DnsQuestion *question_idna, int family, uint64_t flags);
|
H A D | resolved-dns-synthesize.c | 39 int dns_synthesize_family(uint64_t flags) { argument 41 /* Picks an address family depending on set flags. This is 47 if (!(flags & SD_RESOLVED_DNS)) { 48 if (flags & (SD_RESOLVED_LLMNR_IPV4|SD_RESOLVED_MDNS_IPV4)) 50 if (flags & (SD_RESOLVED_LLMNR_IPV6|SD_RESOLVED_MDNS_IPV6)) 57 DnsProtocol dns_synthesize_protocol(uint64_t flags) { argument 65 if (flags & SD_RESOLVED_DNS) 67 if (flags & SD_RESOLVED_LLMNR) 69 if (flags & SD_RESOLVED_MDNS) 117 static int answer_add_ptr(DnsAnswer **answer, const char *from, const char *to, int ifindex, DnsAnswerFlags flags) { argument [all...] |
H A D | resolved-link.h | 45 unsigned char flags, scope; member in struct:LinkAddress 57 unsigned flags; member in struct:Link
|
/systemd/src/test/ |
H A D | test-fdset.c | 64 int flags = -1; local 75 flags = fcntl(fd, F_GETFD); 76 assert_se(flags >= 0); 77 assert_se(!(flags & FD_CLOEXEC)); 80 flags = fcntl(fd, F_GETFD); 81 assert_se(flags >= 0); 82 assert_se(flags & FD_CLOEXEC); 91 int flags = -1; local 103 flags = fcntl(fd, F_GETFD); 104 assert_se(flags < [all...] |
/systemd/src/libsystemd-network/ |
H A D | test-ndisc-rs.c | 35 typedef int (*send_ra_t)(uint8_t flags); 54 static int send_ra(uint8_t flags) { argument 71 advertisement[5] = flags; 77 printf(" sent RA with flag 0x%02x\n", flags); 86 static void test_rs_done(sd_ndisc *nd, uint8_t flags, const struct in6_addr *gateway, unsigned lifetime, int pref, void *userdata) { argument 100 assert_se(flags == flags_array[idx]); 104 printf(" got event 0x%02x\n", flags);
|
/systemd/src/systemd/ |
H A D | sd-bus-vtable.h | 59 uint64_t flags:56; member in struct:sd_bus_vtable 88 .flags = _flags, \ 95 .flags = _flags, \ 108 .flags = _flags, \ 116 .flags = _flags, \ 126 .flags = _flags, \
|