Home
last modified time | relevance | path

Searched defs:n (Results 1 – 25 of 427) sorted by relevance

12345678910>>...18

/systemd-251/src/libsystemd-network/
Dlldp-neighbor.c48 sd_lldp_neighbor *sd_lldp_neighbor_ref(sd_lldp_neighbor *n) { in sd_lldp_neighbor_ref()
58 static sd_lldp_neighbor *lldp_neighbor_free(sd_lldp_neighbor *n) { in lldp_neighbor_free()
73 sd_lldp_neighbor *sd_lldp_neighbor_unref(sd_lldp_neighbor *n) { in sd_lldp_neighbor_unref()
90 sd_lldp_neighbor *lldp_neighbor_unlink(sd_lldp_neighbor *n) { in lldp_neighbor_unlink()
117 sd_lldp_neighbor *n; in lldp_neighbor_new() local
132 static int parse_string(sd_lldp_rx *lldp_rx, char **s, const void *q, size_t n) { in parse_string()
168 int lldp_neighbor_parse(sd_lldp_neighbor *n) { in lldp_neighbor_parse()
332 void lldp_neighbor_start_ttl(sd_lldp_neighbor *n) { in lldp_neighbor_start_ttl()
364 int sd_lldp_neighbor_get_source_address(sd_lldp_neighbor *n, struct ether_addr* address) { in sd_lldp_neighbor_get_source_address()
372 int sd_lldp_neighbor_get_destination_address(sd_lldp_neighbor *n, struct ether_addr* address) { in sd_lldp_neighbor_get_destination_address()
[all …]
Dsd-lldp-rx.c39 static void lldp_rx_callback(sd_lldp_rx *lldp_rx, sd_lldp_rx_event_t event, sd_lldp_neighbor *n) { in lldp_rx_callback()
86 static bool lldp_rx_keep_neighbor(sd_lldp_rx *lldp_rx, sd_lldp_neighbor *n) { in lldp_rx_keep_neighbor()
111 static int lldp_rx_add_neighbor(sd_lldp_rx *lldp_rx, sd_lldp_neighbor *n) { in lldp_rx_add_neighbor()
174 static int lldp_rx_handle_datagram(sd_lldp_rx *lldp_rx, sd_lldp_neighbor *n) { in lldp_rx_handle_datagram()
438 sd_lldp_neighbor *n; in lldp_rx_start_timer() local
468 sd_lldp_neighbor *n; in sd_lldp_rx_get_neighbors() local
/systemd-251/src/basic/
Ddef.h26 # define _CONF_PATHS_SPLIT_USR_NULSTR(n) "/lib/" n "\0" argument
27 # define _CONF_PATHS_SPLIT_USR(n) , "/lib/" n argument
29 # define _CONF_PATHS_SPLIT_USR_NULSTR(n) argument
30 # define _CONF_PATHS_SPLIT_USR(n) argument
37 #define CONF_PATHS_NULSTR(n) \ argument
44 #define CONF_PATHS_USR(n) \ argument
50 #define CONF_PATHS(n) \ argument
54 #define CONF_PATHS_USR_STRV(n) \ argument
57 #define CONF_PATHS_STRV(n) \ argument
Dalloc-util.h22 #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) argument
24 #define new0(t, n) ((t*) calloc((n) ?: 1, sizeof(t))) argument
26 #define alloca_safe(n) \ argument
33 #define newa(t, n) \ argument
40 #define newa0(t, n) \ argument
47 #define newdup(t, p, n) ((t*) memdup_multiply(p, sizeof(t), (n))) argument
49 #define newdup_suffix0(t, p, n) ((t*) memdup_suffix0_multiply(p, sizeof(t), (n))) argument
51 #define malloc0(n) (calloc(1, (n) ?: 1)) argument
141 #define alloca0(n) \ argument
211 #define strndupa_safe(s, n) \ argument
Dsort-util.h17 #define typesafe_bsearch_r(k, b, n, func, userdata) \ argument
37 #define typesafe_bsearch(k, b, n, func) \ argument
58 #define typesafe_qsort(p, n, func) \ argument
72 #define typesafe_qsort_r(p, n, func, userdata) \ argument
Dmemory-util.h19 static inline void *memcpy_safe(void *dst, const void *src, size_t n) { in memcpy_safe()
27 static inline void *mempcpy_safe(void *dst, const void *src, size_t n) { in mempcpy_safe()
35 static inline int memcmp_safe(const void *s1, const void *s2, size_t n) { in memcmp_safe()
64 static inline void *mempset(void *s, int c, size_t n) { in mempset()
Dstrv.c101 size_t n = 0; in strv_length() local
111 size_t n = 0, i = 0; in strv_new_ap() local
227 size_t n; in strv_split_newlines_full() local
251 size_t n = 0; in strv_split_full() local
304 size_t n = 0; in strv_split_colon_pairs() local
356 size_t n, k, m; in strv_join_full() local
408 size_t n; in strv_push() local
432 size_t n; in strv_push_pair() local
460 size_t n, m; in strv_insert() local
546 size_t n, m; in strv_extend_front() local
[all …]
Dio-util.c53 ssize_t n = 0; in loop_read() local
99 ssize_t n; in loop_read_exact() local
175 for (size_t i = 0, n = r; i < nfds && n > 0; i++) { in ppoll_usec() local
201 size_t n = 0; in nul_length() local
222 size_t n; in sparse_write() local
342 size_t n = 0; in iovw_size() local
Drandom-util.c38 int genuine_random_bytes(void *p, size_t n, RandomFlags flags) { in genuine_random_bytes()
147 void pseudo_random_bytes(void *p, size_t n) { in pseudo_random_bytes()
174 void random_bytes(void *p, size_t n) { in random_bytes()
/systemd-251/src/timesync/
Dtimesyncd-server.c17 ServerName *n, in server_address_new()
69 ServerName *n; in server_name_new() local
119 ServerName *server_name_free(ServerName *n) { in server_name_free()
147 void server_name_flush_addresses(ServerName *n) { in server_name_flush_addresses()
/systemd-251/src/shared/
Dbitmap.c23 #define BITMAP_NUM_TO_OFFSET(n) ((n) / (sizeof(uint64_t) * 8)) argument
24 #define BITMAP_NUM_TO_REM(n) ((n) % (sizeof(uint64_t) * 8)) argument
71 int bitmap_set(Bitmap *b, unsigned n) { in bitmap_set()
97 void bitmap_unset(Bitmap *b, unsigned n) { in bitmap_unset()
114 bool bitmap_isset(const Bitmap *b, unsigned n) { in bitmap_isset()
152 bool bitmap_iterate(const Bitmap *b, Iterator *i, unsigned *n) { in bitmap_iterate()
Duid-range.c25 static void uid_range_coalesce(UidRange **p, size_t *n) { in uid_range_coalesce()
62 int uid_range_add(UidRange **p, size_t *n, uid_t start, uid_t nr) { in uid_range_add()
111 int uid_range_add_str(UidRange **p, size_t *n, const char *s) { in uid_range_add_str()
149 int uid_range_next_lower(const UidRange *p, size_t n, uid_t *uid) { in uid_range_next_lower()
182 bool uid_range_covers(const UidRange *p, size_t n, uid_t start, uid_t nr) { in uid_range_covers()
198 int uid_range_load_userns(UidRange **p, size_t *n, const char *path) { in uid_range_load_userns()
Dbitmap.h29 #define _BITMAP_FOREACH(n, b, i) \ argument
31 #define BITMAP_FOREACH(n, b) \ argument
Djson.c396 int json_variant_new_stringn(JsonVariant **ret, const char *s, size_t n) { in json_variant_new_stringn()
428 int json_variant_new_base64(JsonVariant **ret, const void *p, size_t n) { in json_variant_new_base64()
442 int json_variant_new_hex(JsonVariant **ret, const void *p, size_t n) { in json_variant_new_hex()
527 int json_variant_new_array(JsonVariant **ret, JsonVariant **array, size_t n) { in json_variant_new_array()
576 int json_variant_new_array_bytes(JsonVariant **ret, const void *p, size_t n) { in json_variant_new_array_bytes()
614 size_t n; in json_variant_new_array_strv() local
669 int json_variant_new_object(JsonVariant **ret, JsonVariant **array, size_t n) { in json_variant_new_object()
834 void json_variant_unref_many(JsonVariant **array, size_t n) { in json_variant_unref_many()
1328 size_t n = json_variant_elements(a); in json_variant_equal() local
1340 size_t n = json_variant_elements(a); in json_variant_equal() local
[all …]
/systemd-251/test/
Dsd-script.py70 def _get_major(n): argument
73 def _get_minor(n): argument
77 def _get_name(n): argument
87 def _get_dev_t(n): argument
303 def create_disk_sysfs(dsk, first_sg, n): argument
336 n = 0 variable
340 n = create_disk_sysfs(dsk, first_sg, n) variable
/systemd-251/src/login/
Dlogind-utmp.c23 _const_ static usec_t when_wall(usec_t n, usec_t elapse) { in when_wall()
61 static int warn_wall(Manager *m, usec_t n) { in warn_wall()
96 usec_t n, next; in wall_message_timeout_handler() local
124 usec_t n, elapse; in manager_setup_wall_message_timer() local
/systemd-251/src/test/
Dtest-net-naming-scheme.c8 const NamingScheme *n; in TEST() local
14 const NamingScheme *n; in TEST() local
Dtest-uid-range.c19 size_t n = 0; in TEST() local
100 size_t n = 0; in TEST() local
Dtest-local-addresses.c11 static void print_local_addresses(struct local_address *a, unsigned n) { in print_local_addresses()
24 int n, n_ipv4, n_ipv6; in TEST() local
/systemd-251/src/fundamental/
Dstring-util-fundamental.h16 #define strncmp(a, b, n) StrnCmp((a), (b), (n)) argument
19 #define memcmp(a, b, n) CompareMem(a, b, n) argument
25 #define strneq(a, b, n) (strncmp((a), (b), (n)) == 0) argument
28 #define strncaseeq(a, b, n) (strncasecmp((a), (b), (n)) == 0) argument
74 size_t n = strlen(token) * sizeof(sd_char); in memory_startswith() local
/systemd-251/src/network/
Dnetworkd-json.c68 size_t n = 0; in addresses_build_json() local
97 static int neighbor_build_json(Neighbor *n, JsonVariant **ret) { in neighbor_build_json()
125 size_t n = 0; in neighbors_build_json() local
157 size_t n = 0; in nexthop_group_build_json() local
190 static int nexthop_build_json(NextHop *n, JsonVariant **ret) { in nexthop_build_json()
235 size_t n = 0; in nexthops_build_json() local
333 size_t n = 0; in routes_build_json() local
428 size_t n = 0; in routing_policy_rules_build_json() local
533 size_t n = 0; in dns_build_json() local
701 size_t n = 0; in ntp_build_json() local
[all …]
/systemd-251/src/journal/
Djournald-audit.c25 size_t *n) { in map_simple_field()
63 size_t *n, in map_string_field_internal()
136 static int map_string_field(const char *field, const char **p, struct iovec *iovec, size_t *n) { in map_string_field()
140 …int map_string_field_printable(const char *field, const char **p, struct iovec *iovec, size_t *n) { in map_string_field_printable()
148 size_t *n) { in map_generic_field()
253 size_t *n, in map_all_fields()
335 size_t n = 0, z; in process_audit_string() local
491 ssize_t n; in enable_audit() local
/systemd-251/src/analyze/
Danalyze-calendar.c9 static int test_calendar_one(usec_t n, const char *p) { in test_calendar_one()
127 usec_t n; in verb_calendar() local
/systemd-251/src/systemctl/
Dsystemctl-mount.c12 _cleanup_free_ char *n = NULL; in verb_bind() local
48 _cleanup_free_ char *n = NULL; in verb_mount_image() local
/systemd-251/src/libsystemd/sd-bus/
Dbus-gvariant.c20 size_t n; in bus_gvariant_get_size() local
110 size_t n; in bus_gvariant_get_alignment() local
191 size_t n; in bus_gvariant_is_fixed_size() local

12345678910>>...18