/openbmc/linux/ipc/ |
H A D | syscall.c | 20 int ksys_ipc(unsigned int call, int first, unsigned long second, in ksys_ipc() argument 30 return ksys_semtimedop(first, (struct sembuf __user *)ptr, in ksys_ipc() 34 return ksys_semtimedop(first, ptr, second, in ksys_ipc() 37 return compat_ksys_semtimedop(first, ptr, second, in ksys_ipc() 43 return ksys_semget(first, second, third); in ksys_ipc() 50 return ksys_old_semctl(first, second, third, arg); in ksys_ipc() 54 return ksys_msgsnd(first, (struct msgbuf __user *) ptr, in ksys_ipc() 67 return ksys_msgrcv(first, tmp.msgp, second, in ksys_ipc() 71 return ksys_msgrcv(first, in ksys_ipc() 76 return ksys_msgget((key_t) first, second); in ksys_ipc() [all …]
|
/openbmc/linux/tools/power/cpupower/lib/ |
H A D | cpufreq.c | 273 struct cpufreq_available_governors *first = NULL; in cpufreq_get_available_governors() local 295 first = malloc(sizeof(*first)); in cpufreq_get_available_governors() 296 if (!first) in cpufreq_get_available_governors() 298 current = first; in cpufreq_get_available_governors() 300 current->first = first; in cpufreq_get_available_governors() 313 return first; in cpufreq_get_available_governors() 316 while (first) { in cpufreq_get_available_governors() 317 current = first->next; in cpufreq_get_available_governors() 318 if (first->governor) in cpufreq_get_available_governors() 319 free(first->governor); in cpufreq_get_available_governors() [all …]
|
H A D | cpufreq.h | 20 struct cpufreq_available_governors *first; member 26 struct cpufreq_available_frequencies *first; member 33 struct cpufreq_affected_cpus *first; member 40 struct cpufreq_stats *first; member 117 struct cpufreq_available_governors *first); 131 struct cpufreq_available_frequencies *first); 137 struct cpufreq_available_frequencies *first); 149 void cpufreq_put_affected_cpus(struct cpufreq_affected_cpus *first); 161 void cpufreq_put_related_cpus(struct cpufreq_affected_cpus *first);
|
/openbmc/qemu/hw/usb/ |
H A D | combined-packet.c | 62 assert(combined->first == p && p == QTAILQ_FIRST(&combined->packets)); in usb_combined_input_packet_complete() 64 status = combined->first->status; in usb_combined_input_packet_complete() 65 actual_length = combined->first->actual_length; in usb_combined_input_packet_complete() 107 USBPacket *first = p->combined->first; in usb_combined_packet_cancel() local 111 if (p == first) { in usb_combined_packet_cancel() 124 USBPacket *p, *u, *next, *prev = NULL, *first = NULL; in usb_ep_combine_input_packets() local 155 if (first) { in usb_ep_combine_input_packets() 156 if (first->combined == NULL) { in usb_ep_combine_input_packets() 159 combined->first = first; in usb_ep_combine_input_packets() 162 usb_combined_packet_add(combined, first); in usb_ep_combine_input_packets() [all …]
|
/openbmc/openbmc/meta-phosphor/recipes-phosphor/misc/ |
H A D | phosphor-misc_git.bb | 8 first-boot-set-hostname \ 9 first-boot-set-mac \ 13 PACKAGECONFIG[first-boot-set-hostname] = "-Dfirst-boot-set-hostname=enabled, -Dfirst-boot-set-hostn… 14 PACKAGECONFIG[first-boot-set-mac] = "-Dfirst-boot-set-mac=enabled, -Dfirst-boot-set-mac=disabled" 24 SYSTEMD_SERVICE:${PN}-first-boot-set-hostname = "first-boot-set-hostname.service" 25 SYSTEMD_SERVICE:${PN}-first-boot-set-mac = "first-boot-set-mac@.service" 38 RDEPENDS:${PN}-first-boot-set-hostname += "bash" 39 RDEPENDS:${PN}-first-boot-set-mac += "bash" 42 # first-boot-set-hostname 43 FILES:${PN}-first-boot-set-hostname = "${bindir}/first-boot-set-hostname.sh" [all …]
|
/openbmc/bmcweb/redfish-core/lib/openbmc/ |
H A D | openbmc_managers.hpp | 115 if (intfPair.first != pidConfigurationIface && in asyncPopulatePid() 116 intfPair.first != pidZoneConfigurationIface && in asyncPopulatePid() 117 intfPair.first != stepwiseConfigurationIface) in asyncPopulatePid() 128 if (propPair.first == "Name") in asyncPopulatePid() 141 else if (propPair.first == "Profiles") in asyncPopulatePid() 169 if (propPair.first == "Class") in asyncPopulatePid() 179 if (intfPair.first == pidZoneConfigurationIface) in asyncPopulatePid() 183 pathPair.first.str, 5, chassis)) in asyncPopulatePid() 199 else if (intfPair.first == stepwiseConfigurationIface) in asyncPopulatePid() 222 else if (intfPair.first == pidConfigurationIface) in asyncPopulatePid() [all …]
|
/openbmc/linux/lib/ |
H A D | siphash.c | 116 u64 siphash_1u64(const u64 first, const siphash_key_t *key) in siphash_1u64() argument 119 v3 ^= first; in siphash_1u64() 122 v0 ^= first; in siphash_1u64() 133 u64 siphash_2u64(const u64 first, const u64 second, const siphash_key_t *key) in siphash_2u64() argument 136 v3 ^= first; in siphash_2u64() 139 v0 ^= first; in siphash_2u64() 155 u64 siphash_3u64(const u64 first, const u64 second, const u64 third, in siphash_3u64() argument 159 v3 ^= first; in siphash_3u64() 162 v0 ^= first; in siphash_3u64() 183 u64 siphash_4u64(const u64 first, const u64 second, const u64 third, in siphash_4u64() argument [all …]
|
H A D | llist.c | 29 struct llist_node *first = READ_ONCE(head->first); in llist_add_batch() local 32 new_last->next = first; in llist_add_batch() 33 } while (!try_cmpxchg(&head->first, &first, new_first)); in llist_add_batch() 35 return !first; in llist_add_batch() 57 entry = smp_load_acquire(&head->first); in llist_del_first() 62 } while (!try_cmpxchg(&head->first, &entry, next)); in llist_del_first()
|
/openbmc/linux/drivers/video/fbdev/core/ |
H A D | sysfillrect.c | 28 unsigned long first, last; in bitfill_aligned() local 33 first = FB_SHIFT_HIGH(p, ~0UL, dst_idx); in bitfill_aligned() 39 first &= last; in bitfill_aligned() 40 *dst = comp(pat, *dst, first); in bitfill_aligned() 45 if (first!= ~0UL) { in bitfill_aligned() 46 *dst = comp(pat, *dst, first); in bitfill_aligned() 74 unsigned long first, last; in bitfill_unaligned() local 79 first = FB_SHIFT_HIGH(p, ~0UL, dst_idx); in bitfill_unaligned() 85 first &= last; in bitfill_unaligned() 86 *dst = comp(pat, *dst, first); in bitfill_unaligned() [all …]
|
H A D | syscopyarea.c | 31 unsigned long first, last; in bitcpy() local 35 first = FB_SHIFT_HIGH(p, ~0UL, dst_idx); in bitcpy() 43 first &= last; in bitcpy() 44 *dst = comp(*src, *dst, first); in bitcpy() 48 if (first != ~0UL) { in bitcpy() 49 *dst = comp(*src, *dst, first); in bitcpy() 86 first &= last; in bitcpy() 89 *dst = comp(*src << left, *dst, first); in bitcpy() 92 *dst = comp(*src >> right, *dst, first); in bitcpy() 98 first); in bitcpy() [all …]
|
H A D | cfbfillrect.c | 38 unsigned long first, last; in bitfill_aligned() local 43 first = fb_shifted_pixels_mask_long(p, dst_idx, bswapmask); in bitfill_aligned() 49 first &= last; in bitfill_aligned() 50 FB_WRITEL(comp(pat, FB_READL(dst), first), dst); in bitfill_aligned() 55 if (first!= ~0UL) { in bitfill_aligned() 56 FB_WRITEL(comp(pat, FB_READL(dst), first), dst); in bitfill_aligned() 95 unsigned long first, last; in bitfill_unaligned() local 100 first = FB_SHIFT_HIGH(p, ~0UL, dst_idx); in bitfill_unaligned() 106 first &= last; in bitfill_unaligned() 107 FB_WRITEL(comp(pat, FB_READL(dst), first), dst); in bitfill_unaligned() [all …]
|
/openbmc/bmcweb/include/ |
H A D | event_service_store.hpp | 52 if (element.first == "Id") in fromJson() 62 else if (element.first == "Destination") in fromJson() 78 else if (element.first == "Protocol") in fromJson() 88 else if (element.first == "VerifyCertificate") in fromJson() 97 else if (element.first == "DeliveryRetryPolicy") in fromJson() 107 else if (element.first == "SendHeartbeat") in fromJson() 116 else if (element.first == "HeartbeatIntervalMinutes") in fromJson() 126 else if (element.first == "Context") in fromJson() 136 else if (element.first == "EventFormatType") in fromJson() 146 else if (element.first == "SubscriptionType") in fromJson() [all …]
|
/openbmc/linux/kernel/bpf/ |
H A D | percpu_freelist.c | 18 head->first = NULL; in pcpu_freelist_init() 21 s->extralist.first = NULL; in pcpu_freelist_init() 33 node->next = head->first; in pcpu_freelist_push_node() 34 WRITE_ONCE(head->first, node); in pcpu_freelist_push_node() 129 if (!READ_ONCE(head->first)) in ___pcpu_freelist_pop() 132 node = head->first; in ___pcpu_freelist_pop() 134 WRITE_ONCE(head->first, node->next); in ___pcpu_freelist_pop() 142 if (!READ_ONCE(s->extralist.first)) in ___pcpu_freelist_pop() 145 node = s->extralist.first; in ___pcpu_freelist_pop() 147 WRITE_ONCE(s->extralist.first, node->next); in ___pcpu_freelist_pop() [all …]
|
/openbmc/linux/include/linux/ |
H A D | list_nulls.h | 22 struct hlist_nulls_node *first; member 30 ((ptr)->first = (struct hlist_nulls_node *) NULLS_MARKER(nulls)) 88 return is_a_nulls(READ_ONCE(h->first)); in hlist_nulls_empty() 94 struct hlist_nulls_node *first = h->first; in hlist_nulls_add_head() local 96 n->next = first; in hlist_nulls_add_head() 97 WRITE_ONCE(n->pprev, &h->first); in hlist_nulls_add_head() 98 h->first = n; in hlist_nulls_add_head() 99 if (!is_a_nulls(first)) in hlist_nulls_add_head() 100 WRITE_ONCE(first->pprev, &n->next); in hlist_nulls_add_head() 128 for (pos = (head)->first; \
|
H A D | rculist_bl.h | 15 LIST_BL_BUG_ON(((unsigned long)h->first & LIST_BL_LOCKMASK) != in hlist_bl_set_first_rcu() 17 rcu_assign_pointer(h->first, in hlist_bl_set_first_rcu() 24 ((unsigned long)rcu_dereference_check(h->first, hlist_bl_is_locked(h)) & ~LIST_BL_LOCKMASK); in hlist_bl_first_rcu() 74 struct hlist_bl_node *first; in hlist_bl_add_head_rcu() local 77 first = hlist_bl_first(h); in hlist_bl_add_head_rcu() 79 n->next = first; in hlist_bl_add_head_rcu() 80 if (first) in hlist_bl_add_head_rcu() 81 first->pprev = &n->next; in hlist_bl_add_head_rcu() 82 n->pprev = &h->first; in hlist_bl_add_head_rcu()
|
H A D | llist.h | 57 struct llist_node *first; member 73 list->first = NULL; in init_llist_head() 191 return READ_ONCE(head->first) == NULL; in llist_empty() 207 new_last->next = head->first; in __llist_add_batch() 208 head->first = new_first; in __llist_add_batch() 239 return xchg(&head->first, NULL); in llist_del_all() 244 struct llist_node *first = head->first; in __llist_del_all() local 246 head->first = NULL; in __llist_del_all() 247 return first; in __llist_del_all()
|
H A D | list.h | 324 struct list_head *first, in list_bulk_move_tail() argument 327 first->prev->next = last->next; in list_bulk_move_tail() 328 last->next->prev = first->prev; in list_bulk_move_tail() 330 head->prev->next = first; in list_bulk_move_tail() 331 first->prev = head->prev; in list_bulk_move_tail() 419 struct list_head *first; in list_rotate_left() local 422 first = head->next; in list_rotate_left() 423 list_move_tail(first, head); in list_rotate_left() 527 struct list_head *first = list->next; in __list_splice() local 530 first->prev = prev; in __list_splice() [all …]
|
/openbmc/linux/fs/ |
H A D | binfmt_script.c | 19 static inline const char *next_non_spacetab(const char *first, const char *last) in next_non_spacetab() argument 21 for (; first <= last; first++) in next_non_spacetab() 22 if (!spacetab(*first)) in next_non_spacetab() 23 return first; in next_non_spacetab() 26 static inline const char *next_terminator(const char *first, const char *last) in next_terminator() argument 28 for (; first <= last; first++) in next_terminator() 29 if (spacetab(*first) || !*first) in next_terminator() 30 return first; in next_terminator()
|
/openbmc/phosphor-host-ipmid/ |
H A D | sensordatahandler.cpp | 85 bus, service, path, interface.first, property.first); in mapDbusToAssertion() 91 setOffset(value.first, &response); in mapDbusToAssertion() 119 interface.first, property.first); in mapDbusToEventdata2() 125 setReading(value.first, &response); in mapDbusToEventdata2() 207 msg.append(interface->first); in eventdata() 210 msg.append(property.first); in eventdata() 224 std::bitset<16> assertionSet(getAssertionSet(cmdData).first); in assertion() 235 if (bothSet.size() <= value.first || !bothSet.test(value.first)) in assertion() 241 if (assertionSet.test(value.first)) in assertion() 246 if (deassertionSet.test(value.first)) in assertion() [all …]
|
/openbmc/linux/arch/alpha/lib/ |
H A D | csum_partial_copy.c | 129 unsigned long first; in csum_partial_cfu_dest_aligned() local 134 if (__get_word(ldq_u, first,src)) in csum_partial_cfu_dest_aligned() 142 extql(first, soff, word); in csum_partial_cfu_dest_aligned() 145 extqh(second, soff, first); in csum_partial_cfu_dest_aligned() 147 word |= first; in csum_partial_cfu_dest_aligned() 148 first = second; in csum_partial_cfu_dest_aligned() 162 extql(first, soff, word); in csum_partial_cfu_dest_aligned() 163 extqh(second, soff, first); in csum_partial_cfu_dest_aligned() 164 word |= first; in csum_partial_cfu_dest_aligned() 243 unsigned long first; in csum_partial_cfu_unaligned() local [all …]
|
/openbmc/openpower-pnor-code-mgmt/test/ |
H A D | test_item_updater_static.cpp | 97 EXPECT_EQ("HBEL", parts[0].first); in TEST() 100 EXPECT_EQ("GUARD", parts[1].first); in TEST() 103 EXPECT_EQ("NVRAM", parts[2].first); in TEST() 106 EXPECT_EQ("HB_VOLATILE", parts[10].first); in TEST() 127 EXPECT_EQ("ATTR_PERM", parts[0].first); in TEST() 177 EXPECT_EQ("HBEL", parts[0].first); in TEST() 180 EXPECT_EQ("GUARD", parts[1].first); in TEST() 183 EXPECT_EQ("NVRAM", parts[7].first); in TEST() 186 EXPECT_EQ("IMA_CATALOG", parts[10].first); in TEST()
|
/openbmc/linux/kernel/trace/ |
H A D | rethook.c | 222 node = tsk->rethooks.first; in __rethook_find_ret_addr() 292 struct llist_node *first, *node = NULL; in rethook_trampoline_handler() local 315 first = current->rethooks.first; in rethook_trampoline_handler() 316 while (first) { in rethook_trampoline_handler() 317 rhn = container_of(first, struct rethook_node, llist); in rethook_trampoline_handler() 325 if (first == node) in rethook_trampoline_handler() 327 first = first->next; in rethook_trampoline_handler() 334 first = current->rethooks.first; in rethook_trampoline_handler() 335 current->rethooks.first = node->next; in rethook_trampoline_handler() 338 while (first) { in rethook_trampoline_handler() [all …]
|
/openbmc/phosphor-misc/firstboot/ |
H A D | meson.build | 1 set_mac = dependency('systemd', required: get_option('first-boot-set-mac')) 4 required: get_option('first-boot-set-hostname'), 9 'first-boot-set-mac.sh', 15 input: 'first-boot-set-mac@.service', 16 output: 'first-boot-set-mac@.service', 24 'first-boot-set-hostname.sh', 30 input: 'first-boot-set-hostname.service', 31 output: 'first-boot-set-hostname.service',
|
/openbmc/linux/tools/include/linux/ |
H A D | list.h | 217 struct list_head *first; in list_rotate_left() local 220 first = head->next; in list_rotate_left() 221 list_move_tail(first, head); in list_rotate_left() 278 struct list_head *first = list->next; in __list_splice() local 281 first->prev = prev; in __list_splice() 282 prev->next = first; in __list_splice() 606 #define HLIST_HEAD_INIT { .first = NULL } 607 #define HLIST_HEAD(name) struct hlist_head name = { .first = NULL } 608 #define INIT_HLIST_HEAD(ptr) ((ptr)->first = NULL) 622 return !h->first; in hlist_empty() [all …]
|
/openbmc/linux/io_uring/ |
H A D | slist.h | 7 for (pos = (head)->first; pos; pos = (pos)->next) 10 for (pos = (head)->first, prv = NULL; pos; prv = pos, pos = (pos)->next) 15 #define wq_list_empty(list) (READ_ONCE((list)->first) == NULL) 18 (list)->first = NULL; \ 37 if (!list->first) { in wq_list_add_tail() 39 WRITE_ONCE(list->first, node); in wq_list_add_tail() 49 node->next = list->first; in wq_list_add_head() 52 WRITE_ONCE(list->first, node); in wq_list_add_head() 61 WRITE_ONCE(list->first, last->next); in wq_list_cut() 74 to->next = list->first; in __wq_list_splice()
|