Home
last modified time | relevance | path

Searched refs:ip (Results 1 - 25 of 47) sorted by relevance

12

/device/soc/rockchip/common/sdk_linux/fs/xfs/
H A Dxfs_inode.c53 xfs_extlen_t xfs_get_extsz_hint(struct xfs_inode *ip) in xfs_get_extsz_hint() argument
59 if (xfs_is_always_cow_inode(ip)) { in xfs_get_extsz_hint()
62 if ((ip->i_d.di_flags & XFS_DIFLAG_EXTSIZE) && ip->i_d.di_extsize) { in xfs_get_extsz_hint()
63 return ip->i_d.di_extsize; in xfs_get_extsz_hint()
65 if (XFS_IS_REALTIME_INODE(ip)) { in xfs_get_extsz_hint()
66 return ip->i_mount->m_sb.sb_rextsize; in xfs_get_extsz_hint()
77 xfs_extlen_t xfs_get_cowextsz_hint(struct xfs_inode *ip) in xfs_get_cowextsz_hint() argument
82 if (ip->i_d.di_flags2 & XFS_DIFLAG2_COWEXTSIZE) { in xfs_get_cowextsz_hint()
83 a = ip in xfs_get_cowextsz_hint()
109 xfs_ilock_data_map_shared(struct xfs_inode *ip) xfs_ilock_data_map_shared() argument
120 xfs_ilock_attr_map_shared(struct xfs_inode *ip) xfs_ilock_attr_map_shared() argument
161 xfs_ilock(xfs_inode_t *ip, uint lock_flags) xfs_ilock() argument
206 xfs_ilock_nowait(xfs_inode_t *ip, uint lock_flags) xfs_ilock_nowait() argument
279 xfs_iunlock(xfs_inode_t *ip, uint lock_flags) xfs_iunlock() argument
317 xfs_ilock_demote(xfs_inode_t *ip, uint lock_flags) xfs_ilock_demote() argument
336 xfs_isilocked(xfs_inode_t *ip, uint lock_flags) xfs_isilocked() argument
647 xfs_ip2xflags(struct xfs_inode *ip) xfs_ip2xflags() argument
693 xfs_inode_inherit_flags(struct xfs_inode *ip, const struct xfs_inode *pip) xfs_inode_inherit_flags() argument
740 xfs_inode_inherit_flags2(struct xfs_inode *ip, const struct xfs_inode *pip) xfs_inode_inherit_flags2() argument
787 xfs_inode_t *ip; xfs_ialloc() local
936 xfs_inode_t *ip; xfs_dir_ialloc() local
1052 xfs_droplink(xfs_trans_t *tp, xfs_inode_t *ip) xfs_droplink() argument
1069 xfs_bumplink(xfs_trans_t *tp, xfs_inode_t *ip) xfs_bumplink() argument
1081 struct xfs_inode *ip = NULL; xfs_create() local
1235 struct xfs_inode *ip = NULL; xfs_create_tmpfile() local
1420 xfs_itruncate_clear_reflink_flags(struct xfs_inode *ip) xfs_itruncate_clear_reflink_flags() argument
1459 xfs_itruncate_extents_flags(struct xfs_trans **tpp, struct xfs_inode *ip, int whichfork, xfs_fsize_t new_size, int flags) xfs_itruncate_extents_flags() argument
1534 xfs_release(xfs_inode_t *ip) xfs_release() argument
1623 xfs_inactive_truncate(struct xfs_inode *ip) xfs_inactive_truncate() argument
1672 xfs_inactive_ifree(struct xfs_inode *ip) xfs_inactive_ifree() argument
1768 xfs_inactive(xfs_inode_t *ip) xfs_inactive() argument
2096 xfs_iunlink_update_inode(struct xfs_trans *tp, struct xfs_inode *ip, xfs_agnumber_t agno, xfs_agino_t next_agino, xfs_agino_t *old_next_agino) xfs_iunlink_update_inode() argument
2149 xfs_iunlink(struct xfs_trans *tp, struct xfs_inode *ip) xfs_iunlink() argument
2310 xfs_iunlink_remove(struct xfs_trans *tp, struct xfs_inode *ip) xfs_iunlink_remove() argument
2406 struct xfs_inode *ip; xfs_ifree_mark_inode_stale() local
2576 xfs_ifree(struct xfs_trans *tp, struct xfs_inode *ip) xfs_ifree() argument
2643 xfs_iunpin(struct xfs_inode *ip) xfs_iunpin() argument
2653 _xfs_iunpin_wait(struct xfs_inode *ip) _xfs_iunpin_wait() argument
2669 xfs_iunpin_wait(struct xfs_inode *ip) xfs_iunpin_wait() argument
2703 xfs_remove(xfs_inode_t *dp, struct xfs_name *name, xfs_inode_t *ip) xfs_remove() argument
3331 xfs_iflush(struct xfs_inode *ip, struct xfs_buf *bp) xfs_iflush() argument
3479 struct xfs_inode *ip; xfs_iflush_cluster() local
3581 xfs_irele(struct xfs_inode *ip) xfs_irele() argument
3590 xfs_log_force_inode(struct xfs_inode *ip) xfs_log_force_inode() argument
[all...]
/device/soc/rockchip/rk3588/kernel/include/trace/hooks/
H A Dpreemptirq.h15 TP_PROTO(unsigned long ip, unsigned long parent_ip),
16 TP_ARGS(ip, parent_ip), 1);
19 TP_PROTO(unsigned long ip, unsigned long parent_ip),
20 TP_ARGS(ip, parent_ip), 1);
23 TP_PROTO(unsigned long ip, unsigned long parent_ip),
24 TP_ARGS(ip, parent_ip), 1);
27 TP_PROTO(unsigned long ip, unsigned long parent_ip),
28 TP_ARGS(ip, parent_ip), 1);
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/mac/hmac/
H A Dhmac_edca_opt.c164 hi_void hmac_edca_opt_rx_pkts_stat(hmac_user_stru *hmac_user, hi_u8 tidno, const mac_ip_header_stru *ip) in hmac_edca_opt_rx_pkts_stat() argument
167 if (oal_net2host_short(ip->us_tot_len) < HMAC_EDCA_OPT_MIN_PKT_LEN) { in hmac_edca_opt_rx_pkts_stat()
171 if (ip->protocol == MAC_UDP_PROTOCAL) { in hmac_edca_opt_rx_pkts_stat()
173 } else if (ip->protocol == MAC_TCP_PROTOCAL) { in hmac_edca_opt_rx_pkts_stat()
185 hi_void hmac_edca_opt_tx_pkts_stat(const hmac_tx_ctl_stru *tx_ctl, hi_u8 tidno, const mac_ip_header_stru *ip) in hmac_edca_opt_tx_pkts_stat() argument
206 if (((ip->protocol == MAC_UDP_PROTOCAL) && in hmac_edca_opt_tx_pkts_stat()
208 ((ip->protocol == MAC_TCP_PROTOCAL) && /* 10:偏移位 */ in hmac_edca_opt_tx_pkts_stat()
212 if (oal_net2host_short(ip->us_tot_len) < HMAC_EDCA_OPT_MIN_PKT_LEN) { in hmac_edca_opt_tx_pkts_stat()
215 if (ip->protocol == MAC_UDP_PROTOCAL) { in hmac_edca_opt_tx_pkts_stat()
217 } else if (ip in hmac_edca_opt_tx_pkts_stat()
[all...]
H A Dhmac_traffic_classify.c254 hi_void hmac_tx_traffic_classify_list_proc(const mac_ip_header_stru *ip, hi_u8 *puc_tid, in hmac_tx_traffic_classify_list_proc() argument
284 judge_info->len = oal_net2host_short(ip->us_tot_len) - sizeof(mac_ip_header_stru) - sizeof(udp_hdr_stru); in hmac_tx_traffic_classify_list_proc()
306 输入参数 : netbuff CB字段指针,ip头指针,TID指针
318 hi_void hmac_tx_traffic_classify(const hmac_tx_ctl_stru *tx_ctl, mac_ip_header_stru *ip, hi_u8 *puc_tid) in hmac_tx_traffic_classify() argument
329 if (ip->protocol != MAC_UDP_PROTOCAL) { in hmac_tx_traffic_classify()
330 if (ip->protocol == MAC_TCP_PROTOCAL) { in hmac_tx_traffic_classify()
331 mac_tcp_header_stru *tcp_hdr = (mac_tcp_header_stru *)(ip + 1); in hmac_tx_traffic_classify()
343 if ((oal_ntoh_16(ip->us_frag_off) & IP_FRAGMENT_MASK) != 0) { in hmac_tx_traffic_classify()
347 udp_hdr_stru *udp_hdr = (udp_hdr_stru *)(ip + 1); /* 偏移一个IP头,取UDP头 */ in hmac_tx_traffic_classify()
352 flow_info.dip = ip in hmac_tx_traffic_classify()
[all...]
H A Dhmac_edca_opt.h40 #define HMAC_EDCA_OPT_MIN_PKT_LEN 256 /* 小于该长度的ip报文不被统计,排除chariot控制报文 */
49 hi_void hmac_edca_opt_rx_pkts_stat(hmac_user_stru *hmac_user, hi_u8 tidno, const mac_ip_header_stru *ip);
50 hi_void hmac_edca_opt_tx_pkts_stat(const hmac_tx_ctl_stru *tx_ctl, hi_u8 tidno, const mac_ip_header_stru *ip);
H A Dhmac_traffic_classify.h76 hi_void hmac_tx_traffic_classify(const hmac_tx_ctl_stru *tx_ctl, mac_ip_header_stru *ip, hi_u8 *puc_tid);
H A Dhmac_tx_data.c138 mac_ip_header_stru *ip = HI_NULL; in hmac_tx_classify_ipv4_data() local
158 ip = (mac_ip_header_stru *)(ether_header + 1); /* 偏移一个以太网头,取ip头 */ in hmac_tx_classify_ipv4_data()
159 tid = ip->tos >> WLAN_IP_PRI_SHIFT; in hmac_tx_classify_ipv4_data()
165 hmac_tx_traffic_classify(tx_ctl, ip, &tid); in hmac_tx_classify_ipv4_data()
170 if (mac_is_dhcp_port(ip)) { in hmac_tx_classify_ipv4_data()
174 } else if (ip->protocol == MAC_ICMP_PROTOCAL) { in hmac_tx_classify_ipv4_data()
179 } else if (ip->protocol == MAC_TCP_PROTOCAL) { in hmac_tx_classify_ipv4_data()
181 tcp = (mac_tcp_header_stru *)(ip + 1); in hmac_tx_classify_ipv4_data()
193 hmac_edca_opt_tx_pkts_stat(tx_ctl, tid, ip); in hmac_tx_classify_ipv4_data()
[all...]
H A Dhmac_rx_data.c459 static hi_void hmac_pkt_mem_opt_rx_pkts_stat(const oal_ip_header_stru *ip) in hmac_pkt_mem_opt_rx_pkts_stat() argument
463 if (oal_net2host_short(ip->us_tot_len) < WLAN_SHORT_NETBUF_SIZE) { in hmac_pkt_mem_opt_rx_pkts_stat()
467 if ((ip->protocol == MAC_UDP_PROTOCAL) || (ip->protocol == MAC_TCP_PROTOCAL)) { in hmac_pkt_mem_opt_rx_pkts_stat()
478 mac_ip_header_stru *ip = HI_NULL; in hmac_rx_transmit_edca_opt_ap() local
504 ip = (mac_ip_header_stru *)(ether_hdr + 1); in hmac_rx_transmit_edca_opt_ap()
507 if (((ip->protocol == MAC_UDP_PROTOCAL) && (hmac_user->txrx_data_stat[WLAN_WME_AC_BE][WLAN_RX_UDP_DATA] < in hmac_rx_transmit_edca_opt_ap()
509 ((ip->protocol == MAC_TCP_PROTOCAL) && (hmac_user->txrx_data_stat[WLAN_WME_AC_BE][WLAN_RX_TCP_DATA] < in hmac_rx_transmit_edca_opt_ap()
511 hmac_edca_opt_rx_pkts_stat(hmac_user, WLAN_TIDNO_BEST_EFFORT, ip); in hmac_rx_transmit_edca_opt_ap()
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/lwip_sack/include/lwip/
H A Dsnmp.h151 void mib2_add_arp_entry(struct netif *ni, ip4_addr_t *ip);
152 void mib2_remove_arp_entry(struct netif *ni, ip4_addr_t *ip);
154 #define mib2_add_arp_entry(ni, ip)
155 #define mib2_remove_arp_entry(ni, ip)
181 #define mib2_add_arp_entry(ni, ip)
182 #define mib2_remove_arp_entry(ni, ip)
H A Ddhcps.h67 err_t dhcps_find_client_lease(struct netif *netif, u8_t *mac, u8_t maclen, ip_addr_t *ip);
H A Dnetifapi.h134 ip_addr_t *ip; member
228 ip4_addr_t *ip; member
1155 err_t netifapi_dhcps_get_client_ip(struct netif *netif, u8_t *mac, u8_t maclen, ip_addr_t *ip);
1322 * This API is used to set an ip filter for ip packets. The filter function will be called when
1724 * @param[in] ip Indicates the IPv4 address to find related MAC address.
1733 err_t netifapi_ip_to_mac(const ip4_addr_t *ip, u8_t *mac, u8_t *maclen);
H A Dnat64.h11 #include "lwip/ip.h"
47 ip4_addr_t ip; member
90 * iphdr : ip header
108 * iphdr : ip header
120 * This API is used to translate the ip header from ipv6 to ipv4
136 * This API is used to translate the ip header from ipv4 to ipv6
H A Dapi.h259 struct ip_pcb *ip; member
272 #define net_ip_pcb pcb.ip
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/mac/common/
H A Dmac_data.c155 WIFI_ROM_TEXT static hi_u8 mac_get_ipv4_data_type(mac_ip_header_stru *ip) in mac_get_ipv4_data_type() argument
162 if (mac_is_dhcp_port(ip)) { in mac_get_ipv4_data_type()
163 udp_hdr = (udp_hdr_stru *)(ip + 1); in mac_get_ipv4_data_type()
240 /* 偏移一个以太网头,取ip头 */ in mac_get_data_type_from_8023()
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/os/Huawei_LiteOS/components/lib/libc/musl/include/netinet/
H A Dip_icmp.h6 #include <netinet/ip.h>
109 struct ip idi_ip;
138 #define ICMP_ADVLENMIN (8 + sizeof (struct ip) + 8)
H A Dip.h43 struct ip { struct
/device/soc/hisilicon/hi3861v100/sdk_liteos/components/wifi/include/
H A Dhi_wifi_tmp_api.h44 * Set dhcp offload on with ip address, or set dhcp offload off.
45 * CNcomment:设置arp offload打开、并且设置相应ip地址,或者设置arp offload关闭。CNend
50 * @param ip [IN] Type #unsigned int *, ip address in network byte order.
58 unsigned char hi_wifi_dhcp_offload_setting(const char *ifname, unsigned char en, unsigned int ip);
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/wal/
H A Dhi_wifi_driver_api.c1417 [2] ip ip地址,注意必须是32bit主机字节序
1425 hi_u8 hi_wifi_arp_offload_setting(const hi_char *ifname, hi_u8 en, hi_u32 ip) in hi_wifi_arp_offload_setting() argument
1446 ip_addr_cfg.ip.ipv4 = ip; in hi_wifi_arp_offload_setting()
1448 oam_info_log3(0, 0, "{hi_wifi_arp_offload_setting:: oper: %d, ip[xx.xx.%d.%d] succ.}", en, in hi_wifi_arp_offload_setting()
1449 *(((hi_char *)&ip_addr_cfg.ip.ipv4) + 2), *(((hi_char *)&ip_addr_cfg.ip.ipv4) + 3)); /* 2/3 偏置 */ in hi_wifi_arp_offload_setting()
1477 [2] ip ip地址,注意必须是3
1485 hi_wifi_dhcp_offload_setting(const hi_char *ifname, hi_u8 en, hi_u32 ip) hi_wifi_dhcp_offload_setting() argument
[all...]
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/os/Huawei_LiteOS/components/lib/libc/musl/include/net/
H A Dif_arp.h130 uint32_t ip; member
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/lwip_sack/include/lwip/prot/
H A Dip4.h43 #include <netinet/ip.h>
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/include/
H A Dhi_wifi_api.h1736 * Set dhcp offload on with ip address, or set dhcp offload off.
1737 * CNcomment:设置dhcp offload打开、并且设置相应ip地址,或者设置dhcp offload关闭.CNend
1742 * @param ip [IN] Type #unsigned int, ip address in network byte order, eg:192.168.50.4 ->
1752 unsigned char hi_wifi_dhcp_offload_setting(const char *ifname, unsigned char en, unsigned int ip);
1759 * Set arp offload on with ip address, or set arp offload off.
1760 * CNcomment:设置arp offload打开、并且设置相应ip地址,或者设置arp offload关闭.CNend
1765 * @param ip [IN] Type #unsigned int, ip address in network byte order, eg:192.168.50.4 ->
1775 unsigned char hi_wifi_arp_offload_setting(const char *ifname, unsigned char en, unsigned int ip);
[all...]
/device/soc/hisilicon/hi3861v100/hi3861_adapter/hals/communication/wifi_lite/wifiservice/source/
H A Dwifi_hotspot.c226 static int GetPeerSTAWifiIp(const unsigned char *macAddress, int macLen, unsigned int * const ip) in GetPeerSTAWifiIp() argument
238 *ip = ntohl(ip4_addr_get_u32(&clientIP)); in GetPeerSTAWifiIp()
/device/soc/rockchip/rk2206/adapter/hals/communication/wifi_lite/wifiservice/source/
H A Dwifi_device.c431 static int GetLocalWifiIp(int * const ip) in GetLocalWifiIp() argument
439 *ip = ip_addr_get_ip4_u32(&netif->ip_addr); in GetLocalWifiIp()
/device/qemu/riscv32_virt/liteos_m/board/driver/
H A Dvirtnet.c571 ip4_addr_t ip, mask, gw; in VirtnetInit() local
580 ip.addr = ipaddr_addr(VIRTMMIO_NETIF_DFT_IP); in VirtnetInit()
583 if (netif_add(netif, &ip, &mask, &gw, netif->state, in VirtnetInit()
/device/soc/hisilicon/common/platform/hieth-sf/adapter/
H A Dhieth_phy.c23 #include <netinet/ip.h>

Completed in 19 milliseconds

12