Searched defs:new (Results 1 - 11 of 11) sorted by relevance
/systemd/src/test/ |
H A D | test-rlimit-util.c | 52 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 D | strbuf.c | 106 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 D | alloc-util.h | 29 #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) macro
|
H A D | c-rbtree.c | 209 * 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 D | graphics.c | 61 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 D | boot.c | 1069 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 D | journal-remote-write.c | 45 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 D | bus-track.c | 149 const char *name, *old, *new; local 155 r = sd_bus_message_read(message, "sss", &name, &old, &new);
|
/systemd/src/libudev/ |
H A D | libudev-list.c | 61 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 D | acl-util.c | 367 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 D | udev-builtin-path_id.c | 50 char *new; local 52 err = asprintf(&new, "%s-%s", pre, *path); 57 *path = new;
|
Completed in 196 milliseconds