Home
last modified time | relevance | path

Searched refs:new (Results 1 – 25 of 140) sorted by relevance

123456

/device/soc/chipsea/cst85/liteos_m/sdk/modules/console/api/
Dlnx_list.h105 __STATIC_INLINE void __list_add(struct list_head *new, in __list_add() argument
108 next->prev = new; in __list_add()
109 new->next = next; in __list_add()
110 new->prev = prev; in __list_add()
111 prev->next = new; in __list_add()
122 __STATIC_INLINE void list_add(struct list_head *new, struct list_head *head) in list_add() argument
124 __list_add(new, head, head->next); in list_add()
135 __STATIC_INLINE void list_add_tail(struct list_head *new, struct list_head *head) in list_add_tail() argument
137 __list_add(new, head->prev, head); in list_add_tail()
179 struct list_head *new) in list_replace() argument
[all …]
/device/soc/hisilicon/hi3516dv300/sdk_liteos/include/
Dosal_list.h53 static inline void osal___list_add(struct osal_list_head *new, in osal___list_add() argument
57 next->prev = new; in osal___list_add()
58 new->next = next; in osal___list_add()
59 new->prev = prev; in osal___list_add()
60 prev->next = new; in osal___list_add()
71 static inline void osal_list_add(struct osal_list_head *new, struct osal_list_head *head) in osal_list_add() argument
73 osal___list_add(new, head, head->next); in osal_list_add()
84 static inline void osal_list_add_tail(struct osal_list_head *new, struct osal_list_head *head) in osal_list_add_tail() argument
86 osal___list_add(new, head->prev, head); in osal_list_add_tail()
131 struct osal_list_head *new) in osal_list_replace() argument
[all …]
/device/soc/hisilicon/hi3516dv300/sdk_linux/include/
Dosal_list.h54 static inline void osal___list_add(struct osal_list_head *new, in osal___list_add() argument
58 next->prev = new; in osal___list_add()
59 new->next = next; in osal___list_add()
60 new->prev = prev; in osal___list_add()
61 prev->next = new; in osal___list_add()
72 static inline void osal_list_add(struct osal_list_head *new, struct osal_list_head *head) in osal_list_add() argument
74 osal___list_add(new, head, head->next); in osal_list_add()
85 static inline void osal_list_add_tail(struct osal_list_head *new, struct osal_list_head *head) in osal_list_add_tail() argument
87 osal___list_add(new, head->prev, head); in osal_list_add_tail()
132 struct osal_list_head *new) in osal_list_replace() argument
[all …]
/device/soc/hisilicon/hi3751v350/sdk_linux/source/common/drv/include/
Dosal_list.h56 static inline void osal___list_add(struct osal_list_head *new, in osal___list_add() argument
60 next->prev = new; in osal___list_add()
61 new->next = next; in osal___list_add()
62 new->prev = prev; in osal___list_add()
63 prev->next = new; in osal___list_add()
74 static inline void osal_list_add(struct osal_list_head *new, struct osal_list_head *head) in osal_list_add() argument
76 osal___list_add(new, head, head->next); in osal_list_add()
87 static inline void osal_list_add_tail(struct osal_list_head *new, struct osal_list_head *head) in osal_list_add_tail() argument
89 osal___list_add(new, head->prev, head); in osal_list_add_tail()
134 struct osal_list_head *new) in osal_list_replace() argument
[all …]
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/osal/include/
Dosal_list.h57 static inline void osal___list_add(struct osal_list_head *new, in osal___list_add() argument
61 next->prev = new; in osal___list_add()
62 new->next = next; in osal___list_add()
63 new->prev = prev; in osal___list_add()
64 prev->next = new; in osal___list_add()
75 static inline void osal_list_add(struct osal_list_head *new, struct osal_list_head *head) in osal_list_add() argument
77 osal___list_add(new, head, head->next); in osal_list_add()
88 static inline void osal_list_add_tail(struct osal_list_head *new, struct osal_list_head *head) in osal_list_add_tail() argument
90 osal___list_add(new, head->prev, head); in osal_list_add_tail()
135 struct osal_list_head *new) in osal_list_replace() argument
[all …]
/device/soc/chipsea/cst85/liteos_m/sdk/modules/wifi/macif/
Dcs_list.h82 static inline void __list_add(struct list_head *new, in __list_add() argument
86 next->prev = new; in __list_add()
87 new->next = next; in __list_add()
88 new->prev = prev; in __list_add()
89 prev->next = new; in __list_add()
92 static inline void list_add_tail(struct list_head *new, struct list_head *head) in list_add_tail() argument
94 __list_add(new, head->prev, head); in list_add_tail()
97 static inline void list_add(struct list_head *new, struct list_head *head) in list_add() argument
99 __list_add(new, head, head->next); in list_add()
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/ump/linux/
Dump_kernel_random_mapping.c45 struct rb_node **new = &(root->rb_node); in insert() local
48 while (*new) { in insert()
49 ump_dd_mem *this = container_of(*new, ump_dd_mem, node); in insert()
51 parent = *new; in insert()
53 new = &((*new)->rb_left); in insert()
55 new = &((*new)->rb_right); in insert()
62 rb_link_node(&mem->node, parent, new); in insert()
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/xr829/umac/
Dkey.c289 struct ieee80211_key *new) in ieee80211_pairwise_rekey() argument
291 struct ieee80211_local *local = new->local; in ieee80211_pairwise_rekey()
292 struct sta_info *sta = new->sta; in ieee80211_pairwise_rekey()
297 if (new->conf.flags & IEEE80211_KEY_FLAG_NO_AUTO_TX) { in ieee80211_pairwise_rekey()
406 struct ieee80211_key *new) in ieee80211_key_replace() argument
413 if (WARN_ON(!new && !old)) in ieee80211_key_replace()
416 if (new) in ieee80211_key_replace()
417 list_add_tail_rcu(&new->list, &sdata->key_list); in ieee80211_key_replace()
419 WARN_ON(new && old && new->conf.keyidx != old->conf.keyidx); in ieee80211_key_replace()
421 if (new && sta && pairwise) { in ieee80211_key_replace()
[all …]
Dcfg.c850 struct probe_resp *new, *old; in ieee80211_set_probe_resp() local
857 new = kzalloc(sizeof(struct probe_resp) + resp_len, GFP_KERNEL); in ieee80211_set_probe_resp()
858 if (!new) in ieee80211_set_probe_resp()
861 new->len = resp_len; in ieee80211_set_probe_resp()
862 memcpy(new->data, resp, resp_len); in ieee80211_set_probe_resp()
865 memcpy(new->csa_counter_offsets, csa->counter_offsets_presp, in ieee80211_set_probe_resp()
867 sizeof(new->csa_counter_offsets[0])); in ieee80211_set_probe_resp()
869 rcu_assign_pointer(sdata->u.ap.probe_resp, new); in ieee80211_set_probe_resp()
881 struct ieee80211_ftm_responder_params *new, *old; in ieee80211_set_ftm_responder_params() local
893 new = kzalloc(sizeof(*new) + len, GFP_KERNEL); in ieee80211_set_ftm_responder_params()
[all …]
/device/soc/rockchip/common/sdk_linux/ipc/
Dutil.c201 static inline int ipc_idr_alloc(struct ipc_ids *ids, struct kern_ipc_perm *new) in ipc_idr_alloc() argument
244 new->seq = ids->seq; in ipc_idr_alloc()
249 idr_replace(&ids->ipcs_idr, new, idx); in ipc_idr_alloc()
252 new->seq = ipcid_to_seqx(next_id); in ipc_idr_alloc()
253 idx = idr_alloc(&ids->ipcs_idr, new, ipcid_to_idx(next_id), 0, GFP_NOWAIT); in ipc_idr_alloc()
256 new->id = (new->seq << ipcmni_seq_shift()) + idx; in ipc_idr_alloc()
276 int ipc_addid(struct ipc_ids *ids, struct kern_ipc_perm *new, int limit) in ipc_addid() argument
283 refcount_set(&new->refcount, 1); in ipc_addid()
295 spin_lock_init(&new->lock); in ipc_addid()
297 spin_lock(&new->lock); in ipc_addid()
[all …]
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/
Dmali_kbase_trace_gpu_mem.c137 struct rb_node **new = &(root->rb_node), *parent = NULL; in kbase_capture_dma_buf_mapping() local
141 while (*new) { in kbase_capture_dma_buf_mapping()
144 parent = *new; in kbase_capture_dma_buf_mapping()
148 new = &(*new)->rb_left; in kbase_capture_dma_buf_mapping()
150 new = &(*new)->rb_right; in kbase_capture_dma_buf_mapping()
152 rb_link_node(&new_buf_node->dma_buf_node, parent, new); in kbase_capture_dma_buf_mapping()
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/
Dmali_kbase_trace_gpu_mem.c135 struct rb_node **new = &(root->rb_node), *parent = NULL; in kbase_capture_dma_buf_mapping() local
139 while (*new) { in kbase_capture_dma_buf_mapping()
142 parent = *new; in kbase_capture_dma_buf_mapping()
145 new = &(*new)->rb_left; in kbase_capture_dma_buf_mapping()
147 new = &(*new)->rb_right; in kbase_capture_dma_buf_mapping()
150 rb_link_node(&buf_node2->dma_buf_node, parent, new); in kbase_capture_dma_buf_mapping()
/device/board/isoftstone/yangfan/kernel/src/driv/net/rockchip_wlan/rkwifi/bcmdhd/
Ddhd_csi.c62 cfr_dump_list_t *ptr, *next, *new; in dhd_csi_event_handler() local
110 new = (cfr_dump_list_t *)MALLOCZ(dhd->osh, sizeof(cfr_dump_list_t)); in dhd_csi_event_handler()
111 if (!new){ in dhd_csi_event_handler()
115 bcopy(&p_event->header, &new->entry.header, sizeof(cfr_dump_header_t)); in dhd_csi_event_handler()
120 bcopy(&p_event->data, &new->entry.data, MAX_EVENT_SIZE); in dhd_csi_event_handler()
123 bcopy(&p_event->data, &new->entry.data, p_event->header.cfr_dump_length); in dhd_csi_event_handler()
124 INIT_LIST_HEAD(&(new->list)); in dhd_csi_event_handler()
125 list_add_tail(&(new->list), &dhd->csi_list); in dhd_csi_event_handler()
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/
Ddhd_csi.c62 cfr_dump_list_t *ptr, *next, *new; in dhd_csi_event_handler() local
110 new = (cfr_dump_list_t *)MALLOCZ(dhd->osh, sizeof(cfr_dump_list_t)); in dhd_csi_event_handler()
111 if (!new){ in dhd_csi_event_handler()
115 bcopy(&p_event->header, &new->entry.header, sizeof(cfr_dump_header_t)); in dhd_csi_event_handler()
120 bcopy(&p_event->data, &new->entry.data, MAX_EVENT_SIZE); in dhd_csi_event_handler()
123 bcopy(&p_event->data, &new->entry.data, p_event->header.cfr_dump_length); in dhd_csi_event_handler()
124 INIT_LIST_HEAD(&(new->list)); in dhd_csi_event_handler()
125 list_add_tail(&(new->list), &dhd->csi_list); in dhd_csi_event_handler()
/device/board/kaihong/khdvk_3566b/wifi/bcmdhd_hdf/bcmdhd/
Ddhd_csi.c62 cfr_dump_list_t *ptr, *next, *new; in dhd_csi_event_handler() local
112 new = (cfr_dump_list_t *)MALLOCZ(dhd->osh, sizeof(cfr_dump_list_t)); in dhd_csi_event_handler()
113 if (!new) { in dhd_csi_event_handler()
117 bcopy(&p_event->header, &new->entry.header, in dhd_csi_event_handler()
124 bcopy(&p_event->data, &new->entry.data, MAX_EVENT_SIZE); in dhd_csi_event_handler()
126 bcopy(&p_event->data, &new->entry.data, in dhd_csi_event_handler()
129 INIT_LIST_HEAD(&(new->list)); in dhd_csi_event_handler()
130 list_add_tail(&(new->list), &dhd->csi_list); in dhd_csi_event_handler()
/device/soc/rockchip/rk3588/kernel/include/trace/hooks/
Dcreds.h17 TP_PROTO(const struct task_struct *task, const struct cred *new),
18 TP_ARGS(task, new));
25 TP_PROTO(const struct task_struct *task, const struct cred *new),
26 TP_ARGS(task, new));
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/context/
Dmali_kbase_context.c93 struct rb_node **new = &prcs_root->rb_node, *parent = NULL; in kbase_insert_kctx_to_process() local
103 while (*new) { in kbase_insert_kctx_to_process()
106 parent = *new; in kbase_insert_kctx_to_process()
110 new = &(*new)->rb_left; in kbase_insert_kctx_to_process()
112 new = &(*new)->rb_right; in kbase_insert_kctx_to_process()
114 rb_link_node(&kprcs->kprcs_node, parent, new); in kbase_insert_kctx_to_process()
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/context/
Dmali_kbase_context.c96 struct rb_node **new = &prcs_root->rb_node, *parent = NULL; in kbase_insert_kctx_to_process() local
107 while (*new) { in kbase_insert_kctx_to_process()
110 parent = *new; in kbase_insert_kctx_to_process()
113 new = &(*new)->rb_left; in kbase_insert_kctx_to_process()
115 new = &(*new)->rb_right; in kbase_insert_kctx_to_process()
118 rb_link_node(&kprcs->kprcs_node, parent, new); in kbase_insert_kctx_to_process()
Dmali_kbase_context.h125 int old, new; in kbase_ctx_flag_clear() local
129 new = old & ~flag; in kbase_ctx_flag_clear()
130 } while (atomic_cmpxchg(&kctx->flags, old, new) != old); in kbase_ctx_flag_clear()
/device/soc/rockchip/common/kernel/drivers/gpu/arm/midgard/
Dmali_kbase_context.h62 int old, new; in kbase_ctx_flag_clear() local
66 new = old & ~flag; in kbase_ctx_flag_clear()
68 } while (atomic_cmpxchg(&kctx->flags, old, new) != old); in kbase_ctx_flag_clear()
/device/soc/rockchip/common/vendor/drivers/gpu/arm/midgard/
Dmali_kbase_context.h57 int old, new; in kbase_ctx_flag_clear() local
61 new = old & ~flag; in kbase_ctx_flag_clear()
62 } while (atomic_cmpxchg(&kctx->flags, old, new) != old); in kbase_ctx_flag_clear()
/device/soc/rockchip/common/sdk_linux/scripts/
Drepack-bootimg15 --kernel KERNEL path to the new kernel
16 --ramdisk RAMDISK path to the new ramdisk
17 --second SECOND path to the new 2nd bootloader (default: resource.img)
18 --dtb DTB path to the new dtb
20 path to the new recovery DTBO
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/oal/
Doal_netbuf.h139 static inline void set_oal_netbuf_next(NetBuf *nb, NetBuf *new) in set_oal_netbuf_next() argument
141 (nb)->dlist.next = (new == NULL ? NULL : &new->dlist); in set_oal_netbuf_next()
144 static inline void set_oal_netbuf_prev(NetBuf *nb, NetBuf *new) in set_oal_netbuf_prev() argument
146 (nb)->dlist.prev = (new == NULL ? NULL : &new->dlist); in set_oal_netbuf_prev()
204 #define set_oal_netbuf_next(nb, new) ((nb)->next = new) argument
205 #define set_oal_netbuf_prev(nb, new) ((nb)->prev = new) argument
Doal_util.c153 WIFI_ROM_TEXT hi_s8 wlan_rssi_lpf(hi_s8 old, hi_s8 new) in wlan_rssi_lpf() argument
160 if (new >= 0) { in wlan_rssi_lpf()
166 return new; in wlan_rssi_lpf()
171 newval = (hi_u8)oal_abs(new); in wlan_rssi_lpf()
/device/board/bearpi/bearpi_hm_nano/third_party/paho_mqtt/
DCONTRIBUTING.md5 You can contribute bugfixes and new features by sending pull requests through GitHub.
25 3. Create a new branch from the latest ```develop``` branch with ```git checkout -b YOUR_BRANCH_NAM…
27 5. If developing a new feature, make sure to include JUnit tests.
28 6. Ensure that all new and existing tests pass.
61 Create a new bug:
66 - [Create new Paho bug](https://github.com/eclipse/paho.mqtt.embedded-c/issues)

123456