Searched defs:new (Results 1 - 11 of 11) sorted by relevance

/systemd/src/test/
H A Dtest-rlimit-util.c52 struct rlimit old, new, high; local
64 new.rlim_cur = MIN(5U, old.rlim_max);
65 new.rlim_max = old.rlim_max;
66 assert_se(setrlimit(RLIMIT_NOFILE, &new) >= 0);
76 assert_se(getrlimit(RLIMIT_NOFILE, &new) == 0);
77 assert_se(old.rlim_cur == new.rlim_cur);
78 assert_se(old.rlim_max == new.rlim_max);
83 assert_se(getrlimit(RLIMIT_NOFILE, &new) == 0);
84 assert_se(new.rlim_max == old.rlim_max);
85 assert_se(new
[all...]
/systemd/src/basic/
H A Dstrbuf.c106 struct strbuf_child_entry new = { local
114 if (strbuf_children_cmp(&node->children[middle], &new) <= 0)
122 node->children[left] = new;
170 /* add new string */
180 /* new node */
187 /* extend array, add new entry, sort for bisection */
H A Dalloc-util.h29 #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) macro
H A Dc-rbtree.c209 * This function partially replaces an existing child pointer to a new one. The
210 * existing child must be given as @old, the new child as @new. @p must be the
212 * This function ensures that the parent of @old now points to @new. However,
213 * it does *NOT* change the parent pointer of @new. The caller must ensure
218 static inline void c_rbtree_swap_child(CRBTree *t, CRBNode *p, CRBNode *old, CRBNode *new) { argument
221 p->left = new;
223 p->right = new;
225 t->root = new;
/systemd/src/boot/efi/
H A Dgraphics.c61 EFI_CONSOLE_CONTROL_SCREEN_MODE new; local
78 new = on ? EfiConsoleControlScreenGraphics : EfiConsoleControlScreenText;
79 if (new == current)
82 err = uefi_call_wrapper(ConsoleControl->SetMode, 2, ConsoleControl, new);
H A Dboot.c1069 CHAR16 *new; local
1071 new = stra_to_path(value);
1075 s = PoolPrint(L"%s initrd=%s", initrd, new);
1079 initrd = PoolPrint(L"initrd=%s", new);
1080 FreePool(new);
1085 CHAR16 *new; local
1087 new = stra_to_str(value);
1091 s = PoolPrint(L"%s %s", entry->options, new);
1095 entry->options = new;
1096 new
[all...]
/systemd/src/journal-remote/
H A Djournal-remote-write.c45 void iovw_rebase(struct iovec_wrapper *iovw, char *old, char *new) { argument
49 iovw->iovec[i].iov_base = (char*) iovw->iovec[i].iov_base - old + new;
/systemd/src/libsystemd/sd-bus/
H A Dbus-track.c149 const char *name, *old, *new; local
155 r = sd_bus_message_read(message, "sss", &name, &old, &new);
/systemd/src/libudev/
H A Dlibudev-list.c61 static void udev_list_node_insert_between(struct udev_list_node *new, argument
65 next->prev = new;
66 new->next = next;
67 new->prev = prev;
68 prev->next = new;
71 void udev_list_node_append(struct udev_list_node *new, struct udev_list_node *list) argument
73 udev_list_node_insert_between(new, list->prev, list);
103 static void udev_list_entry_append(struct udev_list_entry *new, struct udev_list *list) argument
106 udev_list_node_insert_between(&new->node, list->node.prev, &list->node);
107 new
111 udev_list_entry_insert_before(struct udev_list_entry *new, struct udev_list_entry *entry) argument
[all...]
/systemd/src/shared/
H A Dacl-util.c367 int acls_for_file(const char *path, acl_type_t type, acl_t new, acl_t *acl) { argument
376 for (r = acl_get_entry(new, ACL_FIRST_ENTRY, &i);
378 r = acl_get_entry(new, ACL_NEXT_ENTRY, &i)) {
/systemd/src/udev/
H A Dudev-builtin-path_id.c50 char *new; local
52 err = asprintf(&new, "%s-%s", pre, *path);
57 *path = new;

Completed in 196 milliseconds